Pages: [1]   Go Down
Author Topic: Can't get a MMA7660FC to work ? (Accelerometer)  (Read 466 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, I have a grove accel (MMA7660FC) and gyrosocpe (ITG3200), the gyroscope is now working fine with the seeedstudio library and code but the problem now is with the accelerometer :

I use this code  and library : http://www.seeedstudio.com/wiki/Grove_-_3-Axis_Digital_Accelerometer(%C2%B11.5g)

But when i connect the SDA on pin 4 and SCL on pin 5, same on others SDA SCL 20 21  i  only prints zeros so i though it was a connection problem so i tried this one :

http://arduino.cc/forum/index.php/topic,40293.msg294985.html#msg294985  found on this forum where it's clearly told to connect SDA on 4 and SCL on 5, i only get zeros as well...

I don't know what to do know so i'm asking here for your help !

I use arduino DUE and i tried both 5 and 3.3V to power the accel.

Thanks
« Last Edit: May 02, 2013, 10:27:42 am by yann10 » Logged

0
Offline Offline
Shannon Member
****
Karma: 161
Posts: 10445
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This thread sounds useful about I2C on Due: http://arduino.cc/forum/index.php/topic,132981.0.html
Logged

[ I won't respond to messages, use the forum please ]

Offline Offline
Newbie
*
Karma: 0
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So, i checked the MMA7660.h and .cpp in the library but they always mention wire.write, wire.begin etc... so that would mean i am supposed to connect accel on pins 20 21, thats what i'm doing but still : only zeros, no sign of life smiley-sad
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Anyone have this accelerometer ? smiley-sad
Logged

Pages: [1]   Go Up
Jump to: