Subscribe to EDN
RSS
Reprints/License
Print
Email

LED indicates power source

A zener diode lets detects the presence or absence of a power source.

Brian Conley, PE, Circuitsville Engineering LLC; Edited by Martin Rowe and Fran Granville -- EDN, August 26, 2010

 View as PDF


LED indicates power  source figure 1LED circuits with current-limiting resistors find extensive use as power indicators and for debugging circuits (Reference 1). In some cases, however, your design may require a different approach. Bipolar transistors have a little- discussed behavior: reverse active region. For low voltages and small currents, an NPN transistor can operate in reverse with a significantly lower gain, which can be undesirable. Some linear regulators also operate in this way.

The circuit in Figure 1 gets its inputvoltage power primarily from a wallwart dc-power supply that can provide 7 to 12V. It may also get 5V from a USB (Universal Serial Bus) port. This design requires a circuit that indicates whether the board is receiving voltage from the wall wart or from the USB port.

The circuit uses Q1, a 2N7002 FET, and zener diode D1 to solve the problem. The FET is in series with LED1 and current-limiting resistor R1. Diode D1 is a Vishay AZ23C4V3-V, which has a typical reverse voltage of 4.3V within a range of 4 to 4.6V. When Q1’s gate-to-source voltage exceeds its threshold-voltage range of 1 to 2.5V, the LED turns on. The voltage coming from the USB port is insufficient to turn on LED1 because of the voltage drop across D1. Thus, the LED illuminates when the board receives voltage from the wall wart, but not from the USB port.

Under testing, the LED illuminates when the input voltage is at least 7.1V. When it is below that voltage, the LED is off, indicating that the USB port is powering the circuit.

Resistor R3 comprises two 1-kΩ resistors in parallel. This setup is necessary because the input voltage is 12V and the zener diode’s minimum voltage is 4V. A voltage of 8V appears across R3, producing 0.128W—too much power for one resistor in a 0805 package.



Reference
  1. Conley, Brian, “Go on green,” EDN, June 24, 2010.
RSS
Reprints/License
Print
Email
Talkback
Canon Resource Center

Featured Company


Most Recent Resources

Advertisement
Related Content

No related content found.

  • 0 rated items found.
Advertisement

KNOWLEDGE CENTER

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
Engineering Careers
Jobs sponsored by
Advertisement
About EDN   |   Site Map   |   Contact Us   |   Subscription   |   RSS
© 2012 UBM Electronics. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy

Please visit these other UBM Canon sites

UBM Canon | Design News | Test & Measurement World | Packaging Digest | EDN | Qmed | Pharmalive | Appliance Magazine | Plastics Today | Powder Bulk Solids | Canon Trade Shows