×

SparkFun will be closing early at 3:30 Friday 5/27 and remain closed Monday for Memorial Day (5/30). Orders placed after 2pm MT on Friday (5/27) will process and ship out on Tuesday (5/31).

manonthemoon

Member Since: April 19, 2014

Country: Norway

  • Chances are you got the wiring wrong.

  • This can be implemented with a binary counter like 74HC393, so you don’t have to tie up the processor time of a microcontroller. Connect the GRAY wire from the Coin Acceptor to one of the inputs of the 74HC393, then program the Coin Acceptor to use 1, 2 and 4 pulses for the three different coins. This will output 0001, 0010, or 0100 from the binary counter pins. If you have a microcontroller, you can just check the state of these three pins on the 74HC393, and the microcontroller can do other stuff than just check for pulses.

  • In the schematic they are pulled to Vdd with a 100k resistor, so that’s correct.

  • What is the point of the buffered I/O’s, as opposed to using the GPIO’s directly? What does the “buffering” do?

No public wish lists :(