Breakout Board - Gyro, Accelerometer and Magnetometer

We will post our newest projects here and you can tell us about yours!

Breakout Board - Gyro, Accelerometer and Magnetometer

Postby Carl-SolderSplash » Tue May 28, 2013 9:47 pm

A small project I thought I would let you guys know about first.

We were asked to create a breakout board by a few people at the MakerFaires we have been attending. Basically a smaller version of the board we use for the Labyrinth controller

Image Image

So this is as small as we could go, keeping it all top sided and breaking out the most useful parts.

The board uses an Freescale MAG3110 MEMS Magnetometer and a LSM330 MEMS Accelerometer/Gyro. All three are triple axis, Giving you 9 Degrees of inertial measurement (9dof).

This board connects the 2 devices to an I2C bus and requires 3.3v

I shall provide the code for the DipCortex to enable data collection from the sensors. Will then hopefully look to port a Kalman filter to combine the data.

PCBs have been ordered a few weeks ago and should be with us in a few weeks. Will post them to the site once we have them built and talking! We also have a board that just has the LSM330 MEMS Accelerometer/Gyro and breaks out the SPI pins. Let us know if you are interested in that one over this I2C only version.
User avatar
Carl-SolderSplash
Site Admin
 
Posts: 223
Joined: Sun Mar 17, 2013 11:15 pm

Re: Breakout Board - Gyro, Accelerometer and Magnetometer

Postby alexsho100 » Wed Jan 22, 2014 3:23 pm

Hello
How can I get such board?
Preferable with parts on it.

Alex.
alexsho100
 
Posts: 5
Joined: Wed Jan 22, 2014 3:19 pm

Re: Breakout Board - Gyro, Accelerometer and Magnetometer

Postby Carl-SolderSplash » Thu Jan 23, 2014 10:27 pm

You can order here : http://www.soldersplash.co.uk/shop/thre ... netometer/
We have the parts to build them in stock
User avatar
Carl-SolderSplash
Site Admin
 
Posts: 223
Joined: Sun Mar 17, 2013 11:15 pm

Re: Breakout Board - Gyro, Accelerometer and Magnetometer

Postby alexsho100 » Tue Feb 04, 2014 5:38 pm

Do you have a sample code of reading the sensors ?
Is SPI connections available in some way ?
alexsho100
 
Posts: 5
Joined: Wed Jan 22, 2014 3:19 pm

Re: Breakout Board - Gyro, Accelerometer and Magnetometer

Postby andrewdlindsay » Wed Feb 05, 2014 1:41 pm

there is a mbed library for the MAG3110 as this was used in the Wi-Go board that Avnet produced based on the Freescale KL25Z.

thanks

Andrew
andrewdlindsay
 
Posts: 17
Joined: Tue Jan 28, 2014 9:29 pm

Re: Breakout Board - Gyro, Accelerometer and Magnetometer

Postby Carl-SolderSplash » Wed Feb 05, 2014 2:23 pm

Hi Alex,

Yes will look at pulling some code together for you, shall do that over the next day or so. As Andrew said the Mag3110 has a library on mbed for reference.

What platform/language are you going to use? mbed C/C++ or regular C?
User avatar
Carl-SolderSplash
Site Admin
 
Posts: 223
Joined: Sun Mar 17, 2013 11:15 pm

Re: Breakout Board - Gyro, Accelerometer and Magnetometer

Postby alexsho100 » Thu Feb 06, 2014 3:21 pm

Hi Carl,
I prefer plain C.
Do you have also source for LSM330 ?
Can I use the SPI connection on that board ?
alexsho100
 
Posts: 5
Joined: Wed Jan 22, 2014 3:19 pm

Re: Breakout Board - Gyro, Accelerometer and Magnetometer

Postby Carl-SolderSplash » Thu Feb 06, 2014 7:51 pm

This board is I2C only,
Yes have source for the LSM330DLC as well
User avatar
Carl-SolderSplash
Site Admin
 
Posts: 223
Joined: Sun Mar 17, 2013 11:15 pm

Re: Breakout Board - Gyro, Accelerometer and Magnetometer

Postby alexsho100 » Thu Feb 06, 2014 9:00 pm

Ok so,
I'm waiting for the code.
Thank you.
alexsho100
 
Posts: 5
Joined: Wed Jan 22, 2014 3:19 pm

Re: Breakout Board - Gyro, Accelerometer and Magnetometer

Postby Carl-SolderSplash » Fri Feb 07, 2014 12:17 am

Here it is : https://github.com/SolderSplashLabs/DipCortex-9Dof/

LSM330.c and MAG3110.c in this directory :

https://github.com/SolderSplashLabs/Dip ... of/src/lib

this shows you how to do the basic configuration of the two devices
User avatar
Carl-SolderSplash
Site Admin
 
Posts: 223
Joined: Sun Mar 17, 2013 11:15 pm

Next

Return to Project Logs

Who is online

Users browsing this forum: No registered users and 2 guests

cron