Answer the question
In order to leave comments, you need to log in
Hello world assembled on ATmega8A. Where to go next?
I bought a programmer, assembled an LED blinking circuit. Copy-pasted the program in C, flashed it. The scheme is working.
Tell me which way to look now. — literature, articles, sites with examples, tutorials, etc.
First of all, they are interested in interrupts, PWM, LCD.
I plan to program in C, but it’s also worth delving into assembler for a general understanding. Found pdf-ku 8-bit AVR Instruction Set, but maybe there is some kind of tutorial?
And a couple more questions.
1) I understand that each Sish compiler for AVR has different libraries, and accordingly the code is different. Which one should you focus on?
2) Atmel Studio 6 for some reason does not see my AVR910 USB programmer (CodeVisionAVR does). What could be the problem?
Answer the question
In order to leave comments, you need to log in
Buy an RC car, pull out the RC and assemble your circuit on the L298D + ATMega8. Make your own blackjack robot ... . Well, go to EasyElectronics.ru. There are many interesting things.
PWM - field worker (for example, from the motherboard) and a light bulb (for example, halogen 12V 55W) Looks very impressive. You generate sawtooth values of a variable with a frequency of 200-1000 Hz and compare with any value - this is programmatic. It can also be done in hardware. If interested, I can post the code/project/scheme.
LCD - HD44780 costs 170 rubles or $ 2 from China. If you use the code generator from CVAVR, then you don’t need to learn anything. One command prints a whole line or one character.
It will be very relevant to the topic. М. Б. Лебедев - CodeVisionAVR. Пособие для начинающих.djvu
You can also look through
Белов А. В_Самоучитель разработчика устройств на микроконтроллерах AVR.djvu
and
А.В.Белов.Микроконтроллеры AVR в радиолюбительской практике.2007.djvu
Which one should be guided by? Yes, for any, when you get used to it, it will not be difficult to retrain for another.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question