Introduction: Pick and Place App Control Robot

Picture of Pick and Place App Control Robot

hello guys...

welcome to our channel s_r tronics

our new project pic and place robot based on arduino controlled by a android phone app...

Bluetooth Controlled Pick and Place Robot consists of a two wheeled robot fitted with a gripper arm. This robot can pick things using gripper from one place, perform all sorts of robotic movements and place the commodities picked to another place. The robot is interfaced with a bluetooth module hc-05 so that the input commands provided by the user can be obtained at the robotic side and corresponding robotic action can be performed.

Step 1: Components

Picture of Components

Step 2: Circuit Diagram

Picture of Circuit Diagram

arduino and bluetooth connection:-

vcc of bluetoooth is connect to +5v

gnd is connect to gnd

tx of bluetooth is connect to rx of arduino

rx of bluetooth is connect to tx of arduino

arduino and l293d ic connection:-

here..two l293d ic

1st l293d connection:-

pin 2 of L293D IC is connect to 8pin of arduino

pin 7 of L293D IC is connect to 7pin of arduino

enable pin 1 of L293D IC is connect to 9pin of arduino

pin 10 of L293D IC is connect to 5pin of arduino

pin 15 of L293D IC is connect to pin 4 of arduino

enable pin 9 of L293D IC is connect to 6pin of arduino

2nd l293d connection:-

pin 2 of l293d ic is connect to 14pin of arduino(A1 analog pin)

pin 7of l293d ic is connect to 13 pin of arduino

enable pin 1of l293d ic is connect to 15pin of arduino(A0 analog pin)

10 pin of l293d ic is connect to 11pin of arduino

15pin of l293d ic is connect to 10 pin of arduino

9pin of l293d ic is connect to 12 pin of arduino

Step 3: Uploading Code

here is the code..

plz copy the code or download below...paste into arduinoo then upload..

just remember that..while uploading code..plz remove tx and rx wire from bluetooth and arduino connection.

int motor1Pin1 = 8; // pin 2 on L293D IC

int motor1Pin2 = 7; // pin 7 on L293D IC int enable1Pin = 9; // pin 1 on L293D IC int motor2Pin1 = 5; // pin 10 on L293D IC int motor2Pin2 = 4; // pin 15 on L293D IC int enable2Pin = 6; // pin 9 on L293D IC int motor3Pin1 = 14; // pin 2 on L293D IC int motor3Pin2 = 13; // pin 7 on L293D IC int enable3Pin = 15; // pin 1 on L293D IC int motor4Pin1 = 11; // pin 10 on L293D IC int motor4Pin2 = 10; // pin 15 on L293D IC int enable4Pin = 12; // pin 9 on L293D IC int state; int flag=0; //makes sure that the serial only prints once the state

void setup() { pinMode(motor1Pin1, OUTPUT),pinMode(motor1Pin2, OUTPUT),pinMode(enable1Pin, OUTPUT); pinMode(motor2Pin1, OUTPUT),pinMode(motor2Pin2, OUTPUT),pinMode(enable2Pin, OUTPUT); pinMode(motor3Pin1, OUTPUT),pinMode(motor3Pin2, OUTPUT),pinMode(enable3Pin, OUTPUT); pinMode(motor4Pin1, OUTPUT),pinMode(motor4Pin2, OUTPUT),pinMode(enable4Pin, OUTPUT); Stop(); Serial.begin(9600); }

void loop() { if(Serial.available() > 0){ state = Serial.read(); flag=0; } if (state == 'F'){ Forward(); if(flag == 0)Serial.println("Go Forward"),flag=1; } else if (state == 'B'){ Reverse(); if(flag == 0)Serial.println("Go Reverse"),flag=1; } else if (state == 'L'){ Left(); if(flag == 0)Serial.println("Go Left"),flag=1; } else if (state == 'R'){ Right(); if(flag == 0)Serial.println("Go Right"),flag=1; } else if (state == 'S'){ Stop(); if(flag == 0)Serial.println("STOP!"),flag=1; } else if (state == 'P'){ Pick(); if(flag == 0)Serial.println("Pick"),flag=1; } else if (state == 'Q'){ Place(); if(flag == 0)Serial.println("Place"),flag=1; } else if (state == 'H'){ Hold(); if(flag == 0)Serial.println("Hold"),flag=1; } else if (state == 'I'){ Free(); if(flag == 0)Serial.println("Unhold"),flag=1; } }

void Forward(){ digitalWrite(motor1Pin1, LOW); digitalWrite(motor1Pin2, HIGH); digitalWrite(motor2Pin1, HIGH); digitalWrite(motor2Pin2, LOW); digitalWrite(enable1Pin, HIGH); digitalWrite(enable2Pin, HIGH); }

void Reverse(){ digitalWrite(motor1Pin1, HIGH); digitalWrite(motor1Pin2, LOW); digitalWrite(motor2Pin1, LOW); digitalWrite(motor2Pin2, HIGH); digitalWrite(enable1Pin, HIGH); digitalWrite(enable2Pin, HIGH); }

void Left(){ digitalWrite(motor1Pin1, HIGH); digitalWrite(motor1Pin2, LOW); digitalWrite(motor2Pin1, HIGH); digitalWrite(motor2Pin2, LOW); digitalWrite(enable1Pin, HIGH); digitalWrite(enable2Pin, HIGH); }

void Right(){ digitalWrite(motor1Pin1, LOW); digitalWrite(motor1Pin2, HIGH); digitalWrite(motor2Pin1, LOW); digitalWrite(motor2Pin2, HIGH); digitalWrite(enable1Pin, HIGH); digitalWrite(enable2Pin, HIGH); }

void Pick(){ digitalWrite(motor3Pin1, LOW); digitalWrite(motor3Pin2, HIGH); digitalWrite(enable3Pin, HIGH); }

void Place(){ digitalWrite(motor3Pin1, HIGH); digitalWrite(motor3Pin2, LOW); digitalWrite(enable3Pin, HIGH); }

void Hold(){ digitalWrite(motor4Pin1, LOW); digitalWrite(motor4Pin2, HIGH); digitalWrite(enable4Pin, HIGH); }

void Free(){ digitalWrite(motor4Pin1, HIGH); digitalWrite(motor4Pin2, LOW); digitalWrite(enable4Pin, HIGH); }

void Stop(){ // Stop the motors digitalWrite(enable1Pin, LOW); digitalWrite(enable2Pin, LOW); digitalWrite(enable3Pin, LOW); digitalWrite(enable4Pin, LOW); digitalWrite(motor1Pin1, LOW); digitalWrite(motor1Pin2, LOW); digitalWrite(motor2Pin1, LOW); digitalWrite(motor2Pin2, LOW); digitalWrite(motor3Pin1, LOW); digitalWrite(motor3Pin2, LOW); digitalWrite(motor4Pin1, LOW); digitalWrite(motor4Pin2, LOW); }

Step 4: Installing App

Picture of Installing App

here is some screenshot of pic..

plz download the apk file of android app..

the install...connect to bluetooth module hc -05..

hurrayy!!!!!!..you got it

Step 5: Result

heloo guys support us and followour channel s_r tronics on you tube

..keep watching our project video..

so guys watch the video for full description how to make this project

so..subscribe our channel..do comment and likes..

.thankx..

Comments

aryan9671 (author)2017-11-29

how and where to add the arm to pick the material up

Sukanta bera (author)aryan96712017-11-29

whis is contain grip arm, this motor provide to object hold and free.... and below a motor,which can move whole arm to pick a object and to place.. you have to set up motors correctly in whole arm for pick, place, hold, and free to an object

Sukanta bera (author)aryan96712017-11-29

whis is contain grip arm, this motor provide to object hold and free.... and below a motor,which can move whole arm to pick a object and to place.. you have to set up motors correctly in whole arm for pick, place, hold, and free to an object

About This Instructable

567views

10favorites

License:

Bio: GUYS FOLLOW US AT OUR FB PAGE ..DO LIKE ND SHARE ..OUR YOUTUBE CHANNEL IS S_R TRONICS...WATCH..TRY..INNOVATE..TASTE THE SUCCESS..THANK U..
More by Sukanta bera:Phone Calling Arduino Robot Using Dtmf DecoderGesture Controlled Robot Using MATLABMultifunction Biped Arduino Robot
Add instructable to: