LTC also makes a isolated part that would work...used it in my past life, so I don't recall the number but it worked very well Matt Pobursky wrote: On Wed, 13 Jun 2007 06:46:50 -0600, Forrest Christian wrote: > I've been working on trying to design a circuit which will allow me to > monitor state-of-charge and charge/discharge current for solar sites. I'd > love to use the onboard ADC on a typical PIC to keep the cost down, but > this isn't necessarily 100% a requirement. > > Array voltage is easy.. Just attach to ADC through some precision > resistors and away you go. Current not so much, since I will be using a > shunt to get the current information (unless there's an easier way to > measure up to tens of amps DC). The basic configuration would be simply > to measure the drop across one shunt, although it would be nice to be > able to do more than one (I.E. one for the charge path and one for the > discharge path, or perhaps one for solar in and one for wind in and one > for load out). > > If I require the shunt on the neutral side, I can then measure anything > positive - but the negative swing is an issue. If the shunt is on the > high side, then I have an issue with the high side rail. > > How do people typically measure + and - voltages which come off of the > DCA shunt? Although I'm normally not one to recommend Maxim parts, you might look at the MAX4069-4072 parts for a project that's a one-off (or a few-off) and get samples from them. They are bidirectional high side current sense amplifiers and designed for exactly your kind of application. Most of the other "analog guys" also have high side current sense amps. I can't recall if any of the others have bidirectional parts or not though. Matt Pobursky Maximum Performance Systems -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist --------------------------------- Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist