ATtiny13 – blinky with timer COMPA (assembler version)

In this example I’would like to show you how to write in assembler “blinky” project that uses timer COMPA (Timer/Counter Compare Match A) interrupt. The previous blinky project is very similar to what is presented here, but with one exception – the delay section has been replaced by timer interrupt.  In our circuit LED is connected to PB0 and is blinking … Read more

ATtiny13 – TM1638 Library

This is tinyAVR (ATtiny13, ATtiny25, ATtiny45, ATtiny85, and other) library for LED controller modules based on TM1638 chip. Modules based on TM1638 provide three signal connections (CLK, STB and DIO) and two power connections (VCC and GND). Signal pins can be connected to any pair of digital pins of the AVR chip. Signal pins configuration is … Read more

ATtiny13 – running dots & digits on 7-segment LED tube display

This article shows how to make an example project of “running dots & digits” using ATtiny13 and popular 7-segment LED tube display based on MAX7219/MAX7221. Complete code is on GitHub. MAX7219/MAX7221 library for LED tube display A lightweight library for 7-segments LED tube displays based on MAX7219/MAX7221 chip that works with tinyAVR family (ATtiny13, ATtiny25, ATtiny45, … Read more

ATtiny13 – TM1637 Library

This article is about tinyAVR (ATtiny13, ATtiny25, ATtiny45, ATtiny85) library for 7-segment display modules based on TM1637 chip. These TM1637 modules provide two signal connections (CLK and DIO) and two power connections (VCC and GND). Signal pins can be connected to any pair of digital pins of the AVR chip. Signal pins configuration is defined … Read more

ESP32 – blinky with delay function

This blinky project shows how to interface LED to the ESP32 and write a simple program to make the LED blink. The full code is on Github, click here. Parts List ESP-WROOM-32 module USB<->TTL converter (3.3.V) Efficient power supply (3.3V) R1 – resistor 560Ω, see LED Resistor Calculator LED1 – basic LED Circuit Diagram Firmware … Read more

ATtiny13 – Morse Code (flashing light)

This project shows how to form a light impulses using an ATtiny13 to transmit messages encoded with International Morse Code. Project is easy to build and require only three parts. The code is on Github, click here. Morse Code allow to transmit data via short (dots) and long (dashes) impulsions. The advantage of the Morse … Read more

ATtiny13 – dance lights with DFT

This experimental project shows how to use ATtiny13 to synchronize live music and lights with only a few additional components required. Project uses single ADC (Analog to Digital Converter) channel for signal acquisition and some DSP (Digital Signal Processing) calculations that in real-time separate three frequency bands and make the LEDs dance in sync with the … Read more

ATtiny13 – IR remote to control LEDs (NEC proto)

This project allows control turn ON/OFF LEDs with IR remote control from your TV. The big part of the code shows how to decode a command and address of NEC protocol from IR signals using a cheap IR receiver. It’s worth to note that the algorithm which is responsible for decoding IR signals is nonblocking … Read more

ATtiny13 – controlling LED RGB | fancy light effects

This is a simple ATtiny13 project that controls LED RGB using Software PWM. In result It gives really nice and colourful light effect. In our circuit a LED cathodes are connected to PB0, PB1 and PB2 while common anode is connected to VCC. The code is on Github, click here. Parts Required ATtiny13  – i.e. … Read more