Raspberry Pi Devastator Robot
The basic setup for the robot in the first episode -- in terms of the motor controller wiring and the initial Python control code -- are the same as in my Raspberry Pi Zumo Robot build, for which information is available here.
In the second video in the series, I expand on the code and wiring diagram, which by the end of the episode are as follows:
In the third part of the series I add a camera using a custom bracket that I designed in Tinkercad and 3D printed online using 3DHubs. The additional code for camera control, and to demonstrate camera control, are as follows:
Note that the file above named "dev_robot_camera.py" needs to be renamed to "dev_robot.py" to be used with the robot (which is what it was called in the video), as this is the file that bootup.sh autoruns. However, I could not call it "dev_robot.py" here, as that file is available under video two above! :)
In the fourth episode, I improve the keyboard control code (so that the robot only moves when a key is held down), as well as implementing PWM speed control. During the episode, the wiring diagram and code progress as below. Once again, note that the robot's control code as linked below needs to be renamed to "dev_robot.py" (which is what it was called in the video), as this is the file that bootup.sh autoruns.
Return to: Videos Homepage.