Markdown Cheat Sheet

# Headline 1
## Headline 2
### Headline 3

~~strike through~~

[link text](

> Quote text
***Johnny Author***

![image alt text](image url)
***Image caption, description***

Horizontal rule

Inline Code
`var name = "John Doe";`

Code block with syntax highlighting
``` codelanguage
function foo() {
  return bar;

Bulleted list
- item 1
- item 2
- item 3

Numbered list
1. item 1
2. item 2
3. item 3

Articles | Forum | Remote | Downloads | Buy License

Setting Up Serial Coinslot Sensor using Arduino

Using Arduino as coin acceptor sensor

by Adones Pitogo

Step 1: Install "pyserial" debian package into RPI

Method 1. Using SSH Access

Enable SSH Service in your machine in Services tab.
For Windows users, you need to download and use putty to access SSH service of your RPI. Don't forget to turn off SSH service after installing pyserial.

Method 2. Using monitor and keyboard

Hook up an HDMI monitor and keyboard to RPI.
Then restart RPI.
When presented with login screen, use the following username/password combination:
Username: pi
Password: raspberry

After successful login, type:

sudo pip install pyserial

Alt Text

Step 2: Arduino Programming

Upload the following program into your arduino. Follow this guide if you don't know how to upload a program to arduino.

// change this to whichever pin you connect the coin/white wire for coin acceptor
int PIN_IN   = 11;

int switchState = 0;
int pulseCount = 0;
int prevState = 1;

// you can try to lower this to make counting of pulse faster
int MaxElapsedTime = 500;

unsigned long StartTime = millis();

void setup() {
  // put your setup code here, to run once:
  pinMode(PIN_IN, INPUT);

void loop() {

  switchState = digitalRead(PIN_IN);

  if (switchState == LOW && prevState == HIGH) {
    if (pulseCount == 0) {
      // Report payment started
    pulseCount = pulseCount + 1;
    StartTime = millis();
  else {

    unsigned long CurrentTime = millis();
    unsigned long ElapsedTime = CurrentTime - StartTime;

    if (ElapsedTime > MaxElapsedTime && pulseCount > 0) {
      // Report total pulses to computer;
      pulseCount = 0;
      StartTime = millis();

  prevState = switchState;


Step 3: Wiring Diagram

Connect the wirings according to the diagram:

Alt Text

Step 4: Configure AdoPiSoft to Use Serial Connection

Login to machine's admin interface and go to Timer Settings.

Alt Text

Lastly, connect your arduino using the provided usb cable to your RPI. Then power on RPI and test your setup.

If you have problem following this guide, don't hesitate to post in our forum.

New Hardware Support: Android TV Boxes

Cheap alternative for running your wifi hotspot machine with prices ranging from PHp 600+ but not more than Php 1,000.

by Adones Pitogo

Version 5 Beta Release

Additional hardware support including OPi Zero, OPi One Plus, NanoPi R2S and ASUS Tinkerboard.

by Adones Pitogo