interfacing of led wiht avr atmega16


Posted on Feb 7, 2014

Interface an LED with AVR (ATMega16). Here I am using only one AVR microcontroller ATMega16, one register(10K), one capacitor(16uF/25v), One push button switch, Led BAR Green in stead of 8 led`s, power supply of +5v and -5v. Make the circuit as in diagram. Below is the circuits diagram and code for blink of the led will given below: // CODE For Blink LED


interfacing of led wiht avr atmega16
Click here to download the full size of the above Circuit.

using AVR-ATmega16 #include #include int main(void) { DDRC=0xFF; while(1) { PORTC=~PORTC; _delay_ms(1000); } }




Leave Comment

characters left:

Related Circuits

  • New Circuits

    .

     


    Popular Circuits

    PIC controlled DDS VFO
    Metal detector circuit with TDA2822
    Expandable Graphic Equaliser
    TV Transmitter Audio and video IC LM1889
    high capacity dc power relays
    am dsb transmitter for hams
    colpitts osc not working
    Electronic Organ Circuit
    Frequency Multipliers
    AN7522 circuit diagram
    12dB-oct by the OP amplifiers low-pass filter
    Frequency sensitive rheostat for manual and automatic way starting circuit



    Top