go_away

Author Topic: Webbotlib device accellerator MMA7260 code MMA7361 compatible ?  (Read 620 times)

0 Members and 1 Guest are viewing this topic.

Offline MrWizardTopic starter

  • Full Member
  • ***
  • Posts: 112
  • Helpful? 0
  • My cylon friend told me a killing joke......
Webbotlib device accellerator MMA7260 code MMA7361 compatible ?
« 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 ?


Offline waltr

  • Supreme Robot
  • *****
  • Posts: 1,920
  • Helpful? 97
Re: Webbotlib device accellerator MMA7260 code MMA7361 compatible ?
« Reply #1 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.

Offline MrWizardTopic starter

  • Full Member
  • ***
  • Posts: 112
  • Helpful? 0
  • My cylon friend told me a killing joke......
Re: Webbotlib device accellerator MMA7260 code MMA7361 compatible ?
« Reply #2 on: December 23, 2012, 05:28:20 PM »
Thanks I will check the registers !  :D

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,121
  • Helpful? 108
Re: Webbotlib device accellerator MMA7260 code MMA7361 compatible ?
« Reply #3 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.
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline MrWizardTopic starter

  • Full Member
  • ***
  • Posts: 112
  • Helpful? 0
  • My cylon friend told me a killing joke......
Re: Webbotlib device accellerator MMA7260 code MMA7361 compatible ?
« Reply #4 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.

 


Get Your Ad Here

data_list