Note: original supplier stopped production for GY-61 ADXL335 Accelerometer Sensor, this listing is for the copied board by other factory.
Power supply: 3-5V
Analog X, Y, Z three-axis output
Direct output angle code
VCC --> 5V
X --> A3
Y --> A2
Z and ST are left unwired
How to test ADXL335 with Arduino IDE?
1, Install the library for ADXL335 if you not have it.
Go to the Tool-->Manage libraries-->search ADXL335, and install Accelerometer ADXL335.
2, Go to the File --> Examples -->Accelerometer ADXL335 -->MeasuringAcceleration.
3, Go to the Tool, choose the board and COM port.
4, Upload the code.
5, Open the Serial Monitor, choose the baud rate matching the one in the code, should be 9600, and you will get the data of acceleration of X/Y/Z, value and voltage.
If the baud rate is not matching, the output data maybe not correct and not readable.
1 X GY-61 ADXL335 3-Axis Analog Accelerometer Sensor Module