Modular Weather Station

One of the projects I wanted to build for some time was a Modular Weather Station. Modular in the sense that we can add the sensors we want just by changing the software.

The Modular Weather Station is divided in three parts. The main board has the Wemos, the battery, the connection to the solar panel, the charger and the ADC (Analog-Digital converter). The first satellite pcb manages the analog connections and the second satellite pcb manages the digital. They are connected with UTP cat5 cable and RJ45 sockets.

The data is transmitted to a MQTT Server. The Homeassistant read from there, show on dashboard and stores for statistic.

Components

Assembly

I initially checked that the solar panel provides enough power. Then I started building the prototype. This version will be powered by a 18650 battery being charged by the solar panel. It will monitor the humidity, temperature, pressure and voltage of the battery itself. All of this will be controlled by a Wemos D1 Mini and the data will be transmitted to an MQTT server. After uploading the program to Wemos, I confirmed the power and tested it’s operation.

Code and Schema

All the code and PCB schemas are available on my GitHub.

PCB

Then I drew the pcb in Autodesk Eagle. This has a free version that allows you to design pcb’s with two layers and 80cm2 of area. After drawing the schematic, it generates the footprints of the components. Just make the connections and place them in the desired location.

Modular Weather Station

Finally, it’s necessary to generate Gerber files to send to PCBway.

This video is sponsored by PCBway. They have been supporters of the channel for some time. Ordering pcb’s on PCBWay is extremely simple. Just indicate the size, the desired quantity and submit the Gerber files. PCBway creates and ships pcb’s quickly. When assembling, the components fit seamlessly, welding is done easily and the PCBs have an excellent finish. Place your order and receive a $5 welcome bonus.

Modular Weather Station

Box

After welding all the components, I started building the box. For that I used a waterproof case that I had. I installed a Waterproof cable connector to pass the connection to the sensors and designed a support for the installation of a filter in Autodesk Fusion 360. This filter allows air to circulate, preventing condensation and preventing foreign objects from entering. I also designed supports for the pcb and the solar panel. After installing the solar panel I started building the box where the sensors will be stored being the procedure similar to the main box.

After connecting all the components, I installed a fixing bracket in the box.

Then I installed the filters in both boxes. These consist of a piece of fabric stuck between two printed supports.

Instalation and testing

Finally, I installed the weather station outside and checked the data. At the moment only is working the digital sensors. In the future i’m planning adding more digilal sensors (UV sensor, …) and analog sensors ( an anemometer, …).

Modular Weather Station

I hope you like this project. I’ve got other projects videos so check those out and don’t forget to subscribe my channel and follow me at the social networks.

Leave a Reply

Your email address will not be published. Required fields are marked *