Color Tracking Robot
There are 3 components to the Color Tracking Robot: The sensor, the motors, and the camera. The entire robot is powered by the Raspberry Pi 3. The robot should be able to detect the color red with the camera, and depending on its position drive towards that red object. While the sensor prevents it from crashing with whatever it may be tracking.
Area of Interest
George Washington High School
My First Milestone for the color tracking robot. For my milestone I got my motors, camera, and sensors working. Currently they all run independently, next I would like to bring them all together on a chassis. The most difficult part of this project so far would have to be connecting my raspberry pi to laptop using SSH. I also had some problems with the camera, but I they were solved fairly quickly
The first component I built for my project was the sensor. The sensors read the distance from the closest thing in relation to the sensor, in centimeters. I plan to use my sensors in order to prevent my robot from crashing into whatever object it is following
For my motors I connected them to a L298N motor driver which allows me to run both motors together. It is also connected to battery and converter so it can run semi-independently from my raspberry pi.
Lastly I got the camera to work. For the camera I had to install openCV, which are a set of libraries which are used for real time computer vision. Downloading the library was very difficult, it was not very intuitive, luckily Kevin provided me with a guide to download the the libraries through the control panel in the raspberry pi. Currently I am able to upload live camera footage from the camera to my laptop.
I think my project is going over pretty well. I’ve gotten a a sizable amount of work done, but I did run into a few set backs, primarily being connecting to my Raspberry Pi through SSH. I believe that there is still one more very difficult challenge being the color recognition. I hope once I get the computer vision done, I can finish the entire project soon after.
For my next milestone, I would like to get the color tracking to work, and have all my components working together all on the robot.
My Starter Project is the Minty Booster, which is pretty much a portable charger. It takes batteries, and you could connect it to USB, and from there charge anything. I think the process of making the project went over smoothly. The biggest problem for myself would have to be soldering, as it was completely new to me. Additionally there was a lot of soldering needed on the small circuit in order to complete the project. Overall I enjoyed making this project and I am happy with the outcome.
How it works
How the Minty Boost works is that it takes in 3 V from batteries, and it uses a converter, an inductor, a diode, and two capacitors, in order to increase the voltage to 5 V which is enough to charge a phone. The voltage from the batteries flows into the inductor, where it is stored as energy in the inductor’s magnetic field, generated by the current. When the energy is stored in the inductor more voltage is created. The converter is able to detects the amount of energy inside the inductor, and flip a switch on and off, if the switch is off the energy will flow back into the inductor, if it is open it will flow through the diode. Once it detects a significant amount of energy it will flip on a switch, which will force the energy to flow through the diode. Then the now 5 V of energy flows to the capacitors where it is then stored for use. Additionally, the circuit, and battery case are conveniently incased inside a tin box case.