Introduction: GRIPPER BOT

About: Voice Of Technology·Wednesday, 22 April 2020· Welcome to our page ,here you all get some exciting engineering project video clips and if you follow the link to the YouTube you will get the total tutorials of…

WANT TO PLACE THINGS FROM ONE PLACE TO OTHER WIHTOUT GOING THERE?

YES,we all want that,todays project is a small prototype of that possibility.

This is another very unique and easy to learn project for college students and beginners with Arduino,

the robot can move forward, backward, right and left,it can grab things and place them from one place to another.

Guys follow the instructions thoroughly you all an make this even better just enjoy and learn.

Watch our youtube video embedded here for better knowledge and subscribe and follow us for upcoming important projects.

Step 1: COMPONENTS

1:-arduino uno(Generic Uno R3 ATmega328P with USB Cable length 1 feet, Compatible with ATMEGA16U2 Arduino (Color may vary))

2:-bluetooth module hc-05(Bluetooth Transceiver Module with TTL Outputs-HC05)

3:-l293d motor driver(Embeddinator's L293D Motor Driving Module)

4:-servo motor(Calcutta Electronics SG-90 Servo Motor)

5:-breadboard(KTC CONS Labs Nickel Plated 840 Points Bread Board or Solderless Piecesb Circuit Test Board, White)

6:-two dc gear motor(Robocraze 2 Set Smart Car Robot Chassis Kit With Plastic Tire Wheel With Deceleration DC 3-6V Drive Gear Motor For Arduino)

7:-two wheels with caster wheel(Robokart White small tyre for Robowar(pack of 4))

8:-jumper wires(REES52 Jumper Wire - 10 Male to Male + 10 Female to Female + 10 Male to Female)

9:-power bank/9v battery(Intex IT-PBB 2000 MAH Power Bank (White))

Step 2: CIRCUIT DIAGRAM

Here is the simple circuit diagram........

Bluetooth module

vcc is connected to +5v

gnd is connected to gnd

rx is connected to tx

tx is connected to rx

servo is connected to 9pin of arduino

motordriver l293d have 16pin...

1,8,9,16pin of l293d is connected to +5v

4,5,10 and 11 pin of l293d is connected to gnd

so.. 2pin of l293d is connected to 5pin of arduino

7pin of arduino is connected to 6pin of arduino

9pin of arduino is connected to 7pin of arduino

15pin of arduino is connected to 8pin of arduino

motor1 is connected to 3 and 6pin of l293d

motor2 is connected to 10 and 14 pin of l293d that it....then connect to power supply....

Step 3: How It Works???

HC 05 works on serial communication.here the android app is designed sending serial data to the Bluetooth module when certain button is pressed. The Bluetooth module at other end receive the data and send to ardunio through the TX pin of Bluetooth module(RX pin of arduino).

if(readdata == "Forward")

{ digitalWrite(5, HIGH); digitalWrite(6, LOW); digitalWrite(7,HIGH); digitalWrite(8,LOW); delay(100); }

then robo moves forward..

else if(readdata == "Backward")

{ digitalWrite(5, LOW); digitalWrite(6, HIGH); digitalWrite(7, LOW); digitalWrite(8,HIGH); delay(100); }

this time robo moves backward...

same.....

by changing code robot moves left and right..

and grap a any object and drop it by servo..

Step 4: UPLOAD THE CODE

*Pleasse Remember that...before uploading code..plz remove the wires tx and rx pin of connection between arduino and bluetooth module..then upload your code...

#include

#include

SoftwareSerial BT(10, 11); //TX, RX respetively String readdata;

int servoPin1=9; Servo servo1; int angle=180; void setup() { BT.begin(9600); Serial.begin(9600);

servo1.attach(servoPin1); // Defines Pin 11 for Servo servo1.write(angle); pinMode(5,OUTPUT);

pinMode(6,OUTPUT);

pinMode(7,OUTPUT);

pinMode(8,OUTPUT); pinMode(servoPin1,OUTPUT); }

void loop()

{ while (BT.available()){ //Check if there is an available byte to read delay(10); //Delay added to make thing stable char c = BT.read(); //Conduct a serial read readdata += c; //build the string- "forward", "reverse", "left" and "right" } if (readdata.length() > 0) { Serial.println(readdata);

if(readdata == "Forward") { digitalWrite(5, HIGH); digitalWrite(6, LOW); digitalWrite(7,HIGH); digitalWrite(8,LOW); delay(100); } else if(readdata == "Backward") { digitalWrite(5, LOW); digitalWrite(6, HIGH); digitalWrite(7, LOW); digitalWrite(8,HIGH); delay(100); } else if (readdata == "Left") { digitalWrite (5,HIGH); digitalWrite (6,LOW); digitalWrite (7,LOW); digitalWrite (8,HIGH); delay (100); } else if (readdata == "Right") { digitalWrite (5,LOW); digitalWrite (6,HIGH); digitalWrite (7,HIGH); digitalWrite (8,LOW); delay (100); } else if (readdata == "Stop") { digitalWrite (5,LOW); digitalWrite (6,LOW); digitalWrite (7,LOW); digitalWrite (8,LOW); delay (100); } else if (readdata == "Grap") { servo1.write(90); } else if (readdata == "Drop") { servo1.write(175); } readdata=""; }

Step 5: CONNECT THE APPLICATION TO THE BLUETOOTH

you have to make communication between robot and smartphone.

just install the app given below, open the app->connect your Bluetooth and paired, then password by 1234 or 0000

then it will be connected to the robot's Bluetooth module.

Guys, please comment below for the pre-made application.

THANK YOU!!