Put a resistor from the current supply to ground. Calculate the value so 20mA works out to 5v (or your PIC operating voltage). This will work for a hobbyist ... if you need high "product"quality, then use an op amp to buffer it.
Put a resistor from the current supply to ground. Calculate the value so 20mA works out to 5v (or your PIC operating voltage). This will work for a hobbyist ... if you need high "product"quality, then use an op amp to buffer it.
Bookmarks