Troubleshooting

Here are a few common issues you might have and some solutions to them. Student Robotics has a similar section on their website which is also relevant.

I've connected a battery and the power switch to the black connector but never get any lights on The BrainBox.

The BrainBox will not switch on when the voltage of the battery is low. Try swapping the battery for a fully charged one. If you have a fresh battery in your robot, it's possible that the switch has failed or become internally disconnected. For testing purposes, you can swap the power switch for a single piece of wire. NOTE: at the competition, you must have a red power switch to control your robot as per the rules.

The BrainBox appears to power up, but I can't connect to the website and the blue LED lights but never starts flashing.

This can happen if erroneous code which does not start with R = robot.Robot() is uploaded to The BrainBox. If you think this may have happened, download this file and place it on a USB stick. Put the USB stick into The BrainBox and turn the robot on normally. Wait 5 minutes, if you do not at this point get the flashing blue light, contact us through the forum.

WARNING

Using this file will overwrite the current robot code. It will not touch any files you have stored in the editor.

The BrainBox appears to power up, the blue LED light flashes but I cannot connect to it using the WiFi.

We apologise for the poor choice of font, zeroes and capital-o's can be confused as can capital-i's and number ones. Try swapping these.

The BrainBox appears to power up, I can connect to it with WiFi, but am unable to reach the web interface.

Some modern browsers default to a web search if they do not understand the web address. Try putting http:// in front of the address, e.g. http://robot.go instead of robot.go.

I've connected to the web interface and can run code, but my motors never turn on.

The BrainBox will automatically cut power to the 12V socket and the motor outputs if it every detects a current surge exceeding 20A. When this happens, the LED viewable next to where the battery lead enters the brain box will appear red rather than primarily green. If the LED is not green, first disconnect the motors and power cycle The BrainBox to see if this resolves the problem. If it does, then your motors are probably too large.

It is possible to enable/disable this power output from software. When the output is disabled, there will be no light at all visible through this hole. If you can see no light through the hole when the robot is running code check that you have not disabled the motor output by uploading a simple file.

I'm trying to read an analog value from GPIOs, but I'm getting strange values.

Check you're actually reading the pin you're trying to read. R.gpio[1] is Pin 1, R.gpio[4] is Pin 4, etc. If everything's connected correctly, try setting the other pins to output and writing False to them.

R.see() doesn't seem to work.

When you call R.see() the camera preview in the top right should show you what the camera can see. If this looks blury contact us on the forum for a focusing ring. If this doesn't fix the issue try:


print R.see()

If this prints out the markers then the issue is probably with your code, please see the vision docs

Can you post a kit to or from Hills Road

We can post kits from Hills Road however you will need to cover the costs of shipping

What is the patch and how do I install it?

The patch is an update which improve your brain box, by adding more docs, more blocks to blocky, faster boot times and more! To patch your robot please follow the instructions here.

Why is the time wrong

The Raspberry Pi does not keep time when it is off and so has no way of knowing how much time has passed since it was turned off.