Toy train running arduino with speed control and curve detection using multiwii-based IMU software
C++ Other
Latest commit 13837fa Mar 28, 2014 zapmaker added
Permalink
Failed to load latest commit information.
Alarms.cpp added Mar 28, 2014
Alarms.h added Mar 28, 2014
EEPROM.cpp added Mar 28, 2014
EEPROM.h added Mar 28, 2014
IMU.cpp added Mar 28, 2014
IMU.h added Mar 28, 2014
LCD.cpp added Mar 28, 2014
LCD.h added Mar 28, 2014
LICENSE added Mar 28, 2014
Protocol.cpp added Mar 28, 2014
Protocol.h added Mar 28, 2014
README added Mar 28, 2014
Sensors.cpp added Mar 28, 2014
Sensors.h added Mar 28, 2014
Serial.cpp added Mar 28, 2014
Serial.h added Mar 28, 2014
config.h added Mar 28, 2014
def.h added Mar 28, 2014
train_imu.cpp added Mar 28, 2014
train_imu.h added Mar 28, 2014
train_imu.ino added Mar 28, 2014
types.h added Mar 28, 2014

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.