Hey there, I am back with one more instructalble. I am going to teach you how to build a Insect robot using Arduino and Servo motors. Sounds cool, right?. What you think about the use of this robot ? Due to their compact size they can be used in Defense, they can also be used in Film for shooting purpose and many other such uses.The main principle of this robot is Servo motor that helps to create a wonderful tool. This is really very interesting to build and helps for the beginners to get to know about the knowledge of Arduino uno , Servo motor and Ultrasonic sensor. Are you confused, about all the hardware? I will try to keep this instructable simple as possible. So let's get started.
Step 1: BASIC KNOWLEDGE TO BE KNOWN :
Before actually going to replicating the project, here is a brief intro about the components used -
Ultrasonic sensor (Picture one and two) :
The very main application of sensor is measuring distance of an obstacle. It will work in any lighting conditions, thus it finds a wide space in night vision sensors. In this instructables I have used it to detect obstacles it has four pins (VCC , Trig , Echo , Gnd) and there connection have been shown in the further explanation. The best example for its application is in the car's assisting parking system, where car exceeds a minimum distance towards the obstacle it alerts you.
Arduino Uno (fig . 2 , fig . 2): It is a simple programming platform, that takes input from sensors, switches and many devices correspondingly controlling the output device such as motors, etc. For programming an Arduino you need to install the Arduino IDE from Arduino Home Page.
Servo motor(fig . 3,fig . 4): A Servo motor is completely different from a normal DC motor. It consists mainly four parts:
- A normal DC motor.
- A position-sensing device.
- Gear-reduction unit.
- A control circuit.
The servo has a three wire connection: power, ground, and signal. The power source must be constantly applied; the servo has its own drive electronics that draw current from the power lead to drive the motor. The function of the servo is to receive a control signal (from Arduino) that represents a desired output position of the servo shaft, and apply power to its DC motor until its shaft turns to that position.
Ahem !!! This knowledge is enough to proceed further. So let's jump into construction.
Step 2: TOOLS REQUIRED :
Here are the Component required for building this project. The list is quite a simple one :
- Double side tape
- Wire strippers
- Nose plier
- Ultrasonic sensor
- Arduino uno
- Cable tie
- Servo motor
- Screw drvier
- Wire (for the legs)
- Connecting wire
So once you have all the components ready, Lets gear up!!!
Step 3: CONSTRUCTING BODY : USING SERVO
So the chassisof the robot is designed depending on the type of Servo motor used (small , large ), but I have used a smaller one. That's OK if you are using a larger one, both run on the same principle.
So the very first step is to attach a double side tape to the back of the first Servo motor. Then attach the second servo motor to the first servo in such a way that the motor axle of the second motor should face downward refer the above picture.
Step 4: CONSTRUCTING BODY : USING WIRES
FRONT LEGS : The first three pictures showcases the formation of front legs using a nose pliers.Bend the wire in a V shape like shown in the picture. you will have to bend them later in the right shape anyway.The bending quality depends on the wire you are using. So please bend it as close to the pliers edge as possible
RARE LEGS: The next six pictures show the formation of rare legs. Place the wire into the holes provided into the servo horn, then bend the wire as shown in pictures using pliers . If you have any doubt in this steps? feel free to comment below i will glad to help you out.
Now fix the legs to the servo motor with the help of a screw driver. look at the pictures for easy understanding
Step 5: CONNECTIONS
So the connection is as follows :-
- the dark color wire(brown wire) of the servo is connected to the 5V pin of the Arduino.
- the medium color wire(red wire) of the servo is connected to the ground pin of the Arduino.
- the light color wire(yellow wire) of the servo is connected to the digital pin of the Arduino
the connection of a an ultrasonic sensor is as follows :-
- the VCC pin is supplied to both digital pin and 5V pins of the Arduino
- the ground pin is supplied to the ground pin of the Arduino
so now the only stage left for the completion of project is coding.
Step 6: CODING:
When you are done with the construction. Upload the code in the attachments to your arduino and have with your new robot. Hope you enjoyed this Instructables. I will come back with another fun instructable, stay tuned. And follow me for Arduino projects and feel free in commenting below if you find any problem and I will be glad to help you out.