Counting Money with a Coin Acceptor
by Rob Faludi
4) Wire up the Circuit
- Place the DC power jack and voltage regulator into the board. Wire the grounds together, wire the DC power jack’s positive output to the voltage regulator’s input, then connect the voltage regulator’s output to ground. Place a 0.1µF capacitor across output and ground and a 10µF across input and ground to decouple the power supply, making sure to follow any polarity markings on your capacitors. These will reduce electrical noise from the power supply that could disrupt the XBee radio operation.
- Connect the VCC terminal of the XBee adapter to the positive rail and the ground terminal to the negative rail, then wire up the power buses to each other.
- Optional: solder a set of male header pins to the end of the Coin Acceptor’s wiring harness to make it easier to insert them into the breadboard sockets.
- Insert the wiring harness from the coin acceptor into the breadboard. The COIN wire gets connected to the XBee’s I/O pin 0, which is physical pin 20, on the top right side of the XBee. Connect the GROUND from the harness to a ground rail on the breadboard. Connect the DC +12V directly to the DC jack’s +12V power as shown.
- Insert the XBee into the adapter and connect the coin acceptor to the wiring harness.
- Plug the DC power supply into to your breadboard and you’re ready to go!

- Above is a diagram of the circuit. The coin acceptor is shown as a small black connector with 4 pins. The last pin is not connected to anything so your three-position header will work just fine.
Jump to Page:
1 2 3 4
5 6