Some notes from me:
In DT's schematic in that link, use 100K for R1 and 2K2 Trimpot for R2.
Apply 150V to your probes.
WHILE you are adjusting trimpot have your eyes looking at LCD for your ADC reading. Just use the raw reading. Do not scale it to anything.
Main reason for using trimpot: to drop from 150V down to 5V level, you use a resistor value around 100K or 150K. But say that you are using metal film resistor with %1 tolerance.
That means, your R1 can be 101K or 99K. You never know the actual resistance value in mass production. This difference of "1K" will give you a large deviation in your ADC reading. Thus, you need a fine tune, lets call it calibration by using a trimpot.
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Bookmarks