Arduino Internet Controlled Desk Lamp

 by geo bruce
Featured

Step 3: The circuit

relais.jpg
relay.jpg
Connect everything as shown in the image.
Connect the base of the transistor to the pin used in the code I used pin 13

Connect your light bulb in series with switching contacts of the relay.

And connect your arduino to your server.
 
Remove these adsRemove these ads by Signing Up
mbtria says: Jun 4, 2013. 2:49 PM
I don't know much about electronic circuits (though I do put in new mains circuits), but am interested in being able to switch 110V circuits (US) where I have power, but no feasible wiring for switching (log home). I was considering using XBee/Arduino for this, but thought that a latching relay would be more appropriate to save battery power. Any comment?
geo bruce (author) in reply to mbtriaJun 5, 2013. 8:08 AM
sorry I don't fully understand your question
but have a look at x10
mbtria in reply to geo bruceJun 5, 2013. 9:48 AM
Thank you for taking the time to respond. Sorry if I was obtuse.

I have had X-10 for about 10 years for control, but I hear different things about how long they are going to be in business. I do know that a lot of prices on X-10 equipment are skyrocketing. I lost my bridge between the 110V legs on the 220V mains, and the price is now double what I paid for it.

I was also using Dallas 1-wire tech for sensors, but they seem not to be expanding their line in ways useful to me. And they have dropped a part or two which are critical, so I was thinking about switching to I2C, XBee and Arduino.

My real question is have you ever used a latching (bistable) relay in such a circuit? If so how did it work out, or do you have an opinion on using such a relay?

Thank you again.

badenuff says: Oct 18, 2012. 10:29 PM
hi Geo Bruce,
quick questions,
1) can i substitute these? 2N3904 for 2N2222; and 1N4007 for 1N4004.
2) is the relay you're using, 6 pin? just want to make sure.

Thanks,
Sean
geo bruce (author) in reply to badenuffOct 19, 2012. 8:12 AM
1) yes to both
2) doesn't matter
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!