Tuesday, August 19, 2014

ATmega16A

ATmega16A 

The Atmega16A is 8bit microcontroller that has many interfaces 




Note: AVR Studio 6.1 used to compile C file and generate .hex file.
        AVRDUDESS  used to load hex files to the ATmega16A


Tutorial_0 (Setup the Development Environment&make 1st project)

Download link>>>>>Tutorial_0


In this file you will know how to handle the ATmega16A ports.

Download link>>>>>  Handling ports


Tutorial_1 make 3xLED turn on for 100ms and turn off for another 100ms (Blinking).
Tutorial outcomes:
1-You learn how to set the data direction using 'DDRx' .
2-You learn how to set the OUTPUT on Port pins using 'PORTx' .
3-You learn how to make delay using '_delay_ms()'.

Download link>>>>>Tutorial_1


Tutorial_2 make 3xLED turn on when the push button is pressed .
Tutorial outcomes:
1-You learn how to set the data direction using 'DDRx' .
2-You learn how to set the OUTPUT on Port pins using 'PORTx' .
3-You learn how to Check the INPUT on Port pins using 'PINx' .
4-You learn how to make delay using '_delay_ms()'.

Download link>>>>>Tutorial_2


Tutorial_3 make Counter using 7-segment display .

Download link>>>>>Tutorial_3



Tutorial_4 Control 2x12V DC-Motor using L293D H-Bridge.

Download link>>>>>Tutorial_4



Tutorial_5 Using 2x16 LCD to Display different data types.

Download link>>>>>Tutorial_5


Tutorial_5.1 Using 4x3 Keypad and 2x16 LCD to Display the output.

Download link>>>>>Tutorial_5.1


Tutorial_6 Using the External Interrupts to make three leds blink three time and interrupt the normal code sequence when button pressed .

Download link>>>>>Tutorial_6





I am waiting for your feedback. 

Thanks  and wait for more