Introduction: Vending Machine||candy Dispenser|| Arduino Bluetooth Controlled||DIY
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:
☻JUMPER WIRES
☻CARDBOARD box(prefer small box as shown)
☻ARDUINO UNO
☻LAPTOP OR PC (FOR UPLOADING CODE TO ARDUINO)
☻POWER SUPPLY ( I USED A POWER BANK TO SAVE BATTERIES)
☻1 x geared motor
☻motor driver
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 :
https://www.youtube.com/redirect?q=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1-g-a0i3RtAavBa2RwDP8RFfRWasLYXuz&redir_token=6UA4fR1_cq2RqgiXVnwkv1_0dPl8MTUxNDQ0MzE3OUAxNTE0MzU2Nzc5&v=kPk100UpKiI&event=video_description
Step 10: Connect Bluetooth Module
Configuration of Hc-05 Bluetooth module
* Rx-Tx
*Tx- Rx
*Vcc-5v
*Gnd-Gnd
Step 11: ACTION TIME
add a small paper tube (to stack the candies one above the other )and its ready to use.