What resolution are you after? 50 mV? 100 mV? 250 mV?
VO : output
R_ratio: voltage divider resister ratio
MCU measurement range : 0~3.3v / 10bits
level-shift :10v--> 3.3v
analog error :resister 1% + opamp offset
due to analog error is fix constant value, can be easily added in MCU's programming
Vo =30v range
3.22mV * R_ratio = 9.66mV resolution while: R_ratio=3.
Vo =50v range
3.22mV * R_ratio = 12.88mV resolution while: R_ratio=4.
...and so on...70V...90v...110v...
i need 200V range, so far i can get 190V range with digital range at 8 bits