measuring input from solar panels (for a science project)
softcon
Posts: 217
in Propeller 1
My son has had an assignment for several weeks now, and he never came up with a project. Now that there is only two weeks of class time left, he finally decided he should work on something. <sigh> So, since I had several solar panels lying around (half of them unopened), I thought perhaps he could do a project where he measures how much power he can get from the solar panels (based on number of panels, direction facing, and so on). My question is:
Do I need an external sensor/meter, or is this something that can be done by the propeller board directly?
I have 3 propeller boards that can be pressed into service for this project, though two of them are currently in existing projects, the third one was too, but it's since become disconnected, and it's a bit of a hassle to reconnect everything, so I'm willing to sacrifice it for the project. I can always rebuild the speech device later, though my wife has found other things to use instead of my self-built project <sigh>. Anyway, Just curious if I'd need an external sensor, and if so, which one, and how much trouble it would be to connect to the propeller. The one I gave him to use has a human interface board on it already, so I don't know if that will help or hurt in this particular case. I have 4 solar panels, 3 from radio shack, and 1 I got elsewhere (don't remember where), which is much thinner, so figured perhaps he could measure the different panels, and how much power each one gave and if he does this over the course of several days, and multiple times during the day (I was actually thinking of having him connect it to the computer, so it could keep a running tally of the power read-outs), then it would be acceptable as a complete science project. Any help/suggestions would be greatly appreciated, as I've never tried measuring power input levels before.
Do I need an external sensor/meter, or is this something that can be done by the propeller board directly?
I have 3 propeller boards that can be pressed into service for this project, though two of them are currently in existing projects, the third one was too, but it's since become disconnected, and it's a bit of a hassle to reconnect everything, so I'm willing to sacrifice it for the project. I can always rebuild the speech device later, though my wife has found other things to use instead of my self-built project <sigh>. Anyway, Just curious if I'd need an external sensor, and if so, which one, and how much trouble it would be to connect to the propeller. The one I gave him to use has a human interface board on it already, so I don't know if that will help or hurt in this particular case. I have 4 solar panels, 3 from radio shack, and 1 I got elsewhere (don't remember where), which is much thinner, so figured perhaps he could measure the different panels, and how much power each one gave and if he does this over the course of several days, and multiple times during the day (I was actually thinking of having him connect it to the computer, so it could keep a running tally of the power read-outs), then it would be acceptable as a complete science project. Any help/suggestions would be greatly appreciated, as I've never tried measuring power input levels before.
Comments
https://www.parallax.com/product/29130
+1. Excellent choice for this kind of project. Can measure voltage, current, and power.
2 R's and a C will add an ADC to a Prop, so you could avoid buying anything, if you have good resistor stocks.
If you look at the curves here
https://en.wikipedia.org/wiki/Maximum_power_point_tracking#I-V_curve
& here
http://www.embedded.com/print/4216272
you can see the actual shape is highly predictable, and ideally you want to sweep the curve to find which one 'fits' your solar cell under test.
The simplest way to get a few test points, without needing a full curve-sweeper like current sense and smart load, is to just switch in a handful of power resistors
A resistor is a simple straight line thru the origin ( I = V/R), on those curves, so you can create a set of 'fan-load-lines' with multiple loads.
Measure the voltage for each resistor, and work backwards to create the best fit curve.
From the fitted curve, you can extract the Maximum Power Point.
I did purchase the INA219 board linked above, and it should be here on Wednesday, so hopefully that will make things easier, so I guess now I need to begin looking for code to tie the detector to the propeller, and wiring information, which I assume will be in the various documentation for said detector. Always a fun time when the kids decide to wait to the last minute. Thanks for any and all help so far, and any still to come. I certainly appreciate it.
When you say solar panels, what are we talking about? That is, in terms of physical size, voltage and rated power output? If you have a 10 watt, 12 volt nominal panel, that will require a commensurate load, quite different from a 1 inch, 0.5 volt 20 milliamp single cell.
Does the meter also have a ammeter setting? He can connect the panel directly to the ammeter and measure the short circuit current for all those panels in sun and in shade.
If there are ratings printed on the panels or on their packaging, he can compare those with his own results.
Already he can learn a lot about the panels and can probably have some fun finding things out about how they work as he shifts them around. Also learn more about how to use the meter. Write down all the observations for the science project journal.
Maybe that will be the turning point. When he sees that your having too much fun.
He could be intimidated by the big picture, but you can show him how little steps add up to a well rounded understanding of the subject. Then all of a sudden something clicks, and he feels empowered and there is nothing he can't accomplish.
Anyone have enough experience with these ina219 boards to offer some alternative suggestions?
Jim
That board has pull-ups on SCL and SDA.
https://www.parallax.com/downloads/ina-219-dc-current-sensor-propeller-code
My comment about using a multimeter still stands. Do you have one? I know there have been talking multimeters for the blind and for people who like to look at the probes instead of the screen, however my quick googling turns up only do-it-yourself projects based on adapting a multimeter that has RS232 output. Well, that or the ina219 along with a speech synth like the Parallax EMIX2 could make an useful Propeller and science project.
A multimeter has at least two roles here. First, it lets junior set out to measure things at the get-go, to get a feel for how the panels behave. Secondly, if there are questions about the accuracy of what is being measured by the ina219+propeller+programming, the multimeter can help to troubleshoot and resolve.