Hello!
I try to build a autonom watering and monitoring system with Hydrosys4 software and a raspberry pi zero w connect to a solar panels system and battery.
It's possible to use this kind of Sensor for read anaolg voltage input ? It's compatible with Hydrosys4 ?
https://www.adafruit.com/product/904
In this case, I can monitoring directly from the Hydrosys4 interface the battery level 👍
Thanks you for the help ;-)
Ps: sorry for my English
INA219 is a popular IC to use with Arduino and Raspberry Pi to measure current, voltage and power. It uses I2C communication however, there are two known problems with these modules.
These lack filtering, and exposes the IC to transients and noise, which often breaks it. Another issue is related to voltage measurement. To measure voltage accurately one needs ground reference from the power side. But, there is also I2C communication, which requires a ground reference from the Arduino or Raspberry side. These two references have a small difference, because of the voltage drop in wires. If two of these references are joined together, there will be a ground loop, which causes all sorts of issues. If they are not joined together at INA219, then the voltage reading will be inaccurate. For example, a high current on the power side results in voltage measurement to be lower than it actually is.
To solve the first issue, a proper RC filtering and TVS diodes are added around the current sense resistor. The second issue is solved by using a Ti's ISO1540 I2C isolator, which galvanically isolates I2C bus. Personally I meassure only current with a analog to analog isolator. Input Current output Voltage. In between is a analog to digital - opto isolator - digital to analog conversion. I think this is also as a tinker board available. ah, here it is, under 5 euro. https://www.ebay.de/itm/New-4-20mA-0-5V-Current-To-Voltage-Module-Board-Insulation-Signal-Converter/222513574113?hash=item33ced7b0e1:g:6usAAOSwtGlZG0Hi Now on the current side you can add a resisotor in Line to restrict the current to 4-20mA and and a filter, hook it up streight to the Solarvoltage. Adjust to your needs until you get the desired voltage range at the input of the Pi (MCP3008). In this case it doesnt matter how long your wires are.
Solar powered, that's very cool! The solar controller has also USB output, this very convenient, never seen before. Great job, look forward to see some graph about battery voltage.
System finally installed !! 👍
Someone have a discount code or decrease the shipping cost ?
Wow !! I would like to order the hat board but the shipping cost is so expensive !! 😳
Great ! I try to order this board soon as possible 👍
Hi, sorry for butting in, I do have the same board you mentioned and yes you have the analog 0-15v right there 👍
Do you mean this Hat ?
https://www.tindie.com/products/angelova/automationirrigation-hat-v10/
I was thinking is only 0v -5v analogue input ? 15v is possible too ?
Hello There,
The system is not compatible with that sensor, anyway It has the I2C interface and if you are familiar with Python the integration should not be so difficult.
What I do not like about Adafruit products is that even if few lines of code are needed to integrate this sensor they will ask you to install the overall libraries.
I also have a solar panel setup in my house, I monitor the battery voltage using the Automation HAT which has the 0-15v input.
Regards,
Angelo