R2-D2 Based Robot

by NL1_CS in Circuits > Arduino

1736 Views, 14 Favorites, 0 Comments

R2-D2 Based Robot

temp_1534537411.jpg

thank you for spending time on my instructable, i really appreciate it and sorry if i have grammar mistakes, i'm 13 and i'm asian.

this is my second instructable, this is a robot that is based on r2 d2. his name is G1-V1, this is a robot for the arduino contest

and again, thanks alot for seeing this, i hope you enjoy this instructable as much as i do writing it.

this is what G1-V1 can do:

-bluetooth controlled

-lcd display

-shock people (like in the movies)

-be your bed

And the file up there is the drive test of this robot, i haven't make the full yet, sorry

Downloads

Materials

download (1).jpg
479_1231-1400727929-0-arduinounosmd450px1.jpg
download.jpg
b71cd02e-4be8-433b-8006-26e61649287c.jpg
download (2).jpg
gdjd.jpg
tải xuống (2).jpg
DSC09766.jpg
images.jpg

here is what you're going to need

-Arduino uno r3

-hc-05 (bluetooth module)

-l298n motor control module

-2 motor

-android phone( i don't know how to control with ios) or a laptop with Bluestacks -small bread board

-wires

- 3.7v ultra fire batteries x 2

- battery holder ( yes, i don't know what it is called)

- plastic things( last pic)

- cutted in half plastic balls

-round plastic box

- know how to add libraries in arduino( it is quite complicated, at least for me)

-18 white leds

-circuit panel

-shock mechanism( by from the gag gift stores, something like a shock pen)

The Body

temp_-1030119453.jpg
temp_431073442.jpg
temp_-2080215666.jpg

drill hole at the 2 sides of the box ,the holes must be on a straight line, or 4 holes, 2 lines

screw in the plastic things

screw the motor in the plastic things

actually, just do as the picture

Codes and Options

the code part, download the code from this file ans remember to add library for liquid crystal I2-C
l have 2 files here, the r2- d1 is the the code for your robot to move and bea lamp and have lcd display, shick people.
the other one is for controlling 2 more motors to do whatever you want
the app for r2 d1 is "robroCarTut "with picture of a r2 unit ( picture number 3)
the second app is "robot control app" with a picture of a home made R2( not mine)
you can find both apps in the gallery in MIT app inventor 2.

Small Parts( But Important )

images.jpg
tải xuống (1).jpg
71j-sYX5awL._SL256_.jpg

1. Shock mechanism
Take the shock mechanism out of a shock pen( for example) , well the shock mechanism is activated when we push the button and the electricity will come from the source to the button, so track and pull out the wires that leads to the buttons and turn them out like a horn so you can go around a poke people with your shock mechanism. Like r2' s claws

2.led
link all + and - of the leds together like this picture, put do it with 18 leds

Finish

put everything in the plastic jar and you are ready to go