Hi all,
I’m very new to pi and programming, so be easy on me. I’ve read and read, I think I have all the parts, but there are some (many) holes in my understanding that I’d appreciate some help with,
The Project: I’m trying to set up 6 BME280 sensors to read temp/humidity in both a roof and wall assembly, to track moisture migration through said assemblies over the seasons. Due to where these assemblies are my first question is about allowable distance between sensors and pi. I wanted to plan to locate the rpi4 in a utility closet, and it would be about a 20’ run to the farthest sensors embedded in the ceiling. Is that possible? I was planning to use 22g wire, but I have some 18g wire if that would help with the distance. Or is that simply a non-starter and too far away?
The next questions are about connecting that many sensors, would I want to use a breadboard to make those 6 connections over the I2C bus?
From reading it seems that the BME280 uses a default address of either 0x76 or 0x77, but it seems you can configure custom addresses to allow them to share the bus, is that the case? I saw that there was a hardware modification that can be done to change the address
https://raspberrypi.stackexchange.com/q ... erry-pi-3b
but this was only when dealing with 2 sensors. I have yet to read anywhere instructions for connecting 6 sensors. Is a multiplexer necessary, or is there a software way to assign addresses?
I would like to set the whole thing up headless and be able to SSH in and access the data when I wanted, but just have it always taking readings, maybe 3xday. That’s if the project is even feasible, please help me fill in a couple holes here and let me know if I’m even remotely on the right track, thank you.
I’m very new to pi and programming, so be easy on me. I’ve read and read, I think I have all the parts, but there are some (many) holes in my understanding that I’d appreciate some help with,
The Project: I’m trying to set up 6 BME280 sensors to read temp/humidity in both a roof and wall assembly, to track moisture migration through said assemblies over the seasons. Due to where these assemblies are my first question is about allowable distance between sensors and pi. I wanted to plan to locate the rpi4 in a utility closet, and it would be about a 20’ run to the farthest sensors embedded in the ceiling. Is that possible? I was planning to use 22g wire, but I have some 18g wire if that would help with the distance. Or is that simply a non-starter and too far away?
The next questions are about connecting that many sensors, would I want to use a breadboard to make those 6 connections over the I2C bus?
From reading it seems that the BME280 uses a default address of either 0x76 or 0x77, but it seems you can configure custom addresses to allow them to share the bus, is that the case? I saw that there was a hardware modification that can be done to change the address
https://raspberrypi.stackexchange.com/q ... erry-pi-3b
but this was only when dealing with 2 sensors. I have yet to read anywhere instructions for connecting 6 sensors. Is a multiplexer necessary, or is there a software way to assign addresses?
I would like to set the whole thing up headless and be able to SSH in and access the data when I wanted, but just have it always taking readings, maybe 3xday. That’s if the project is even feasible, please help me fill in a couple holes here and let me know if I’m even remotely on the right track, thank you.
Statistics: Posted by Thirsty Endgrain — Thu Feb 01, 2024 5:30 am — Replies 1 — Views 88