Music Dancing LEDs (led strip)
Hello,
This experimental project shows how to use ATtiny13 to sync live music and lights with just a few extra components. The design uses a single ADC (analog-to-digital converter) channel for signal acquisition and some DSP (digital signal processing) calculations that separate the three frequency bands in real time and make the LEDs dance in sync with the music. This project also proves that real-time DFT (Discrete Fourier Transformation) is possible on a small MCU like the ATtiny13, which only offers 64B of RAM and 1024B of FLASH memory.
( video; RGB led strip, separate led strip and microphone preamplifier )

file: codes, pcb v1-v2
source; blog.podkalicki.com/attiny13-dance-lights-with-dft/
This experimental project shows how to use ATtiny13 to sync live music and lights with just a few extra components. The design uses a single ADC (analog-to-digital converter) channel for signal acquisition and some DSP (digital signal processing) calculations that separate the three frequency bands in real time and make the LEDs dance in sync with the music. This project also proves that real-time DFT (Discrete Fourier Transformation) is possible on a small MCU like the ATtiny13, which only offers 64B of RAM and 1024B of FLASH memory.
( video; RGB led strip, separate led strip and microphone preamplifier )

file: codes, pcb v1-v2
source; blog.podkalicki.com/attiny13-dance-lights-with-dft/
Comments
Until the times of colorophones come back ;) Seriously, I am writing because I have a certain (or maybe a whim) idea for improvement / expansion, i.e. the bulb effect, a dozen or so ms delay in extinguishing... [Read more]
Let a colleague give his age if we are entering into a discussion about whether he likes it or not :) For teenagers, the current version is probably cool. [Read more]
I am 23 years old, I don't catch a teenager anymore, I wouldn't endure such flickering in any club, the bulb effect would be better. To achieve this, it would be enough to add electrolyte on the... [Read more]
External use integrator circuits is pointless because such an integrator cuts the upper band. Using a fast DFT gives you three different frequencies which is an advantage and it would be nonsense to spoil... [Read more]
This is what I am writing about, which is why the colorophones had their charm, not a streak of colorful irritation ;) [Read more]
I am puzzled by the overly simplified input circuit. The potentiometer is absurdly turned on, and besides, the microcontroller input works without any DC polarization - the negative halves of the audio... [Read more]
It is not known whether PB.4 is sometimes pulled up to the plus by software, and with the potentiometer they form a divider (hence the same and no other connection of the potentiometer). R5 prevents the... [Read more]
I suspected the same, but I don't see any subsets in the code. [Read more]
To me, it looks like the result of the work of a programmer who is not completely familiar with electronics. The potentiometer is the other way around, there is no "rectifier" at the input (since this... [Read more]
Hello, An interesting idea that each section of the band should control a different color of the strip with LEDs. greetings [Read more]
Everything you write is correct, just ... The aim of Mr. Łukasz's project was to show that it is possible to cram (as such) a fully software colorophone in such a fragile uC as Tiny13 and nothing... [Read more]
It is true that the rectifier is in quotation marks, but I hope you don't mean a peak detector or a full-wave rectifier? [Read more]
And it was enough to read what was in parentheses ... [Read more]
I was reading, I was concerned that you want to give a half-rectified signal. [Read more]
The friend of the author of the thread is from Turkey, just take a look at the description ... it is hard to expect that he should know Polish perfectly, since most users of the electrode write much worse... [Read more]
I just mean don't throw things like that into DIY. Returning to the topic, a rectifier, a capacitor (not large) + a resistor to ground on each output and such a set only controls the transistor.... [Read more]
According to the description, everything is in line with the assumptions. There were supposed to be few elements - there is. It was supposed to be on prock - it is. He proved that it is possible and that's... [Read more]
Overall, it is a very nice project, because it shows the strength of a simple microcontroller and the FFT algorithm. And like any other diy based on some original, the author of the topic gave the source,... [Read more]
I am proposing a diode and a capacitor on leaving then the chaff will be a little smoother and the LED flashes smoother. [Read more]