Otto Robot || Arduino Robot || Simple Arduino Robot

by vishalsoniindia in Circuits > Arduino

11696 Views, 62 Favorites, 0 Comments

Otto Robot || Arduino Robot || Simple Arduino Robot

Arduino Robot || otto robot || how to make arduino robot || arduino project || Vishal Soni India
IMG_20210608_082141.jpg

________________

Hi, First off all Please subscribe to my youtube channel.

This is the simplest Arduino robot. The name of this Arduino robot is Otto Robot. The beginners can build it with simple steps. All codes and library is given on my github page.

Let's begin this cut little arduino project.

By the way, subscribe to my YouTube channel for more projects like this. I also update my upcoming projects on Instagram.


buy me a coffee! ☕: Donate

________________

Requirements

Screenshot_2021-06-07-20-26-35-884_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-27-29-500_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-27-44-567_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-27-49-619_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-28-03-123_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-28-10-008_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-29-00-061_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-28-38-468_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-28-53-704_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-29-06-531_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-29-16-460_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-29-27-946_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-29-36-874_com.mxtech.videoplayer.pro.jpg
  1. Otto Robot DIY Kit (amazon.com / amazon.in)
  2. Otto Robot Body Parts (amazon.com / amazon.in)
  3. Expansion Shield for Nano (amazon.com / amazon.in)
  4. Arduino Nano (amazon.com / amazon.in)
  5. Servo SG90 (amazon.com / amazon.in)
  6. Ultrasonic Sensor (amazon.com / amazon.in)
  7. DPDT Switch (amazon.com / amazon.in)
  8. 134N3P Module (amazon.com / amazon.in)
  9. 3.7V 1000mAh Battery (amazon.com / amazon.in)

Mount Leg Servo

Screenshot_2021-06-07-20-30-00-196_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-30-08-396_com.mxtech.videoplayer.pro.jpg
  • Mount two servo as shown in image.
  • Screw it tightly.

Mount Servo Top on Leg

Screenshot_2021-06-07-20-30-21-598_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-30-36-818_com.mxtech.videoplayer.pro.jpg
  • Cut the plastic top comes with servo.
  • glue it in side the leg as shown in image.

Pass Feet Servo Wire

Screenshot_2021-06-07-20-31-31-390_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-31-41-047_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-31-48-165_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-31-56-905_com.mxtech.videoplayer.pro.jpg
  • Pass servo wire from hole in leg
  • Pass the same wire from the bottom part of robot.

Set Servo 90 Degree Connections

Screenshot_2021-06-07-20-32-17-697_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-32-30-715_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-33-13-122_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-33-22-836_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-33-27-503_com.mxtech.videoplayer.pro.jpg
  • mount legs on leg servo.
  • take Expansion shield and insert arduino nano.
  • Connect both leg servo at 9th and 10th pin.
  • make sure yellow wire facing arduino nano.

Upload the Code to Set 90 Degree

Screenshot_2021-06-07-20-33-40-476_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-33-51-920_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-34-01-980_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-34-10-239_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-32-17-697_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-34-23-185_com.mxtech.videoplayer.pro.jpg
  • Open servo_pos_set code, you can download it from here.
  • Connect your arduino and select correct Board and correct port.
  • Upload the code and servo will move at 90 degree.
  • Remove legs from servo and insert it in vertical position as shown in image.

Dowload the code :- https://github.com/vishalsoniindia/Arduino_Otto_Ro...

________

Screw the Legs

Screenshot_2021-06-07-20-34-28-274_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-34-38-524_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-35-47-179_com.mxtech.videoplayer.pro.jpg
  • Take a screw driver attach magnet with it so screw can stick with it.
  • Hold the leg and screw it.

Mount Feet Servos

Screenshot_2021-06-07-20-36-08-038_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-36-16-925_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-36-25-411_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-36-29-348_com.mxtech.videoplayer.pro.jpg
  • Pull the feet servo wire as shown in image.
  • Insert feet servo in legs as shown in image.
  • Screw the feet servo on leg.

Set It at 90 Degree and Mount Feets

Screenshot_2021-06-07-20-36-37-784_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-36-51-621_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-37-29-963_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-37-39-301_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-37-52-010_com.mxtech.videoplayer.pro.jpg
  • Connect feet servo at 9th and 10th pin.
  • Connect arduino with pc no need to upload code again.
  • servo move to 90 degree now mount servo top in vertical position and screw them.
  • mount feet, first put feet on servo and with little presser push feet inside.
  • Do it with both.

134N3P Connections

Screenshot_2021-06-07-20-38-22-922_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-38-11-728_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-38-32-627_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-38-39-208_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-39-03-410_com.mxtech.videoplayer.pro.jpg
  • Remove USB from 134N3P module.
  • Connect positive of battery at B+.
  • Connect negative of battery at B-.
  • Connect wires on Gnd and Vcc.
  • Vcc wire go through a switch.

Connect Battery With Arduino

Screenshot_2021-06-07-20-39-14-637_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-39-22-198_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-39-32-056_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-39-38-858_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-39-49-877_com.mxtech.videoplayer.pro.jpg
  • Remove DC jack from Expansion shield.
  • Connect Gnd wire at Gnd of DC jack as shown in image.
  • Vcc go through switch and then connect it on Vin pin.
  • Test the switch working properly.

Assamble Top Part of Robot

Screenshot_2021-06-07-20-40-01-022_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-40-28-643_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-40-24-067_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-43-39-592_com.mxtech.videoplayer.pro.jpg
  • Mount ultrasonic as shown in image.
  • Mount expansion shield as shown in image and screw it.
  • Fix the 134N3P module at place of dc jack with hot glue as shown in image.

Circuit Connection of Otto Robot

Otto_robot_circuit.png
Screenshot_2021-06-07-20-42-33-556_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-40-41-588_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-42-38-452_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-42-47-404_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-42-53-133_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-43-08-548_com.mxtech.videoplayer.pro.jpg

Left Leg servo ---------------> 8th pin

Right Leg servo ---------------> 9th pin

Left Feet servo ---------------> 10th pin

Right Feet servo ---------------> 11th pin


Ultrasonic Connections

Vcc ------------------> +5v

Gnd ------------------> Gnd

Trig -------------------> 2nd Pin

Eco -------------------> 3rd Pin

Close the Robot

Screenshot_2021-06-07-20-43-45-976_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-44-07-627_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-44-22-397_com.mxtech.videoplayer.pro.jpg
  • Glue the switch inside as shown in image.
  • Use pen riffle for Switch Cap.
  • Insert all things inside robot and close it.

Install Library

Screenshot_2021-06-07-20-44-34-390_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-44-51-847_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-45-29-467_com.mxtech.videoplayer.pro.jpg
  • Open downloaded folder or you can download from link below.
  • Go to the Otto_robot_code >> library >>
  • Copy Otto_Robot_Lib folder.
  • Go to the Documents >> Arduino >> libraries >>
  • Paste the folder here.

Download the folder :- https://github.com/vishalsoniindia/Arduino_Otto_Ro...

Upload the Code

Screenshot_2021-06-07-20-45-44-703_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-45-54-878_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-45-58-646_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-46-05-058_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-46-08-796_com.mxtech.videoplayer.pro.jpg
  • Come back to the downloaded folder.
  • Here You can upload any code, Let's open Otto_object_avoid code.
  • Connect robot with PC and make sure the Board and port is correct.
  • Put your robot upside down and upload the code.
  • your robot start running.

Done

Screenshot_2021-06-07-20-46-57-867_com.mxtech.videoplayer.pro.jpg
Screenshot_2021-06-07-20-46-29-713_com.mxtech.videoplayer.pro.jpg

Whooooo.................

Now put hand in the front of robot it will stop go back turn littlie bit and run again.


buy me a coffee! ☕: Donate