I have been following both the post below on making some sense from the solar readings on a HB solar board.
http://www.cocoontech.com/index.php?showtopic=4072
http://www.cocoontech.com/index.php?showtopic=6452
Problem is, there's so much to sift through and the info changes if you changes resitor values, etc.
I am looking for a simple formula to use with The HB Solar board (390 ohm) that will give me some sort of useable number that I can plot on a graph.
I don't need exact solar figures that would be calibrated and accurate with some sort of solar measurement device.
My graph would just show the swings up and down during the course of the day.
Based on the Solar post above, I used this formula
Note that my variables below are set up as Double precision
Voltage2 is the reading I get from the DS2438 on the HB board using .net SDK
Voltage2 = Owd5.getADVoltage(2, state)
Volts = Voltage2 / 4096
Current = Volts / 390
SolarEnergy = Current * 1157598
The SolarEnergy value I get doesn't make much more sense that the Voltage2 value I get by reading the DS2438
Here's some typical values I just got at 12:23 in the afternoon with the sensor in full sun
See calculation formula above
12:23:29 - Solar Reading in full sun
-0.25 = Voltage2 from ds2438
-6.103515625E-05 = Volts
-1.56500400641026E-07 = Current
-0.18116455078125 = SolarEnergy
When I throw a towel over the sensor Voltage2 reading goes to 0, so the sensor is being read correctly.
Just trying to make sense from the readings.
confused????
http://www.cocoontech.com/index.php?showtopic=4072
http://www.cocoontech.com/index.php?showtopic=6452
Problem is, there's so much to sift through and the info changes if you changes resitor values, etc.
I am looking for a simple formula to use with The HB Solar board (390 ohm) that will give me some sort of useable number that I can plot on a graph.
I don't need exact solar figures that would be calibrated and accurate with some sort of solar measurement device.
My graph would just show the swings up and down during the course of the day.
Based on the Solar post above, I used this formula
Note that my variables below are set up as Double precision
Voltage2 is the reading I get from the DS2438 on the HB board using .net SDK
Voltage2 = Owd5.getADVoltage(2, state)
Volts = Voltage2 / 4096
Current = Volts / 390
SolarEnergy = Current * 1157598
The SolarEnergy value I get doesn't make much more sense that the Voltage2 value I get by reading the DS2438
Here's some typical values I just got at 12:23 in the afternoon with the sensor in full sun
See calculation formula above
12:23:29 - Solar Reading in full sun
-0.25 = Voltage2 from ds2438
-6.103515625E-05 = Volts
-1.56500400641026E-07 = Current
-0.18116455078125 = SolarEnergy
When I throw a towel over the sensor Voltage2 reading goes to 0, so the sensor is being read correctly.
Just trying to make sense from the readings.
confused????