Overclock.net › Forums › Case Mods & Cases › Other Hardware Mods › [Build Log] 5.25" Audio Spectrum Analyzer
New Posts  All Forums:Forum Nav:

[Build Log] 5.25" Audio Spectrum Analyzer

post #1 of 22
Thread Starter 
Some time ago I bought an LED audio spectrum analyzer from youritronics.com. I ordered it without the LED board and made my own PCB for 0805 SMD LEDs because I planned on fitting it in a 5.25" drive. I got the thing and the ribbon connector was soldered when I asked for it not to be. No problem, he sent me a new board. I de-soldered everything and installed them over to the new board. No luck. Now I am waiting for an assembled board to ship.

I have a Xonar STX and I believe it can mirror what I am listening to via the RCA line outputs to the S/PDIF internal header. Well I re-sample all of my audio to 24/192 on the fly so I need a small DAC capable of that. I searched and search and the only thing that came close and was small is the ɣ1 (Gamma1) DAC by AMB Laboratories. Being anal-retentive about stuff being on boards that I won't use, I decided to use this circuit and design my own PCB to get rid of most that DAC offers. I only have a coaxial input on my board, in the form of the old 2-pin S/PDIF CD-ROM connectors.

I am going to have the PCBs made at OSH Park because I really like the gold plating and even though I don't care much for a purple, I can deal with it because it won't be seen. There is a flaw with the switched-mode power supply on the analyzer, so I am going to build a board with a 7805 regulator and big heat sink to replace the power supply on the analyzer board.

pcb-top_small.pngpcb-bottom_small.png

Parts List

Additional images of the PCB:

Top:
Bottom:
I will keep updated on this. There will be no schematic...sorry. I find it easier to follow an existing schematic, modify it in my head, and build a PCB than to figure out how to use any schematic-building software. If someone wants to make one and post it here, be my guest smile.gif
Edited by ramicio - 5/13/13 at 9:24am
 
Quiet Desktop
(15 items)
 
 
CPUMotherboardGraphicsRAM
i7-970 MSI X-58 Pro-E 8600GT 6 GB (3 x 2GB) Corsair DDR3 1333 
Hard DriveHard DriveCoolingOS
Hitachi Deskstar 2TB 32GB Patriot SSD Scythe Big Shuriken 2 Rev. B Ubuntu Server 
PowerCaseOtherOther
COOLMAX 700 watt modular Norco RPC-3216 Areca ARC-1222 w/ BBU 4 SFF-8087 Cables 
CPUMotherboardRAMHard Drive
i5-2500k ASUS P8Z68-M Pro 16 GB (4 x 4GB) Mushkin Enhanced Silverline DDR... 64GB Kingston SSD 
Optical DriveCoolingOSMonitor
Blu-ray reader and DVD/CD burner combo drive Scythe Big Shuriken 2 Rev. B Windows 7 Ultimate x64 1440x900 old LG LCD with anti-glare film peeled... 
KeyboardPowerCaseMouse
Dusty old Dell PS/2 Seasonic 560 watt modular Lian-li PC-V354B Some generic one from Best Buy 
Mouse PadAudioAudio
Plain black ASUS Xonar Essence STX Bottlehead Crack w/ Speedball 
  hide details  
Reply
 
Quiet Desktop
(15 items)
 
 
CPUMotherboardGraphicsRAM
i7-970 MSI X-58 Pro-E 8600GT 6 GB (3 x 2GB) Corsair DDR3 1333 
Hard DriveHard DriveCoolingOS
Hitachi Deskstar 2TB 32GB Patriot SSD Scythe Big Shuriken 2 Rev. B Ubuntu Server 
PowerCaseOtherOther
COOLMAX 700 watt modular Norco RPC-3216 Areca ARC-1222 w/ BBU 4 SFF-8087 Cables 
CPUMotherboardRAMHard Drive
i5-2500k ASUS P8Z68-M Pro 16 GB (4 x 4GB) Mushkin Enhanced Silverline DDR... 64GB Kingston SSD 
Optical DriveCoolingOSMonitor
Blu-ray reader and DVD/CD burner combo drive Scythe Big Shuriken 2 Rev. B Windows 7 Ultimate x64 1440x900 old LG LCD with anti-glare film peeled... 
KeyboardPowerCaseMouse
Dusty old Dell PS/2 Seasonic 560 watt modular Lian-li PC-V354B Some generic one from Best Buy 
Mouse PadAudioAudio
Plain black ASUS Xonar Essence STX Bottlehead Crack w/ Speedball 
  hide details  
Reply
post #2 of 22
Thread Starter 
Here is the old display board.

photo-old_thumb.jpg

It didn't turn out how I wanted. I had no stencil for laying down the solder paste, so the LEDs didn't align properly. It works, but it's ugly. Today I designed a new board in Eagle and it will be 2 boards that sandwich together instead of wires running to the driver. If anyone has any tips on how to get the LEDs aligned perfectly next time, please let me know. I designed a plate in SketchUp that could hold all of the LEDs in place while maybe gluing them, but I don't think 3D printing is accurate enough so I might just get it laser-cut. Here is the new display boards design.

pcb-top_small.pngpcb-bottom_small.pngpcb-top_small.pngpcb-bottom_small.png

If anyone wants to buy the old board, let me know. It works just fine, and maybe you can get the LEDs perfect.
Edited by ramicio - 4/12/13 at 9:51am
 
Quiet Desktop
(15 items)
 
 
CPUMotherboardGraphicsRAM
i7-970 MSI X-58 Pro-E 8600GT 6 GB (3 x 2GB) Corsair DDR3 1333 
Hard DriveHard DriveCoolingOS
Hitachi Deskstar 2TB 32GB Patriot SSD Scythe Big Shuriken 2 Rev. B Ubuntu Server 
PowerCaseOtherOther
COOLMAX 700 watt modular Norco RPC-3216 Areca ARC-1222 w/ BBU 4 SFF-8087 Cables 
CPUMotherboardRAMHard Drive
i5-2500k ASUS P8Z68-M Pro 16 GB (4 x 4GB) Mushkin Enhanced Silverline DDR... 64GB Kingston SSD 
Optical DriveCoolingOSMonitor
Blu-ray reader and DVD/CD burner combo drive Scythe Big Shuriken 2 Rev. B Windows 7 Ultimate x64 1440x900 old LG LCD with anti-glare film peeled... 
KeyboardPowerCaseMouse
Dusty old Dell PS/2 Seasonic 560 watt modular Lian-li PC-V354B Some generic one from Best Buy 
Mouse PadAudioAudio
Plain black ASUS Xonar Essence STX Bottlehead Crack w/ Speedball 
  hide details  
Reply
 
Quiet Desktop
(15 items)
 
 
CPUMotherboardGraphicsRAM
i7-970 MSI X-58 Pro-E 8600GT 6 GB (3 x 2GB) Corsair DDR3 1333 
Hard DriveHard DriveCoolingOS
Hitachi Deskstar 2TB 32GB Patriot SSD Scythe Big Shuriken 2 Rev. B Ubuntu Server 
PowerCaseOtherOther
COOLMAX 700 watt modular Norco RPC-3216 Areca ARC-1222 w/ BBU 4 SFF-8087 Cables 
CPUMotherboardRAMHard Drive
i5-2500k ASUS P8Z68-M Pro 16 GB (4 x 4GB) Mushkin Enhanced Silverline DDR... 64GB Kingston SSD 
Optical DriveCoolingOSMonitor
Blu-ray reader and DVD/CD burner combo drive Scythe Big Shuriken 2 Rev. B Windows 7 Ultimate x64 1440x900 old LG LCD with anti-glare film peeled... 
KeyboardPowerCaseMouse
Dusty old Dell PS/2 Seasonic 560 watt modular Lian-li PC-V354B Some generic one from Best Buy 
Mouse PadAudioAudio
Plain black ASUS Xonar Essence STX Bottlehead Crack w/ Speedball 
  hide details  
Reply
post #3 of 22
Thread Starter 
 
Quiet Desktop
(15 items)
 
 
CPUMotherboardGraphicsRAM
i7-970 MSI X-58 Pro-E 8600GT 6 GB (3 x 2GB) Corsair DDR3 1333 
Hard DriveHard DriveCoolingOS
Hitachi Deskstar 2TB 32GB Patriot SSD Scythe Big Shuriken 2 Rev. B Ubuntu Server 
PowerCaseOtherOther
COOLMAX 700 watt modular Norco RPC-3216 Areca ARC-1222 w/ BBU 4 SFF-8087 Cables 
CPUMotherboardRAMHard Drive
i5-2500k ASUS P8Z68-M Pro 16 GB (4 x 4GB) Mushkin Enhanced Silverline DDR... 64GB Kingston SSD 
Optical DriveCoolingOSMonitor
Blu-ray reader and DVD/CD burner combo drive Scythe Big Shuriken 2 Rev. B Windows 7 Ultimate x64 1440x900 old LG LCD with anti-glare film peeled... 
KeyboardPowerCaseMouse
Dusty old Dell PS/2 Seasonic 560 watt modular Lian-li PC-V354B Some generic one from Best Buy 
Mouse PadAudioAudio
Plain black ASUS Xonar Essence STX Bottlehead Crack w/ Speedball 
  hide details  
Reply
 
Quiet Desktop
(15 items)
 
 
CPUMotherboardGraphicsRAM
i7-970 MSI X-58 Pro-E 8600GT 6 GB (3 x 2GB) Corsair DDR3 1333 
Hard DriveHard DriveCoolingOS
Hitachi Deskstar 2TB 32GB Patriot SSD Scythe Big Shuriken 2 Rev. B Ubuntu Server 
PowerCaseOtherOther
COOLMAX 700 watt modular Norco RPC-3216 Areca ARC-1222 w/ BBU 4 SFF-8087 Cables 
CPUMotherboardRAMHard Drive
i5-2500k ASUS P8Z68-M Pro 16 GB (4 x 4GB) Mushkin Enhanced Silverline DDR... 64GB Kingston SSD 
Optical DriveCoolingOSMonitor
Blu-ray reader and DVD/CD burner combo drive Scythe Big Shuriken 2 Rev. B Windows 7 Ultimate x64 1440x900 old LG LCD with anti-glare film peeled... 
KeyboardPowerCaseMouse
Dusty old Dell PS/2 Seasonic 560 watt modular Lian-li PC-V354B Some generic one from Best Buy 
Mouse PadAudioAudio
Plain black ASUS Xonar Essence STX Bottlehead Crack w/ Speedball 
  hide details  
Reply
post #4 of 22
Quote:
Originally Posted by ramicio View Post

Here is the old display board.

photo-old_thumb.jpg

It didn't turn out how I wanted. I had no stencil for laying down the solder paste, so the LEDs didn't align properly. It works, but it's ugly. Today I designed a new board in Eagle and it will be 2 boards that sandwich together instead of wires running to the driver. If anyone has any tips on how to get the LEDs aligned perfectly next time, please let me know. I designed a plate in SketchUp that could hold all of the LEDs in place while maybe gluing them, but I don't think 3D printing is accurate enough so I might just get it laser-cut. Here is the new display boards design.
Warning: Spoiler! (Click to show)
pcb-top_small.pngpcb-bottom_small.pngpcb-top_small.pngpcb-bottom_small.png

If wants to buy the old board, let me know. It works just fine, and maybe you can get the LEDs perfect.


To me the alignment looks pretty good, I sure wouldn't want to manually place that many of the tiny SMD LEDs on a board smile.gif

Anyway, it's an interesting project, what is the microcontroller you use for the FFT?

A 3D printed template is doable as long as you are ok with 0.1mm accuracy. but it has to be a well calibrated printer, usually the bottom layer is squashed down a bit, and not so accurate, in order to stick to the surface. if you can get it laser cut that will be, as you said, more accurate.
post #5 of 22
Thread Starter 
I know I am definitely going to get a paste stencil made this time. Hopefully some cheap shower or car wash squeegee will work. Hell, even a windshield wiper blade should work.

The info says an ATmega64. I don't know anything about that. The driver board is something I bought from YourITronics. I could never program something like that.

I even think a laser-cut plate would even be cheaper than one 3D-printed. I got a 10"x6" aluminum plate cut locally for $25. 0.1 mm isn't accurate enough for me. 0.01 mm is more like it, which is the typical positional accuracy of a laser cutter.
Edited by ramicio - 4/12/13 at 9:50am
 
Quiet Desktop
(15 items)
 
 
CPUMotherboardGraphicsRAM
i7-970 MSI X-58 Pro-E 8600GT 6 GB (3 x 2GB) Corsair DDR3 1333 
Hard DriveHard DriveCoolingOS
Hitachi Deskstar 2TB 32GB Patriot SSD Scythe Big Shuriken 2 Rev. B Ubuntu Server 
PowerCaseOtherOther
COOLMAX 700 watt modular Norco RPC-3216 Areca ARC-1222 w/ BBU 4 SFF-8087 Cables 
CPUMotherboardRAMHard Drive
i5-2500k ASUS P8Z68-M Pro 16 GB (4 x 4GB) Mushkin Enhanced Silverline DDR... 64GB Kingston SSD 
Optical DriveCoolingOSMonitor
Blu-ray reader and DVD/CD burner combo drive Scythe Big Shuriken 2 Rev. B Windows 7 Ultimate x64 1440x900 old LG LCD with anti-glare film peeled... 
KeyboardPowerCaseMouse
Dusty old Dell PS/2 Seasonic 560 watt modular Lian-li PC-V354B Some generic one from Best Buy 
Mouse PadAudioAudio
Plain black ASUS Xonar Essence STX Bottlehead Crack w/ Speedball 
  hide details  
Reply
 
Quiet Desktop
(15 items)
 
 
CPUMotherboardGraphicsRAM
i7-970 MSI X-58 Pro-E 8600GT 6 GB (3 x 2GB) Corsair DDR3 1333 
Hard DriveHard DriveCoolingOS
Hitachi Deskstar 2TB 32GB Patriot SSD Scythe Big Shuriken 2 Rev. B Ubuntu Server 
PowerCaseOtherOther
COOLMAX 700 watt modular Norco RPC-3216 Areca ARC-1222 w/ BBU 4 SFF-8087 Cables 
CPUMotherboardRAMHard Drive
i5-2500k ASUS P8Z68-M Pro 16 GB (4 x 4GB) Mushkin Enhanced Silverline DDR... 64GB Kingston SSD 
Optical DriveCoolingOSMonitor
Blu-ray reader and DVD/CD burner combo drive Scythe Big Shuriken 2 Rev. B Windows 7 Ultimate x64 1440x900 old LG LCD with anti-glare film peeled... 
KeyboardPowerCaseMouse
Dusty old Dell PS/2 Seasonic 560 watt modular Lian-li PC-V354B Some generic one from Best Buy 
Mouse PadAudioAudio
Plain black ASUS Xonar Essence STX Bottlehead Crack w/ Speedball 
  hide details  
Reply
post #6 of 22
Thread Starter 
I think I am done with this project. I got it working and tested it with a 1 kHz tone. This is what I got:



Not very accurate. I asked the maker of the kit and he said it uses some RC way of analyzing the signal, instead of your common and logical FFT. It doesn't do much with music except bounce up and down from the beat. Bass hits obviously register on the high end and your snares and cymbals register on the low end. It's just really a single VU meter with 20 columns. It really IS NOT good enough for me at this point, and he said he has no desire to improve how it operates because it's just a light show and not supposed to be accurate, and supposedly it's hit the limits of the hardware (not true). It also has a problem where there will be random spikes because of something to do with the power supply. He wasn't specific about why this happens, but it didn't happen in earlier revisions. I am giving up because I do not have the skills to make my own program for this thing to do what I want. At this point it would be easier to design an analog circuit with a bunch of (40) 3915 ICs.

EDIT: Here it is with some music. The A/V sync does drift over time.


Edited by ramicio - 4/26/13 at 12:58pm
 
Quiet Desktop
(15 items)
 
 
CPUMotherboardGraphicsRAM
i7-970 MSI X-58 Pro-E 8600GT 6 GB (3 x 2GB) Corsair DDR3 1333 
Hard DriveHard DriveCoolingOS
Hitachi Deskstar 2TB 32GB Patriot SSD Scythe Big Shuriken 2 Rev. B Ubuntu Server 
PowerCaseOtherOther
COOLMAX 700 watt modular Norco RPC-3216 Areca ARC-1222 w/ BBU 4 SFF-8087 Cables 
CPUMotherboardRAMHard Drive
i5-2500k ASUS P8Z68-M Pro 16 GB (4 x 4GB) Mushkin Enhanced Silverline DDR... 64GB Kingston SSD 
Optical DriveCoolingOSMonitor
Blu-ray reader and DVD/CD burner combo drive Scythe Big Shuriken 2 Rev. B Windows 7 Ultimate x64 1440x900 old LG LCD with anti-glare film peeled... 
KeyboardPowerCaseMouse
Dusty old Dell PS/2 Seasonic 560 watt modular Lian-li PC-V354B Some generic one from Best Buy 
Mouse PadAudioAudio
Plain black ASUS Xonar Essence STX Bottlehead Crack w/ Speedball 
  hide details  
Reply
 
Quiet Desktop
(15 items)
 
 
CPUMotherboardGraphicsRAM
i7-970 MSI X-58 Pro-E 8600GT 6 GB (3 x 2GB) Corsair DDR3 1333 
Hard DriveHard DriveCoolingOS
Hitachi Deskstar 2TB 32GB Patriot SSD Scythe Big Shuriken 2 Rev. B Ubuntu Server 
PowerCaseOtherOther
COOLMAX 700 watt modular Norco RPC-3216 Areca ARC-1222 w/ BBU 4 SFF-8087 Cables 
CPUMotherboardRAMHard Drive
i5-2500k ASUS P8Z68-M Pro 16 GB (4 x 4GB) Mushkin Enhanced Silverline DDR... 64GB Kingston SSD 
Optical DriveCoolingOSMonitor
Blu-ray reader and DVD/CD burner combo drive Scythe Big Shuriken 2 Rev. B Windows 7 Ultimate x64 1440x900 old LG LCD with anti-glare film peeled... 
KeyboardPowerCaseMouse
Dusty old Dell PS/2 Seasonic 560 watt modular Lian-li PC-V354B Some generic one from Best Buy 
Mouse PadAudioAudio
Plain black ASUS Xonar Essence STX Bottlehead Crack w/ Speedball 
  hide details  
Reply
post #7 of 22
That does look strange for a 1 KHz signal.

Did you get any schematics when you bought the kit?
post #8 of 22
Thread Starter 
No, it's all closed source. It doesn't use FFT, he said it uses some RC filters to get the frequency bands. Quite disappointing. In late 2010 he made a post claiming that version 3 would have FFT, but he now says he has no interest in putting in the time or money to work on a new version, other than a small update at some point to fix the random spiking issue. There is a kit like his, all on one board, that uses FFT, but I do think it's too much for an ATmega64, because the videos show the movement is very slow.

This is the other product I am talking about:

 
Quiet Desktop
(15 items)
 
 
CPUMotherboardGraphicsRAM
i7-970 MSI X-58 Pro-E 8600GT 6 GB (3 x 2GB) Corsair DDR3 1333 
Hard DriveHard DriveCoolingOS
Hitachi Deskstar 2TB 32GB Patriot SSD Scythe Big Shuriken 2 Rev. B Ubuntu Server 
PowerCaseOtherOther
COOLMAX 700 watt modular Norco RPC-3216 Areca ARC-1222 w/ BBU 4 SFF-8087 Cables 
CPUMotherboardRAMHard Drive
i5-2500k ASUS P8Z68-M Pro 16 GB (4 x 4GB) Mushkin Enhanced Silverline DDR... 64GB Kingston SSD 
Optical DriveCoolingOSMonitor
Blu-ray reader and DVD/CD burner combo drive Scythe Big Shuriken 2 Rev. B Windows 7 Ultimate x64 1440x900 old LG LCD with anti-glare film peeled... 
KeyboardPowerCaseMouse
Dusty old Dell PS/2 Seasonic 560 watt modular Lian-li PC-V354B Some generic one from Best Buy 
Mouse PadAudioAudio
Plain black ASUS Xonar Essence STX Bottlehead Crack w/ Speedball 
  hide details  
Reply
 
Quiet Desktop
(15 items)
 
 
CPUMotherboardGraphicsRAM
i7-970 MSI X-58 Pro-E 8600GT 6 GB (3 x 2GB) Corsair DDR3 1333 
Hard DriveHard DriveCoolingOS
Hitachi Deskstar 2TB 32GB Patriot SSD Scythe Big Shuriken 2 Rev. B Ubuntu Server 
PowerCaseOtherOther
COOLMAX 700 watt modular Norco RPC-3216 Areca ARC-1222 w/ BBU 4 SFF-8087 Cables 
CPUMotherboardRAMHard Drive
i5-2500k ASUS P8Z68-M Pro 16 GB (4 x 4GB) Mushkin Enhanced Silverline DDR... 64GB Kingston SSD 
Optical DriveCoolingOSMonitor
Blu-ray reader and DVD/CD burner combo drive Scythe Big Shuriken 2 Rev. B Windows 7 Ultimate x64 1440x900 old LG LCD with anti-glare film peeled... 
KeyboardPowerCaseMouse
Dusty old Dell PS/2 Seasonic 560 watt modular Lian-li PC-V354B Some generic one from Best Buy 
Mouse PadAudioAudio
Plain black ASUS Xonar Essence STX Bottlehead Crack w/ Speedball 
  hide details  
Reply
post #9 of 22
It looks nice with music though. I guess he chose speed over precision with the adjustable filters instead of regular FFT.

I agree the Atmega64 is probably a bit too weak for a nice fluent display and decent resolution.
post #10 of 22
Thread Starter 
I am getting the DAC boards tomorrow and the DAC chip today. That will be the end of this project until I absorb tons of material to maybe make my own analyzer. The lack of FFT and the power supply glitch is unacceptable. If I get to making my own it will have 32 bands with 32 amplitude levels (1,024 LEDs!). I am looking into the dsPIC.
 
Quiet Desktop
(15 items)
 
 
CPUMotherboardGraphicsRAM
i7-970 MSI X-58 Pro-E 8600GT 6 GB (3 x 2GB) Corsair DDR3 1333 
Hard DriveHard DriveCoolingOS
Hitachi Deskstar 2TB 32GB Patriot SSD Scythe Big Shuriken 2 Rev. B Ubuntu Server 
PowerCaseOtherOther
COOLMAX 700 watt modular Norco RPC-3216 Areca ARC-1222 w/ BBU 4 SFF-8087 Cables 
CPUMotherboardRAMHard Drive
i5-2500k ASUS P8Z68-M Pro 16 GB (4 x 4GB) Mushkin Enhanced Silverline DDR... 64GB Kingston SSD 
Optical DriveCoolingOSMonitor
Blu-ray reader and DVD/CD burner combo drive Scythe Big Shuriken 2 Rev. B Windows 7 Ultimate x64 1440x900 old LG LCD with anti-glare film peeled... 
KeyboardPowerCaseMouse
Dusty old Dell PS/2 Seasonic 560 watt modular Lian-li PC-V354B Some generic one from Best Buy 
Mouse PadAudioAudio
Plain black ASUS Xonar Essence STX Bottlehead Crack w/ Speedball 
  hide details  
Reply
 
Quiet Desktop
(15 items)
 
 
CPUMotherboardGraphicsRAM
i7-970 MSI X-58 Pro-E 8600GT 6 GB (3 x 2GB) Corsair DDR3 1333 
Hard DriveHard DriveCoolingOS
Hitachi Deskstar 2TB 32GB Patriot SSD Scythe Big Shuriken 2 Rev. B Ubuntu Server 
PowerCaseOtherOther
COOLMAX 700 watt modular Norco RPC-3216 Areca ARC-1222 w/ BBU 4 SFF-8087 Cables 
CPUMotherboardRAMHard Drive
i5-2500k ASUS P8Z68-M Pro 16 GB (4 x 4GB) Mushkin Enhanced Silverline DDR... 64GB Kingston SSD 
Optical DriveCoolingOSMonitor
Blu-ray reader and DVD/CD burner combo drive Scythe Big Shuriken 2 Rev. B Windows 7 Ultimate x64 1440x900 old LG LCD with anti-glare film peeled... 
KeyboardPowerCaseMouse
Dusty old Dell PS/2 Seasonic 560 watt modular Lian-li PC-V354B Some generic one from Best Buy 
Mouse PadAudioAudio
Plain black ASUS Xonar Essence STX Bottlehead Crack w/ Speedball 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Other Hardware Mods
Overclock.net › Forums › Case Mods & Cases › Other Hardware Mods › [Build Log] 5.25" Audio Spectrum Analyzer