Window Comparator Drives Bicolor LED

April 18, 1994
Using just one bicolor LED, this window comparator can display the status of an incoming voltage (see the figure). The LED is green when the voltage is within limits, red when it's low, and flashing red when it's high. In the setup, U1 is wi

Using just one bicolor LED, this window comparator can display the status of an incoming voltage (see the figure). The LED is green when the voltage is within limits, red when it's low, and flashing red when it's high.

In the setup, U1 is wired as a conventional window comparator. Typically, both of U1's outputs are low when the voltage is in tolerance. As a result, there's a high at U2A-3 and a low at U2A-4, lighting the green LED in D3. The flash clock, U2D, remains disabled because pin 13 is low.

If Vin falls below the acceptable limit, the output of U1B goes high. This flips the states of both U2A and U2B via D2, lighting the red LED in D3 to indicate an undervoltage condition. The flash clock still remains disabled. If Vin rises above the limit, U1A-1 goes high instead. This also flips the states of U2A and U2B via D1, lighting the red LED. However, U2D-13 also goes high and starts the flash clock, causing the red LED to blink. This signifies an overvoltage condition.

R1, R2, and R3 are selected to give the desired window. Note that, for the flash clock to work, U2 must be a Schmitt-trigger device. D1 and D2 can be any small-signal diodes.

Sponsored Recommendations

The Importance of PCB Design in Consumer Products

April 25, 2024
Explore the importance of PCB design and how Fusion 360 can help your team react to evolving consumer demands.

PCB Design Mastery for Assembly & Fabrication

April 25, 2024
This guide explores PCB circuit board design, focusing on both Design For Assembly (DFA) and Design For Fabrication (DFab) perspectives.

What is Design Rule Checking in PCBs?

April 25, 2024
Explore the importance of Design Rule Checking (DRC) in manufacturing and how Autodesk Fusion 360 enhances the process.

Unlocking the Power of IoT Integration for Elevated PCB Designs

April 25, 2024
What does it take to add IoT into your product? What advantages does IoT have in PCB related projects? Read to find answers to your IoT design questions.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!