120v control


Closed Thread
Results 1 to 12 of 12

Thread: 120v control

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Location
    Maryland, USA
    Posts
    15

    Default 120v control

    I'd like to build a circuit where I can control 120v AC, basic on/off switch. I would also like to be able to control 12v DC with the same PIC chip. I an fairly new with programming but feel I can acomplish the programming necessary for this task. The hardware part I am very unfamiliar with, besides the basic voltage circuit, for pic. . along with connecting led's and basic push switches.

    I found this relay that seems like I could connect it straight to the pic chip and attach terminal strips to the other side of the coil.

    https://www.jameco.com/webapp/wcs/st...oductId=175214

    I would greatly appreciate if anyone could give me some advice with the hardware side of this project. If anything, the relays and how to go about connecting them to the pic. Thanks for any feedback.

    James

  2. #2
    Join Date
    Jul 2007
    Location
    Maryland, USA
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    thanks, the info you've provided is greatly appreciated.

    Does this look like the hardware necessary for connecting an IC to a relay? or is there potentional for failure here?
    Attached Images Attached Images  

  3. #3
    Join Date
    Oct 2005
    Location
    Loveland CO USA
    Posts
    83


    Did you find this post helpful? Yes | No

    Default

    Try this.
    12 V relay coil?
    Attached Images Attached Images  

  4. #4
    Join Date
    Jul 2007
    Posts
    10


    Did you find this post helpful? Yes | No

    Default

    I want to try and automate my new home for fun. I would also like to learn how to control 120v appliances with a PIC. I would like connect some sort of sensor (maybe pressure) to the PIC to help control the appliance automatically.

    Besides the sensor, PBP, PIC chip, what special hardware would I need for this? Does anyone have some sample code about this sort of thing?

    Thanks

  5. #5
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    Use a solid-state relay. OMRON and others make them and they can be driven directly from a PIC pin.
    Charles Linquist

  6. #6
    Join Date
    Mar 2006
    Location
    Pennsylvania, USA.
    Posts
    130


    Did you find this post helpful? Yes | No

    Default

    I've used the X-10 example in the PicBasic Pro manual along with a TW-253 interface to control lights, and turn the Christmas tree on and off. The modules are inexpensive, I got mine from Radio Shack. For driving relays I usually use the ULN2803, a darlington driver chip that will drive up to eight relays, (but not all eight at once,) I also like the Omron relays.

    Jerry.
    If your oscilloscope costs more than your car...

  7. #7
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Charles Linquis View Post
    Use a solid-state relay. OMRON and others make them and they can be driven directly from a PIC pin.
    I agree - simple to interface, and quiet in operation - I used 8 in a "disco light controller" to switch 240 vac spot lamps. They can be expensive, but if you're lucky, e-bay can result in a cheap purchase

    EDIT:

    Just searched e-bay - 240v 4 amp SSR - pack of 4 for a buy now price of £5.99 plus £2.50 PPH
    http://cgi.ebay.co.uk/solid-state-re...QQcmdZViewItem
    Last edited by malc-c; - 2nd March 2008 at 10:55. Reason: added link

Similar Threads

  1. How do I give a radio control car autonomous control
    By Kenjones1935 in forum General
    Replies: 190
    Last Post: - 17th January 2010, 15:40
  2. pt2258+16f877 how can i use for 5.1 volume control ?
    By whyliving in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 26th January 2008, 17:51
  3. No one-way approach to learning ir remote control frequencies
    By selbstdual in forum mel PIC BASIC Pro
    Replies: 41
    Last Post: - 22nd June 2007, 13:26
  4. Control unlimited servos at the same time
    By mrx23 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 19th September 2006, 14:14
  5. Control RC servo via Parallax Servo Control
    By cibotsan in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 17th September 2005, 08:18

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts