Required Items
Name |
Details |
Quantity |
|---|---|---|
Raspi |
Raspberry Pi 4B 4GB |
1 |
4G Hat |
SIM7600E-H 4G HAT for Raspberry Pi |
1 |
SIM card |
SIM card (standard size or adapted to standard size) with mobile data subscription |
1 |
Name |
|---|
Hot glue gun |
Waterproofing
Although the weather station is designed so that water should not be able to entry the interior of the controller box, both the Raspi and the 4G Hat should be waterproofed for additional security. Use hot glue to cover all exposed metal parts except for all ports, which should be kept operable. Also, make sure to exclude the SIM card slot from waterproofing, so that you can still exchange the SIM card if needed.
Preparing the 4G Hat
Note
Ignore the jumper cables connected to the GPIO pins throughout this whole section. Connecting the sensors to the Raspi will be discussed in the Wiring and Verification section
Bottom side of the 4G Hat
The SIM card mount of the 4G Hat is located on the bottom side of the module. Open it by pushing the cover backwards.
Opened SIM card mount with a nano SIM inside an adapter
The 4G Hat requires a standard SIM code, so you might require an adapter. Insert your SIM card into the slot so that the chip of the SIM card aligns with the contacts of the 4G Hat when the mount is closed, as you can see it in the picture below.
Open SIM card mount with SIM card inserted into the holder
Close the SIM card holder and push the cover forward to lock it.
4G Hat with SIM card attached
Turn the 4G Hat around and plug the antenna cable into the LTE connector labelled as MAIN
Antenna connected to the 4G Hat
Attaching the 4G Hat
Note
In the pictures, the Raspi is not yet waterproofed. Nonetheless, make sure that both the Raspi and the 4G hat are sufficiently waterproofed as explained in the beginning
Preparation: Raspi with the poles and the bolts to hold the 4G Hat
First, attach the two poles that hold the 4G Hat to the Raspi. The poles should stick out of the two mounting holes on the side opposed to the GPIO pins.
The two poles attached to the Raspi
Plug the 4G Hat onto the GPIO header of the Raspi, so that the pins are forwarded to the 4G Hat. Press the 4G Hat all the way down, so that the 4G Hat touches the poles. The result should look like in the two pictures below.
Note
You can ignore that the antenna is not connected to the 4G Hat in the two pictures below
4G Hat attached to the Raspi, pin header side view
4G Hat attached to the Raspi, pole side view
Lastly, plug the USB side of the micro USB to USB cable, which comes with the Waveshare module, into the same USB port of the Raspi as shown below
Micro USB to USB cable connected to the Raspi
and plug the micro USB side of the cable into the micro USB port on the 4G Hat labelled with USB. Do not plug it into the USB to UART port.
Micro USB to USB cable connected to the 4G Hat
