Showing posts with label Colour. Show all posts
Showing posts with label Colour. Show all posts

Tuesday, 17 March 2015

Taken a while, but im getting there with the Arduino and LED side of things

So yeah, turns out learning electronics isnt as easy as I first thought it would be. The thing I have found most difficult has been the parts, I have now got three seperate things wrong simply through not fully understanding exatcly what things were etc....

I have now managed to build a HSV or HSL (depending on which you prefer) LED controller for my lightstrip, through following a tutroial here -

LED HSV Fade Controller

And here are the results.... I had a few issues in loading up the arduino... For some reason the COM porting was wrong at first and again, through inexperience it took me a while to figure out.

I have been playing around with the code and I have figured out how to change loop times of the fade through colours... Although inexplicably the red LED seems to just stay on through the cycle, going to be trying to figure that out tomorrow.

Having said that, hopefully my 880 pin breadboard arrives and I can forget about this and gett on with the audio reactivity!

Anyways, here are some photos from this little side project. It has definately helped in terms of building my confidence with electronics. For example, I have stripped a 12v power supply back to bare wires and am using it for prototyping. I have never really done anything like this beffore, so frankly its a miracle I didnt violently electrocute myself. Still plenty of time to go though! ;)



These still dont show it very well, but the arduino is controlling the light cycle of the He Saturation and "Value", which you can think of as intensity. The resulting effect isnt quite audio reactivity, but for my first shot at electronics, Im pretty happy.

Now that my confidence is there, hopefully I can complete the reactive project, although it is slightly more complex!

Wednesday, 28 January 2015

Been a while

Hey there, sorry it was pretty hectic over Christmas New Year etc... Getting right back in the swing of things now though.

So here is a cool video the I stumbled across recently, made cooler by the fact it has links to some really useful places online, namely an Arduino forum with a post about FFT data driving LED colour spectrums.


Although I can already see this being to rapid changing for any sort of analytical use, it could be fun to include this as a setting on the arduino to get a bit more vibe going when you are just listening back to what you have created or other peoples work.

On the more analytical side, we can look at something like the setup in the video below, I am pretty sure this could be calibrated in order to use it as a VU meter and RMS meter. As the ideas keep coming the device I am envisioning is a modernise real time analyser, I will make sure to get my ideas down in a drawing soon.


This is neat because I could give the user control over certain parameters, enabling them to tailor their visual experience to the way they like it. The beauty of Arduino is they can be loaded with multiple libraries of code that can be cycled through very simply for different uses.

Monday, 20 October 2014

Colour to Frequency - The Light Side

So there is another side to this equation, that I touched on earlier. time to get into it a little bit deeper.

Wavelength to Colour Converter

Website - Colour Science

The first link is pretty much what it says on the tin. The science behind it is explained in the next link, all you need know to play is this - enter a value between 380nm and 780nm...

The second is some preisting science, explaining the mapping of colours throught their frequency spectrum.

As with audio, light and the colours contained within exist in their own spectrum. We can think of this as a little window of perception for us. Vibrations of atoms with a frequency between 20HZ and 20KHZ are known to us as sound, that we percieve with our ears (mostly). In exactly the same way, we percieve light with our eyes, with the colour seperated by its wave frequency. Now there is "slightly" more to it all than I am getting into just now and I am certainly not a physicist. I guess the fact that light exists as a wave and a particle at the same time would be one! Anyways, this is not relevant just now.

The colours seperate out 380nm and 780nm. nm stands for nanometers. When combined into this equation, you can work out the frequency of light waves, pretty cool huh!?

The Relationship Between Speed, Frequency and Wavelength



As the article points out, this equation shows that, in order for us to percieve a medium red colour, 448,000,000,000,000 photon wavecrests pass over our retinas, every single second. 448 TRILLION HERTZ. That's 448Bil every millisecond. 448Mil every nanosecond.

Almost to much to take in, huh? Well, not for your brain. Infact, our brains decoded that, along with every other frequency of colour hitting our eyes, with amazing accuracy. At the same time as running your whole audio perception system, your body, and itself. Unbelievable...

Anyways, the bottom line is this. Frequency and vibration is integral to everything in the Universe. Sound and light are one. As with sound, light has lower and upper registers, harmonics and octaves. 20HZ converts to Red

We exist in a constantly evolving orchestra of light, my mission for this project is to try and reinvigerate the project studio, in a universal way!