Speaker Microphone. Day 28. Yayyyyy!



It is a speaker. It acts as a microphone. It goes to an amplifier. It plays through another speaker. It hangs from the ceiling. Sometimes it makes wicked feedback.



It is a speaker. It acts as a microphone. It goes to an amplifier. It plays through another speaker. It hangs from the ceiling. Sometimes it makes wicked feedback.



Ever since my grandfather decided that his digital camera was broken because he kept chopping off people’s heads, I’ve had an extra digital camera. I’ve been wanting to turn it into a time-lapse camera for a while… and now I have.
The camera has a 2-pin socket installed in the side for easy connect/disconnect and is currently being controlled by an Arduino. It can be controlled by any old micro controller, but I am on a mission to figure out this Arduino thing. The only extra component needed is a 5V relay.
Check out the Instructable to make your own!
Code as follows:
/* Time-Lapse Camera Controller
* ——————
*
* Hits a camera shutter at a set interval
* for time-lapse photography. The rate of the
* delay can be manipulated for unique effects.
*
* Created 5 February 2008
* by Randy Sarafan
* http://www.randysarafan.com
*
*/
int camPin = 7; // sets the camera shutter pin
int stupidvar = 30000; // sets the delay between pictures
void setup()
{
pinMode(camPin, OUTPUT); // defines pin as an output
}
void loop()
{
digitalWrite(camPin, HIGH); // presses the button
delay(5000); // waits
digitalWrite(camPin, LOW); // release the button
delay(stupidvar); // delay between pictures
//stupidvar = stupidvar + 1000 // increments delay by one second for unique effect.
}

embedded by Embedded Video
So, the thing I kept trying to make kept breaking every chance it got. Finally, it somehow turned into this. Basically, I whipped something together using the slide mechanism from inside a printer, an Arduino, a junky photocell controlled H-bridge left behind by one of my least promising students this summer and the relay controlled extension cord I used in the penguin.
In short, as the thing moves back forth, it hits a switch which turns a lamp on or off which in turn changes the direction its moving in. There’s two seperate circuits at work. Yup… that’s pretty much it.