How to Make Food Delivery Robot With Live Video Streaming Using 3D Printed Parts and ESP32 CAM

by ROBO HUB in Circuits > Arduino

139 Views, 2 Favorites, 0 Comments

How to Make Food Delivery Robot With Live Video Streaming Using 3D Printed Parts and ESP32 CAM

robtt.gif
robot.gif
robt.gif
IMG_2308.JPG
IMG_2332.JPG
IMG_2319.JPG

Hello readers in this Instructables i will show you how to make delivery robot that can carry your food or some other small belongings guided by a robot controlled by smartphone.

This robot live streams video directly on your phone and you can control this robot with just the web server.

No matter its day or night this robot has got your back!

I will be using the inexpensive ESP32CAM board inside this robot that will give us the flexibility to control this robot on your mobile device utilizing the Wi-Fi communication system.

I have 3d printed the frame for this project along with other parts so that anybody can build and take complete advantage of this robot.

There is some good torque on this robot and you can see that in the above visuals! I have tried adding loads upto 1kg and this robot just carries it like a butter!

The Lithium ion batteries has great backup as we all know and the 4000mah backup gives enough time to keep this robot running for a few hours.

If you are building this project you get a chance to have hands on experience on many things like the 3d printing, Arduino programming and the electronics circuit building that will help you level up.

I have given all the required materials along with circuit diagram explanation and the program fr this robot with better explanation so that anybody can follow and make this.

Like always there is a detailed video build tutorial given at the end of this, don't miss to check out.

Supplies

1W.png
7W.png
6W.png
5W.png
4W.png
3W.png
2W.png

Keep this materials handy so that you can build this robot faster

ESP32 Cam module from amazon

FTDI to TTL Converter

BO Motor

Wheels for BO Motor

Jumper Cables

Lithium Ion Battery

18650 Battery Holder

DVD Motor

L298N Motor Driver

Arduino IDE

3D Printer

PLA Filament

Ultimaker Cura Software

Super Glue

These are affilite links and upon qualifying sales i may receive a small percent of commison at no extra cost to you, this will help supporting such projects

Build Frame With Tinkercad

tinkercar.jpg
8W.png
20W.png
9W.png
22W.png
21W.png

I will be designing the frame for this robot using the Tinkercad application, It took me few trials and errors to come up with this final design.

There are total 4 parts in total out of which the main frame is the highlight.

I have taken the BO motor standard size in designing the slots in this frame that holds the 2 motors on either sides.

The next part is the DVD motor holder or the front wheel holder that will be directly connected to the main frame.

You may ask why not make it as a single part? No i wanted the design to be adjustable according to the size of your wheels so that you can align it to the correct position.

The other part is the tubes that elevate the height of the frame to support the top frame.

I have custom designed this part to hold the load, I have added this to the frame by using super glue and it looks like a skeleton so that you can add side walls or covers to make this robot much more prettier.

Simply download and use the STL files that i have given below, Import this to your slicer.

There is no need of using any rafts or supports at the time of printing.

It will take around 3 hours to print all of the parts and the choice of color for printing is as per your preferences, If you are not good at that you can use the same colors like i did.

Circuit and Program

car.jpg
circuit.jpg
smartcar.jpg

There is something you need to make a note here if you previously didn't work with ESP32 CAM modules

These wont come with pins to program directly instead use either FTDI to TTL converter or the Arduino uno board to upload program.

I will be using the FTDI module here, Follow the circuit diagram(2nd one) to upload the program.

Connect as follows and select the esp32 Rover module as the board and also change the wifi credentials of mine to yours.

While upload press the reset button if you have issues in uploading the program.

L298N motor driver is connected to 3sp32 cam module as follows

GPIO12 pin to ENA

GPIO13 to IN1

GPIO15 pin to IN2 on the driver

GPIO12 pin is again connected to ENB

GPIO14 is connected to IN3 lastly the GPIO2 to IN4

I will use this motor driver to power the ESP32 Cam also, Just connect the positive of battery to 12v pin on the driver and the 5v pin from the driver is connected to board.

The ground is connected to common to both the board and the power supply.

There are 2 BO Motors, These control the left and right direction movement of the robot, These are connected directly to the motor driver.

Wheel Assembly

23W.png
27W.png
28W.png
29W.png
32W.png
33W.png

I will start by soldering the wires to the BO motor since the motor that i received didn't come with any pre soldered wires.

Repeat the same step for the other motor also, Now the read motor is ready and i will install this motor on the 3d printed frame.

I will use super glue to attach these BO motor to the frame, i have given the slots and you can see that also to properly glue this.

Now add the wheels to these motor and then repeat the same for the other side motor.

This completes the rear wheel part now for the front part start by trimming the excess wires from DVD motor.

Use super glue to attach this DVD motor to the base of the part and then attach wheel to the shaft.

Height can be adjusted based on the needs and i didn't keep any height difference, Use super glue here also.

Now the drive mechanism for this robot is ready and we can proceed to making the circuit that will drive this robot.


Circuit Installing on Frame

34W.png
40W.png
37W.png
36W.png

There are dedicated places to place each and every component on the 3d printed frame.

I will start by placing the L298N motor driver, to keep the driver intact i will use double sided adhesive or the hot glue but adhesive tape is much preferred.

Here you should make a note that the motor wires can be pulled from inside also to avoid the wires that looks messy.

Then attach the camera neat the slot on the front side wheel, Here use hot glue and adjust the position of the camera as your needs.

Instead of 3 batteries and a single holder i will be using 2 different battery case so that i can distribute the weight evenly and also hide the batteries below.

Finish the frame by adding the tubes on the front 2 corners and add the top holder.

This completes the circuit and the assembly of all the components, Double check to see everything is in place.

How to Use and a Working Video

41W.png
robtr.gif
42W.png
IMG_2326.JPG
How To Make Food Delivery Robot With Live Video | Useful Arduino Ideas

Using this is very fun and exciting and i will start by turning on the power supply to the board first, I have added the button on the side so that you can turn to on and off whenever you need.

After you turn this on wait for few seconds and you will see that the ESP board is connected to your phone automatically.

Now just go to the connected devices list on your phone and check for the IP address, Make a note of this address.

Paste the address on your browser and click on search and you will see a panel opening.

Here you can see your video, the up and down controls and the left/right controls for your robot.

Also there is option to increase the speed of your robot and to on and off the inbuilt LED on the esp board.

Now you can take your robot for a spin, I will be using different objects to carry around and test this, Well this was pretty much amazing.

This was all about making this robot, Hope you will give a try to make this.

Consider checking the video if you are still struck with some questions, Hoping to see your builds in the i made it section.

Thank you and stay creative always :)