ashvnv/smart-vending-machine — reverse-engineered prompt
Reverse engineered prompt
Build me a small smart vending machine project that uses a Raspberry Pi for voice assistance and an Arduino Uno to handle the actual product dispensing.
I want a simple demo version with just 2 products. A person should be able to speak their order, hear spoken prompts back, confirm the order, and then have the Pi send the selected product counts to the Arduino. The Arduino should control the motor and use an IR sensor to count items as they drop, then stop when the right quantity reaches the collection area.
Please also include the basic fallback test mode where the order can be made with 3 switches instead of voice, since that seems useful for setup and debugging. I also want startup behavior on the Pi so it waits for internet, updates the project from GitHub, then runs the main script automatically. Add simple logging to Google Sheets through IFTTT so errors and activity can be tracked remotely.
Keep it practical and close to the current project idea, and look up any current docs online if you need to.
Want more depth? Deep Reverse