Raspberry Arduino Pi Robot, featuring OpenCV | A growing post
This project is my attempt at using OpenCV better! This post will reflect my progress, and will be updated as changes are made.
January 29, 2019
At this point, the main robot structure is done (yay!). The chassis have been 3D printed, the motor controllers have been mounted on the Arduino via a custom circuit board, and the Raspberry Pi can successfully communicate with the Arduino using Serial communication.
All that means that a command from the Raspberry Pi can now be read by the Arduino which in turn will be able to rotate the wheels. That’s really cool, because those commands could also be inputted by the user; and if the user is connected remotely via SSH, then we get a remote controlled robot! And RC robots are always good fun 🙂
The next steps from here would be to start utilizing the camera. Beginning with taking simple photos, and progressing to object detection. The goal is to detect an object, and translate its position into some sort of container that may look like: [0,0,0,0,1,0,0,0,0,0,0,0,0]. Meaning that the object is to the left of the center of the frame. The robot would be able to correct the positioning error by inputting this error to a PID controller. Another controller may be used to correct for distance error.
Alright, that’s it for now!