You can use a wire-based antenna, but this 1/2 wave whip antenna we stock works with the LoRa radios we have and extends the range of the gateway.
If you have a LoRa Radio Bonnet, you can connect the antenna directly to the uFL antenna on the bonnet.
If you're using an Adafruit LoRa Radio Bonnet, you do not need to wire anything - proceed to setting up the Raspberry Pi as a gateway.
If you're using a breadboard, follow the wiring below
Wiring the Push-Buttons
We'll start by wiring three buttons. These will the physical interface between the Raspberry Pi and the Radio - we'll want to control the radio by pressing some buttons.
Make the following connections between the Pi and the three push-buttons:
- Pi GPIO #5 to Button A (orange wire)
- Pi GPIO #6 to Button B (blue wire)
- Pi GPIO #12 to Button C (green wire)
- Pi 3.3V to Power Rail (red wire)
- Pi GND to Ground Rail (black wire)
Wiring the OLED
- Display GND to Raspberry Pi GND (black wire)
- Display Vin to Raspberry Pi 3.3V (red wire)
- Display SCL to Raspberry Pi SCL (green wire)
- Display SDA to Raspberry Pi SDA (yellow wire)
Wiring the RFM Radio Module
Make the following connections between the Raspberry Pi and the RFM Radio Module:
- Vin to Raspberry Pi 3.3V
- GND to Raspberry Pi Ground
- RFM G0 to Raspberry Pi GPIO #5
- RFM RST to Raspberry Pi GPIO #25
- RFM CLK to Raspberry Pi SCK
- RFM MISO to Raspberry Pi MISO
- RFM MOSI to Raspberry Pi MOSI
- RFM CS to Raspberry Pi CE1
Next, let's move on to installing the necessary files for this project.