mbed Robot Racing Wii

Table of Contents

  1. How does it work?
  2. Code
  3. More

We decided to make a physical version of a computer karting game, using mbed to control robots with a Wii Wheel. We’ve added power-ups and a leaderboard too!

How does it work?

The mbed Microcontroller sits on top of the m3pi robot base to control the motors. It also uses a USB Bluetooth dongle to connect to the Wii Wheel, using the button and accelerometer data to decide the motor speeds.

A beam breaker controls a leaderboard website to time and rank lap times.

/media/uploads/simon/robot-racing-wii-how.png

The robot also has an RFID Reader on the bottom, which picks up RFID Tags embedded in the track that act as power-ups.

http://mbed.org/media/uploads/simon/_scaled_img_0395.jpg

Code

Import programWiiRacing

First draft of Wii Robot Racing, a simple example of using Wii Remote connected via bluetooth to control an m3pi robot, plus RFID \"powerups\" to modify behaviour

More

This is based on our original robot racing idea:

More soon...


All wikipages