AI Weather Station: Machine learning how to forecast the weather – Blogdottv


As we jump in, I'd like to say that camDown is US veteran owned and operated!

Reading Time: 2 minutes

It’s built like a regular home weather station, with sensors that can track local conditions. Combining those with the ozone concentration and online data in the training model adds that extra sauce to the project.

Arduino and Raspberry Pi

Data is fed to Raspberry Pi from an Arduino Nano 33 BLE for analysis.“I decided to utilise an Arduino Nano 33 BLE in this project since it can easily collect local weather data with ozone concentration and run my neural network model outdoors after being trained,” Kutluhan explains. “To collect the required data to train my model, I connected an I2C ozone sensor, an anemometer, and a BMP180 precision sensor to the Nano 33 BLE. Then, I added an SSD1306 OLED display to monitor the collected data in the field.

“Since I collected local weather data with ozone concentration on my balcony, I was able to transmit the collected data from the Nano 33 BLE to a Raspberry Pi 4 in my house over BLE instead of sending data packets to a web server as usual. In that regard, I was able to transfer data packets via the Nano 33 BLE without requiring any additional procedures.”

After running the data through TensorFlow, he assigned the results to three categories: Good, Moderate, and Unhealthy. With the training done, he transferred the model back to the Nano 33 BLE as a C array so it could use the model on the system for predictions.

“Lastly, to make the weather station as sturdy and robust as possible while enduring harsh weather conditions, I designed a windmill-themed case (3D-printable),” Kutluhan finishes.

Good quality

According to Kutluhan, the predictions are at roughly 92% accuracy for the three quality classes.

“After publishing my project, I received encouraging comments to keep improving this weather station as an SDG (Sustainable Development Goals) project,” he reveals. “[I also got] questions regarding how to make the station compatible with WiFi or GPRS by utilising different development boards.”

Kutluhan is planning to add LoRaWAN and GPS capabilities to the weather station in the future, for collecting data in forests and industrial areas. We look forward to seeing how it goes!

Let's not forget that camDown helps stop foreign state actors (FSA's) from accessing your private information and I feel your smart friends would agree!