Arduino – LED logarithmic fade

Yet another Arduino LED fade effect. Similar to Arduino – LED linear fade. However, this one is using logarithmic scale for the delay time. It gives a nice “breathing” LED light effect. With properly adjusted settings it can look like a sleep LED effect in a macbook. This example Arduino project lights the basic LED connected in series with … Read more

Arduino – LED linear fade

This article explains how to make an example Arduino project that lights the basic LED (connected in series with resistor to pin 11) using linear fade effect. To build a nice fade effect you need to know how to change the LED brightness, first. The complete code is also on GitHub, here. Linear Fade effect changes the LED brightness … Read more

Arduino – basic LED blink

Yet another Arduino blinking LED example. This one is using BasicLed class to make the LED control more comfortable. The code is on Github, here. Parts Required arduino board (i.e. Arduino/Genuino UNO) basic LED (i.e. on-board LED) Software This code is written in C++ and can be compiled using an Arduino IDE. All information about how to compile this project is here. … Read more

ATtiny13 – disco lights using DFT

This is my another “disco lights” project which is an upgraded version of ATtiny13 – dance lights with DFT. This time I used a full implementation of optimized DFT algorithm with reduced memory access to compute a power spectrum of audio signal. This version has also 3-channel lights but visual effects are much-much better! Required Parts ATtiny13  – i.e. MBAVR-1 (Minimalist Development … Read more

Arduino – blinky with Timer1 COMPA

Next Arduino blinky project. This version of “blinky” example is using Timer1 Compare Match A interrupt to make an onboard LED blink for roughly one second. The code is on Github, click here. Parts Required arduino board (i.e. Arduino/Genuino UNO) basic LED (on-board LED) Software This code is written in C++ and can be compiled using an Arduino IDE. All … Read more

Arduino – blinky with Timer1 OVF

Yet another Arduino blinky project. This version of “blinky” example is using Timer1 Overflow interrupt to make an onboard LED blink for roughly one second. The code is on Github, click here. Parts Required Arduino board (i.e. Arduino/Genuino UNO) Software This code is written in C++ and can be compiled using an Arduino IDE. All information about how to compile this project is here. /** … Read more

Arduino – blinky with delay function

This is another blinky project. A “Hello World” program for the electronics. This version of “blinky” example is using delay function to make an onboard LED blink for roughly one second. The code is on Github, click here. Parts Required Arduino board (i.e. Arduino/Genuino UNO) Software This code is written in C++ and can be compiled using an Arduino IDE. All … 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