Monthly Archives: October 2014

Race to the Wall example code

I was glad to see today that the Race to the Wall has focused the minds of many teams on actually understanding the C code for their robot rather than just blindly copying and pasting something and hoping for the … Continue reading

Posted in Uncategorized | Leave a comment

RoboSumo lab starts at 2pm this week for Race to the Wall

Hi All, The Race to the Wall takes place tomorrow afternoon from 3-6pm, so we have decided to skip the 1-hour lecture and go straight to the labs at 2pm so that teams have an extra hour to work on … Continue reading

Posted in Uncategorized | Leave a comment

Binary numbers and digital i/o on the MSP430G2553

Binary numbers You’ve probably heard people say that computers represent everything as 1s and 0s. What that actually means in practice is that everything processed or stored in a computer (text, images, audio, video, whatever) must be represented as numbers, … Continue reading

Posted in Uncategorized | Leave a comment

Example colour sensor circuit

This circuit, which we will discuss in tomorrow’s lecture, is just a simple example of how a reflective infrared colour sensor can be connected to the analog input of an MSP430G2553 microcontroller. With the Race to the Wall in mind … Continue reading

Posted in Uncategorized | Leave a comment

A simple example of a switch controlling a motor

This is an example circuit for motor control using a switch with the MSP430G2553: [Download editable Inkscape SVG version] The following program uses the switch input to control the direction of the motor. When the switch is pressed, the motor … Continue reading

Posted in Uncategorized | Leave a comment