ESR meter with Arduino

Totoro:
Ended up doing some spice analysis on the schematic. The line is very linear! So with a simple slope formula should be able to get some good results. I currently have some 1% resistors in the mail, when i get them in i'll test this out.