Raspberry Pi Weather Station Features Wireless Sensor Nodes

Reap The Benefits of Automated Software Testing!

On line temperature expert services are wonderful for giving generic region forecasts, but they never supply hyperlocal facts unique to your site. [Harald Kreuzer] required both and crafted a Raspberry Pi Weather Station that gives temperature forecasts for the future 7 days as well as readings from regional sensors. The undertaking is totally open up supply and centered on a Raspberry Pi foundation station which connects to ESP32 based mostly sensor nodes and online companies to properly existing the information on a 7″ contact display show.

The architecture is pretty straightforward. The ESP32 centered sensor nodes publish their readings to an MQTT broker operating on the Raspberry Pi. The Pi subscribes to these sensor node matters to decide up the suitable sensor facts. This will make it simple to insert more sensor nodes in long term. Temperature forecast information is collected by connecting to the OpenWeatherMap API. All of the collected details is then shown via an application crafted making use of the Kivy: open up resource Python application development framework.

The foundation station hardware is uncomplicated and housed in an stylish 3D printed enclosure supported on a 3D printed base assistance. The distant sensor node electronics are a little bit additional included. [Harald]’s layout works by using a easy tailor made PCB which is essentially a provider board for mounting the ESP32, a two way DIP change for sensor node tackle setting, a voltage divider to evaluate battery voltage, a BME280 sensor that presents temperature, humidity and atmospheric strain readings, and a TP4056 primarily based battery charger for the 18650 lithium ion battery. The battery is charged by means of a solar cell that kinds the major include of the sensor node enclosure.

Remote sensor applications such as these do the job well when the battery life can be extended as extensive as feasible, and this necessitates reducing ability usage to the bare bare minimum. [Harald] selects an ESP32 board with a minimal quiescent current voltage regulator. This success in about 20uA current drawn for the duration of deep sleep intervals of 10 minutes, and 200mA around a 10s interval for connecting to WiFi and transmitting the data. He reckons this will give him about a 25 day window just before the battery loses demand. With any luck ,, he will get more than enough hours of sunshine throughout the wintertime months to hold the battery topped up.

There are many bits of program that have to have to get the job done in unison to make the temperature station tick, and [Harald] walks us through the set up and configuration of just about every section in detail. From placing up the OS on the Raspberry Pi and the Kivy: framework in which the temperature station app is coded, to setting up the OpenWeather API, the Mosquitto MQTT broker, and flashing the code on the ESP32 sensor nodes. [Harald] has shared all the information for the components and computer software elements of the weather station on Github repositories, generating it uncomplicated to replicate his attempts.

The climate station will work as envisioned, but [Harald] now has a “feature creep” record of enhancements that he would like to carry out in the following variation, which shouldn’t arrive as a surprise to us. Weather conditions Station projects are staple favourites of hackers, and there are numerous unique ways to decide on from, this sort of as this Climate Station For No matter if It Rains Or Shines or this Hackaday Prize 2022 submission for a Solar Driven LoRa Temperature Station For The Masses.

Leave a Reply