BLUETOOTH CONTROLL INSTRUCTABLES ROBOT V1
by methmal in Circuits > Robots
210 Views, 2 Favorites, 0 Comments
BLUETOOTH CONTROLL INSTRUCTABLES ROBOT V1





I had a dream at past that I must buy a 3d printer.but I hadn't enough money.
but after visit this site and contest page I got a new life.So I thought to make their website logo.
And I made it with moves.I hope this will be a good project for all.....
I hope to publish version 2 of instructables robot soonly.
Supplies
2* 18650 Battery
,l298n,
arduino nano ,
foam board,
hc06,
wire
,2* motor,
led,
uv led
,servo
plaster of pais
paints
glue gun,
soldering iron,
screw
CREATING THE CHASSIS







I used foam board to make the chassis,
After,I drew and cut parts ,I fixed them with tooth picks and got the shape
Next I paste them out
after pasting I pour plaster of paris to strong
after all things I painted it
Led Lights





I put lights as eyes and for leg.and also I used uv led to ground of robot for sanitizering
Isoldered them together and got the output with pin 2 on nano
Bluetooth Controller



I used BLUETOOTH ELECTONICS (https://play.google.com/store/apps/details?id=com....)app to bild the platform
HC 06 as the receiver to arduino nano
SERVO MOUNT

three servo as head, right arm, left arm
CIRCUIT AND PROGRAMME





#include
Servo right_hand; Servo left_hand; Servo head; char bt='S'; int pos = 0;
void setup() { pinMode(2,OUTPUT);//led pinMode(10,OUTPUT);//uv led pinMode(3,OUTPUT);//left forward pinMode(4,OUTPUT);//left backward pinMode(5,OUTPUT);//right forward pinMode(6,OUTPUT);//right backward right_hand.attach(7); left_hand.attach(8); head.attach(12); Serial.begin(9600);
right_hand.write(0); left_hand.write(180); head.write(90); }
void loop() {
//////////////////////*************************BLUETOOTH*************************////////////////////// bt=Serial.read();
delay(100); Serial.println(bt); delay(100);
if(bt=='I'){//light on digitalWrite(2,HIGH); } /////////////////////// if(bt=='i'){///light off digitalWrite(2,LOW); } if(bt=='M'){//sanitizer digitalWrite(10,HIGH); } /////////////////////// if(bt=='m'){///sanitizer digitalWrite(10,LOW); }
if(bt=='0'){//stop digitalWrite(3,LOW); digitalWrite(4,LOW); digitalWrite(5,LOW); digitalWrite(6,LOW); }
if(bt=='1'){//forward digitalWrite(3,HIGH); digitalWrite(4,LOW); digitalWrite(5,HIGH); digitalWrite(6,LOW); }
if(bt=='3'){//back digitalWrite(3,LOW); digitalWrite(4,HIGH); digitalWrite(5,LOW); digitalWrite(6,HIGH); } if(bt=='2'){//right digitalWrite(3,LOW); digitalWrite(4,HIGH); digitalWrite(5,HIGH); digitalWrite(6,LOW); }
if(bt=='4'){//left digitalWrite(3,HIGH); digitalWrite(4,LOW); digitalWrite(5,LOW); digitalWrite(6,HIGH); }
if(bt=='U'){//left up left_hand.write(180); delay(15); }
if(bt=='N'){//left middle left_hand.write(90); delay(15); }
if(bt=='D'){//left down left_hand.write(0); delay(15); } if(bt=='Z'){//right up right_hand.write(180); delay(15); }
if(bt=='T'){//right middle right_hand.write(90); delay(15); }
if(bt=='Y'){//right down right_hand.write(0); delay(15); } if(bt=='L'){//head left head.write(180); delay(15); }
if(bt=='K'){//head centre head.write(90); delay(15); }
if(bt=='J'){//head right head.write(0); delay(15); } }
FINISHED




IT CAN SALUTE
IT CAN MOVE
IT CAN CLEAN WITH UV
IT HAVE LIGHTS
IT CAN ROTATE HEAD
IT CAN ARM MOVE
AND
ALSO
I CAN MAKE IT