Share My Creation Smart Vending Machine Project

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:

  1. Time-based protection, limiting the motor operating time.
  2. Drop sensor verification, located below the product chute to confirm that the item has actually been released.
These two methods provide reliable dispensing and help prevent product loss.

User Experience​

The machine offers a simple and intuitive purchasing process:

  1. Select a product on the screen.
  2. Scan the generated PIX QR Code using a banking app.
  3. Payment is confirmed automatically.
  4. The selected product is dispensed.
  5. A voice message confirms the purchase and thanks the customer.

Applications​

This project demonstrates the integration of embedded systems, web technologies, mobile devices, digital payments, sensors, and automation to create a modern and low-cost smart vending machine.
 
Top