Code for turning an electric kid's quad into a line following self driving vehicle using Arduino.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Main Code small tweaks Nov 7, 2018
Schematic small tweaks Nov 7, 2018
Test code added test code Nov 7, 2018
.DS_Store small tweaks Nov 7, 2018
.gitattributes
README.md Update README.md Nov 9, 2018

README.md

kids quad hacking with Arduino

With this project I turned a simple chineese electric quad into a self driving line following quad. To do this I used two gears, a chain and a old winshield wiper motor for the steering. I hacked the controller of the quad by sending a PWM signal on one of the wires to get throttle control. I used a ultrasonic sensor on the front for obstacle detection. I also used the three tcrt5000 line sensors. Two for line sensing and one for a steering position sensor.

Instructions

https://youtu.be/x573-DXd6lk

Demo

https://youtu.be/bVIsolkEP1k

Schematic

To build the quad follow the following schematic.

alt tag

running the code

Upload the code to the arduino and you are done. First run all the test codes to make sure everything is working correctly. Also make sure the RedBot library is installed.