Home Articles Forums Gallery Marketplace Videos

WoodCentral Forums

Knowledge You Can Build On — Est. 1998

Veritas - Innovation in Tools

Adding Light Controlled Sound

Posts

Adding Light Controlled Sound

#1

Adding Light Controlled Sound

charlie belden

I've been playing with ideas for adding movement to pieces. Peter Rand pointed me to"stamp controllers" - simple little programmable computers that can be programmed to control little servos that can then move things. Picked up one of these puppies at The Makers Faire - an Arduino Duemilanove (deosn't Duemilanove sound cooler than 2009?) - and have been playing with it - programming it to turn LEDs on and off, aking a piezo electric "speaker" buzz - AND - detecting changes in light levels.

A little modification to a few Example Circuits, a few modifications to the programs that make the Example Circuits do their thing and I've got a "breadboard" prototype for light controlled sound - that could be used with a piece.

Download the program from my computer to the Arduino via a normal USB cable and I've got a little buzzer that changes tones as the shadow of my finger passes over the little light detector. More light - lower tone. Less light - higher tone. The light detector is sending a voltage to the Arduino in the 0-1024 range, the program takes that info and drops it in one of 256 "tone" boxes and then has the piezo electric "speaker"/"buzzer" generate a sound with the provided frequency/tone.

But the sound generated is not very loud, the "speaker" is only 1/2" in diameter.

Hmmmm. How do I get the sound to be louder?

Ever seen the predecessor of today's hearing aid - the thing that looks like part of a miniature tuba?

So I turned a "trumpet" out of maple to fit over the "buzzer" - and the sound it made - got louder.

Now the light sensor pick up all the light that falls on it. What if I put a tube over it so it could only "see" light shining straight down on it?

So I turned a "tube" to go over it - out of black walnit. Figured a dark wood would knock down "stay light". And THAT let me use a small pencil flashlight to play with different sounds - in a normally lit room.

Here's the "breadboard" Light Activated Sound Generator circuitry. The micro controller can be replace with a smaller micro controller that's only 1 1/2" long, 1/2" wide and about 1/2" tall. The light detecting diode can be wired directly to the micro controller as can the piezo electric "buzzer". Add a little 9V battery - a little turning and carving magic - and I've got a light controlled sound generating piece - to play with!


More to come . . .

Have YOU got any ideas for incorporating a light activate feature - lights, movement, sound - to a piece?

Re: Adding Light Controlled Sound

#2

Ellis Walentine

Never got into electronics

Ellis Walentine

I like where you're going with your new excursions, Charlie. I've often wished I had paid more attention to electronics in my earlier days, but, alas, I don't know a piezo from a pizza. By adding all these new dimensions to wood art, you're really pushing the envelope. So, what will the proof-of-concept piece be, a critter that moves and makes sounds in response to flashlight cues? How about laser cues? How about burning feathers on this guy and entering him in the contest? No limit to the number of cool dimensions a piece can have, though I suspect the judges are going to be more concerned with aesthetics.

Thanks for the interesting post.

Ellis

Re: Adding Light Controlled Sound

#3

You Don't Have To Be A Rocket Scientist - Honest

charlie belden

Really, it's NOT rocket science and you don't need an EE degree or computer tech certification. There are all sorts of tutorials that show you what goes where and often even provide the programs (Arduino calls them "sketches", less intimidating than computer programs) you can cut and paste into the Arduino "sketch" editor. Click on the "upload" button after connecting your computer to the Arduino via a regular USB cable and things happen - based on the sketch instructions to the "controller".

The whole approach is Learn By Doing. Initially you follow instructions and play with the results. Pretty soon you begin tweeking things in a sketch and seeing what the effect is. Soon you begin to understand the cause and effect - then apply what you learn to your own sketch and components connections. IF YOU DO THIS, THAT WILL DO THAT - and then you use that idea to do something else - but slightly different. Replace a light detecting resistor "sensor" with an infra-red detector, a flashing LED with a buzzer - or a servo. It's a lot like playing with one of those old Erector Sets - learn by doing - and by analogy.

A hollow form might make a great speaker cone. A little buzzer and LED inside - the piece buzzing, light coming out of the opening. But when you try and look inside it - a sensor turns everything off and you can't see what's inside. Or a curious person, probably a woodturner, sticks a finger inside a narrow opening hollow form - and triggers flashing lights and a small siren. You could put pressure sensor pads on the inside of a hollow form. When a finger touches one maybe a tone is generated - different tones for each pressure sensitive pad inside - and maybe one will cause the piece to virbrate, another may cause and LED to turn on - and light comes out small holes in the wall of the piece, touch another and elements on the outside of the piece may move - or spin - or the light illuminating the piece turns off.

Turners are really good at figuring out ways to do what they want done - and sharing what they've come up with. This "stamp controller" thing is just another tool - to play with - and modify to meet a design need. And, like other tools, once you get to know it, you're apt to do all sorts of things with it that you hadn't thought to do - before you got the new tool.

Re: Adding Light Controlled Sound

#4

Me too!

Tony - Memphis

I 've been playing with an Arduino since Christmas (Santa brought it to me.). Really neat stuff. I've hooked it up to temp. sensors, light sensors, servo, etc. All sorts of neat stuff you can do with one. And the mini Arduino clones are less than $20.

Tony