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.
Thank you for your reply. Is the link to the datasheet on the wiki? I was not able to find the data sheet you are refering to. This seems to be the data sheet on their site : (https://www.dragino.com/downloads/downloads/LSN50-LoRaST/Datasheet_LSN50_v2.pdf)
If possible, could you please link the data sheet where the sensor’s addresses are altered?
I’d not expect Dragino to have the data sheets for every sensor available so I asked Ms Google for the datasheet for the SHT31.
When connecting sensor Z to MCU Y that’s on device Q, looking at all the data sheets is the winning formula.
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?
On the Dragino website - the LoRa-ST is the MCU & radio module at the heart of the LSN50
Has someone tried sht85 on lsn50v2? will it work?
Hello, how do we access the lsn50 source code?
erm…by looking at the Dragino site?! Had you even tried before asking?
gets you to tab for documents (near the bottom of page)
which gets you to link for open source (at the bottom of page)
which gets you to here from software (last item!)