From c083543bf51a0f6e064bcf390406c77060301092 Mon Sep 17 00:00:00 2001 From: Jens Nowak <43203851+jensileinchen@users.noreply.github.com> Date: Wed, 12 Aug 2020 11:25:43 +0200 Subject: [PATCH] Update README.md --- README.md | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index c19f1cf..4bb95b8 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,18 @@ + # TTN LoRaWAN Gateway upgrade -*suitable for RaspberryPi3b+ with chi2-PCB and IMST-iC880a-SPI Board* -(see https://github.com/ch2i/iC880A-Raspberry-PI for technical documentation and layout of the PCB) -> this is a step by step description how to upgrade your ttn lorawan -> gateway with environmental sensor (Bosch BME280) and digital voltmeter -> for monitoring input voltage supply. +Overview and steps: + + - [parts and bom](https://github.com/jensileinchen/gateway-hardware-upgrade#parts-needed-for-upgrading-your-existing-gateway-ch2i-pcb-with-sensor-and-voltmeter) + - [preparation](https://github.com/jensileinchen/gateway-hardware-upgrade#preparation) + - [update hardware](https://github.com/jensileinchen/gateway-hardware-upgrade#gateway-upgrade-hardware) + - [update software](https://github.com/jensileinchen/gateway-hardware-upgrade#gateway-upgrade-software) + - [testing](https://github.com/jensileinchen/gateway-hardware-upgrade#we-can-check-the-new-sensor---working-and-measuring-environmental-data-directly-from-balenacloud-very-easy) + +**Note:** This solution is suitable for Lorawan-Gateway based on RaspberryPi3b+ with chi2-PCB and IMST-iC880a-SPI Board, balena.cloud operated with [Draseks](https://github.com/Drasek)´ fork of this [repository](https://github.com/AmedeeBulle/ttn-gateway-containers) to use a multi-container configuration. Also see [repo](https://github.com/ch2i/iC880A-Raspberry-PI) before for technical documentation and layout of the PCB) This is a step by step description how to upgrade your ttn lorawan gateway with environmental sensor (Bosch BME280) and digital voltmeter for monitoring input voltage supply. + @@ -18,7 +24,7 @@ *(detailed descripton see [bom.txt](https://github.com/jensileinchen/gateway-hardware-upgrade/blob/master/bom.txt) file with linked suppliers / shops)* -## *Preparation* +## Preparation - Shutdown power-supply from gateway, remove power supply and antenna-connections - Open your station-box (or the housing from your system) @@ -34,12 +40,14 @@ After all preparation were done we can start with the upgrade steps -*VOLTMETER* +***VOLTMETER*** With hot-glue you can mount the voltmeter display on to the upper-left corner of the PCB board, just see my sample picture. The wiring can be placed below the PCB by using on oft he prepared holes Next step is to solder the voltmeter-cables to the power-supply connectors from the PCB from backside ! Ist located next tot he DC barrel connector, marked with „DC input“ Red cable is soldered to the DC input VIN (voltage in) and Black cable is soldered to the DC input GND. You will be able to measure the input-voltage now -*BME280 Sensor* +> Remark: its also possible to use any other Voltage connector for monitoring power supply - maybe you want to read voltage from the output of the step-down converter soldered on the backside of the ch2i-PCB. Just solder it on place you want to read. the GND is always GND anywhere on the PCB. + +***BME280 Sensor*** Within the delivery of the sensor is a 6-male connector - we will only use 4-males of this to solder it from the backside to the sensor. So cut it to four pins . Solder it to 3V3, GND, SCL, SDA connectors from the sensor (CSB, SD0 are not used). Next step is to solder the 4p female connector on the PCB board – use one of the I2C Bus connectors from your choice (keep in mind not to cover some screws when the sensor is installed). I used the first position from the I2C bus on the upper middle part from the board. Now you can easyly plug in the sensor module on the I2C bus (watch for the correct pin orientation of 3V3, GND, SCL, SDA). > *Remark: it is also possible to use some dupont-cables (jumper cables male/female) to place the sensor somewhere else inside of your station box if needed. Just plug this extensions between board and sensor if you want to. @@ -102,4 +110,4 @@ To finish all the works for this upgrade check all wiring inside of your gateway *** - +