In this instructable I show how to build a vending machine using an Arduino .
DO COMMENT WHAT YOU THINK ABOUT THIS INSTRUCTABLE, SO THAT I CAN IMPROVE IN MY FURTHER INSTRUCTABLES
have a look at the video tutorial for a better understanding of the entire tutorial.
Step 1: PARTS NEEDED:
☻CARDBOARD box(prefer small box as shown)
☻LAPTOP OR PC (FOR UPLOADING CODE TO ARDUINO)
☻POWER SUPPLY ( I USED A POWER BANK TO SAVE BATTERIES)
☻1 x geared motor
Step 2: SOLDERING
solder two wires to the motor
Step 3: Drill a Small Hole
use the soldering iron to easily make a hole as shown
Step 4: Prepare the Holder for Candies
make spacing between two carboard pieces equal to the size of the candy...so that only one candy can fit within it
Step 5: ATTACH TO MOTOR
glue the cap and the holder(which looks like a gear) to the motor as shown
Step 6: Finishing for the Dispenser Body
glue an extra piece of cardboard
make a small window (candy will come out from here)
add a support (so that it does not fall off)
Step 7: MOTOR DRIVER
connect motor to the motor driver
also connect the power supply cable for the motor driver
Step 8: ARDUINO
connect the motor driver to the arduino
use pin 8,9 as shown
Step 9: Upload the Code
open the link to download the code and upload it to the Arduino :
Step 10: Connect Bluetooth Module
Configuration of Hc-05 Bluetooth module
Step 11: ACTION TIME
add a small paper tube (to stack the candies one above the other )and its ready to use.
AlB1 made it!