Saturday, December 3, 2011

Eagle Schematic for LED CASE Lighting, With MSGEQ7 Sound equaliser

Might have to click to see it easier,
Its gonna end up on a PCB, im working on that part
transistors, worked them out, lets hope they work with some fast switching

Thursday, December 1, 2011

12v power supply

who needs desktop power supply when you can pull you computer up close and use one of the molex connections? I justify this because the end result will be powered off the molex power.

At the start of a new project! It will be a pwm sound controlled thing for the computer case. more to come.

Monday, November 14, 2011

Files down

some of the files are down, i'll have them fixed up in a week or so.
The new files shall have a few updates
Files are back online

Monday, October 3, 2011

Dropbox Referal

Need online storage? Use this dropbox referal and we both get free space!
http://db.tt/GslwJFr

Friday, August 5, 2011

Yeeeewww: http://hackaday.com/2011/08/04/using-an-led-cube-as-an-audio-visualizer/
 better make a new video

Tuesday, August 2, 2011

MSGEQ7 with a LED cube matrix!!

http://www.youtube.com/watch?v=KGAUCPmDVYE&feature=channel_video_title

So i got put on to sound spectrum analiser IC....

http://www.youtube.com/watch?v=KGAUCPmDVYE&feature=channel_video_title

The above image shows how i hooked it up. What it does in a nutshell is for every clk signal that i give it it changes what frequency range it is outputting (as the output is multiplexed). We can then take this data and read it into the arduino which gives us a number that we can fiddle with.
See the data sheet for the msgeq7: http://www.mix-sig.com/datasheets/MSGEQ7.pdf
The internal clock of the msgeq7 (and this effects how it checks the frequecies) is set by some eqternal circuitry, namely the stuff connected to pin 8. I'm still trying different values here to see what gives the best result.

So what i did was to convert the number to one between 0 and 4, and then display this information on the led cube that i had made, volia i have a led cube that reacts to music :) I should note here as well that i used 2* 3.5mm audio jacks so this can be connected inline between any device.

Here's the code: (all can be opened in a txt file)
- cube.pde is the main file
- within patterns.pde the finction entitled pattern_sound() hadels the stuff with the msgeq7



Enjoy.
I
 p.s here's some images

LED Cube Matrix 4x4x4 with Sound EQ device

So this is what i have been working on of late: http://www.youtube.com/watch?v=QfCOr0YetK0&feature=channel_video_title

Basic design of the cube: columns of the pins connected via the anodes, layers connected togeather via the cathodes. This allows us to light up the cube one layer at a time and if we do it fast enough it looks as if the entire cube is lit up.

Because i made this to go with the arduino, i had a limited number of i/o pins so i opted for the use of shift registers. This allowed my to transmit data about the cube in a serial fashion and read it out in parallel. the image above give a rough working of it. Its fairly similar to others out there (other than the shift registers)

Next post: code used and the sound equaliser

Sunday, April 24, 2011

python, winamp interface, system volume interface

Interfacing with winamp:
Requirements:
Use winamp.py (download this and put in your python folder)
ActivePython (this is needs for the 32wingui)
nircmd (this is for interfacing with system features)

How it works:
  • we import relevant libraries
  • create an instance called "w" that is a winamp object 
    • See the first few lines of the code!
  • we can now interact with "w", by calling its functinons
  • e.g. w.getTrackStatus(), this will return a value (playing, paused, stopped)
  • See the code for a bunch of commands that is used. (open winamp.py and you can see all the functions it supports)
Now for the system interface
  • I found this fairly cool program "nircmd" which when opened with arguments, you can interface to a lot of system properties. The ones i wanted (volume) were conveniently available
  • To run something we go --> nircmd changesysvolume -2000
    • This will decrease the system volume by a factor of 2000/some#
  • to call this in python
    • import os
    • os.system('nircmd changesysvolume 2000)
  • this assumes that you have put nircmd in the same folder as you python files
  • nircmd also has a bunch of other commands that you can use, look them up and you can call them in the same way.

For the code: see the folder pc_winamp_interface, (don't download the .exe version in dist)

Saturday, April 23, 2011

Arduino Uno Projects

Below are my current files, i shall update / write what stuff is when i get this rolling, basically the base code that i have developed for the uno, which i plan to do something with.

in the dist folder, i think a dll failed to upload, so that will cause an error



Isaac