Terenceang 0 Posted March 8, 2013 Share Posted March 8, 2013 This is a project for me to learn programming on the Stellaris, with tons of materials, support from TI, this and other forums, I managed to get a working port going for this project. I ported part of the FreeIMU library to the Stellaris Launchpad, just enough to support the GY-80 that I have in my "gadget box". GY-80 consist of 4 sensors, L3G4200D (Gryo), ADXL345 (Acc), HMC5883L (Mag) and BMP085 (Baro). This is a cheap sensor board that is readily available on ebay or your favourite Chinese online store. What is working? Reading and writing to the sensors by i2c bus (thanks to the code from "aBUGSworstnightmare"). calibration routine works but it is not saved to EEPROM. Basically it display the Roll, Pitch, Yaw, compass heading and all sensor's Raw data thru the Uart Console (I am using BT on UART1, change it to UART0 for ICDI port.) Overall it is still buggy and I still cannot reset the Roll setting. Todo. 1. save calibration data to EEPROM. 2. host software for graphical representation of data. 3. fix bugs. As I am a RC fan, it will be thrilling to see the Stellaris on a Quadcopter, if this goes well, I will go on develop it further, with newer gens of sensors. I dont know if I can pull it off or not, hopefully someone else can either help or work on it. The project is up on google code, anyone interested to work on it, please let me know. https://code.google.com/p/stellaris-lp-imu/ gwdeveloper, Fred and chicken 3 Quote Link to post Share on other sites
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.