That was an example with the cap.
You SHOULD add the transistor!. Just use cap for more stable reading when R's are higher and have more time waitng for sampling. Also you do nothave to keep the divider active all the time, just for the few ms to read the AD valu. Then switch it off.
Ioannis
Bookmarks