3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Sound into Light shows

Step 5Arduino

I used the basic analog read serial program as a starting point for my arduino code. I have 3 basically indentical modules, one for each analog input connected to a filter. I stored the analog read value then used IF statements to compare the analog read value to the old analog read value checking for a 10% differeance higher or lower. Finally i made the old analog read value equal analog read value with that being the end of the loop. I’ve included my code at the end of the post for your viewing pleasure.

The RGB LED's have + voltage as the common pin so the different colors can be triggered on when the state of each pin reads "LOW", which i substituted as ground.

IMPORTANT NOTE: i included a 1k resistor on the +5v going to the LED's because when i connected them to the rest of the circuit i was getting a lot of spiky noise threw out the whole circuit.. this is not included in the parts list or the schematic.
« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
2
Followers
Author:nickinoki