In this instructable I will show you how to make a arduino rover using very few components that you probably already have.
PLEASE vote for this project in the gadget hacking contest and others I really want a 3d printer!!! I could make instructables with 3d printed things.
Note the code used for this May not work with newer versions of arduino and you MUST have newping and Adafruit motor shield libraries.
The code was written by: Eagle19939 I give him all credit for the code.
Step 1: Parts and Tools
These are the parts and tools needed to make this robotic rover :
•Hc sr04 ultrasonic sensor
•Wheels 2 motorized ones and one that can move 360 degrees (like the ones used in office chairs)
•light sensor (CDS photocell) optional
• led optional
•Arduino UNO or similar
•9 volt battery to dc barrel adapter
• Adafruit motor shield
•base for robot ( I used a laser cut acrylic piece)
•9 volt battery
•3d printed servo mount ( I made mine at my local Makerspace)
Step 2: Wire Ultrasonic Sensor to Arduino
Step 3: Wire Each Motor
Step 4: Glue Servo to Base
Step 5: Push Ultrasonic Sensor on Mount
Step 6: Program Arduino
Use this code:
Step 7: Files
this is NOT my file I give all credit to wsolstice69, the creator of this file
Step 8: Extras:
Here is another feature that I have included in the code: a light sensor feature that lets you connect a light sensor to this rover and it will turn on an led when it becomes to dark feel free to change the thresholds on the code for the light sensitivity.
Plug in the LED to A1 and ground and the light sensor to 5 volts and the other side goes to a 10 kohm resistor that goes to ground and to A0
Step 9: Plug in Battery and Test
Plug in the 9 volt battery into the 9 volt to dc Barrel plug adapter. Turn it on and it should work mine does hit walls sometimes but is pretty good otherwise. Thanks for viewing this instructable and I hope it works for you if you have any questions just comment below and I will try to help.
Thanks and if you liked this instructable favourite it and vote for it in contests.