Path: Home => AVR-Overview => Applications    (Diese Seite in Deutsch: Flag DE)

application AVR-Single-Chip-Processors AT90S, ATtiny, ATmega
of ATMEL in practical examples.
The following examples are small applications to test and use these controllers practically and to demonstrate their usefulness, sorted by the creation date. Here is a list sorted by application types. All applications were tested, but I cannot guarantee their correct function.

Page linkShort descriptionAVR-TypeSource
Circular-led m324pa Circular LED with 32 LEDs on an ATmega324PA ATmega324PA Circular LED
Circular clock
Circular LED
Circular clock
Egg timer m8 Egg timer with ATmega8, eight duo LEDs and speaker ATmega8 Eggtimer m8 Eggtimer m8
Longtimer tn25 Long timer with ATtiny25, duo-LED and speaker ATtiny25 Longtimer tn25 Longtimer tn25
Longtimer tn13 Long timer with ATtiny13 and a duo-LED ATtiny13 Longtimer tn13 Longtimer tn13
Digital analog conversion with R/2R R/2R network sine generators for DAC conversion, two practical examples ATtiny24
(see diverse links in the text)
Random tn13 Random numbers with the ATtiny13 - Successes and failures ATtiny13 - -
Calculating random numbers with the ATtiny13, very successfull and recommendable - -
Displaying random numbers on a RGB-LED with the ATtiny13, can be done and works correct random_tn13_v1 random_tn13_v1
Randoms from noise, nearly complete failure - -
Randoms from a sine wave oscillator wit RS232 transmission to the PC mit ATtiny13,
Randoms are not very nice, RS232 test and transmission program works perfect
- random_test_tn13
Eggtimer RGB ATmega8515 Egg timer with 11 RGB LEDs and an ATmega8515 ATmega8515 Source Source
DCF77 receivers Series of diverse DCF77 receivers---
Cross antenna for DCF77 reception with a FET stage and AFC adjustment---
Direct receiver with a transistor amplifier for DCF77, with gain adjustment---
Direct receiver with a TCA440 and an LC filter---
Superhet receiver with a TCA440, LC- and 32kHz xtal filter with an LC-Oszillator or a xtal derived oscillator signal with an ATtiny25 ---
AFC/AGC/DCF decoder for DCF77 receiversATtiny25--
Serial receiver/decoder/display for a DCF77 watch based on those receivers with an LCD ATtiny24 dcf77_tn24_v1 dcf77_tn24_v1
HF/IF AM rectifier with an ATtiny25 ATtiny25 dcf77_tn25_v1 dcf77_am_tn25_v1
PCB layouts for DCF77 receivers ---
Interferences with DCF77 receivers ATtiny25
Tiny crystal oscillator A crystal oscillator to generate accurate rectangles with a selectable frequency, with several hints on using crystals as clock sources for ATtiny devices and with an ultimate calculation tool ATtiny25 - Tiny xtal tn25
RGB BCD watch ATmega16 A 20 RGB LED BCD encoded watch with multiplexing, linear brightness control, two-key time adjustment and diverse hardware diagnostic routines ATmega16 RGB BCD RGB BCD
DCF77 signal analysis ATtiny24 DCF77 signal analysis, measures signal durations, with export of the data to a CSV file and import to an OpenOffice spreadsheet ATtiny24 DCF signals DCF signals
Large watch ATmega48 Very large watch with 114 10mm LEDs, intensity control with potentiometer or foto transistor, time adjustment with two keys or with a DCF77 receiver ATmega48 Large watch Large watch
Spotlight ATtiny13 Spotlight with 198 10mm LEDs, intensity regulator with potentiometer and battery monitoring ATtiny13 Spotlight Spotlight
Signalgenerator ATmega16 Signal generator with ATmega16, provides sawtooth, sine, triangle and rectangle signals between 2 Hz and 20 kHz, with an LCD for wave and frequency display, linear variable resistor to adjust frequency and four switches for mode selection ATmega16 siggen_m16_v14 siggen_m16_v1
LCD include
DCF77 clock m16 A DCF77 synchronized clock with LCD ATmega16 clock_m16_v5 clock_m16_v5
plus 3 inc's
A DCF77 superhet receiver with TCA440 - - -
Date and time with AVRs in assembler - - -
Multitimer A timer for 5 seconds to 7 minutes in 12 stages with 12 LEDs and three buttons ATtiny24 Multitimer Multitimer
Stopwatches Stopwatches with AVRs, some theory and considerations Any - -
A four channel stopwatch with an ATmega8 ATmega8 Stopwatch_m8 Stopwatch_m8
A three stage stopwatch with an ATtiny24 ATtiny24 Stopwatch_tn64 Stopwatch_tn64
LCDs LCDs on an AVR, a universal include file for tailoring any LCD in any mode on an AVR, with two example applications Any
ATmega8 Example 8 bit Example 8 bit
ATtiny24 Example 4 bit Example 4 bit
N keys Multiple keys on ADC input pins Any decode_key decode_key
Follow me Follow me - audio sensor with electret microphone ATtiny45 Follow me Follow me
Gate tn24 Servomotor controller for model railroad crossing gates ATtiny24 Gate tn24 Gate tn24
Stepper tn24 Stepper motor 28BYJ-24 control for modeling applications ATtiny24 Stepper_tn24 Stepper_tn24
tn24 lcd Experimental board with an ATtiny and a LCD ATtiny24
Applic lin
Applic int
Applic lin
Applic int
Dice tn24 Double dice with 2 displays ATtiny24 Dice tn24 v1 Dice2 tn24 v1
Magic circle Magic circle with 13 LEDs ATtiny2313 Magic circle Magic circle
Binary watch Binary watch with 20 LEDs ATmega8 Watch Watch
Ticker A text ticker with 192 LEDs ATmega16 Ticker Ticker
Levelmeter Audio level meter with a 4 line LCD - Configurable in wide varieties of sensivity, linear and log, etc. ATtiny24 - Level meter
Dice ATmega16 Tumbling dice with two seven-segment-displays ATmega16 - Dice M16
IR receiver switch Infrared receiver and three channel switch, self-learning ATtiny13 IR-Rx-Sw IR-Rx-Sw
Led light ATtiny13 Led light chain sequencer ATtiny13 ledlight ledlight
Led light ATtiny13 Driving two LED lines and controlling intensity with two potentiometers ATtiny13 ledline ledline
Tumbling dice ATtiny13 Tumbling dice, seven LEDs and a pushbutton, with PCB layout ATtiny13 dice dice
Alarm clock with ATmega16 Digital clock and alarm timer, 7-segment displays, Xtal control, and much more ATmega16 digiclock digiclock
All about infrared remote control signals
ir_measure: Measuring IR remote control signals with an ATmega8
ir_analysis: Analysing IR remote control signals
ir_tx: IR remote control transmitter with an ATtiny45
ir_rx: IR remote controlled receiver with an ATtiny13
LED grave 8x8 ATmega16 8-by-8 LED matrix ATmega16 led-grave led-grave
Frequency counter ATmega8
Frequency counter, nine modes, 16 MHz xtal, scheme, preamp ATmega8 fcount_m8_v3 fcount_V03
Egg timer with ATtiny2313 Eggtimer as a gift ATtiny2313V eggtimer_asm eggtimer
Stepper motor control ATtiny13 Stepper motor controller and driver, voltage controlled positioning ATtiny13 steppermotor steppermotor
UV exposure with LEDs UV-LED array as exposure device with timer and LCD ATtiny2313 UV-Timer UV-Timer
Rectangle generator ATmega8 Signal generator with frequency and pulse-width adjustment, normal and inverted digital outputs, frequency/time/rpm/pulse-width display on LCD, controller with ADC channels, Xtal source clock, etc. ATmega8 Main program,
LCD routines,
Freq table
Zipped sources
Digital analog conversion with R/2R R/2R network for DAC conversion, generating sawtooth, triangle and sine wave and playing musical notes with the 10 keys on a STK500. AT90S8515 (see diverse links in the text)
Akkuload - Battery loader Akkuload - A battery loader with a microcontroller controls up to four batteries, unloads and loads, knows up to 32 battery types internally, displays the loading progress on a four-line LCD, can be operated with three keys or via a RS232 transmitter and receiver interface, with software for voltage, current and capacity charts ATmega16 - Akkuload
zipped source
code, 5 files
DCF77 decoder with ATtiny2313 SIO controlled digital clock, could be synchronized with the time normal DCF77, operated on 77.5 kHz in the VLF band in Germany, Wiring see the GIF or PDF AT90S2313 Clock Clock
PCM decoder with AT90S2323 PCM-encoded remote control signals in a length from 0.8 to 2.2 ms are decoded using an AT90S2323 on a small test board and converted to an analogue voltage of 0 to 5 Volts AT90S2323 PcmDec PcmDec
Pulse width generator with SIO control Pulse generator, generates exact signals of a desired duration and frequency, times are controlled by input from an ANSI-compatible terminal program via the SIO of the chip, e.g. on the STK200 board AT90S8515 PwgSio PwgSio

©2002-2021 by