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