This vending machine was developed using an ESP32 as the main controller and features four spring-driven motors to dispense products reliably.
Main Features
- Four product dispensing motors with spring mechanisms
- Product selection through a custom web page
- Customers simply click on the product image to start the purchase process
- Automatic QR Code generation for PIX payment
- QR Code is displayed on the screen for 5 seconds and then automatically returns to the product selection page
- A recycled smartphone is used as the machine's display and user interface
- PIX payment system for fast and secure transactions
Control and Automation
- ESP32 controls the vending machine operation
- ESP8266 controls the LED lighting bars
- Audio notifications for payment confirmation, product release, and a "Thank You, Come Again" message
- Automatic return to the main menu after each transaction
Safety and Reliability
To prevent multiple products from being dispensed accidentally, two protection systems were implemented:- Time-based protection, limiting the motor operating time.
- Drop sensor verification, located below the product chute to confirm that the item has actually been released.
User Experience
The machine offers a simple and intuitive purchasing process:- Select a product on the screen.
- Scan the generated PIX QR Code using a banking app.
- Payment is confirmed automatically.
- The selected product is dispensed.
- A voice message confirms the purchase and thanks the customer.