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

application AVR-Single-Chip-Processors AT90S, ATtiny, ATmega
of ATMEL in practical examples.
Logo
Here is a list sorted by popularity, here is a list sorted by application types, here are preliminary applications, that are incomplete.

The following examples are small applications to test and use these controllers practically and to demonstrate their usefulness.

All applications were tested, but I cannot guarantee for their correct function.

Page linkShort descriptionAVR-TypeSource
HTML-
Format
Source
ASM-
Format
Comtinuity-checker tn25 A continuity-checker for 0 to 10 Ohms with 30 different tones and two LEDs ATtiny25 (See tect) Continuity
Spectrum analyzer tn2313 A spectrum analyzer for rectangles with a crystal and an RS232 interface ATtiny2313 (See text) spectrum_tn2313
Sine generator tn45 with PWM Sine wave generator with tn45 and fast PWM, 64MHz-PWM-frequency, 20Hz to 20kHz sine with 10-turn potentiometer for frequency adjustment, 20MHz crystal operation of the ATtiny45, up to four-stage RC filters, cap selector with tn25 for n * 4 capacitors with CMOS 4066, extensive LibreOffice spread-sheets for simulation and assembler software configuration ATtiny45
ATtiny25
(See text) sine_tn45
cap-ctrl-adc
cap-ctrl-frq
PT100-Thermometer Thermometer with a PT100 sensor, to be attached to a TN24-LCD module for displaying Kelvin, °Celsius, °Fahrenheit and the resistance of the sensor with 0.01 resolution as well as the raw ADC count, with extensive spread-sheet ATtiny24 (See text) pt100.asm
Thermometer over serial IR Thermometers with serial interface over Infrared, measuring temperatures with an ATtiny45 and transmitting those with infrared to a IR-to-serial converter and to an RS232 interface, with extensive hard- and software still under construction ATtiny45
ATtiny25
(See text) (under
construction)
IR transmitter variable Infrared transmitters with variable frequencies, linear, with crystals ATtiny25
ATtiny24
(See text) tn25 version
tn24 version
Thermometer with ATtiny24 Thermometer with the built-in thermo sensor in an ATtiny24, with 8-character LCD, adjustable with trim potentiometers or by software, selectable output in K, °C or °F, accuracy up to one tenth of a degree ATtiny24 (See text) thermometer_tn24_v1
Crystal oscillator
8-bit-TC
16-bit-TC
Between 8 and 57 tones of the gamut plays a crystal-driven ATtiny25 with an 8-bit TC here, a 16-bit TC is here, with versatile spreadsheets in LibreOffice-calc to configure the tones and the resistors of the switch encoder ATtiny25
ATtiny24
(See text) (See text)
Crystal oscillator 16-stage crystal divider with an ATtiny25, divides a crystal frequency by 16 different values, as selected either by a mouse piano or by a potentiometer, with spreadsheet in LibreOffice-calc ATtiny25 - xtaldiv_tn25_v1
Egg timer tn24 v2 An egg timer with 10 LEDs and a speaker, very small design with low-current LEDs and ten melodies ATtiny24 - eggtimer_tn24_v2
IR-Stepper tn24 Infrared-controlled stepper motors, two steppers controlled by one ATtiny24, IR transmitter and controller with an LCD and an ATtiny24 ATtiny24 (under construction) (under construction)
Power supply scanner A scanner for power supplies with RS232 interface and/or LCD, scans a power supply with increasing currents, transmits voltages, currents, etc. via RS232 interface, two versions w/o and with LCD ATmega48
ATmega324PA
(under construction) (under construction)
Crystal oscillator Crystal-controlled seconds/minutes/hours with an ATtiny25, the source code works with nearly any commercially available crystal from 32kHz to 20MHz, with spreadsheet in LibreOffice-calc ATtiny25 second_xtal second_xtal
Ticker 16x8 A text ticker with LEDs in four different versions, with small or large LEDs, including design software for pixels ATtiny24
ATmega48
ATmega324PA
- -
Clock60+4 Clock with 60 plus 4 LEDs, shift registers and a ATmega48 ATmega48 (in progress) (in progress)
Hysteresis on AVR inputs Hysteresis voltages on AVR input pins, use and measurement (Any) (see text) hyst INTn tn13
hyst PCINTn tn13
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
ATmega324
(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
random_analysis_tn13_v1
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
ATtiny45
ATtiny85
-tn25pwm
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
wavetab.inc
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 (Any) - -
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 lcd.inc lcd.inc
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
ATtiny44
ATtiny84
Include
Applic lin
Applic int
Include
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
Constants
Binary watch Binary watch with 20 LEDs ATmega8 Watch Watch
Ticker A text ticker with 192 LEDs ATmega16 Ticker Ticker
Tickertable
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
IR
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
-
ATmega8
-
ATtiny45
ATtiny13
-
ir_remote
-
tn45_tx
ircsb
-
ir_remote
-
tn45_tx
ircsb
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-2023 by http://www.avr-asm-tutorial.net