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]
LM2596S 20083 Easy to use voltage regulator circuit for hobbyist. This can be directly used in arduino, Raspberry Pi projects or your own circuits. Watch this Video Watch this Video on Youtube for Better Resolution Setting up of this regulator is super easy. There are 4 terminals in this module. Two for the input…
WiFi WiFi Everywhere… Why not play with it? In this tutorial will show you to develop a python based wireless robot which can be controlled from anywhere around the world using Wifi. Watch this Demo First About Raspberry Pi This tiny computer is a precious tool for students, artists, and of course hobbyists and hackers….
Let us build a robot using Raspberry Pi which can be remotely controlled by a mobile phone accelerometer. What We are Looking At About Raspberry Pi This tiny computer is a precious tool for students, artists, and of course hobbyists and hackers. With features for developing things in different areas, it is not a…
Bio-inspired robots provide a revolutionary vision of robotics in the current day by fusing the astonishing inventiveness of nature with human ingenuity.
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…
0 Comments
Howdy, May I grab that photo and usage it on my website?
Howdy, May I grab that photo and usage it on my website?