In the string of comparators, are the comparators the same value or how does it not activate them all at once.
Reference voltage is divided equally over the string of 1k resistors.
10% on the first tap, 20% on the next tap, 30% on the next, etc.
The comparators each compare input voltage (the battery) to the voltage on their tap.
If a comparator senses that input voltage is higher than their tap voltage, the corresponding LED is turned on.
It should be clear that the comparator with the lowest tap voltage is the first to turn on when input voltage rises.
For my r2 resistor, where does the extra 1k come from?
There is already a 1k resistor between the string and RLo (pin4).
Adding 18k between Rlow and ground will turn that 1k resistor into a 19k resistor.
Also im still not 100% positive what the reference voltage does?
Think old fashioned balance scales.
You put a calibrated weight on one side (the reference) and the product on the other side.
When it tips, then you know the product is heavier than the reference.
Leo..