Bill Acceptor (Arduino Compatible)
Bill acceptor that takes in $1, $5, $10, $20 and $100 bills.
Categories
Newsletter
Bill acceptor that takes in $1, $5, $10, $20 and $100 bills.
Features:
Recommended accessory: DB9 Breakout
// Basic Arduino Code for Bill Acceptor Test
// Wiring Diagram// o +5V
// |
// R 2.2K ohm
// |
// Bill Acceptor Serial output Pin o-------+-------o Arduino in
//
// Bill Acceptor Ground Pin o-------+-------o Arduino Ground
// |
// o Power Supply Ground
void setup()
{Serial.begin(9600);
pinMode(2, INPUT);}
void loop()
{
if( Serial.available() > 0)
{
Serial.println(Serial.read()); // prints the result to Serial Monitor
}
}