Controlling switches with a PIC


Results 1 to 11 of 11

Threaded View

  1. #5
    Join Date
    Apr 2006
    Posts
    92


    Did you find this post helpful? Yes | No

    Default

    The load is 5V dc. It's just a simple digital switch that I want to replace/control with the pic.

    I just need to control the grounding of the "incoming" 5V dc wire.


    If we removed the diode and relay, and disconnected "C" from the schematics "VCC" from this circuit: http://www.rentron.com/images/rely-drv.gif

    1. Attached a 5V dc voltage wire to the "C" of the 2n2222 transistor.
    2. Connected "E" of transistor to ground.

    Would the 5V dc wire (connected to "C") be brought to ground when the pic pin is high?

    Now, referring to the schematic as it is exactly in that diagram, is the transistor there just bringing the (-) of the relay to ground. In other words, when the PIC pin is brought high or low this action switches the relay (-) to either ground or "no connection"?

    Thanks again for the help.
    T
    Last edited by TonyA; - 4th March 2008 at 18:35.

Similar Threads

  1. HSERIN & Interupts (aka controlling PIC programs from a remote PC)
    By HankMcSpank in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 17th June 2009, 15:46
  2. Controlling stepper motor with PIC
    By The Master in forum Off Topic
    Replies: 3
    Last Post: - 1st July 2008, 11:21
  3. Controlling power to a PIC with another PIC
    By jswayze in forum Off Topic
    Replies: 3
    Last Post: - 28th May 2005, 20:44
  4. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th March 2005, 00:14
  5. Battery Backup with PIC controlling switch
    By Dwayne in forum Schematics
    Replies: 1
    Last Post: - 27th December 2003, 14:16

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