Close
0%
0%

Interactive VU LED tower

A tower high 90cm made out of acrylic that lights up with the music or sensing the position of a hand on top of it.

estEst
Similar projects worth following
This the second version of the "VU light effect tower". I wanted to use RGB leds, more levels (25 in this case) and i wanted it to be interactive so it can be "played" moving a hand on top of it.

On the top level there is the control circuit and 3 IR sensors. One IR sensor is directed upward and is used to play the lights while the other two are on the sides and are used to change the pattern of colors or change the mode (one hand change the color, two hands change the mode). The lights are played with music unless there is a hand on top. As in the previous version the scale of VU meter is adapted automatically in software but with a different algorithm: a IIR filter calculates the average sound intensity and that is used as 1/4 of the scale. This works better than computing the maximum sound intensity and use that value as the maximum of the scale as a occasional loud sound do not suddenly scale down the lights. Usually the beat of the music is 4 times louder than the average sound intensity so the VU meter fully light up when the is a beat.

All is controlled by a old school PIC16F883, the software is written in assembler and there are not multiply or divide instructions nor i used the routine provided from Microchip as were too slow. To scale the value of the sound intensity i recursively shifted and added the bits in two variables in the same way (one the current sound intensity, one the average) until the reference variable reached the top limit, then the other variable was scaled proportionally.

The IR sensors measure the amount of light that is reflected back from a hand or a object and is a cheap alternative to a distance sensor. For this application is not important to know the exact distance but is enough to feel if the hand is more close or more far from the sensor. This sensor works in this way: the IR emitter is off , the voltage across the photo-transistor is sampled as a reference of the ambient IR light, then the IR emitter is turned on and the voltage across the photo-transistor increases based on the amount of light reflected back from the object in front of it. It took me quite a bit of time to design the IR sensor. I did have the problem that the signal coming from the photo transistor easily saturates when the hand was close and if did decrease the sensitivity i could not detect the hand when was far. I solved this problem measuring the rate at which the voltage increase (for close range that saturates the sensor) and the voltage reached at plateau for far objects. After this i did have the problem that the resulting value was highly NOT linear with the distance of the hand (the value was exponentially higher with closeness of the hand), so i create in software an algorithm to linearize the response. After this i did have the problem that holding the hand in some position, a light on the VU meter scale may intermittently blink even in the hand was steady as a result of some noise coming from the sensor. I solved this problem with a sort of software Smith trigger: the new values changes only if the difference from the previous value is grater than a threshold.

There are two single addressable RGB leds 8mm for each level (25 leves) and in the base there are four 3 W RGB LEDS.

At the base there is also a touch button used as ON/OFF.

There are 5 modes that can be played with sound or with the hand:

- VU meter (louder the sound or closer the hand, more light ON)

- fading Vu meter

- Bouncing ball

- Wawe (the sound intensity or the position of the hand dim the lights at the bottom, then that value is shifted upward)

- Strobo light (the beat of the music or the hand getting closer to the top trigger short pulses of light)

All the plastic parts are cut with my home made CNC router. In the files section can download the mechanical files. The 25 sections are hold together by a long screw in the middle

top pcb 2 sides.zip

new top pcb 2 sides revised

x-zip-compressed - 36.18 kB - 09/22/2016 at 00:32

Download

bottom pcb.zip

New bottom pcb revised

x-zip-compressed - 19.56 kB - 09/22/2016 at 00:31

Download

colonna vu meter.dxf

CAD mechanical design file. Be aware is a bit messy, i didn't clean up but there is everything for the construction.

AutoCAD DXF - 2.25 MB - 03/14/2016 at 06:03

Download

newVu.asm

Assembler program for the PIC microprocessor

asm - 77.79 kB - 03/14/2016 at 05:53

Download

Bottom PCB gerber.zip

Bottom PCB gerber files, single layer

x-zip-compressed - 14.22 kB - 03/14/2016 at 05:51

Download

View all 8 files

  • Video "How to use"

    Est08/24/2016 at 16:36 0 comments


  • Videos

    Est05/27/2016 at 15:20 0 comments

    Vu meter mode

    Wave mode


  • Consideration about the touch switch on the base

    Est05/27/2016 at 08:34 0 comments

    At the base of the tower there is a touch button used to turn on and off. The touch sensor IC is mounted on the PCB at the center of the base with a switching voltage regulator and a driver for the four power leds mounted on the base. The sensing plate of the touch sensor is a coin glued on the internal side in one corner of the base. To connect the board with the sensing plate i used a simple wire, but i found that the wire was sensitive too. I tried to use a coaxial cable for microphones with the shield connected to ground but in this way the button was not responsive anymore, i think due to the capacitance of the coaxial cable itself. The solution was to made by myself a coaxial cable where the cenral wire and the shield are more separated to reduce the cable capacitance but keep the shielding effect.

View all 3 project logs

Enjoy this project?

Share

Discussions

willy8236 wrote 12/14/2016 at 20:36 point

Hello Est. I would like to know witch software did you use to compile the .asm file? Thanks!

  Are you sure? yes | no

Est wrote 09/22/2016 at 00:34 point

I have added the files to the project page. Please send me some picture of the results.

  Are you sure? yes | no

haiyi911 wrote 09/21/2016 at 07:28 point

hi,Est.are  gerber files  ok?

  Are you sure? yes | no

Est wrote 09/21/2016 at 08:54 point

i used them to make the tower so should be ok. The first i made i used single layer, the second one i made double side pcb. Which one do you prefer?

  Are you sure? yes | no

haiyi911 wrote 09/21/2016 at 11:44 point

double side,thx

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates