A | B | C | D | E | F | G | H | |
---|---|---|---|---|---|---|---|---|
1 | ||||||||
2 | ADC voltage per unit | 0.00431372549 | internal votage reference of | R1 | 19100 | standard nanjg is 19100 ohm | ||
3 | Tiny is about 1,1V, but this can slightly differ | R2 | 4700 | standard from nanjg is 4700 ohm | ||||
4 | Voltagedividing factor on R2 | 0.1974789916 | ||||||
5 | ADC Value | 126 | ||||||
6 | needed Voltage on R2 | 0.5435294118 | Voltage on controller,batteryvoltage | 2.75 | maybe reduce because of voltage drop on diode | |||
7 | Voltage on R2 | 0.5430672269 | ||||||
8 | ||||||||
9 | ||||||||
10 | Voltage | 2.752340426 | Resulting ADC value | 125.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, treshold2 | 2.533900709 | ||||||
13 | Voltage-15units,treshold3 | 2.424680851 | ||||||
14 | ||||||||
15 | ||||||||
16 | ||||||||
17 | yellow=needed value | |||||||
18 | green=result | |||||||
19 | ||||||||
20 |