You are here


THS Membership Box - Arduino basic code

The purpose of this blog is to illustrate how to go about bringing up a project step by step.

In this step of the THS Membership Box, we wire up the bill acceptor to the Arduino and start some very simple Arduino code.

The bill acceptor output is a pulse, which starts high, then drops to a logic low for a short period of time before returning to high. I have already set the bill acceptor and tested it to output 1 pulse per 1000 yen. Thus, a 1000 yen bill outputs 1 pulse, a 5000 yen bill outputs 5 pulses and a 10000 yen bill outputs 10 pulses.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer