Clear Sky Sensor Box Channel Feed: | JSON XML CSV |
Field 1 Data: Température | JSON XML CSV |
Field 2 Data: Luminosité | JSON XML CSV |
Field 3 Data: Humidité | JSON XML CSV |
Field 4 Data: Pluie | JSON XML CSV |
Field 5 Data: Couverture nuageuse | JSON XML CSV |
Field 6 Data: Pollution Lumineuse ( SQM) | JSON XML CSV |
Field 7 Data: Temp du détecteur de pluie | JSON XML CSV |
Field 8 Data: DT | JSON XML CSV |
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="https://thingspeak.com/channels/111706/charts/1?average=30&bgcolor=%23ffffff&color=%23d62020&days=3&dynamic=true&round=1&type=line"></iframe>
Title: | |
X-Axis: | |
Y-Axis: | |
Color: | |
Background: | |
Type: | |
Dynamic?: | |
Days: | |
Results: |
Timescale: | |
Average: | |
Median: | |
Sum: | |
Rounding: | |
Data Min: | |
Data Max: | |
Y-Axis Min: | |
Y-Axis Max: |
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="https://thingspeak.com/channels/111706/charts/5?average=10&bgcolor=%23ffffff&color=%23d62020&days=3&dynamic=true&round=1&type=line"></iframe>
Title: | |
X-Axis: | |
Y-Axis: | |
Color: | |
Background: | |
Type: | |
Dynamic?: | |
Days: | |
Results: |
Timescale: | |
Average: | |
Median: | |
Sum: | |
Rounding: | |
Data Min: | |
Data Max: | |
Y-Axis Min: | |
Y-Axis Max: |
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="https://thingspeak.com/channels/111706/charts/6?bgcolor=%23ffffff&color=%23d62020&days=3&dynamic=true&median=30&type=line&yaxismin=15"></iframe>
Title: | |
X-Axis: | |
Y-Axis: | |
Color: | |
Background: | |
Type: | |
Dynamic?: | |
Days: | |
Results: |
Timescale: | |
Average: | |
Median: | |
Sum: | |
Rounding: | |
Data Min: | |
Data Max: | |
Y-Axis Min: | |
Y-Axis Max: |
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="https://thingspeak.com/channels/111706/charts/4?average=10&bgcolor=%23ffffff&color=%23d62020&days=3&dynamic=true&round=1&type=line&yaxismin=400"></iframe>
Title: | |
X-Axis: | |
Y-Axis: | |
Color: | |
Background: | |
Type: | |
Dynamic?: | |
Days: | |
Results: |
Timescale: | |
Average: | |
Median: | |
Sum: | |
Rounding: | |
Data Min: | |
Data Max: | |
Y-Axis Min: | |
Y-Axis Max: |
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="https://thingspeak.com/channels/111706/charts/3?average=30&bgcolor=%23ffffff&color=%23d62020&days=3&dynamic=true&round=1&type=line"></iframe>
Title: | |
X-Axis: | |
Y-Axis: | |
Color: | |
Background: | |
Type: | |
Dynamic?: | |
Days: | |
Results: |
Timescale: | |
Average: | |
Median: | |
Sum: | |
Rounding: | |
Data Min: | |
Data Max: | |
Y-Axis Min: | |
Y-Axis Max: |
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="https://thingspeak.com/channels/111706/charts/2?average=30&bgcolor=%23ffffff&color=%23d62020&days=3&dynamic=true&round=1&type=line"></iframe>
Title: | |
X-Axis: | |
Y-Axis: | |
Color: | |
Background: | |
Type: | |
Dynamic?: | |
Days: | |
Results: |
Timescale: | |
Average: | |
Median: | |
Sum: | |
Rounding: | |
Data Min: | |
Data Max: | |
Y-Axis Min: | |
Y-Axis Max: |
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="https://thingspeak.com/channels/111706/charts/8?bgcolor=%23ffffff&color=%23d62020&dynamic=true&results=60&type=line&update=15"></iframe>
Title: | |
X-Axis: | |
Y-Axis: | |
Color: | |
Background: | |
Type: | |
Dynamic?: | |
Days: | |
Results: |
Timescale: | |
Average: | |
Median: | |
Sum: | |
Rounding: | |
Data Min: | |
Data Max: | |
Y-Axis Min: | |
Y-Axis Max: |
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="https://thingspeak.com/channels/111706/maps/channel_show"></iframe>
This website uses cookies to improve your user experience, personalize content and ads, and analyze website traffic. By continuing to use this website, you consent to our use of cookies. Please see our Privacy Policy to learn more about cookies and how to change your settings.
Blog |
Documentation |
Tutorials |
Terms |
Privacy Policy
© 2022 The MathWorks, Inc.
I´ve build a Allsky-Cam with a Raspberry PI3 and would love to upgrade it with a SQM.
Can you tell me what Hardware and what Scripts did you use ?
Thanks in advance !
So I don't think my code would be that helpfull, especially since I designed part of the electronics myself ( for ex, the rain detector had no control circuitry and no obvious way to read it so I had to design that ). Plus it is not documented enough to be released to the public and written for an arduino nano, not for a raspberry pi.
Nevertheless, here is the hardware:
- Brain : Arduino nano ( + an esp8266 to send data through wifi)
- Temperature : waterproof DS18S20 placed in its own radiation shield to protect it from the sun. It uses the Onewire library and has multiple tutorials on how to use it.
- Humidity : HIH4030 ( quite pricey but it gives an easy to use analog output, the conversion formula is given by the datasheet)
- Cloud detector : a MLX90614 infrared sensor to measure the temperature of the sky. It is controlled with a variant of i2C if I recall correctly. There are also a bunch of tutorials to use this one. Here's the Adafruit library I use : https://github.com/adafruit/Adafruit-MLX90614-Library
-Rain detector : a capacitive rain sensor by Telecontrolli ( they don't manufacture mine anymore but they got e new one apparently , https://www.radiocontrolli.com/en/component/62/capacitive-rain-sensor)
- The sky quality meter is based on TLS237 with a ir-cut filter and a led lens to limit the FOV of the sensor. T
- For general luminosity : an old and simple LDR ( light sensitive resistor) I got in stock.
Is used this website as an inspiration : https://sourceforge.net/projects/arduinomysqmskyqualitymeter/
For the cloud detector: here's a technical document used by the companiues who build the various weather stations for astronomers ( ex : AAG cloudwatcher) : https://lunatico.es/aagcw/TechInfo/SkyTemperatureModel.pdf
Here you go. Hope this helps.
The rest is unchanged and working well but I just corrected the firmware. The previous version was attempting a temperature compensation for the rain and cloud detector with complicated equations. I disabled those corrections and went for something simpler. For the rain it's just basicaly outputing a value scaled to be readable without any compensation. And for the cloud detector, I just sustract the sky temperature and the ambiant temperature. It's still not correct since we can clearly see the temperature dependance but it less weird than it was before.