# Check if Voltage is in a certain range

I did not really found anything on google to accomplish my idea, so try here to find out an answer:

My task is defined as follows: I need to check if the input voltage is in a specific range. Lets say, for example: 5V +/- 10% so Vmin=4.5V and Vmax=5.5V. If the input voltage is in the acceptable range then light up a LED and start a microcontroller else do nothing at all.

The problem: the voltage I want to check is the only voltage available, so I can't compare it to another for example.

I already came up with a solution but I don't think its perfect: use a simple zener diode in reverse and wait until it becomes conductive and then switch a transistor or so.

Is there a better and more professional way to do it?

EDIT: I just found a Voltage Detector IC (click) with a really low supply voltage, would that be an acceptable solution?

• I just found a Voltage Detector IC... Part number? – tcrosley May 29 '15 at 16:57
• Voltage detector- if you mean the one that keeps microcontroller in reset, than it's fine, but it usually only checks the undervoltage condition. Also it is actually integrated comparator with voltage reference and voltage divider. And also, if this is a homework, i bet your teacher expects to see zener reference and comparator. – Gregory Kornblum May 29 '15 at 16:59
• How low can the voltage go, and still need to get a correct output? – The Photon May 29 '15 at 17:01
• If correct behavior at low voltage (say below 2.5 V) is not required, then look for other q/a on the site about window comparators. – The Photon May 29 '15 at 17:02
• Are you sure you need to detect voltage > 5.5? Assuming your supply is connected to the microcontroller, there's not much you can do about it. Otherwise, your linked IC is fine for what you need. Search for "voltage supervisor" circuits. – WhatRoughBeast May 29 '15 at 17:25