Bob Blick says:
All you need is seven resistors(six if you have a great collection) and an opamp to do high-side current measurement. If your opamp is a rail-to-rail output type, you can run it on the same supply as your [processor] (5 volts):Note: I give myself an "0x41" in ascii art! 0.1R 24in-*--\/\/\/\--*---24out | | \ \ / 1M 1M / \ \ | | 10M | *----/\/\/\/----| | | |\ | | *----|-\ | | | | >-------*---- 5v=5A *-------------*--|+/ | | | |/ \ \ \ / 100K 100K/ / 10M \ \ \ | | | ---*-----------*-*-- ground
The voltage dividers(1Meg,100K) lose 11 to 1, but the opamp gain is set at 110, net gain is 10. The opamp's inputs are sitting at about 2.4 volts, so they are quite happy. Use one of them new-fangled Microchip-brand opamps and you're sitting pretty. Expect a little offset error using a circuit with this much gain.
Roman Black says:
Here's a simple suggestion, run two simple resistor dividers from each side of the resistor to GND. These can feed 2 ADC inputs on the [computer]. So instead of measureing 0.5v across the resistor you are measuring 24v and 23.5v both with reference to ground, this is very low parts count and will work fine. Just subtract them in software.
Resolution will be a bit lower, and it uses two ADC inputs, not one. But it might do what you need. :o)
|file: /Techref/io/sensor/amps.htm, 2KB, , updated: 2005/6/22 17:01, local time: 2018/11/14 17:03,
|©2018 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/io/sensor/amps.htm"> Current Sensors</A>
|Did you find what you needed?|
PICList 2018 contributors:
o List host: MIT, Site host massmind.org, Top posters @20181114 RussellMc, Van Horn, David, Sean Breheny, David C Brown, Isaac M. Bavaresco, Neil, Bob Blick, John Gardner, AB Pearce - UKRI STFC, Harold Hallikainen,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!