ABCDEFGH
1
2
ADC voltage per unit0.00431372549internal votage reference of R119100standard nanjg is 19100 ohm
3
Tiny is about 1,1V, but this can slightly differ
R24700standard from nanjg is 4700 ohm
4
Voltagedividing factor on R20.1974789916
5
ADC Value126
6
needed Voltage on R20.5435294118Voltage on controller,batteryvoltage2.75maybe reduce because of voltage drop on diode
7
Voltage on R20.5430672269
8
9
10
Voltage2.752340426Resulting ADC value125.8928571
only integer number can be selected, just fill in the rounded value in the right field and check what the real world Voltage can be
11
12
Voltage-10units, treshold22.533900709
13
Voltage-15units,treshold32.424680851
14
15
16
17
yellow=needed value
18
green=result
19
20