Go Down

Topic: Adding an Adxl to my board (Read 1 time) previous topic - next topic

uink

Quote
Vin is supposed to be connected to the positive lead on a battery or an ac adapter (wall wart), thus the 'in'. It's not supposed to supply power to your accelerometer. Please post your project pic.


I am new to arduino and electronics, so i am learning as i go.  I will change the power to 3.3V.  I don't have a camera to post pictures.

liudr


I am new to arduino and electronics, so i am learning as i go.  I will change the power to 3.3V.  I don't have a camera to post pictures.


You will also need to connect 3.3V to aref pin on arduino and run the following in setup so your accelerometer reading (0-3.3V range) will still be mapped to (0-1023) and the mid points will be around 500.

analogReference(EXTERNAL);

Go Up