Sugar Dispenser




Posted in TechnologySensors

Introduction: Sugar Dispenser

About: my name is murali .i am quite good at developing new ideas and concepts

ABSTRACT: Generally we are using sugar packets, so that sugar wastage
and no of sugar packet waste will occur. we use two hands to tear the packets this is quite difficult for very busy person to do, to reduce this problem we are introducing “LILI” the Sugar Dispenser machine it will give more accurate sugar quantity and easy to use.

AIM: It can pour accurate sugar quantityso that it can minimize wastage of sugar. It is a Robust Design for the sugar dispenser machine.

EXPLANATION: LILI machine has made of fully wooden blocks, in this machine we are using screw conveyor to feed the sugar, this screw conveyor we done in the 3d printing. This machine is very easy to handle, we installed ultrasonic sensor. By showing your hand signal to nearby sensor (with in a 20 cm). By talking this signal, it will send to the Arduino then the Arduino




1. Arduino Uno

2. 360-degree servo motor

3. HC-SRO4 Ultrasonic Sensor

4. Wooden Blocks

5. Jumper wires

6.Bread board

7.Sugar Box

8.3D print screw conveyor

9.PVC pipe and T shape PVC

10.Drilling machine



13.Powder adaptor charger

Step 2: ​How It Works – Ultrasonic Sensor


It Works – Ultrasonic Sensor

It emits an ultrasound at 40 000 Hz which travels through the air and if there is an object or obstacle on its path It will bounce back to the module. Considering the travel time and the speed of the sound you can calculate the distance.

The HC-SR04 Ultrasonic Module has 4 pins, Ground, VCC, Trig and Echo. The Ground and the VCC pins of the module needs to be connected to the Ground and the 5 volts pins on the Arduino Board respectively and the trig and echo pins to any Digital I/O pin on the Arduino Board.In order to generate the ultrasound you need to set the Trig on a High State for 10 µs. That will send out an 8 cycle sonic burst which will travel at the speed sound and it will be received in the Echo pin. The Echo pin will output the time in microseconds the sound wave travelled.

For example, if the object is 10 cm away from the sensor, and the speed of the sound is 340 m/s or 0.034 cm/µs the sound wave will need to travel about 294 u seconds. But what you will get from the Echo pin will be double that number because the sound wave needs to travel forward and bounce backward. So, in order to get the distance in cm we need to multiply the received travel time value from the echo pin by 0.034 and divide it by 2.

Step 3: Distance Signal

As per the Above principle we should

know how much distance you are giving the signal. According to the signal you will develop the prototype model. In my case I will give the signal with in the 15-cm distance, now built the prototype model using wooden blocks.

note: ultrasonic sensor will not work with in the 2 cm distance object(signal). it should be above 2 cm.

Step 4: 3d Print Part

i developed screw conveyor with 15 cm diameter and 10cm pitch.i developed 3d model in creo software and then i sent i sent stl file to 3d printer person. he gave the 3d printed part.

Step 5: Instalation

prepared wooden block box,drill the holes where sensor can take the signal

Step 6: Connections

the most important part is per the above fig give the conections

Step 7: Code

please download file..("lili the sugar dispenser").



    • Science of Cooking

      Science of Cooking
    • Pocket-Sized Contest

      Pocket-Sized Contest
    • Spotless Contest

      Spotless Contest

    We have a be nice policy.
    Please be positive and constructive.