It's been a big weekend learning how to build a PC GUI and then to tidy up my code in the Arduino. I've now moved all the calculations into the PC code so the Arduino is just exporting the sensor values. That makes it easier to tweak the cloud detection calculation and also provides visibility of all of the raw data for debugging and configuration. I've spent quite a lot of time trying to get my GUI to plot a time series of cloud and light. I've still got a bug in the display however this is cosmetic.
|