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.

Saturday, September 26, 2015

AVR Dude


AVRDUDE is an excellent program for programming a AVR Atmega series microcontroller. In order to program any microcontroller you need to have a *.hex file which contain the instructions for the microcontroller. Apart from the software you need to have a hardware connection between your PC and the microcontroller which acts as an interface to write the *.hex file into the memory of the microcontroller, from where it run the instuctions in the specified *.hex file. USBasp is an awesome programmer found at cheap cost on almost all online stores these days. So you need a programmer like USBasp, some basic circuit for the ATmega and a PC with AVRDUDE and *.hex file to start the programming the microcontroller.