ATtiny13 – controlling LEDs WS2811/WS2812

There was a time when controlling RGB LEDs was not always an easy task. I this article I would like to show how to make it without difficulty using one ATtiny13 and LEDs based on WS2811/WS2811 driver. The addressable LEDs are using protocol similiar to OneWire (very time-depended protocol) and can be connected together to create a strip … Read more

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 – blinky with delay function (assembler version)

This tiny project shows how to interface LED to the microcontroller ATtiny13 and write a simple program in anssembler to make it blink. The code is on Github, click here. LEDs are widely used for various display functions and can be directly (not quite directly, through the resistor) driven from the pins of AVR chip. In our … Read more

ATtiny13 – simple timer on TM1637

This project shows how to make a simple timer (start/stop/reset) using ATtiny13, LED Tube module based on TM1637 and one switch. Complete code is on GitHub. Parts ATtiny13 – i.e. MBAVR-1 development board LED Tube Display based on TM1637 Switch – i.e. simple tact-switch Circuit Diagram Software This code is written in C and can be compiled using the avr-gcc. … 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 – random flickering pixels on 8×8 matrix LED display

This example project shows how to make random flickering pixels using ATtiny13 and popular 8×8 matrix LED display based on MAX7219/MAX7221. Complete project code is on GitHub. MAX7219/MAX7221 library for 8×8 matrix LED display A lightweight library for 8×8 matrix LED displays based on MAX7219/MAX7221 chip that works with tinyAVR family (ATtiny13, ATtiny25, ATtiny45, ATtiny85) can … Read more

ATtiny13 – temperature logger using LM35 and Software UART

This project is about a simple temperature logging system using ATtiny13 and the Software UART. The system reads the temperature every second and shows it on the serial console (baudrate 19200, settings 8N1). The temperature is shown in °Celsius. LM35 has been used as the temperature sensor. Complete example code is on GitHub. LM35 Temperature Sensor … Read more

ESP32 – WiFi sniffer

This experimental project shows how to build a simple and inexpensive WiFi packet analyzer (also known as a WiFi sniffer). The heart of this project is WiFi module of ESP32 which is able to work in a promiscusous mode. It means that this clever chip allows IEEE802.11 network packets capturing for further analyzing. Because WiFi … 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