I have a project in mind to create a platform that stays stable, no matter how the ground it rests on pitches and moves. I'm using a couple of Memsic Parallax Accelerometers to determine the x and y axis of the ground it's resting on. I'll also try using 2 servos to level the platform.
The first step is to test the accelerometer and make sure its working and learn the basic function. I'll follow the Arduino tutorial here:
For simplicity, I'm using a Ardweeny from Solarbotics to test the accelerometer.
((image of accel and ardweeny)
Example of the output in x, y format
For testing the servos, I'm using a Motor Shield from Adafruit Industries. They have a stepper and servo library available to quickly get started with motors. Thanks Limor! This shield allows you to quickly set up and experiment with several different types of motors, including servos, stepper motors and DC motors. It will facilitate quick and easy understanding of the code and motion.
- Motor Shield - http://www.adafruit.com/products/81
- Motor Shield datasheet - http://ladyada.net/make/mshield/index.html
- Motor Shield code - https://github.com/adafruit/Adafruit-Motor-Shield-library
- Ardweeny - http://www.solarbotics.com/products/kardw/