Hi, this is my Raspberry Pi-powered Piggy
Bank with Coin Sorter. It uses a
Raspberry Pi, an Arduino, Adafruit's Pi-Plate, a coin acceptor, a fingerprint
sensor, and three Lego Mindstorms NXT
motors connected to an NXT to count, sort,
and store coins. The Arduino is used to
communicate with the fingerprint sensor
and detect what kind of coin is inserted.
A powered USB hub powers the Raspberry
Pi and the Arduino. The NXT runs on
batteries, while the coin acceptor needs
to be plugged in. A single Python script
interfaces with the Arduino and the NXT.
While the script is running, I simply
push a button before inserting coins.
After a coin is inserted, it is placed
into a stack with the same kind of coin.
The LCD screen displays the total amount
of money in the bank and what kind of
coin was inserted. A text file stores the
data. If I want to access the coins
inside, I push another button and place
my finger on the fingerprint sensor to
unlock the bank. While the door is open, I
can remove coins and record the changes
on the Raspberry Pi. Let's see it in
action.
Thanks for watching!
