Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

Assistance with using ADC on my microchip

$
0
0
The device I am using is an esp8266 which uses an xtensa microcontroller if that is relevant. There is only one Analog to Digital converter pin on the microcontroller.
I connect a small resistor in series to a load. At one side of resistor is the neutral wire and the other side goes to the load. I want to measure the voltage across the resistor since by measuring the voltage I can find out the current in the wire ( I = V(mains) / R(resistor) ) which is an easy way to measure AC current....

Assistance with using ADC on my microchip

Viewing all articles
Browse latest Browse all 4923

Trending Articles