March 21, 2010
Posted by on
Sometimes learning works backwards! Most of the time you start doing things, but even if it works some finer details are lost and you have to go back to pick these up the knowledge you skipped unconsciously. That is why learning is not lineair, i suppose…
working with io microcontrollers is a good example. You have the hardware, the circuitry, the programming, the sensors, the part of the effects and programming in the computer, and in the microcontroller, the rapid prototyping of the things around and with the microcontroller…
too much to be learned on one neat lineair go…
So after quite a lot of experiments you see the cleanness of directly programming the chip. You have seen the Atmega168, but also other chips, Attinies etc…and suddenly the focus is on AVR Studio and avr-gcc again….
Already programming with AVR (assembly and c) and understanding the basics meant the first projects were easily accomplished. Later on i started looking for a more evenly distributed approach, when using more kinds of chips. You get an overview of properties, number of ports, pins, memory etc. Having ordered an evaluation board at last (always experimenting on a breadboard before) i can try out three chips without shifting around the connections too much.
Then I started looking for some AVR tutorials to review the details…
here are some links of useful collections of sample programs:
huge, but in German:
about principles of connecting, for instance, why use a capacitor over a button: