I am getting so many questions from my friends and subscribers who are starting to build their own robots. Some of them are not able to follow everything I do. So lets rewind a little bit. This time, I decided to do something for the beginners who are starting their journey. In this post, I will show you how to build a simple four wheeled robot using Arduino and control it using a joystick. This one is very easy to build and perfect for beginners to get started on robotics.
You Will Need
For this, you will need a chassis; a body to fix everything on, Four Wheels, Two Dummy Wheel Shafts, 2 DC motors, L293D Motor Driver, Arduino UNO and a Battery.
Sponsor Link
This Project is Sponsored by UTSource. UTSource is a professional electronic components supplier.
Get Started
In this Video Tutorial, I have explained each and everything in detail. Take a look at it.
First take the chassis and fix the DC motors. Make sure the wheel won’t fall off while it is moving. You will have to tighten the nuts using a spanner.
Now take the two dummy wheels shaft and fix it to the chassis. Now tighten all the connections using a spanner.[AdSense-C]
Next connect the wheels to all the four shafts. Take a wheel and insert the shaft into it. Now use a screw or a bolt to fix it. Do the same for all the four wheels.
Now its time to fix our boards onto the body. Use some double sided tape to stick the boards on the body. First we will fix the arduino. Then the motor driver….
The What??
H-Bridge motor Driver. This is the thing that is gonna drive our DC motors.
Click here to know What is an H-Bridge Motor Driver?
Read that? Now you know what an H-Bridge is.
Now connect the terminals of the motor to the motor driver board. And fix the battery.
The Connections
The connections are easy.[AdSense-B]
I connected arduino and L293Ds Motor Driving Power Input Pin to 12 V lithium Polymer battery and connected the 5 V output of Arduino to the Motor Drivers VCC.
Connections from Arduino to L293D
D3 ——> Input 1 of Motor A
D4 ——> Input 2 of Motor A
D6 ——> Input 1 of Motor B
D7 ——> Input 2 of Motor B
5V ——> VCC of Motor Driver Board
GND—-> GND of Motor Driver Board
Connections from Arduino to Joystick
D13 —–> VCC of Joystick
A0 ——> Output 1 of Joystick
A1 ——> Output 2 of Joystick
GND—–> GND of Joystick
Lets Start Writing
This is the code for moving the bot using the Joystick. Just copy all this and paste it inside arduino IDE.[AdSense-B]
Introducing the new Orange Pi tiny Hacker Board – Orange Pi R1 with dimensions 60mm x 45mm that runs Linux or Android on a quad -A7 Allwinner H2 and features WiFi, USB OTG, and it provides a dual 10/100 Ethernet ports for network connectivity. Sponsor Link This Project is Sponsored by UTSource. UTSource is a…
Arduino Home Safety Monitor Introduction[AdSense-C] Guys, In this post, I will show you how you can create this Arduino Home Safety Monitor to identify LPG Leakage, temperature rise, ambient light, humidity and pressure of your home, especially the kitchen, and see the data in these interactive dashboards in real time. This will also alert you…
Hey guys, in this video, we are going to make an amazing compact joystick using Arduino. We can use this joystick to control our DIY Robots or connect it to your computer and play games with it! Awesome right? So let’s get started! USB Joystick using Arduino Video Tutorial Too lazy to read? Here is a…
Hey guys, welcome back. In my previous post, I explained what an H Bridge Circuit is, L293D motor driver IC, piggybacking L293D Motor driver IC for driving high current motor drivers and how you can design and make your own L293D motor Driver Board, that can control upto 4 high current DC motors independently and…
One Comment
Howdy, May I grab that photo and usage it on my website?
Howdy, May I grab that photo and usage it on my website?