![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Before, I used the A/D capability of PIC16f877 to function as a 5V voltmeter and display it in a 16X2 LCD Display. this time, I want to measure current, how do i measure current in PIC? i just want to create a prototype and what ICs do I have to use? thanks.
__________________ Learning is a life-long process... | |
| |
| | (permalink) | |
| Quote:
The biggest problems are providing power for the PIC and opamp, if you have a seperate supply for them it's no problem, otherwise you need to get a little inventive!. | ||
| |
| | (permalink) |
| | |
| |
| | (permalink) |
| Just use a shunt like this http://www.mouser.com/index.cfm?hand..._pcodeid=66211 That particular one will drop .01 V/amp drawn across it. If you are talking about smaller currents, use a larger value shunt. You can use an op-amp to multiply the voltage and measure that, or you can get a precision voltage referance and hook that to the PIC as the upper voltage referance. That way you can have 10-bit resolution between gnd and the reference voltage (switch between different referances and you get different ranges) | |
| |