A few funny projects using my simplified implementation of DFT

Bilexa Bass – Singing Fish, Sound-Actived 3D-printed Vibrator and Scared Spider Toy. I wanted to highlight these funny (sometimes crazy!) projects as they are using my version of simplified implementation of DFT I created for project ATtiny13 – dance lights with DFT and because the authors are very idea-driven, original and just awsome. Bilexa Bass – Singing Fish (Bob, ATtiny84) … Read more

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 OVF (assembler version)

Another blinky project in assembler. That one is based on Timer Overflow interrupt. In our circuit a LED is connected to PB0 and is blinking for roughly every 0.5 of second. The code is on Github, click here. Parts List ATtiny13  – i.e. MBAVR-1 development board Resistor – 220Ω, see LED Resistor Calculator LED Circuit Diagram Software This code is written in … 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

How to install AVR assembler AVRA on Linux (Ubuntu)

In this article I’d like to show how to install AVRA – an opensource version of assembler for ATMEL (currently MICROCHIP) chips on Linux (Ubuntu). Please note that AVRA is not a part of AVR-GCC and uses different directives. 1. Install AVRA sudo apt-get install avrdude avra 2. Compile and flash example program (ATtiny13) Clone repository from GitHub cd $HOME git … 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 – 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