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 18:01, local time: 2013/6/20 02:19,
|©2013 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 2013 contributors:
o List host: MIT, Site host massmind.org, Top posters @20130620 RussellMc, IVP, alan.b.pearce, veegee, Bob Blick, John Gardner, Isaac Marino Bavaresco, Sean Breheny, John Ferrell, Carl Denk,
* 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: None at this time. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!