lsm9ds0 9dof breakout to BBB

I bought a LSM9DS0 9DOF breakout board, like a complete newbie that I am, lol I can’t find any thing on connecting and using it with a BBB.

If this simply can’t be done right now, what is a proven, well documented/exampled

Accelerometer
Gyro (need yaw)
magnetometer (for heading)

In my project ease of use and wiring would be a plus and able to be used in bonescript just about a must. Don’t have time to learn another language.

Any help is MUCH appreciated!

I bought a LSM9DS0 9DOF breakout board, like a complete newbie that I am, lol I can’t find any thing on connecting and using it with a BBB.

If this simply can’t be done right now, what is a proven, well documented/exampled

Accelerometer
Gyro (need yaw)
magnetometer (for heading)

In my project ease of use and wiring would be a plus and able to be used in bonescript just about a must. Don’t have time to learn another language.

Any help is MUCH appreciated!

http://elinux.org/Category:EmbeddedBeagleClass

Regards,
John

Not exactly what i was looking for John, but thanks… Gosh this community is small can’t wait for it to grow…

Adafruit has several, alos some user guides, tutorials etc

It looks like your LSM9DS0 can talk either I2C or SPI

I2C using Python: https://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black?view=all#i2c
Looks like bonescript can talk I2C https://github.com/jadonk/bonescript

The Adafruit_BBIO library is installed on the latest Debian image by default, it configures I2C as:

P9_19: I2C2, SCL
P9_20: I2C2, SDA

You’ll need to read the datasheet for your device to find out the I2C address(es) and then the commands to send to get data from it.

Here’s a pretty comprehensive guide (Arduino focused, but still helpful) https://learn.sparkfun.com/tutorials/lsm9ds0-hookup-guide/all

One important thing to be sure of is that any signals going IN to your BBB are level shifted to 3.3V or less, otherwise you’ll break the BBB.

Google is your friend.

Hey, I don’t know if you’re still looking for this but I just created a library based on the Sparkfun library: https://github.com/projectzen/Beaglebone-LSM9DS0