Currently, I am attempting to connect a single Dragino LSN50 sensor node to three SHT31 Sensors. I am wondering if the connection to three sensors from the LSN50 will be possible? If it is possible, how will this alter the code in the LSN50 sensor node and how will the pin connections change with multiple sensors connected to the LSN50? Will this connection influence the battery life?
Yes. If you look at the data sheet, page 8 & 9, it shows how you can dynamically alter the address of each sensor - it will need an I/O pin per sensor.
You will need to modify the Dragino supplied base source code to do this and connect the sensors to both the I2C bus as well as one additional output per sensor which seems to be available looking at the LoRa-ST docs.
The data sheets show that the sensors don’t consume much when reading, so whilst there will be an impact on the battery, it won’t be much. I’m sure you can look at the data sheet and do some calculations.
Hello, thank you for your help. I am able to understand the ADDR pin alterations for the SHT31 sensor. Now concentrating more on the source code for the task, where can I find the LoRa-ST docs that you are refering to?