Secondary Menu

ARDUINO BASED OIL DISPENSER

About: i make stuff, like to take projects, ideas, motivation to next level. if you love D.I.Y. and electronics, click on the link in description to get amazed
More About MissionCritical »

we all love food isn't that right? of course yes, everyone has tried cooking once in their life, and already knows the struggle to get exact amount of oil for the perfect recipe, so here is a project which will help you get it correct, follow the instructions till the end and you will have a beautiful Arduino Based OIL DISPENSER

Step 1: Watch the Video

Step 2: Designing

"to get the wheels running, you first need a wheel right? "thats why, to make some project, design is the most important aspect.

i first created a simple paper sketch to get an idea about what my end product should look like!

after which, i measure the dimensions of components and considered other parameters like amount of space it requires, size of container etc.

i kept the screen and UI Buttons at an Angle so that its easy to control and little more user friendly.

i have attached picture which contain the dimension of the design i used for each part, just in case if you want to create the exact one

Step 3: Gather the Requirements

We will Need the Following Items to Build our Awesome ARDUINO Based OIL Dispenser

Step 5: Build the Circuits

for the Circuit, i used ARDUINO UNO as the brains of the entire project, I2C L.C.D. for Display,Push Buttons to interact with the user, DC Peristaltic pump to control the flow of oil, N Channel Mosfet as a Switch to Control Motor.

for ease of connections and Understanding, we will divide the electronics into 3 Blocks

1. Control Unit

2. MOSFET Module

3. Keypad Module

4. I2C L.C.D.

Connections

KEYPAD

input (DATA) from the Keypad Module to Pin A0,

Vcc to D8

GND to GND

Mosfet Control

DIGITAL PIN 2 to Control Pin of MOSFET MODULE

Ground to Ground

Output for Display

SCL/A5 to SCL and SDA/A4 to SDA of LCD and VCC to VCC, Ground to Ground

Motor

Motor From Mosfet Module Through M+ and M- Pins,

External Power to Mosfet Module at VCC and GND

if you are not good at Using Prototype board, you can use the Provided Gerber File to Order PCB Online and then Follow the above Connections

Attachments

Step 7: Prepare the Tank ( Reservoir)

to Prepare the tank,

first keep the container and motor on a flat surface, and mark the motor inlet for fluid and continue by creating a hole in the container, after which, insert the liner and use Hot Glue to Seal the Liner and ensure that there are no leaks, by running some water through the Reservoir

Step 8: Prepare the Enclosure

I used mount board, which is not the best choice, yet economic and readily available. so to make this enclosure,

Use small right angled triangle cut out of any size to provide extra support.

Mount the L.C.D on Front Panel using M3 nuts and bolts.

Use Hot Glue to secure Keypad Module in the Designated Holes.

Give the Box a Final Touch up with Hot Glue to fill up remaining holes.

Step 9: (optional) Add Lightings

to light up the interior of the box, i used a 12V strip LED.

to install it, simply apply a drop of Hot Glue and Work the Length through the interior of BOX just above the dispenser Pipe Outlet

Step 10: Calibration (MOST IMPORTANT)

calibrating the system,is basically measuring the time required to fill 1milliliterof liquid in X milliseconds.

For which I used a Beaker which had a little less resolution, so I calculated the time required to fill 100 ml of liquid and thus calculated the rate of flow, which turned out to be 450 microseconds in my case.

steps

Reset The Stop Watch.

Clear the beaker and set it under the Dispenser Outlet.

Go to Manual Mode page of U.I.

Press Start to Begin the test.

Observe the Volume, STOP the Watch when volume is 100 ml Exact and Note Down The reading.

Divide the Seconds Reading by 100 ( cause we need to know time for 1 ml)

Multiply by 1000, you will get your Multiplying factor

Change the Multiplying Factor in Line 32.

test and repeat if any error.

Step 11: Conclusion ( Possible Modifications)

we understood and built this project to successfully obtain oil in precise amounts, also we calibrated the system according to our specific application.

this same project can be used to dispense water, juice or any fluid ( just remember to calibrate it, as every fluid has different volume).