To assemble the weather station, the individual components are screwed onto the plastic plate.
Front page
Rear side
When mounting, make sure that deep elements such as the Raspberry Pi Pico (H) and the batteries are mounted on the front.
To assemble the weather station, the individual components are screwed onto the plastic plate.
Front page
Rear side
When mounting, make sure that deep elements such as the Raspberry Pi Pico (H) and the batteries are mounted on the front.
Once the weather station has been assembled, we can carry out a first comprehensive test. To do this, we load the Micropython program
and the corresponding libraries
on the Raspberry Pi Pico (H) and start it.
If everything is wired correctly, current sensor data will appear in the output every five seconds.
But not only the data from the sensors is sent by radio, but also a country/city ID and which weather station it is! Each school can operate several small weather stations.
As already mentioned in the description of the radio module, an attempt is made to make the data to be transmitted as small as possible due to the energy consumption of the radio module.
The sensor data is therefore processed before it is sent, for example the commas are removed from the sensor data.
Finally, all the data is combined into one large string variable and passed to the radio module for sending.
The following image shows how the Raspberry Pi Pico (H) processes the data and finally forwards it to the radio module as a string variable.
The Cleaned Data is the data string that the radio module sends to the TTN.
Here as an example starting with