Raspberry Pi Zero W powers a self-sufficient mobile weather station
A student built a solar-powered mobile weather station around a Raspberry Pi Zero W and field-tested it in Wales. It's featured in Raspberry Pi Official Magazine issue 171.
A student-built weather station that runs on a Raspberry Pi Zero W and draws its power from a solar panel was tested in real conditions on the Gower Peninsula near Swansea in April. The project, by creator Jack Young, is featured in issue 171 of Raspberry Pi Official Magazine, an “Incredible Weather Projects” special that is available as a free PDF download.
Young told the magazine the original idea for a self-powering station came from his supervisor, Dr Will Harrison, as a third-year dissertation project. The mobile, easily transported angle came later, while he was researching the market. “There weren’t any existing products that could provide hobbyists, students and researchers alike an easily accessible, mobile and cost-friendly device, whilst still producing a full dataset of local atmospheric conditions that could be used for data analysis,” he said.
What the station measures
The kit is modular, with parts added and removed during transport. Alongside a temperature and humidity sensor and an anemometer for wind speed, the solar panel that powers the station also takes light readings, so it records light intensity at the spot where it is set up.
Young chose the Pi Zero W after comparing microcontrollers and small computers. “Raspberry Pi Zero W was the most cost-effective, low-power-consumption choice, and the impressively small form factor meant that the size of the weather station could be reduced by a large amount,” he said. He also cited its 1GHz clock speed and built-in networking for fast data collection and transfer to an external web server.
To keep the electronics dry, the enclosure went through many iterations to reach an IP65 rating, which allows continuous use in harsh weather. Young said much of the work went into tolerances and print parameters so the lid gaskets and cable grommets sealed tightly. In use, a green LED lights when the station is switched on, and a blue LED follows once it is ready.
Field test turned up two problems
On the open hill, the wind gave the anemometer plenty to work with, but slow wind speeds exposed a flaw: bearing friction was enough to stall rotation and make the device read 0. Lubricating the bearings fixed it. The temperature sensor also ran consistently about 1–2°C above expectations, which Young traced to the sensor head trapping heat, possibly its own heat from electrical resistance with no way to escape.
Even so, the station established a web server and stored its samples from the hills. “Despite the few inevitable issues, I would say the field testing was successful!” Young said.
He plans further iterations: fixing the trapped heat, adding an easier way to adjust the sampling rate and streamlining the modular design. His ultimate goal is to bring it to market, so a commercial version is a stated ambition rather than a dated product.
Issue 171 of Raspberry Pi Official Magazine is out now, with the PDF free to download and print subscriptions available worldwide.
Sources
- Self-sufficient mobile weather station — Raspberry Pi News
Some links on this page may be affiliate links. If you buy through them we may earn a commission at no extra cost to you. See our affiliate disclosure.