SparkFun Forums 

Where electronics enthusiasts find answers.

General project discussion / help
Did you make a robotic coffee pot which implements HTCPCP and decafs unauthorized users? Show it off here!
By rahuljidge
#190136
Hello everyone,
I working on project that uses accelerometer (link 1 shows data sheet of accelerometer) and sparkfun adc block (link 2). Also, I am using c++ tutorial (link 3).

1) http://www.mouser.com/ds/2/302/FXLN83xxQ-783123.pdf
2) https://learn.sparkfun.com/tutorials/sp ... ison---adc
3) https://github.com/humberto-garza/SparkFunEdisonADC

I have done following connectivity:
accelerometer pins:
XOUT to AIN3 (adc block pin)
YOUT to AIN2 (adc block pin)

VDD to 3.7v external battery
EN to 3.7v external battery
both GND to ground fo battery

adc block pins:
AIN2, AIN3 gnd pins to ground

I'm using edison board. I want to validate my connectivity between sensor to adc block is correct? Also, the code I am following is correct to get accelerometer values?

Thanks in advance
Rahul