News

Instead he looks at using the 1.1V internal reference. He’s written some short example code that let’s you measure the incoming line voltage based on that internal reference.
That resulting signal is a square wave, which is an easy target for the Arduino to measure. That timing measured from the square wave can then be used to calculate the inductor’s value.
You can characterize a semiconductor device to be its own temperature sensor by using an accurate four-wire measurement technique.