The idea was simple enough; create a phone charging dock that would turn on a lamp only when the phone was charging. However, as is often the case, things that seem initially simple can end up getting a bit more complex in their execution. This is the story of how I created a dual phone charging dock that accomplishes my simple task.

Step 1: What I Used

This is by no means an exhaustive list of everything I used, but I wanted to give a general idea of the major components I used. I've included Amazon links for most of these components. (Note that I get a small commission from Amazon if you use these links. Thanks!)

Arduino Uno: http://amzn.to/2c2onfe
Adafruit 5V DC Current Sensor (x2): http://amzn.to/2citA0S
2-Channel Solid State Relay: http://amzn.to/2cmKfkA
4-Port USB Box: http://amzn.to/2cmKfkA
1' Panel Mount USB Cable (x2): http://amzn.to/2cmKfkA
6" A-B USB Cable: http://amzn.to/2cmKfkA

I also used the following supplies that I picked up at the hardware store:
4"x4" Plastic Conduit Boxes (x2)
40W Edison Light Bulbs (x2)
Light Bulb Socket
Track Light Bracket
Assorted Black Iron Pipe (3/8")
Assorted Brass Pipe Fittings
3' Extension Cord
Wire Nuts

<p>how do you connect the bulb to the arduino? I am a little confused.</p>
<p>I use a 5V to 120V solid state relay to switch the bulb on and off. The arduino sends a digital signal (5V) to the relay telling it to switch on the 120V side of the relay. Power flows from the outlet (power cord), though the relay, and to the light bulb.</p>
R.I.P. the charging port if you accidentally push the phone
<p>Haha. Yea. I was hesitant to do it this way, but then thought I would try it as Apple basically sells the same design - for $50! <a href="http://www.apple.com/shop/product/MNN62/iphone-lightning-dock-black?fnode=42">http://www.apple.com/shop/product/MNN62/iphone-lightning-dock-black?fnode=42</a> I should have just went with my gut feeling I guess.</p>

About This Instructable




Bio: As long as I can remember I've been building stuff. I think it's high time I shared these projects.
More by makjosher:The Ski Sled A Simpler Tripod Illuminated Logo 
Add instructable to: