Path: Home => AVR-Overview    (This page in German: Flag DE) Logo
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.
HTML-Sitemap Sitemap Assembler-Simulator avr_sim Command line assembler gavrasm Assembler source codes New on this page


An overview on AVRs and their hardware Overview
A simulator for AVR assembler code AVR simulator
Beginner's assembler courses
in different flavours
Beginner logoby instruction types Course logohard- and software Starter logofor high-level freaks
What are AVRs? For absolute beginners AVR ICs
Learning from applications
59,180 downloads of assembler source code files in 2022 (162 per day)
The five most popular applications: (Sorted by popularity)
app_randomtn13Random number generation
Freq counterFrequency counter
app_lcdLCD include
StepperStepper motor driver ATtiny13
Rectangle generatorRectangle generator
The five most recently added applications (Applications by category)
Continuity-checker tn25Continuity-checker tn25
Spectrum analyzer tn2313Spectrum analyzer with ATtiny2313
Sine wave generator with ATtiny45Sine wave generator with ATtiny45
Thermometer PT100Thermometer PT100
Thermometers over serial IRThermometers over serial infrared
My workplace
Incomplete projects in an experimental stage

LED-ScanA scanner for LEDs
Down-counter m324pa10min-down-counter with ATmega324PA
ATmega324PA experimental boardExperimental board with ATmega324PA and LCD
kWh-logging 433MHzkWh-meter with 433MHz-TX/RX
A very large clockA very large 7-segment clock
Hardware source codes Use of controller internal hardware components in assembler source codes on this webseite Software source codes Software algorithms in assembler source codes on this website
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
Asm course A starter course for beginners introducing hardware of AVRs (mainly ATtiny24) and their software programming in assembler in 11 lectures, utilizes the simulator to visualize effects Starter logo A starter course for beginners using the simulator to examine the effect of assembler instructions, also available as a 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 time loops All about timing loops from microseconds over milliseconds and seconds to hours, days and monthes: all you need is a loop, or two, or three ...
Interrupts All you need to know about interrupts for beginners, on int vectors, int sources, on int execution and how ints govern the whole program design, a whole new world to learn about Arduino logo You have one, you use it, you feel addicted to it? If you want to get rid of the Arduino drug, you'll get help to get away from this here.
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 keypad to an AVR and sensing using port connections or with a resistor matrix and an AD converter. Improved versions of the resistor matrix encoder and graphical software tools are also provided there.
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 Re-chargeable battery loader applying an ATmega16
Zipped webpage for offline reading
Logo The whole webpage for download. After download unzip this file in a separate directory, keeping the pathes.
Statistics on this webpage's popularity
Statistic Statistics on website accesses, source code on these pages and use frequencies for instructions and directives in assembler source code
Top of this page HTML-Sitemap Sitemap Assembler-Simulator avr_sim Command line assembler gavrasm Assembler source codes New on this page

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