ANTI MISSILE ROBOT

by David_Lin in Circuits > Microcontrollers

1299 Views, 7 Favorites, 0 Comments

ANTI MISSILE ROBOT

anti.png

The very first time i think at what a robot does.

that use a water rocket to be an anti missile blocking and raining the earth.

and there is another anti missile robot on boarded the flying water rocket

controlling water rocket(part_3) too !

and ...

the water rockets will not fighting each other because of the rockets

don't burn any fuel and they don't emitting light !

Material

DSC_0066.JPG
DSC_0084.JPG
DSC_0095.JPG
stepper_images.jpg
DSC_0088.JPG
1602_2.jpg

it's every part and elements

Prototype With UNO

DSC_0066 (1).JPG
5736d43d50e1b6b72300192e.jpeg

connecting the heart of robot to it's every part

Prototype of Launcher Gear Driving by 2003 With UNO

573bbbe915be4d061a000940.jpeg
57357f3d67400c544a001713.jpeg
unipolar_stepper_four_pins.JPG

Auto Turnning Platform With CD

DSC_0084.JPG
DSC_0086.JPG
DSC_0091.JPG
DSC_0092.JPG
DSC_0093.JPG
DSC_0094.JPG
573521324fbade9692001510.jpeg

use an old (wasted) CD, a paper clipper, a washer, a hand drill.
and the PCB read the signal for next move.

Connecting Sensors

DSC_0075.JPG
PCB_995.jpg
5735d964937ddb2aaf0015cb.jpeg

the platform read POS_v (+5 == LDR == 10K == GND ) from 10K OHM

and read POS_h (+5 == LDR == 10K == GND ) from 10K OHM

so that 10K connecting to UNO PIN A2,A3

Connecting the 1602 Displayer(may Remove Aswell)

5735708850e1b656a300000d.jpeg

Testting the Robot

click me to show the robot

the water rocket launcher robot with UNO.
the water rocket controlling robot with mini.

Coding

5738a5822e7fb67917000bac.jpeg

the most complex part it's here !

there are three state(s) and 2 speed(s) :

1)Target is right side upon luncher ==> do the turnning forward with slow.

1')Target is right side upon and near luncher ==> do the turnning forward with fast.then delay 20ms.

2)Target is left side upon luncher ==> do the turnning reverse with slow.

2')Target is left side upon and near luncher ==> do the turnning reverse with fast. then delay 20ms.

3)Target is just right upon luncher ==> do the turnning nothing with delay 0.5 secound.

if there is reading POS_v and POS_h different then do the turning routine else delay 50ms.

4) POS_v > POS_h +3 do the forward routine.

5) POS_h > POS_v +3 do the reverse routine.

else STOP.: shut the stepper motor down and then delay 0.5second.

beside these read the sensors and delays.

Downloads