Monthly Archives: February 2017

Stepper Motor Control Service

Today I have been busy developing a stepper motor service class. The service class will allow the Team Seaford robot to play crazy golf. import RPi.GPIO as GPIO import time class ServiceStepMotor: PinPhase1 = 14 PinPhase2 = 15 PinPhase3 = 17 PinPhase4 = 16 Steps = [ [1,0,0,0], [1,1,0,0], [0,1,0,0], [0,1,1,0], [0,0,1,0], [0,0,1,1], [0,0,0,1], [1,0,0,1] […]

PiWars2017 Tagged , , , Leave a comment

Pairing PS3 Controller with Raspberry Pi

We used WIFI to control our 2015 Pi Wars robot. Using WIFI was a big mistake. On the day of the competition, there was too much interference and lag. We have learnt from our mistakes. This time we will be using Bluetooth. We have connected a USB Bluetooth dongle to the Raspberry Pi and using […]

Uncategorized Leave a comment

Moving Forwards

Our robot is alive and moving. At the heart of the Team Seaford robot control is the ServiceIo class. The ServiceIo class is responsible for controlling the four drive motors. Each motor is connected to a H bridge motor controller. The H bridge controllers require two inputs per motor. The inputs control the direction of […]

PiWars2017 Tagged , , , Leave a comment

Configuring a Static IP Address on the Raspberry Pi

A static IP address will ensure that the Raspberry Pi will always have the same IP address. Without a static IP address the DHCP service on your router will randomly assign IP addresses from its IP range. A fixed IP address will make it easier to remotely connect to the Raspberry Pi. In this example, […]

PiWars2017 Tagged , , , , , Leave a comment

Preparing for Battle

This year Team Seaford will be competing in the non-destructive robot competition Pi Wars 2017, where robot controlled by Raspberry Pi’s will compete in a range of robotics challenges. The brains for this years robot will be the Raspberry Pi Zero that we won in Pi Wars 2015. Please, follow our progress as we build […]

PiWars2017, Projects Tagged , , Leave a comment