Tutorials
In this section I hope to gather fairly extensive tutorials based
on fully working projects. The information provided for each project
should allow anyone who reads the tutorial to reproduce the work presented.
is the first tutorial written and as it stands, it is the last one as well. The
tutorial starts from the very beginning therefore I consider it ideal for newcomers.
Quite a few things are explained here that will assist you with any project you wish
to start meshing with.
- - why another tutorial?
- - how the board looks like
- - the tools we use
- - giving a first go
- - superloop architecture
- - playing with the LED & button
- - making the led blink
- - reading the button
- - making the 7-segment display work
- - looking at the development cycle
- - serial interface
- - testing the serial interface
- - intro to the 1-wire protocol
- - high level 1-wire commands
- - anticipating 1-wire errors
- - ensuring communication with crc
- - finishing up
Articles
In this section I hope to gather shorter tutorials that provide good
information and examples on specific topics. The present articles are
introductory ones and will assist newcomers clear a few things out.
is a very basic one, it just explains a few thinks about LEDs and advices on
how to use them.
is a short introduction to interrupts and a suggestion for a button debouncing routine
that you may find useful.
is basically the AVR306 application note with a few more details. In this one you
will find circular buffers and interrupt driven serial communication.
is an attempt to implement a really simple pre-emptive scheduler. It is a nice
alternative to the commonly used superloop architecture, ideal if you or your code
has to meet deadlines.
Enjoy!
|