The vending machine now provides some more feedback after money is put in.
Source code associated with my contribution is here. I haven't documented
the other components of the vending machine.
https://thomaslevine.com/scm/sudo-vending
Based on the implementation details, it appears to me that
the bill acceptor is in fact plugged into one board (Arduino Leonardo)
that is connected by serial to another board (Raspberry Pi). Why is
the former board used at all? That is, why is the bill acceptor not
plugged directly into the latter board?
Dear Sudo Room,
Here's your invoice! We appreciate your prompt payment.
Thank you for stewarding the commons.
Love and solidarity,
Omni Commons
---------------------------------- Invoice ---------------------------------
4799 Shattuck Ave
Oakland, CA 94609 US
https://omnicommons.org
Invoice #: 2279
Date: 01/01/2021
Due Date: 01/25/2021
Terms: Net 25
Amount Due: $12,000.00
----------------------------------------------------------------------------
Bill To:
Sudo Room
4799 Shattuck Ave
Oakland, CA 94607
----------------------------------------------------------------------------
****************************** Account Summary *****************************
12/01/2020 Balance Forward $10,000.00
Other payments and credits after 12/01/2020 0.00
New charges (details below) 2,000.00
Total Amount Due (activity through 01/01/202 12,000.00
****************************************************************************
<u> Date </u><u> Activity </u><u> Qty </u><u> Rate </u><u> Amount </u>
01/01/2021 Furnishing Fa 1 2,000.00 2,000.00
____________________________________________________________________________
--------------------------------------
Total Of New Charges: $2,000.00
Total Amount Due: $12,000.00
Greetings Sudo Room!
This is your monthly donation invoice. Thank you for stewarding the
commons!
Love and solidarity,
Omni Commons Finance Working Group