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...

Coronavirus update

Coronavirus update  Today we got some really sad news as PiWars was decided to be postponed to a later date. Despite this being unfortunate, it was definitely a well thought out choice and was made for good reasons.  However...... This could also be pretty useful as well because this means that I get (a lot) more time to work on my robot and further develop it. Below is a to-do list of my new ideas: - Get the flywheel mechanism working ASAP - Tweak all my code and do further testing - Work on further autonomous code (to gain more points) I am very excited to accomplish these goals!

Robot Chassis

Robot Chassis Below is an image of my finished robot chassis (a proper blog-post will follow shortly): (This is also the image that will be in the actual program)