Quote Originally Posted by tallen View Post
I have a vairaible speed contoller that I would like to measure the current load on the unit. The load can be between 0 and 20 amps. I would like to be able to monitor the current in to the PIC. If the load get to high, I would shut the ouput down. Can anyone suggest a circuit to measure current?

Thanks,

Terry
You can use a shunt resistor in series with the load and measure the voltage across the resistor using ADC. Just make sure that you don't fry the PIC .

Robert