[sudo-discuss] vending machine dollar bill acceptor

Jake jake at spaz.org
Wed Jan 31 15:25:59 PST 2018


the rightmost vending machine now has a working dollar bill acceptor, and it's
powered up.  it's connected to an arduino which connects to a raspberry pi
which is on the network at vending2.local

on that raspberry pi there is a serial port called
/dev/serial/by-id/usb-Arduino_LLC_Arduino_Leonardo-if00 
which speaks serial at 115200 baud, saying stuff like

100 bill_acceptor
2000 bill_acceptor
500 bill_acceptor

when it gets a $1 bill, a $20, and a $5 respectively.  Later it will say
coin_acceptor when coins are inserted, but presently they just fall into a
cardboard box inside the vending machine.

Charley has acquired a new lock for the vending machine and we should replace
the money box in the fridge with a sign saying people should put their money
into the vending machine, and signs in the vending machine explaining that.

The raspberry pi in the vending machine has speakers attached to it (which will
be moved to underneath the machine or on top of it) and someone should make a
webpage on it that shows the time and amount of money inserted, and also make
it say things when people put money in so that everybody knows.

if anyone wants access to the raspberry pi please let me know.  Make it do
things.  Make it have a video output that we can put on top of the vending
machine that displays interesting information and QR codes for receiving
bitcoin cash and ethereum and other stuff donations.  Make it make interesting
noises to reward people for donating.

tonight will be a fine night for hacking on the machine, but you'll need to
contact me or Charley for physical access to the inside of the machine for now.

-jake



More information about the sudo-discuss mailing list