LED Interfacing with ATmega16
A LED is an acronym for Light Emitting Diode and is basically an electronic device which emits light when an electric current flows through it. Light-emitting diodes are used in applications as diverse as aviation lighting, automotive lighting, advertising, general lighting and traffic signals. LEDs have allowed new text, video displays, and sensors to be developed, while their high switching rates are also useful in advanced communications technology.
In this project, we will learn How to interface a LED with AVR ATmega16 microcontroller. We will connect a LED with AVR ATmega16 microcontroller and we will glow the LED by sending a high signal or high output from the microcontroller.
|AVR Trainer Board-100 with ATmega16||1pc|
|AVR USB Programmer||1pc|
|12V, 1A DC SMPS Adaptor||1pc|
|10 to 10 FRC Female to Female Connector||2pc|
The step-by-step connection guide for LED Interfacing with ATmega16 is as follows
Steps - 1 ( 0f 6 )
Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.
Steps - 2 ( 0f 6 )
Connect PortB header with LED header in AVR Trainer Board-100 with a 10 to 10 FRC Female Connector.
Steps - 3 ( 0f 6 )
Connect the ISP header of AVR Trainer Board-100 with AVR USB Programmer header of AVR USB Programmer with a 10 to 10 FRC Female Connector.
Steps - 4 ( 0f 6 )
Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-AF Cable.
Steps - 5 ( 0f 6 )
Switch on the power with the help of Power Switch of AVR Trainer Board-100.
Steps - 6 ( 0f 6 )
Download the LED Interfacing with ATmega16 Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.