Hi. I have recently made a purchase of EVAL- ADXL001 , with +70g measurement range. I was trying to interface it with computer using Arduino. I connected the VDD with 5V pin on the Arduino, GND with the GND pin, and the XOUT pin with an analog input pin of the Arduino. I left the ST and VNID pin unconnected.
The data that I got at the analog pin of the arduino was not changing even when I changed the orientation of the board in every direction possible. The Arduino actually scales the analog signal between 0 to 1023. From the above arrangement, the only output that I got was near 10, with a little fluctuation of +-3. Please suggest me where did I go wrong. Thank you.
Te arduino code:
int xAxisPin = A5;
xAxisValADC = analogRead(xAxisPin);