Skip to main content

Blog 3

Blog 3

I have built a prototype for a tank-based robot which I am going to test out: 


It was made from spare parts which included foamboard, Raspberry Pi 3B+, L298N motor controller, battery pack, an aluminum tank chassis and two 300rpm dc motors. I controlled it over SSH via my laptop however I hope to soon control it via a PS4 controller or something similar to that. 

I decided that I would make both a tracked tank robot as well as a 4wd robot and compare them both to see which one I prefer. The robot that I do not choose will be used as a backup as it will be useful
if anything bad happens to my primary robot (ie big mechanical failures). Next, I will build my 4wd robot using the ThunderBorg motor controller.

Currently, I believe that the 4wd robot will be more useful this year in the challenges and one major drawback of using this tank is that the tracks are very fiddly and are hard to get right.  I have still have a long time until Pi Wars 2020, but I assume that I will have a good working chassis done by the end of November.

Comments

Popular posts from this blog

Code Update!

Code Update! After a while of working on writing code, I have finally done it! This script below is adapted from the MonsterJoy code by PiBorg, yet it has a number of important changes. I will probably also tweak the code slightly (ie turn magnitude). #!/usr/bin/env python # coding: Latin-1 # Load library functions we want import time import os import sys import pygame import ThunderBorg import UltraBorg # Re-direct our output to standard error, we need to ignore standard out to hide some nasty print statements from pygame sys . stdout = sys . stderr # Setup the ThunderBorg TB = ThunderBorg . ThunderBorg () TB . i2cAddress = 0xA # Uncomment and change the value if you have changed the board address TB . Init () if not TB . foundChip : boards = ThunderBorg . ScanForThunderBorg () if len ( boards ) == 0 : print 'No ThunderBorg found, check you are attached :)' else : print 'No...

Gripper Test!

Gripper Test Below is a quick video of a test for my Pi Wars 2020 gripper. In this video, I use a 6 channel digital servo tester as well as an inexpensive robot gripper I found on Robot Shop. I also tested out a vacuum-based gripper system (which I created using a syringe) however this was not as practical. Anyway, this is a video of a test of my gripper, enjoy!