Introduction: Wired Contollable Ardiuno Car
For a project at school, a friend and I decided to make a controllable car using an ardiuno as operating system. We also used a 3d printer to make one of the parts.
What you will need:
- lots of lego
- lego steering system
- arduino
- df robot motor shield
- 1 motorkit
- 1 cervo motor
- soldering kit
- ethernetcable (3 M)
- 2 9V batteries
- 10 arduino cables
- pentometer
- 2 buttons
Step 1: The Base
Firstly we needed a base to build our car on. The motor kit came with it's own base and studs to hold the motors. But since we wanted to use lego in our build we decided to make our own base using a 3D printer. We designed a base similar to the original base and added lego blocks and space for the wheels to turn.
Step 2: Assembling the Car
We used a template from the motor kit to attatch the engines to the base of the car. We also used lego to construct the steering weel and the suspension. To control the steering wheel, we used a cervomotor and to control all the engines, we used a motorboard that we pinned to the arduino.
Step 3: Coding
For the arduino, we used a code for both the engines, and the cervomotor. We included the code here. Then we build used a breadboard to build a little controller. We wired the buttons and connected the forward button to 10 and the back button to 11. Then we connected the servo to the arduino as done here. We soldered an ethernet cable between the breadboard and the arduino to give us a little bit of length to play.
Attachments
Step 4: Done!
Aaaah... you're finally done with building. Now you can start with testing your build. If your build doesn't work make sure to check for the following:
- None of the cables are interfering or shorting out.
- The soldering work is done properly
- You're batteries aren't empty
Hope you'll find out what it is quickly! Have fun.