Vending Machine||candy Dispenser|| Arduino Bluetooth Controlled||DIY

by magichtg in Circuits > Arduino

2713 Views, 6 Favorites, 0 Comments

Vending Machine||candy Dispenser|| Arduino Bluetooth Controlled||DIY

VENDING MACHINE || CANDY DISPENSER || ARDUINO BLUETOOTH CONTROL || 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.

​PARTS NEEDED:

Screenshot (199).png
Screenshot (200).png
Screenshot (201).png
Screenshot (202).png
Screenshot (218).png

☻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

SOLDERING

Screenshot (205).png
Screenshot (203).png
Screenshot (204).png

solder two wires to the motor

Drill a Small Hole

Screenshot (206).png
Screenshot (207).png
Screenshot (208).png

use the soldering iron to easily make a hole as shown

Prepare the Holder for Candies

Screenshot (210).png

make spacing between two carboard pieces equal to the size of the candy...so that only one candy can fit within it

ATTACH TO MOTOR

Screenshot (209).png
Screenshot (212).png
Screenshot (211).png

glue the cap and the holder(which looks like a gear) to the motor as shown

Finishing for the Dispenser Body

Screenshot (213).png
Screenshot (228).png
Screenshot (214).png
Screenshot (215).png

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)

MOTOR DRIVER

Screenshot (218).png
Screenshot (222).png
Screenshot (219).png

connect motor to the motor driver

also connect the power supply cable for the motor driver

ARDUINO

Screenshot (217).png
Screenshot (221).png

connect the motor driver to the arduino

use pin 8,9 as shown

Upload the Code

Screenshot (227).png

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

Connect Bluetooth Module

Screenshot (224).png
Screenshot (223).png

Configuration of Hc-05 Bluetooth module

* Rx-Tx

*Tx- Rx

*Vcc-5v

*Gnd-Gnd

ACTION TIME

Screenshot (194).png
Screenshot (196).png
Screenshot (197).png
Screenshot (198).png
Screenshot (225).png

add a small paper tube (to stack the candies one above the other )and its ready to use.