cameo_2007,
I cant change the Vcc since it is tied directly to microcontroller where its HIGH logic is 3.3V
Keith,
What I want to achieve is whenever the non-inverting (IN+) is below than Vref (IN-), the output will switch from HIGH to LOW. For the earlier case, the Vref after voltage divider circuit is around 3.8V. So basicly, when the Vbat id dropped to 3.79V I will get an interrupt at microcontroller's side which in this case is the output of the comparator.
By the way, can I use 1.7V as voltage reference instead of 1.25V?
I attached a new schematic. Please help to review. This time around, I changed to voltage divider value at inverting input so the Vref become 1.78V while the non-inverting input is set to 1.75V when the Vbat value is drop to 3.7V. I havent test this circuit but it is just a rough idea.