Hello, I want to build a small device that consist of two small solar panels, they will be angled in the same way my roof is angeld. I want to log power output over time, to determine which of my roof surfaces would be better to install solar panels on.
The solar panel i am using is a 6V 166mA unit. I have two of these. I also have an arduino uno.
I think if I log each value during the day, and look at the data, I should get a okay idea about which panel produces more power, and during what hours of the day. However, it would be nicer if I could meassure the actual energy production, instead of the voltage, so also meassure amp. But I'm way too novice to figure out how to do this.
Another challenge is power to supply the project, since the module is gonna be placed outside, I realize it needs to be battery powered, and wouldn't it be great of those two solar panel would actually charge the battery. I think it would.
I stumbled upen this little unit: https://store.arduino.cc/products/solar-power-manager-5v?variant=39894943891607 which should be able to charge the battery. I was wondering if anyone have experience with this module? Can I somehow hook into it and see how much power it receives from the colar cell. Because if that would be possible, then I could use two of this modul, to read energy production on each of them, while charging a battery that would power everything.
Any other suggestions is warmheartedly received, or if you know a project by someone else that achieves this, please don't hesitate pointing me to that project - I couldn't find it my self.
How much can those panels output? You want a dummy load for each panel in form of a power resistor, and something to measure with, like the module @jremington link to.
Thanks, this looks promising. Please confirm that I am reading it right, I can connect the solar panel positive to the vin+ on the INA219, and then connect my BMS to the vin- to draw the load and charge my battery.
Also, I want to be sure that it's suitable for meassuring power delivery, rather than pull, because I can only find examples where its being used with a non-variable power source, such as being powered by the arduinos 5v out. Would it work if powered directly be a solar panel that delivers variable energy?
For comparing power output you only need to log panel current, by connecting the panel directly to the V-in (shunt) terminals.
An INA226 has a higher resolution than an INA219 (11bits vs. 15bits).
An INA3221 is a 3-channel 219 version, so can measure three panels.
Leo..
if you substitute the 9v battery as power source with your solar panel, then you have 2 INA219, the first one measuring from the source (solar panel in your case) to the battery charger and the second from the solar breakout (in my case an Adafruit one) to the Arduino MKRwifi1010 who is powered by the source. The second arduinto MKRWifi1010 is the microcontroller that get the measures from the 2 INA219 connected and monitors current in milliAmpere from powersource to battery and from battery to the first MKRWIfi1010.
Hope this could be of some help to you. BR Andrea
Can we have a schematic of your circuit, not a Fritzy please?
A picture of a hand drawn circuit in jpg, png?
Hand drawn and photographed is perfectly acceptable.
Please include ALL hardware, power supplies, component names and pin labels.
Well known that panels angle on the roof is the same as your latitude angle.
Direction depends on North or South hemisphere...that's pretty much it.
No need for uC or the like.
@apagliari awesome, thanks for sharing, this helps a ton!
@bluejets For me its interesting to see which surface delivers more power during the hours I use the most (one surface gets sun in the morning, the other, later in the day - one gets some shade from other buildings etc.) - as I am not gonna be storing solar energy in batteries, and energy grid credit system will be phased out by 2030 where I live - so I have to be smart about this desicion.
The simplest way to measure would be to connect a high power resistor (at least 2W, maybe 50 ohms) across the panel terminals. Make sure the resistor has air-flow to keep it cool, and is away from the panel so that it does not heat the panel (that would make the panel less efficient). All you need to do to measure the power produced is measure the voltage across the panel or resistor, which you can do with a voltage divider and the Arduino analog input. Use higher values for the voltage divider than you chose before, to avoid affecting the readings, like 10K and 2K.
Panels are usually mounted flat against your roof, so the angle is the angle of your roof, not your latitude.
Power output can also be affected by the direction that the roof faces, the roof angle, the time of year, overhanging/shadowing trees or other buildings, weather....
Sometimes it cannot be avoided. My panels are in two groups facing east and west, because that's the orientation of the roof. In early morning and late evening, one of the panels cannot generate. The inverter has 2 circuits which enable one panel to generate even when the other cannot.
That may be ok for you.
In general terms, any solar installer worth their salt would ever do an install and accept shading to any degree.
You may accept driving around on a flat tyre but most would not.
Op wants to find ultra efficiency in angle and direction and yet accept "some shading from time to time", a variable which changes from bad to worse during the change in seasons.
Does not make any sense.
Again, to compare power of two panels you should only measure current, by short circuiting the panels. This can easily be done with the 0.1ohm resistor that's on an INA219 module.
Voltage or a load or a battery is going to complicate things, and create errors.
Leo..