Toy train running arduino with speed control and curve detection using multiwii-based IMU software
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Alarms.cpp
Alarms.h
EEPROM.cpp
EEPROM.h
IMU.cpp
IMU.h
LCD.cpp
LCD.h
LICENSE
Protocol.cpp
Protocol.h
README
Sensors.cpp
Sensors.h
Serial.cpp
Serial.h
config.h
def.h
train_imu.cpp
train_imu.h
train_imu.ino
types.h

README

                  ---- Autonomous Toy Train Controller ---

Modified multiwii (multicopter) code to extract gyro z-axis information to 
determine speed around curvers. This information is fed back into a simple
feedback algorithm to slow down the train. 

Wheel speed sensor is used to measure train speed and adjust motor controller 
PWM to keep train speed approximately constant except for slowing down in curves.

Designed for Rainbowduino to allow instant status information to be displayed
on 8x8 RGB matrix. 

Code is hardcoded for GY80 IMU. Only z-axis of gyro is currently being used
from the IMU. Multiwii code is used because of the quality gyro filtering.
First checked-in code represents the same code used to demonstrate the 
train at the 2014 Seattle Mini Maker Faire.

For more info zapmaker.org

Code is GPL3 license per multiwii license.