CHEERSNetworkClimate & health

Home / Resources / Weather station

CHEERS technical resources · WindChaser

Wiring and Verification

Check the wiring, test each sensor and verify the configuration before assembly and deployment.

Original documentation: Min Tai Yap and Julian Walker · © 2025. Migrated to CHEERS on 3 December 2026. This is working documentation; unresolved source gaps remain visible.

Technical manual
On this page

Check the wiring revision

The supplied reference below identifies a BMP388 pressure sensor; the original manual figure identifies BMP390. Cable lengths also differ. Confirm the actual sensor, its electrical specifications and the installed software before making connections. The documented software uses BCM GPIO numbering: wind = GPIO 21, rain = GPIO 20. The optional rain-gauge circuit in the supplied reference is not configured in this manual.

Supplied wiring reference showing BMP388, SHT45, sunlight and AS5600 sensors; anemometer signal GPIO 21 and rain-gauge signal GPIO 20
Additional wiring reference supplied by Sandra Barteit, 3 December 2026. This is a distinct revision from the original manual drawing.
Open full-size wiring reference

Before you deploy the Raspi, you should check if all your components work properly and if your Raspi is configured so that it correctly collects data in the specified time intervals. Do not skip this step, the earlier you find out any issues, the easier it is to fix them. For this, you need to wire all components in a fashion similar to deployment. Therefore, all main wiring steps are described here as well.

Connecting the Sensors to the Raspi

For this section, it is irrelevant if you have already assembled the three extensions (see section Assembly Before Deployment) or not. The wiring remains the same. Therefore, the extension cables are omitted for clarity, and we won’t reference them in the items list. It is recommended that you repeat the verification after following the steps in Assembly Before Deployment, so you can identify any possible problems with the extension cables before deployment.

Required Parts and Tools

Note

Some of the required parts mentioned here will be rementioned in the required parts sections of Assembly Before Deployment and Deployment. We will state all required parts again in both sections, except for

  • the jumper cables / QWIIC to jumper cables connected directly to the Raspi

  • the jumper cables used in the (optional) splitter

  • any of the CH-2 connectors connected to any of these jumper cables

During the Deployment section, we will mention some of the wiring steps again, but we will not refer to the specified parts in the list of items needed during deployment.

Purchased Parts

Name

Details

Quantity

Jumper cable

Male to female jumper cable of 10cm or 20cm length (4 additional used for splitter); It is recommended to match the colors used below

4-8

QWIIC to female jumper cable

QWIIC to female jumper cable of 150mm length

1

QWIIC cable

QWIIC to QWIIC cable of 50cm length (anything shorter would suffice, but this QWIIC cable is still available, as it will first be used in Assembly Before Deployment)

1

QWIIC multiport

Sparkfun QWIIC multiport with 4 QWIIC connectors

2

CH-2 Connector

Wire to wire CH-2 connector (2 additional used for splitter)

2-4

Tools

Name

Crimper

Wiring the Raspi

During deployment, the extension cables we use can generally not directly be connected to the pins of the Raspi. Neither do the QWIIC cables used in some of the components. So provide the interfaces for these cables on top of the Raspi first. It is most convenient to keep these on the Raspi until deployment. For the analog Hall effect sensors, plug four 10cm or 20cm female to male jumper cables on the corresponding pins of the Raspi. For the remaining I2C sensors, connect a female jumper to QWIIC cable to the pins of the Raspi. For our weather station, we used a 15cm long cable, but you may also deviate from this length. The pins used are marked in the Raspi pinout below, matching the colors of the cables used in this documentation. The colors for the jumper cables are freely chosen, and we recommend to match the colors, as we will be from time to time rather refer to cable colors during wiring for conciseness. Though, do not simply rely on the cable colors and check the specification of each part to ensure that the connections are the same as described in this documentation. On the contrary, the colors of the QWIIC to female jumper cable are a standard.

../../_images/raspi_pinout.png

Raspi pinout with the pins in use marked. Boxes around the pin indicate the cable color, colored pin designations indicate whether the pins belongs to the QWIIC to jumper cable (light yellow) or to the cables associated with the Hall effect sensors (cyan).

Open full-size image

After connecting all cables, your Raspi should look somewhat like the picture below.

../../_images/raspi_pinout_foto.png

The pins are again marked in light yellow or cyan to indicate whether a cable is associated with the QWIIC to jumper cable or the Hall effect sensors.

Open full-size image

Afterwards, plug the male jumper heads of the cables plugged onto GPIO pins 20 and 21 (i.e., blue and green jumper cables) into one side of a CH-2 connector, so that you can later connect the Hall effect sensors by clicking the stripped end of the extension digital signal cables into the other side of the CH-2 connector.

Likewise, click the ground and the power cable (orange and yellow jumper cables) associated with the Hall effect sensors into a CH-2 connector. Later, you will click the two ground extension cables and the two power extension cables from the Hall effect sensor into the respective inputs on the other side of the CH-2 connector, so that the CH-2 connector acts as a power splitter or ground splitter. For the weather station used in this documentation, our extension cables are too thick to be clicked into the CH-2 connector in parallel. Therefore, we used three CH-2 connectors and additional jumper cables to built a larger power and ground splitter, in which each cable has its own port. This splitter will also occur in the Deployment section, but it is not required when your cables are not too thick. See the diagram below for reference.

../../_images/splitter.png

Schematic representation of the splitter

Open full-size image

Connecting All Components

Use two QWIIC multiports to connect the remaining sensors with QWIIC heads to a single multiport. See the wiring diagram below for reference. For verification, it does not matter which sensor is connected to which multiport. Follow also the wiring diagram below for the connection between the Hall effect sensors and the Raspi as well as the multiport and the Raspi. If your components are not placed onto extensions yet, as it is described in the Assembly Before Deployment section, you can ignore the extension cables for both Hall sensor. Instead, click the jumper cables directly into the corresponding CH-2 connectors on top of the Raspi. The same holds true for the extension cable and the QWIIC adapter between the AS5600 sensor and the QWIIC multiport.

../../_images/diagram.png

Schematic wiring diagram for the final weather station. The optional splitter is omitted for clarity.

Open full-size image

Image source https://www.raspberrypi.com/documentation/computers/images/GPIO-Pinout-Diagram-2.png?hash=df7d7847c57a1ca6d5b2617695de6d46 for Raspi

https://i.ebayimg.com/images/g/hJkAAOSw2EZnK0gb/s-l400.jpg for CH-2 connector

Verification

To verify that all components are correctly measuring, power the Raspi on first and stop any running instances of the software through

sudo systemctl stop main_runner.service

Next, set the interval between sensor readings in the software configuration to a low value, e.g. 5 seconds. You can do this by opening the corresponding JSON file

nano /home/pi/wind-bearer-software/wind_bearer_software/parameter/parameters.json

and replacing the 60 in the entry

"interval": 60,

by a 5. Then activate the windbearer environment

pyenv activate windbearer

and executing the main runner in a terminal

python -m wind_bearer_software.mr_V6

The program should output that all sensors were successfully initialized and then start pasting reading onto the console every 5 seconds which should look somewhat like

AS5600 Precise Angle: $ degrees
Sunlight sensor visible: $, UV: $, IR: $
Approximated Solar Radiation: $ W/m^2
Temperature: $ °C, Pressure: $ hPa, Altitude: $ m
SHT45 Temperature: $ °C, Humidity: $ %

Current Time: $
Wind Speed: $ m/s, RPM: $
Rain: $ mm, $ ml
Variables saved to $

where $ is a place holder for a value to be checked for correctness. The temperature, pressure, humidity, altitude, and sunlight values can be cross-checked with any data from a local weather service or a thermostat. Slight deviations will occur, but reasonable values suffice, as you are only testing the functionality of the sensors. To verify the precise angle, hold the wind vane upright and verify several different orientations with, e.g., a compass app. Do not forget to set the south_deg value in parameters.json accordingly, and reset it for the value used for deployment. For the wind speed, rotate the anemometer and count the rotations. Then compare them to the RPM value that is output. There might be some deviations due to the calibration factor we use. Lastly, verify the functionality of the rain gauge by removing its cover and tipping the bucket a few times. The number of bucket tips times 3.15ml should be output to the console.

Lastly, reset the interval value in parameters.json back to 60 (or any other desired value). If you connect an external drive to the Raspi and wish to have data stored to it as well, make sure that you specified the mount point and path inside the drive correctly in

/home/pi/wind-bearer-software/wind_bearer_software/parameter/user_path.json

and that data is stored to it continuously. Other than that, this is also the right point to verify that the Raspi can establish a mobile internet connection and that it saves the data to your server within the specified time interval.

Connecting the Independent Power Module

Apart from all sensors working, you should check if your independent power module is able to power your raspi. To do this, follow the guide below to set up the connection between the Raspi and the power module.

../../_images/overview.png Open full-size image

Preparation

Required Parts and Tools

The parts used for the connection between power module and Raspi will not be mentioned again in any of the succeeding sections.

Purchased Parts

Power Converter

Pololu 38V step down 5V 5A regulator

1

Cable

20AWG 5m long wire (only 220cm - 240cm needed each); Recommended to have one black and one red cable

2

CH-2 connector

Wire to wire CH-2 connector

2

USB C to bare wire cable

Male USB Type C to 2 pin bare wire cable (any length), male head should be bent 90°

1

Female crimp terminal and jumper connector housing

2.54mm Dupont 1 pin female crimp terminal and connector housing

4

Note

The power converter and the wiring is not similar to what was used in the Heidelberg weather station. The power converter described here is simpler

Required Tools

Name

Thin screwdriver

Crimper

Soldering kit

Isolated gloves

Hot glue gun

Preparing the Power Converter

The step down power converter usually comes with a bar of pins, which is to be soldered in the header holes of the converter. After soldering, apply some hot glue to all exposed metal parts of the power converter on both sides to protect it from water. See the result below.

The original figure is unavailable in the source documentation. Refer to the written instructions and the equipment specifications.

Note

You can also directly solder the cables to the header holes. In that case, you don’t have to crimp anything. You should protect the exposed metal parts of the power converter with hot glue nonetheless.

Wiring

Warning

Safety Notes:

  • Always connect the battery to the charge controller before the solar panel (to let the controller detect system voltage)

  • Ensure correct polarity at all times (reverse polarity can damage equipment)

  • Read the specifications and instructions of the equipment

  • Wear isolated gloves when handling electricity

First, cut the cables to four times 10cm length and strip them on both ends, then crimp one side of each cable to a female crimp terminals and plug a connector housing on each terminal. It is recommended to use two black cables for the negative connections and two red cables for the positive connections. Plug the heads of the negative wires onto the pins of the converter labelled with GND, and plug the heads of the positive wires onto the two pins labelled with VIN and OUT. After that, clip the bare ends of the cables sitting on the left two pins (inputs) into one CH-2 connector, and the other two cables plugged onto the two right pins (outputs) into another CH-2 connector.

On the output side, click the bare wires of the USB C cable into the CH-2 connector, so that the colors / polarities match. Then plug the USB C cable into the power port of the Raspi.

On the input side, first cut one black and one red cable of 1.8m-2m length (depending on your space requirements) and strip them on both ends. Following this, insert them into the two rightmost ports of the solar charge controller. This can be done by loosening and tightening the screw. Again, you should use black cables for negative polarity and red cables for positive polarities. After the cables are inserted into the controller, make sure that the bare cable ends on the other side never touch each other, as this bares significant fire risk. You can connect the Raspi to the power module now by first clicking the black cable into the CH-2 connector on the input side, and then the red cable (assuming you have already assembled the power module). Make sure that you do not confuse the polarity nor the input and output side, as this will damage the components.

The whole wiring process is depicted in the graphic below.

The original figure is unavailable in the source documentation. Refer to the written instructions and the equipment specifications.

If everything is correct and the battery supplies sufficient power to the Raspi, you Raspi should turn on. If you have AnyDesk or SSH set up in the Raspi, try to access it remotely and make sure that it is running correctly.

Afterwards, disconnect the power module for safe transport to the deployment location. First remove the red cable from the CH-2 connector on the input side of the power converter, then the black cable. Next, disconnect the solar panel by first disconnecting the red wire, then the black wire. Lastly, remove the red cable from the battery first, then the black cable.

To reassemble the power module and reconnect it to the Raspi, follow the steps for unconnecting the power module vice versa.

Alternative Power Converter

In the weather station videos for this documentation, you will encounter a different power converter than the one described here. This XY-HXC DC-DC 5A Step Down Buck Power Module is more capable, but requires voltage and current adjustments. If you plan to use this converter, you can find the wiring diagram below.

Note

The power converters are not restricted to the ones described in this section, you can use any that fits the requirements of input and output power.

The original figure is unavailable in the source documentation. Refer to the written instructions and the equipment specifications.