Showing posts with label ADXL345. Show all posts
Showing posts with label ADXL345. Show all posts

Monday, September 28, 2015

Getting data from ADXL345 From USART - ATmega32




A small update on Interfacing ADXL345 with ATmega32, this program will get raw data from ADXL345 working on I2C mode and send the data over USART.

To recieve data to PC over USART see this.

Sunday, October 20, 2013

ADXL345 Accelerometer using ATmega32

The ADXL345 is a tiny, low cost and ultra-low power 3-axis accelerometer which works on both SPI and TWI interfaces. It has use selectable sensitivity and give quite reliable readings considering its cost. The ADLX345 circuit in the IMU has TWI interface. I will be using ATmega32 in the following project clocked at 8MHz using the internal oscillator.
Here is the circuit diagram of how the ADXL345 accelerometer is connected, also you can see that the slave address is given as 0x53. The address can also be found out from the I2C scanner as shown here.
The ADX345 supports the standard (100 kHz) and the fast (400 kHz) data transfer modes. For more info see datasheet.