From 9fcff18009295432fabaeff42d1ca840681a21f1 Mon Sep 17 00:00:00 2001 From: jpmeijers Date: Thu, 9 Mar 2017 18:26:26 +0100 Subject: [PATCH] Add paragraph about reset pins, and common values. --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5887dc7..b46d02a 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,9 @@ GW_TYPE | imst-ic880a-spi GW_CONTACT_EMAIL | yourname@yourdomain.com GW_ID | The gateway ID from the TTN console GW_KEY | The gateway KEY from the TTN console +GW_RESET_PIN | 22 -On the other hand, for the LinkLabs gateway, which has a built-in GPS, you only need: +On the other hand, for the LinkLabs gateway, which has a built-in GPS, you need: DEVICE ENVIRONMENT VARIABLES @@ -47,9 +48,29 @@ GW_CONTACT_EMAIL | yourname@yourdomain.com GW_ID | The gateway ID from the TTN console GW_KEY | The gateway KEY from the TTN console GW_GPS | true +GW_RESET_PIN | 29 For a more complete list of possible environment variables, see [CONFIGURATION](CONFIGURATION.md). +### Reset pin values + +Depending on the way you connect the concentrator board to the Raspberry Pi, the reset pin of the concentrator might be on a different GPIO pin of the Raspberry Pi. Here follows a table of the most common backplane boards used, and the reset pin number you should use in the `GW_RESET_PIN` environment variable. + +Note that the reset pin you should define is the physical pin number on the Raspberry Pi. To translate between different numbering schemes you can use [pinout.xyz](https://pinout.xyz/). + +Backplane | Reset pin +-------------------------------------- +Gonzalo Casas backplane
https://github.com/gonzalocasas/ic880a-backplane
https://www.tindie.com/stores/gnz/ | 22 +ch2i
https://github.com/ch2i/iC880A-Raspberry-PI | 11 +Linklabs Rasberry Pi Hat | 29 (untested) +Rising HF Board | 26 (untested) + + +If you get the message +`ERROR: [main] failed to start the concentrator` +after resin.io is finished downloading the application, or when restarting the gateway, it most likely means the `GW_RESET_PIN` you defined is incorrect. + + ### SPECIAL Note for using the LinkLabs gateway on a Raspberry Pi 3 There is a backward incomatibility between the Raspberry Pi 1 and 2 hardware, and Raspberry Pi 3. For Raspberry Pi 3, it is necessary to make a small additional configuration change.