![]() |
AVR-Single-Chip-Processors AT90S, ATtiny, ATmega of ATMEL in practical examples. |
![]() |
Acc | Page link | Short description | AVR-Type | Source HTML- Format | Source ASM- Format |
---|---|---|---|---|---|
206 | ![]() | Frequency counter, nine modes, 16 MHz xtal, scheme, preamp | ATmega8 | fcount_m8_v3 | fcount_V03 |
179 | ![]() |
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 |
166 | ![]() |
Stepper motor controller and driver, voltage controlled positioning | ATtiny13 | steppermotor | steppermotor |
148 | ![]() |
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 | |||
117 | ![]() |
Multiple keys on ADC input pins | Any | decode_key | decode_key |
115 | ![]() |
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 |
98 | ![]() |
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 |
98 | ![]() |
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) | |
94 | ![]() |
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 |
|||
89 | ![]() |
Experimental board with an ATtiny and a LCD | ATtiny24 ATtiny44 ATtiny84 |
Include Applic lin Applic int |
Include Applic lin Applic int |
82 | ![]() |
UV-LED array as exposure device with timer and LCD | ATtiny2313 | UV-Timer | UV-Timer |
80 | ![]() |
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 |
75 | ![]() |
Long timer with ATtiny13 and a duo-LED | ATtiny13 | Longtimer tn13 | Longtimer tn13 |
73 | ![]() |
Digital clock and alarm timer, 7-segment displays, Xtal control, and much more | ATmega16 | digiclock | digiclock |
72 | ![]() |
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 receivers | ATtiny25 | - | - | ||
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 | ||
67 | ![]() |
Infrared receiver and three channel switch, self-learning | ATtiny13 | IR-Rx-Sw | IR-Rx-Sw |
65 | ![]() |
R/2R network sine generators for DAC conversion, two practical examples | ATtiny24 ATmega324 |
(see diverse links in the text) | |
63 | ![]() |
Magic circle with 13 LEDs | ATtiny2313 | Magic circle | Magic circle Constants |
60 | ![]() |
Stepper motor 28BYJ-24 control for modeling applications | ATtiny24 | Stepper_tn24 | Stepper_tn24 |
55 | ![]() |
Circular LED with 32 LEDs on an ATmega324PA | ATmega324PA | Circular LED Circular clock |
Circular LED Circular clock |
55 | ![]() |
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 |
54 | ![]() |
Egg timer with 11 RGB LEDs and an ATmega8515 | ATmega8515 | Source | Source |
54 | ![]() |
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) | - | - | ||
54 | ![]() |
Servomotor controller for model railroad crossing gates | ATtiny24 | Gate tn24 | Gate tn24 |
52 | ![]() |
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 |
52 | ![]() |
Audio level meter with a 4 line LCD - Configurable in wide varieties of sensivity, linear and log, etc. | ATtiny24 | - | Level meter |
48 | ![]() |
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 |
47 | ![]() |
Clock with 60 plus 4 LEDs, shift registers and a ATmega48 | ATmega48 | (in progress) | (in progress) |
47 | ![]() |
Spotlight with 198 10mm LEDs, intensity regulator with potentiometer and battery monitoring | ATtiny13 | Spotlight | Spotlight |
47 | ![]() |
Double dice with 2 displays | ATtiny24 | Dice tn24 v1 | Dice2 tn24 v1 |
47 | ![]() |
Eggtimer as a gift | ATtiny2313V | eggtimer_asm | eggtimer |
46 | ![]() |
Binary watch with 20 LEDs | ATmega8 | Watch | Watch |
45 | ![]() |
Hysteresis voltages on AVR input pins, use and measurement | (Any) | (see text) | hyst INTn tn13 hyst PCINTn tn13 |
45 | ![]() |
Egg timer with ATmega8, eight duo LEDs and speaker | ATmega8 | Eggtimer m8 | Eggtimer m8 |
45 | ![]() |
Driving two LED lines and controlling intensity with two potentiometers | ATtiny13 | ledline | ledline |
44 | ![]() |
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 |
43 | ![]() |
Tumbling dice with two seven-segment-displays | ATmega16 | - | Dice M16 |
42 | ![]() |
A text ticker with LEDs in four different versions, with small or large LEDs, including design software for pixels | ATtiny24 ATmega48 ATmega324PA |
- | - |
42 | ![]() |
Follow me - audio sensor with electret microphone | ATtiny45 | Follow me | Follow me |
42 | ![]() |
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 |
41 | ![]() |
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 |
39 | ![]() |
Tumbling dice, seven LEDs and a pushbutton, with PCB layout | ATtiny13 | dice | dice |
38 | ![]() | A text ticker with 192 LEDs | ATmega16 | Ticker | Ticker Tickertable |
38 | ![]() | 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 |
37 | ![]() |
Led light chain sequencer | ATtiny13 | ledlight | ledlight |
37 | ![]() |
8-by-8 LED matrix | ATmega16 | led-grave | led-grave |
34 | ![]() |
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 | ||
33 | ![]() |
Long timer with ATtiny25, duo-LED and speaker | ATtiny25 | Longtimer tn25 | Longtimer tn25 |
33 | ![]() |
A timer for 5 seconds to 7 minutes in 12 stages with 12 LEDs and three buttons | ATtiny24 | Multitimer | Multitimer |
32 | ![]() |
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 |
4 | ![]() |
A scanner for power supplies with RS232 interface and/or LCD | ATmega48 ATmega324PA |
under construction | under construction |