Saturday, October 02, 2004

Candy Corn Switch

Yesterday we made a switch out of a candy corn cylinder from CVS pharmacy. Placing two parallel metal screws through the container the metal ball would close the switch when both contacts (screws) were touched. If bumped the ball rolls forward off the contacts and the switch is closed. This is where we will program in some logic to use the open switch to play the tape player for a few seconds.

All in all the switch isn't pretty but it works - no real need for asthetics because it will be hidden inside the head of the broccoli.


Will post pictures later.

----------------------------------------------------
Building the circuit.

We built a circuit with 2 different voltages on 2 separate buses. 1 with 3.7volts from the adjustable voltage regulator and the other bus with regular 5V. We discussed the situation and knew that we must keep the buses separate all the time and the closest they can get is at the reed relay. We programmed the PIC and then set up the relay and after some simple debugging we had the switch controlling the power of the tape recorder.

Today, saturday, we will clean up the board's wiring and test it out with 2 9V batteries.

0 Comments:

Post a Comment

<< Home