Showing posts with label DIY. Show all posts
Showing posts with label DIY. Show all posts

Sunday, September 2, 2012

DIY Doors on Coffee-Table TV Stand

 The completed project!  Opens and closes like a charm!!


Keep your electronics safe from infant hands, and give them one less shelf to bonk their head on!


Why?

This project had a simple motive: I had been using an Ikea coffee table with a few side tables as a DIY TVstand (see previous post).  This was going great until my 7-month-old son finally figured out how to pull himself up high enough to reach the electronics underneath.  Long story short, I needed a TV stand with some kind of doors in front. 

Solution 1: Buy a new TV stand with doors in front.
Boring, surprisingly expensive, and my furniture-buying budget is approximately nothing, so on to…

Solution 2: Install my own door!

Parts

3 – 3” Utility/DoorHinges (about $1.50 each, comes with screws but they were a bit long and would have stuck out the back.  You would be fine using just 2 hinges)
6 – Shorter screws.  I don't remember the diameter, but they need to fit the hinge holes and not be longer than about 3/4" or they'll stick out the back of the shelf.
1 – 10” x 36” BlackShelf ($7) for the door.
1 – Babyproofing Drawer Latch ($1, this style)
Total: $12

Instructions

More pictures are included below for clarification.

1) Cut the shelf down to 10” by 31-1/8”

2) Attach the hinges to the door.  Be very careful that they are on straight and that you’re on the correct side of the hinge.  For the hinge to open out, the shelf needs to be attached on the inside of the hinge so it can be flush with the front of the coffee table but not hit the top when it swings out.  Before you screw anything in, hold up the shelf and hinges and move it through the full range of motion to make sure you’re right!  Also, being so close to the edge of the shelf you should really drill pilot holes before you put in the screws.

3) Screw the hinges to the underside of the topmost piece of wood of the coffee table.  Make sure the hinge is recessed in a bit.  The front surface needs to be flush with no hinge edges, shelf corners, or anything else a falling toddler would hit their head on.  Your kids should at least stay as safe as your PS3.

4) Attach the base of the latch (not the hook part) to the underside of the bottom piece of wood in the TV stand.

5) Attach the hook part of the latch to the shelf/door.  It should be lined up so it closes easily but won’t slip open on its own.  I had to attach a thin piece of plywood between the shelf and the latch to make the latch reach the base.

6) If you want, tape off the wood and spray paint the front of the hinges.  My wife liked the metal look.

Note: One seeming problem here is that the sides of the coffee table are still open for little fingers to enter.  In our case, both sides face side tables with blankets under them, so it hasn't been a problem.  You could use mesh, more wood, etc. to permanently wall off the sides if you need to, as you shouldn't need to open and close them.  

Steps 2–3: Attach the hinges and door

Step 4: Attach the latch

So much space for things!

1 Coffee Table + 2 Side Tables = Awesomely Wide TV Stand for $40

76" wide x 22" deep x 18" tall, this TV stand cost me $40, 12 screws, and two pieces of scrap wood

Backstory

Back when I was in college playing Wii on a 27” CRT TV in my one bedroom apartment, I got a $20 coffee table from Ikea and used it as a TV stand.  Fast forward a few years, a couple of bucks, and one 8 month old, and I needed a solution for my 47” flat screen.  The coffee table wasn’t long enough, so the TV stuck out over both sides.

The Fix

1) Buy two $10 side tables (the nearest Ikea is 7 hours away from me now, so I had to buy some from Walmart that were close) and put one on either side of the coffee table.

2) Kids pulling them apart?  Use some scrap wood and a few screws to hold them together.  I put 3 screws into each side and it’s sturdy and invisible unless you're underneath.

A few screws and a 5"x10" piece of plywood make it toddler tough.

Bottom Line

1 $20 coffee table + 2 $10 side tables = $40 for a 76” x 22” x 18” TV stand.

The door on the front was another baby-proofing step, and the topic of my next post!

Monday, April 30, 2012

DIY $7 Night Vision Baby Monitor

Checking the kid on my iPod Touch.  See sample video at bottom!

The Problem
This project had simple motivation: I wanted a video baby monitor, and I didn’t have a lot of money.  I didn’t need sound, as the baby’s room is right next to ours, but I didn’t want to have to get up every time I heard him cry to see if he’s okay.  There are great products out there if you’re willing to throw down $100, but I’m a grad student with a budget.
 
 Thinking of a solution
My first thought was just to train a webcam on him, but I didn’t want to have to shine lights in his face all night.  So, I needed a way to see in the dark.  In my brief research, I found two basic ways people do night vision.  One is to use photomultipliers, which basically just shine 10 photons of light at you for every one its sensors see.  Good for military night vision, bad for us.  The other is to flood the area with IR light and use an IR sensitive camera to detect it.  This is easy enough, but where do you find an IR sensitive camera?  Well, between your phone, webcams, etc. you already have a lot of them. 

The IR Webcam You Already Own
The light sensors on digital cameras are sensitive to a huge range of light, ranging from the IR spectrum through the visible and a bit into UV.  To achieve their goal of only capturing visible light, digital cameras put IR filters somewhere between the lens and detector.  These aren’t perfect (you can test your remote control by pointing it at a webcam and you should see a faint white light), but they block out most of the IR.  Basically, to make an IR-sensitive camera you can just take an average webcam and remove the IR filter.

The Big Picture
So what we’re going to do here is remove the IR filter from our webcam, make some USB-powered IR lights, and broadcast the webcam feed over our local network.  By the end, you should be able to view your night-vision webcam on any computer, smartphone, iPad, iPod Touch, PS3, or anything else on your network with a web browser.

Parts List
3 IR LEDs ($0.60, 20 pcs for $4)
1 25 ohm (or greater) resistor ($0.01, 1000 for $7.50 on eBay)
1 USB Cord ($1 at any dollar store.  Get an A/A (Male/Male) one and you can use it twice!)
1 old useless CD (come on, you know you have one)

OPTION A:
1 Super Cheap Webcam ($5, I used a Creative Live! Cam Vista Webcam.  Works fine, easy to remove filter, does NOT work with Mac OS).
1 Old computer (Everyone has an old laptop around, right? If not, you could just not use your laptop when baby is sleeping.)

OPTION B:
1 Wireless Wifi IP Webcam ($50ish on eBay.  I haven’t used them, so good luck.)
--------------------------------------------------------------------------
Total Cost = about $7 with an old computer.
                   = about $50 with an IP webcam

Step-By-Step
Step 1:  Remove your webcam’s IR filter.  There are a few good sites describing how to do this.  For the webcam I used the hardest part was opening the case, and that wasn’t bad.  After that, I just unscrewed the lens until it came off and the IR filter popped right out.  Try here for help, or just google it!  http://www.hoagieshouse.com/IR/

The ridiculously simple LED light circuit diagram in poorly-focused picture form!
Step 2: Weld together the IR lights.  As with my flashing alarm clock demo, I like to set LEDs in old CDs because they are rigid, easy to work with, and you probably have a bunch lying around.  They also have a hole in the middle convenient for putting the lens of a webcam through.  For the power, just take scissors and cut your USB cord in half.  There should be 4 wires inside.   Red is +5V and black is 0V/ground.   The white and green wires are for data: we won’t be using these. 

The CD happens to have a convenient lens-sized hole right in the middle!

View from the back.  I used electrical tape to hold it together before I bought a glue gun, so forgive the black junk.

(Note: I really like using USB power supply for all sorts of electronics projects.  One is because years of cameras, cell phones, etc. have left me with a handful of ACàUSB converters.  The other is that if I utterly destroy the USB cord, they’re cheap and easy to replace.)

Step 3: (Note: If you’re using the Wifi IP Webcam approach, you don’t need this). Get some software that lets you broadcast your webcam on your local network.  I found Yawcam to be super convenient and easy to use.  In Yawcam, it’s the “Stream” option that you’re looking for. 

Step 4: Fire up your Kindle, iPhone, Laptop, or whatever and point it to whatever address Yawcam tells you.  For sanity’s sake, try not to be too compulsive checking it!


Video feed during an afternoon nap

Video taken at night.  The blanket at the bottom is actually 
blue with white dots, but in the IR it all looks the same.

Sunday, April 22, 2012

$5 Flashing LED Light Alarm Clock


Don't mind the crying kid in the background

I had two basic problems that led me to this project:
1. I needed something to wake me up without waking up my wife.  (Headphones fall out of my ears overnight.  I thought of that.)
2.  I hate the sound of alarm clocks.

My answer: the LED light alarm clock! LEDs are problematic for normal lighting because the light is only bright within a narrow range.  For us, this is perfect as it lets us focus the light on just one person, letting the co-sleeper snooze on.

Parts and Cost:
1 Cheap Alarm Clock ($1.99, eBay)
5 White LEDs ($0.35, 50 for $3.29, eBay)
1 2N3904 (or other NPN) Transistor ($0.20, 15 for $2.99, RadioShack)
1 8 ohm Resistor ($0.01, 1000 for $7.50, eBay)
1 2 x AA Battery Holder ($1.99, RadioShack.  abt. $0.50 on eBay)
2 AA Batteries (You probably have some around)
–––––––––––––––––––––
Total = About 4 or 5 bucks

Warning:  Some of this goes against good electronics practice.  Just so you know (see step 3).

The basic concept here is that somewhere in your average alarm clock is something that makes sound.  For it to make sound, it needs pulses of current.  Using a transistor, you can use that current to switch on current for whatever you want!
The left circuit is the part built into the clock.  The right circuit is the new part.
The question marks stand for whatever is going on inside the clock.  We don't need
 to know how the left part works, just that when the alarm goes off we get current. 

Step-By-Step:
Step 1: Open your alarm clock, find something that looks it makes sound.  Use your multimeter to figure out which side is giving it positive current and which side is negative.  Cut out the sound part

Step 2: Connect the positive side to the base of the transistor.  Connect the negative side to the emitter.

Step 3: Connect the LED circuit as shown in the diagram.  The positive end goes to the collector, and the negative to the emitter.  I use old CDs to set the LEDs because they're rigid, easy to put holes in, and I have a stack of 50 CD-Rs that I'll probably never use in the thumb drive/MP3 age.
 
(Note: Using just one current-limiting resistor for the whole LED array isn’t really a great idea.  Here, the 8 ohm resistor limits the current to (3 V – 2.2 V) / 8 ohms = 100 milliamps.  We just assume that the current will divide evenly giving us 20 milliamps per LED.  With variation among LEDs, it might not be evenly split.  Also, a bigger problem is that if one of the LEDs goes out we still have 100 milliamps, but only divided 4 ways. This gives us 25 milliamps each, which is more than the LEDs are rated for.  It would be better to use a resistor in series with every single LED.  I just didn’t feel like it at the time.)

Step 4: Enjoy!

Just a normal everyday alarm clock

The LEDs.  Get some use out of that stack of CD-Rs you'll never use!

Don't try to take this on a plane, it might look awfully suspicious.