I would like to set up 4 temperature sensors that will be stationed to read outside air temp., inside air temp, outside ground temp and incoming fresh air temp for a underground house. The sensors will be up to 7 meters apart wired back to a central monitoring location with 4 separate readouts. What items will I need to make all this come together?
Hi Peter
Welcome
I am just butting in here to offer an observation and start the ball rolling.
I think distance could complicate things a bit here. Most sensors on offer communicate with I2C which has some distance limitations. so the distance to your monitoring point would be all important.
I think a sketch of some kind showing approximate distances involved and the layout to enable potential ideas would be helpful in getting timely responses.
Cheers Bob
Hey there, @Peter335919,
Unless you have to use wired communication, microcontrollers and WiFi could be a good way to get a project like this off the ground, provided you have reliable WiFi coverage at each location. @Robert93820 is right that serial protocols like I²C do not work well at these distances, although an interface like RS485 is capable of much longer runs.
Its a great time for such a project. There are a lot of good microcontrollers with Bluetooth or WiFi on the market at the moment, my favourite being the ESP32-S3 (SKU: SS113991114), or potentially the Pico WH (SKU: CE08704), which comes with headers fitted. Either should be suitable for connecting to a BMP280 (SKU: ADA2651) for air temperature, and a 10K thermistor (SKU: ADA372) for ground temperature, then sending that data via MQTT to a centralised hub.
Are all the locations within WiFi range? And do they have easy access to power?
Hi Peter, interesting use case … and not difficult. Actually, deciding how to do it is probably the hardest part, because I can see several approaches each with pro’s and con’s … and various options.
For example … there are a large number of off-the-shelf battery operated temperature sensors which link by wi-fi or bluetooth to your mobile phone (eg Bunnings sell the TP-Link Tapo T310 Smart Temperature And Humidity Monitor for $29) … but most of these use internet and cloud servers (which you have no control over).
Here on Core Electronics forum you will find people more likely to encourage building your own electronic solution. Again, there are plenty of Temperature sensors to choose from (some also sensing CO2 air quality which might be important if you are pumping in fresh air), and the extra effort to solder the components (or modules in my case) is offset against having full control over your system.
So saying, it would be helpful to know a little more about your situation…
Do you have an existing system are you going to link this in to ? What are you thinking of doing with the sensor readings ? Just to display them somewhere, or create automations based on them ?
Are the 2 outdoor sensors quite close; and are the 2 inside sensors also quite close ? Is power available at each location ? You mentioned a 7 meter wire to connect them …
Like Jane, I am also a fan of ESP32 microcontrollers - though in my case I prefer to use ESPHome and Home Assistant to control them rather than writing custom programs.
Personally I feel more comfortable with digital electronics, so I tend to use devices with i2c interfaces - but i2c is definitely designed for short distances. Then I came across Adafruit LTC4311 I2C Extender / Active Terminator, and the SparkFun QwiicBus - EndPoint which extends i2c over Ethernet cable !