Inspiration: I built a nerf blaster optic mover and range finder in BME 2210 (Shoutout Professor Albrecht!!), and I had arduino parts left over and a lego vehicle at home.

What it does: It can drive forward and backward, turn, and fire lego missiles, but unfortunately it cannot do multiple at once.

How we built it: I used an arduino, 2 dc motors with gearboxes and wheels, and an h-bridge. I then wired an IR receiver. I then used serial.println to find the hex code for each button and made a switch/case/default code that would detect the hex code for each button press and activate the motors such that it would execute the desired function. The way it works is that it responds to a single button press, and then does not stop until it is told to do something else or to stop. This is because the hex code for any duration of pressing a button is just F, no matter what the button; so it is not possible to do it only when a button is pressed and executes that action until told to do otherwise. A majority of the structure is lego and zipties.

Challenges we ran into: At one point, I cut the wires of a servo by accident so I had to re-solder the wires for the servo and put it back together. It also uses differential steering rather than physically turning wheels, so it can struggle to turn at times. Some wires tend to come loose at time so we have to isolate the loose wire and plug it back in, but this can be easy in some cases because it will be lacking one function and there is only one wire that is associated with that function, or one series of wires so we just have to go through the series until we find the loose wires.

Accomplishments that we're proud of: IT WORKS!

What we learned: A few things

Switch/case codes need a default code How to use serial monitor to determine hex codes for a remote input How to use an H-bridge to wire dc motors

What's next for RC car with arduino: Make it so that it can both move and turn and fire at the same time in any combination and not having to stop the previous action to do the next action.

Built With

Share this project:

Updates