This weeks Goal:
Take the first steps in building a planer Inertial Measurement Unit (IMU). This includes interfacing a two axis accelerometer and rate gyro to a microprocessor and shuttling the data to a visualization.
The Hardware:
The hardware shown includes a ATMEGA128, Accelerometer / Gyro, FTDI USB to serial board and a couple of high current H bridges. The H bridges are not needed now but will be used on the balancing robot I want to build.
Python Interface:
Finally learned Tkinter which is used for the little test app show below. The rate gyro is sampled and integrated (shown in red). The two accelerometers are also sampled and fed into some trig to find an estimate of the orientation (green sliver). These accelerometers are tuned to sense static acceleration - gravity.