0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Corelation of outside temperature and brightness

0
Posted at

Hello

I am back, with some reserch projects.
In this article, I am going to reserch the change of temperature and brightness, and see if guessing outside weather just by looking at the data recorded are possible.

Experiment method

  1. Place brightness, temperature sensor near outside or outside
  2. Measure data
  3. Analyze data
  4. RESULTS!

Hyphothesis

My hypothesis are:
If brightness decreases, than temperature also decreases.

Preparation

インターン風景2コピー.png
I first placed the lux sensor and temp sensor near the window
image.png
Oh... appearenty sunlight is way too bright for this sensor to measure(the readings are capped at 1020 lux)
20260727_143657.jpg
I placed filer, a.k.a. coloured tape on the sensor.
image.png
That looks pretty nice, I can see the change in the brightness.

Data recording

Data is gathered between 11:00 and 16:00 on Jul 28 and 29.

Jul 28(Overcast)

Today's weather forecast tells today should be mostly overcast, so I should not see brightness reading reaching cap.

Result

image.png
I can see very nicely that temperature and brightness have strong corelation. Where both temp and lux peaks around 12:30 and start to decrease into afternoon.
2026-07-28T05_40_13.085+00_00.jpeg
From this photo of street outside the office from 14:40,I can confirm the cloud increased form 12:30 to 14:00, with rain starting to fall around 14:40.

7/29(Sunny)

Forecast for today says today should be sunny, so I am looking to see more warmer and brighter readings.
image.png
Hmm, brightnes seems to be not increasing with the temperature, they decreased as the temperature increased.
スクリーンショット 2026-07-29 143332.png
Conpared to yesterday, I can see that yesterday have higher Lux around the same time even though temperature are lower.
Why is this happenning?
deaf8a7d-476f-4277-be05-e719c44444a5.jpg
Ah, the shade from office building. That should eventually go away.
4dcda668-08a5-48ab-b4f9-e303c276241a.jpg(from Jul 23 11:56)
From picture from few days ago. the shade should move out of the window aorund noon.
Now nothing can stop me from taking the data on this hot and sunny day!
20260729_144046.jpg
(14:40)
Oh... this is unfortunate.
20260729_150023.jpg
(15:00)
Cloud went away. So I should be able to get data on sunny condition.

Final data

image.png
The final data for the day shows good corlelation of two datas, especially reflected in the change from 14:30 to 15:00

Graph in Excel

Let's study data from both days in Excel
照度温度1_en.png
Huh, there is a lot of gaps.
What if I make Excel draw line between gaps?
照度温度2_en.png
Ah, this must be what RealBoard was doing.
スクリーンショット 2026-07-30 135551.png
You can see here, the two dots on the blue line are separated by almost whole hour.

Discussion

While the lack of samples by brightness sensor can be spotted across the graph, data from 7/29 14:00 to 16:00 show strong corelation of brightness and tempearature, reflected in the weather changes observed. The measured data supports hypothesis.

Possible cause for errors

  • Filter causing the lux values to be lower than an actual brightness, the uneven colouring of filter may have decreased precision of the brightness sensor
  • Sensor not sending enough samples, possiblly due to disconnection or temporary loss of energy due to sensor's reliance on solar panels for energy
  • The placement of temperature sensor(between heat reflection mat and window) may have caused temperature sensor to show value much higher than actual outside temperature
  • Short measurment period may have caused the baissed data to be contained in the result

Room for future improvements

  • Use brightness sensor with wider range of lux reading
  • Use sensor with more reliable performance and connection
  • Measure actual outside temperature by placing temperature sensor outside
  • Measure data over longer period to decrease the possible effect of biassed data

Future topic

  • Reserch how reliable is weather prediction based on temperature and brightness alone
  • Also measure other weather related aspects, such as humidity and amount of percipitation or wind speed
  • See if other weather events can be predicted or have corelation, such as relation of percipitation and wind speed

Conclusion

While weather is a difficult topic to study and learn, this experiment show a result that fit the hypothesis overall. And the data over past two days show corelation of temperature and brightness and their corelation reflected in the real change in weather, proving that guessing cuurent weather by recorded data of temperature and brightness are possible to a certain degree. I have also leant some challenges on real life problems can be solved by simple methods.

Tools I used

RealBoard - For gathering the data from sensor, visualizing them as graphs, and exporting them as csv file to enter them in Excel.

Microsoft Excel(2021) - To create the graphs using the data exported.

Claude - To summerise RealBoard manual.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?