jeroendoggen / Arduino-MMA7361-library

Arduino library for the MMA7361 3-axis MEMS accelerometer
16 stars 24 forks source link

mma7361-library setARefVoltage #2

Open jeroendoggen opened 9 years ago

jeroendoggen commented 9 years ago

From rafy...@gmail.com on August 04, 2012 01:39:56

If i setARefVoltage to 3.3 i get constant 1023 on analogRead, all axis. I'm using an Ardino Pro Mini 3.3 Version. Why is that happening?

Thank you, Mari

Original issue: http://code.google.com/p/mma7361-library/issues/detail?id=2

jeroendoggen commented 9 years ago

From frank.fu...@gmail.com on September 28, 2012 07:24:44

I found the same problem--commenting out the ARef line makes the code work fine. I'm using an Arduino Uno R3 .

jeroendoggen commented 9 years ago

From jeroendoggen on December 02, 2012 15:10:28

Issue 4 has been merged into this issue.

jeroendoggen commented 9 years ago

From Altiay.I...@gmail.com on April 30, 2013 23:34:47

Hey there,

As per the comments in the code

"When you want to use 3.3 AREF, put a wire between the AREF pin and the 3.3 V VCC pin. This increases accuracy."

Hope that helps.

jeroendoggen commented 9 years ago

From jason.st...@gmail.com on October 03, 2014 14:26:23

Deleting the ARef does work. Specifically the accelero.setARefVoltage(3.3) line.