Skip to main content

Flywheel

Flywheel 

For the 'Zombie Apocalypse' challenge, I am going to be using a flywheel from the 'Nerf N-Strike Elite Stryfe Blaster'. This flywheel will be controlled via an l298n motor controller (as they are fairly cheap) and I will also be using a linear actuator in order to push the bullets (from the cartridge) into the flywheel. Aiming is also very important so I will be using a laser pointer as well as a servo based mechanism (similar to the one used in the camera attachment) which will allow for pan and tilt so that I can shoot down the targets at all locations, thereby allowing me to gain more points. This is an image of what the stryfe flywheel looks like:

Image result for stryfe flywheel cage

A linear actuator is simply a component that creates motion in a straight line. I could use a push and pull solenoid instead, however, I have more experience using a linear actuator so it should, therefore, be generally easier for me to use one. I will send a video (hopefully by tommorow) with the final attachment which will include the servo mechanism as well.  

Comments

Popular posts from this blog

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!

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