ES-69IntermediatePremium
ESP32 Snack Vending Machine (Keypad + I2C LCD + 3 Servos + Buzzer)
A mini school canteen vending machine on your desk! The 1 and 5 lira buttons add credit, you pick a snack on the 4x4 keypad, and with enough credit that shelf's servo swings a pusher arm and drops it. Change comes in the fewest coins on the I2C LCD, with a jingle per coin. It counts in Turkish lira and is easy to switch to your own coins; a service code opens refill, sales report and prices.
0.0(0)

A mini version of the school canteen vending machine, right on your desk: press the coin buttons to add credit, pick a snack on the keypad, and if you have enough, a small servo arm pushes it off the shelf. The screen works out your change in the fewest coins with a jingle for each one, and a sold-out item blinks. It counts in Turkish lira, and you can easily switch it to your own coins.
Source Code
Premium Content
The source code, block version and FAQ of this project are open to Premium members.
- All Project Code
- Block version
- Frequently Asked Questions
