It looks like that would do the job but I was hoping to keep it simple (mainly because I don't understand all the stuff that is going on inside of Brian's board).DJJo14 wrote:Look in to a i2c adc. I googleed it an found http://www.briandorey.com/post/Raspberr ... erter.aspx
That chip looks like it could be part of the recipe.bgirardot wrote:Funny while we were talking about this someone posted a question about a specific ADC chip here:
http://www.raspberrypi.org/phpBB3/viewt ... 44&t=21328
That is a good example of just a bare IC that does ADC, so you would need to put that into a circuit to use it and interface it with the RPi.
Here is the actual chip they were asking about:
That's about right. Whether you need any extra circuitry depends on the sensors you're using. The Arduino can only read voltages between 0V and the supply (usually 5V or 3.3V), so to measure the voltage from 12V solar panels you need a voltage divider (which is just a pair of resistors).karlos13 wrote: So I guess this is the path:
Thanks for the links and adafruit looks good. Awesome help thanks all.mahjongg wrote:Adding a quality ADC to a PI is a much simpler solution
12 volt only, from the solar panel and the battery... I mentioned the hall sensors as they were attached inline to the solar regulator in the pic I linked earlier. That looked like the perfect way to do it.Tim wrote:What kind of currents are you planning to measure? Are they also at 12V?
Well, I'm not sure about that. For someone new to electronics a single USB cable might be easier than messing with the electrically-fragile GPIO connections on the RPi.mahjongg wrote:Adding a quality ADC to a PI is a much simpler solution than trying to add an arduino
That looks much better than the magnetic sensors. As long as you're within the 3.2A spec, I'd say it's ideal. It sounds like this board will even do the voltage measurement for you too.karlos13 wrote:Adafruit also have the INA219 High Side DC Current Sensor, http://www.adafruit.com/products/904 which looks perfect.