Auto testing bulbs


Results 1 to 13 of 13

Threaded View

  1. #5
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    I hate verbal descriptions of circuits... it always sounds more complicated than it actually is...

    Consider the attached schematic. The Lamp is driven by the PIC. Pin goes High, Lamp goes ON. A single ULN2004 can drive 7 Lamps. There are driver chips that can can do eight. Doesn't have to be a chip, you can use Transistors, but you need Base Resistors and all kinds of junk, and since the ULN can drive an inductive load (such as a Relay) you don't need Diode back-emf surpression as it's built-in.

    Just two components needed. A Resistor and a Zener. Those two parts will prevent the PIC pin from having 12v applied back to it. This example uses two PIC pins, one to drive the Lamp, the other receives a HIGH if the Lamp is Good, and a LOW if the Lamp is Blown.

    You can combine both on one PIC pin, but the circuitry would more components. As you have it now you just have one Resistor and one Zener per Lamp.

    Actually, as an afterthought, you'll need a second Resistor across the Zener (say 47K) to ensure the pin is Pulled-DOWN when the Lamp blows, otherwise it's technically floating.
    Attached Images Attached Images  

Similar Threads

  1. auto recloser ELCB
    By badbaik in forum mel PIC BASIC
    Replies: 5
    Last Post: - 5th February 2009, 14:54
  2. Auto SCART switching
    By The Master in forum Off Topic
    Replies: 6
    Last Post: - 5th August 2008, 01:12
  3. Condition testing
    By jtburnham in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 30th August 2006, 11:02
  4. Auto Baud Rate Detection
    By mytekcontrols in forum Serial
    Replies: 10
    Last Post: - 31st October 2005, 03:17
  5. Modem Auto Answer-Hanging for 1 min...
    By Ioannis in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 22nd August 2005, 10:38

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