Remote Controlled/unmanned All Terrain Robot
by jeevo79 in Circuits > Robots
273 Views, 2 Favorites, 0 Comments
Remote Controlled/unmanned All Terrain Robot
This is a robot using the EV3 brick and LEGO Technic
Supplies
EV3
sensors
2 large motors
1 medium motor
4 connectors (EV3 wires)
other parts that came in the set
Https://vimeo.com/552121842
This is my first instructable, hope you enjoy! Here is the build video:https://vimeo.com/552121842 (sorry, you have to copy and paste). you can watch it on Vimeo. In the video i show you how to build a remote controlled/unmanned robot. the code can be found below.
Code
For the code i will used the block-based coding platform used to code Lego mind storms that you can find at https://www.lego.com/en-ca/themes/mindstorms/downloads , scroll down and you can download the correct version for you're device.
so on to the code:
Remote Control Code
for the remote control code, its really simple. It's just telling the robot witch motors to move in witch direction when a specific button is pressed. There is also a bit of code for the medium motor, there you can add any extension you want to your robot. (the part circled in blue is the code for the medium motor).
so it goes through a forever loop and if one of the buttons are pressed it will go back of forward.
the first number (1/2/3/4) is witch port you pugged the sensor in. then the second number (1/2/3/4) is witch option its on (theirs this red thing in the middle of the remote that you can switch from 1 through 4 (the number is on the small red circle)) (image 2)
and the last one is witch button.
i can't put any files because it won't accept any .ismp files
Unmanned Code
the unmanned code is just a simple obstacle avoidance code, so the robot starts moving and whenever the sensor detects something close enough it will turn for 1.5 seconds then stop, and keep going
Extensions
you can add any extensions to the medium motor, here are a few good ideas: a claw, a rotatable phone holder(to take a video), or really anything else