I had been thinking a long time about building something to show who is home and who is not, so one day I finally got up and grabbed a friend who knows more than i do about electronics (which is easy ;-) ) and he helped me with the diagrams. Big thanks to Lufe! :)
What this does, is light up green or red leds when you press the push button, depending on who is home (or who forgot to change his switch to "away" ;-) ). That way, when you are about to leave and you see all other red LEDs lighting up, you know you should put the alarm on.
It doesn't require any special knowledge, just very basic soldering skills and being able to use a drill.
Step 1: Material List
- 1 Battery holder for 4 AA batteries.
- 1 Project Box
- 7 Green LEDs
- 7 Red LEDs
- 14 LED holders
- 7 Resistors (470 Ohm)
- 7 Switches
- 1 Push Button (Default open)
Step 2: Diagrams
It's pretty self-explaining, but I'm going to explain it for dummies like me: the anode (positive pole, red cable) gets out of the battery holder, first it gets interrupted by the push button, then it goes to all the middle pins of the switches. Each remaining pin from one switch is connected to the positive end (the round one, long pin) of one led. From the negative pin of the LED it goes to the resistor, and from there to the cathode (negative pole) of the battery holder.
Step 3: Marking and Drilling
So first I marked the holes with a pencil so I could erase everything, which I later promptly forgot to do.
For the center holes (for the switches) I used a 6mm wood drill bit which I found at home, and for the LED holders I used an 8mm wood drill bit. I did it nice and slow and it worked quite well.
The lonely hole on the side you see in the last picture is for the push button, also 6mm.
Step 4: Setting Stuff in the Holes.
I know its not perfectly aligned, but that's an artistic thing, don't worry about it.
Step 5: Start Connecting
Step 6: Solder Away!
I also hot glued the battery holder to the top of the box so it wouldn't bounce around. As funny as electronics usually are, when I checked everything before glueing the holder, it worked. When I checked it again afterwards, it didn't. When I ripped it off, it worked again. And when I finally glued it down again, it worked. I think I tired it out. Now it comes running when I whistle ;)
If you compare the picture with the diagrams, you might even find coincidences.
The only thing I noticed afterwards is that maybe I bought the wrong type of switches, as with this layout, the LED looking away from the switch lights up, instead of the LED the switch is facing. I would have to change the positive poles of the LEDs to the other pin, but I got tired and it isn't THAT bad this way. (See step 7).
It's probably also a good idea to isolate the connections so you don't get any shortcircuits, but I was lazy and it wasn't going to get tossed around too much, so I just hoped it was going to work. And it does :-)
Step 7: Finish It Up
The first picture shows how it looks when you are not pressing anything and the second one shows it in action. You can also see what i meant in step 6 when i said that the LED facing away from the switch lights up.