Society of Robots - Robot Forum

Software => Software => Topic started by: MrWizard on December 22, 2012, 04:34:32 PM

Title: Webbotlib device accellerator MMA7260 code MMA7361 compatible ?
Post by: MrWizard on December 22, 2012, 04:34:32 PM
I just ordered a MMA7361 triple axis acccellerator but did not realise it about its suppport in C of with Webbotlib.
I found a library for the Arduino though. I saw the MMA7260 library in the Webbotlib can it be used with the MMA7361 ?

Title: Re: Webbotlib device accellerator MMA7260 code MMA7361 compatible ?
Post by: waltr on December 23, 2012, 09:58:42 AM
First place to start for an answer is to compare the interface specs in the data sheets for those two chips. If they both have the same registers at the same addresses then the same code should work.
Title: Re: Webbotlib device accellerator MMA7260 code MMA7361 compatible ?
Post by: MrWizard on December 23, 2012, 05:28:20 PM
Thanks I will check the registers !  :D
Title: Re: Webbotlib device accellerator MMA7260 code MMA7361 compatible ?
Post by: Webbot on December 27, 2012, 01:27:38 PM
Its an ADC device not an I2C device.
Quick inspection of the datasheet shows that it works pretty much the same and the mV/g is the same.
Title: Re: Webbotlib device accellerator MMA7260 code MMA7361 compatible ?
Post by: MrWizard on December 28, 2012, 05:25:19 PM
Just had it today in my mailbox, no time to experiment jet, ofcourse I will share the results.. Thanks for checking.