Well, in the case of the breadboard, RGY??…
Just have to use your imagination

Anyway, I’ve been wanting to make an audio visualiser for a while, looked at many ways of going about driving lots of LEDs with brightness control almost all using various chips to generate a separate PWM for each LED, to me this sounds all to easy… So I set about doing it with just an Arduino with an ATMEGA168.

The layout is basically the same as a normal common anode LED matrix, except the anodes are PWN driven.

The software is all done through the main loop, no interrupts. This makes things a little more interesting, having to keep the loop nice and short, basically as long as it’s under around 800us it wont interfere with running the LEDs.

Plan is to connect up a pair of these giving 10 leds per audio channel using serial to keep things in sync, such as the mode, buffer size etc.

Once I can find some nice small 4 pin polarised connectors for the LEDs I can hook them up, which should show off the effect nicely.

Oh and the matrix scans at 100Hz, which beats a little with my 50Hz camera, to the human eye the effect is smooth.

Leave a Reply