IoT Gateway Models
We have had three models of the Gateway:
- 24 Pin (being phased out)
- 10 Pin
- 40 Extended Pin
The picture below show how the gateway fits on to the Raspberry Pi.
Power off the Raspberry Pi
Carefully align the header as shown in Figure 1 and push the gateway all the way down onto the Raspberry Pi GPIO header.
In order to remove the gateway from the raspberry Pi power off the Raspberry Pi and then hold the Raspberry Pi firmly with one hand and gently wiggle the Gateway loose with your other hand. Wiggling it from side to side is easier than pulling it directly upwards.
The gateway receiver uses the Raspberry Pi serial port in order to communicate.
Testing the Gateway
Open up a Raspberry Pi terminal window and test connectivity to the Gateway.
cd rf_tools python rf_config.py 01 HELLO SENT : 01HELLO RECEIVED : 01HELLO----
As shown above the rf_config.py tool sent the command a01HELLO and it received a response a01HELLO—. That means it is working.
If the tool was unable to communicate with the gateway then you would see two failed attempts to send the HELLO command as shown here:
python rf_config.py 01 HELLO SENT : 01HELLO SENT : 01HELLO
Another good test to perform is to validate that the Gateway radio is functioning correctly. You can do this by powering up a sensor and watching for the sensor STARTED messages.
python serial_mon.py Now startup the sensor... Thu Feb 27 15:02:51 2020 95 STARTED-- Thu Feb 27 15:02:51 2020 95 STARTED-- Thu Feb 27 15:02:51 2020 95 STARTED-- Thu Feb 27 15:02:51 2020 95 STARTED-- Thu Feb 27 15:02:51 2020 95 STARTED--