Society of Robots - Robot Forum
Software => Software => Topic started by: connormarve on November 21, 2011, 06:07:26 AM
-
hi ive been trying to build a robot for a while, i now have a pile of parts in my room, but theres a problem. I dont know the slightest thing about programming, ive combed through google and found nothing that i understand. If anybody on here speaks idiot, please, explain.
-
OK, what exactly do You want to learn first? What controller do You have?
-
an AVR ATmega8, the one in the 50 dollar robot tutorial
-
and i dont know what i need to know first :)
-
I don't understand. The point of the tutorial is to teach you what you need to understand. Have you tried working through it, but have some specific problem?
Joe
-
and i dont know what i need to know first :)
OK, when I started the very first thing that I did was followed and actually completed in real life (as opposed to just reading) Newbie's Guide to AVR Timers tutorial (http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=50106) (very useful). After that, I carried on with Newbie's Guide to the AVR ADC (http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=56429) tutorial. After them two tutorials, I had quite a good clue of how microcontroller programming works.
Other useful resources:
- AVR-GCC code compatibility (http://winavr.scienceprog.com/winavr-tool-set/avr-gcc-code-compatibility.html)
- Bit masking for doing low level MCU programming (http://kineticsandelectronics.com/node/104)
- Optimization and the importance of volatile in GCC (http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=97382&highlight=volatile)
- C code optimisation (http://www.societyofrobots.com/member_tutorials/node/202)
- Using the EEPROM memory in AVR-GCC (http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=38417)
-
ok, thanks a lot, ill have to look at this