Thursday, February 28, 2013

İlk ATMEL AVR Mikrodenetleyici Çalışmam

Uzun yıllardır, Intel 8051 vs. ve PIC'ler ile yaptığım projelerden sonra iki gün önce ilk Atmel Mikrodenetleyiciyi programlayıp devresini kurdum.

Devre çok basit ATTiny13A'nın 3. pinine bağladığım LED'i yakıp söndüren bir devre, yani flip-flop.

Aşağıdaki programı Atmel Studio 6 ile derleyip, HEX'ini oluştutup elimdeki programlayıcı ile mikro denetleyiciye aktardım.


#include
#include

int main(void)
{
    const int Gecikme= 300;

    DDRB = 1<
    PORTB = 0; 

    while (1)
    {
        PORTB ^=( <
        _delay_ms (Gecikme);
    }

    return 0;
}


Aşağıdaki gibi breadborda devreyi kurdum. Vatana millete hayırlı olsun. :)




Atmel AVR ile ilgili bir kaç bağlantı:

http://avrbasiccode.wikispaces.com/
http://hanez.org/2011/12/04/attiny13-blink-example/
http://brownsofa.org/blog/archives/191
http://attiny.com/assembly.htm
https://www.box.com/shared/5bbiakshsg
http://attiny.com/avrclock.htm
http://www.bot-thoughts.com/2011/07/working-with-attiny13.html
http://www.electronics-lab.com/blog/?tag=attiny13
http://www.ladyada.net/learn/proj1/blinky.html
http://attiny.com/index.htm
http://www.avrbeginners.net/
http://extremeelectronics.co.in/avr-tutorials/part-i-introduction/
http://www.avr-asm-tutorial.net/avr_en/beginner/index.html
http://extremeelectronics.co.in/avr-tutorials/line-following-robot-using-avr-atmega8/
http://www.engineersgarage.com/electronic-components/at89c51-microcontroller-datasheet


Termometre ve saat 
http://www.avrprojects.info/avr-projects/thermometer-with-clock/
http://atmega32-avr.com/thermometer-with-clock-using-atmega16/
http://www.candrian.gr/index.php/category/microcontrollers/avr/thermometer/
http://danyk.wz.cz/avr_tep_en.html
http://new.linuxfocus.org/English/February2005/article365.shtml
http://www.candrian.gr/index.php/thermometer-v2-0/
http://www.mikekohn.net/micro/thermometer.php
http://www.avr-tutorials.com/projects/atmega16-microcontroller-digital-lcd-thermometer
http://www.engineersgarage.com/microcontroller/8051projects/digital-clock-with-digital-thermometer-AT89C51-circuit


Mikrodenetleyici bulabilceğiniz yerler
http://www.dorukanstore.com/ATMEGA-Serisi,LA_622-2.html#labels=622-2
http://www.direnc.net/ATMEL-SERISI,LA_120-2.html#labels=120-2



No comments: