Path: Home => AVR-Overview
STK with LCD Tutorial for learning assembly language for the
(AT90S, ATmega and ATtiny) from ATMEL with practical examples.
The Single-Chip-processors of ATMEL are excellent for homebrewing every kind of processor-driven electronics. The only problem is that assembly has to be learned in order to program these devices. After having done these first steps the assembly language provides very fast, lean and effective code, by which every task can be accomodated. These pages are for beginners and help in learning the first steps.
Sitemap New on this webpage Error list avr-source AVR-Webring


An overview on AVRs and their hardware Overview
A simulator for AVR assembler code AVR simulator
Learning from applications
The four most popular applications:
app_keypadReading keypad keys
Freq counterFrequency counter
Signal generatorSignal generator
StepperStepper motor driver
The four most recently added applications:
tn24_lcdATtiny24 board with LCD
dice tn24Double dice with ATtiny24
Magic circleMagic circle with ATtiny2313
Binary watchBinary watch
Learning Assembler
Logo Beginner's introduction to AVR assembler language. Also available as complete PDF-document for printing the whole course (Download, 1.1 MB) Micro beginner A micro beginner course in 14 lectures from simple to complex with an ATtiny13 and an ATtiny24, hard- and software, all on a breadboard, also available in one complete PDF document
Binary An introduction to binary numbers and binary math with practical code examples for adding, subtracting, multiplying and dividing of binary numbers of any size
Logo Four simple programming examples with extended comments as first steps of a practical introduction to assembler programming: Sense and requirements, Simple programming examples Logo Software-Know-How, special assembler commands: LPM, stack jumps, macros
Tools for programming in assembler
Logo A command line assembler with extended error checking and commenting, free for download Logo For convenient operation of the command-line assembler: a window caller including editing the source and include files, viewing the list file, finding errors and editing erroneous lines, etc., for free download here
How-To logo How to assemble external source code files
How to convert source code from one to another type
AVR head logo Windows software for generating assembler source code files with a standard structure
Advanced assembler programming
Logo Binary multiplication, division, conversion of number formats and fixed decimals in detail, hardware multiplication Logo Programming and testing of the hardware of the STK200-Board: EEPROM, external RAM, LCD-display, SIO-interface
Applications in assembler
Logo Small applications: IR remote control devices, an 8-by-8-LED matrix, a DCF77 synchronized clock, a PCM-to-PWG-decoder, a terminal-controlled frequency generator, a digital signal generator with frequency/pulse-width adjust and LCD, an eggtimer as a gift, a steppermotor controller/driver, a tumbling dice, a LED sequencer and intensity regulator Logo Connecting a two-line-LCD with a four-line connection to the STK500 programming board with base routines for driving the LCD and a small clock application
Logo Converting an analog voltage to digital using the STK500 board, the on-board analog comparator and timer/counter 1 as pulse width generator Logo Connecting a 4*3 keypad to an AVR and sensing using Port connections or with a resistor matrix and an AD converter. An improved version of a resistor matrix encoder is here. A graphical software tool is here.
Logo Converting a digital value to an analog voltage using a buffered R/2R network, including wave generation like sawtooth, triangle, sinewave forms and a small tone player application. With R/2R and RC filter calculation pages and software tools. Logo Accu loader applying an ATmega16
Zipped webpage for offline reading
Logo The whole webpage for download, approximately 25 MB packed. After download unzip this file in a separate directory, keeping the pathes.


The AVR webring provides hundreds of links to AVR related webpages. Please have a look at these if you search for more informations on AVRs.

This page is member in the AVR-Webring:
Ring logo
[ Join Now | Ring Hub | Random | << Prev | Next >> ]

Top of page Sitemap New on this webpage Error list avr-source

©2002-2017 by
You may use, copy and distribute these pages as long as you keep the copyright information with it.