Is there something to send temparature values via WLAN ?

hi,
i want to read temparature values i.e. from DS18B20-Sensors (or similar) via WLAN
to a central point .
with cable and arduino namo that works fine in a one floor residance.

but in a house with more than one floor, one has to install many cables,
and i dont know, how long cables may be for getting acceptable results
via OneWire-technology..

so i'm looking for a bluetooth or wlan-solution.
dont want to mount ' big boxes ' with ardiuno in that at the end points..

any tip is welcome..thanks in advance..

Use an ESP32 to read the temperature and then you have the choice of sending the value by WiFi, Bluetooth or ESP-NOW with no external hardware

@UKHeliBob makes a good suggestion - ESP32 modules are low cost and have plenty of functionality
if the house has local WiFi coverage connect ESP32 modules too it
if not you may be able to connect multiple ESP32 modules using ESP-WiFi_MESH - can depend on distances between nodes, thickness of walls etc etc

does ESP32-module measure temperature itself ?

I have code for a D1 Mini that reads a DS18B20 and makes it available over WiFi. I have code for other D1 Minis to read it.

Code is written in 2 versions, one uses UDP, the other TCP. I'm happy to share it but you will find other stuff going on in there, you will have to edit to suit what you want.

Google search on;

ESP32 internal temperature sensor

Points to;

for local temperatures I tend to use a BME280 - see esp32-bme280-arduino-ide-pressure-temperature-humidity

many thanks for your tipps again !

so i'll test option of srnet..
at least i dont need pressure and humidity really..
and this does not need much volume at the measuring point
..guess could work with 3V-battey like CR2032 ?

What about the point the article makes;

It is important to remember that the sensor is primarily designed to be used for measuring the internal chip temperature and not the ambient temperature.

this means , if i hide the esp32 in a nice little box, that
measuring of room temparature is randomly ?

so it may be better to use esp32 with an external sensor like
what i mounted here..the DS18B20.. i have it in TO92 too..

the DS18B20 as suggested by @PerryBebbington is worth considering
easy to interface and works OK with the ESP32
not sure how long a lead may b used but it is possible a single ESP32 could monitor several

1 Like

actually i'm looking for a lib for sensor what can be used for esp32..not sure whether
i may be the same as for adruino nano..

the following works on an ESP32 with a DS18B20

//  ESP32 DS18B20 one-wire temperature sensors -  read the temperature

// connect red 3v black GND yellow (signal) pin 2

/********************************************************************/
// First we include the libraries
#include <OneWire.h>
#include <DallasTemperature.h>
/********************************************************************/
// Data wire is plugged into pin 23 on the ESP32
#define ONE_WIRE_BUS 23
/********************************************************************/
// Setup a oneWire instance to communicate with any OneWire devices
// (not just Maxim/Dallas temperature ICs)
OneWire oneWire(ONE_WIRE_BUS);
/********************************************************************/
// Pass our oneWire reference to Dallas Temperature.
DallasTemperature sensors(&oneWire);
/********************************************************************/
void setup(void) {
  // start serial port
  Serial.begin(115200);
  Serial.println("Dallas Temperature IC Control Library Demo");
  // Start up the library
  sensors.begin();
}
void loop(void) {
  // call sensors.requestTemperatures() to issue a global temperature
  // request to all devices on the bus
  /********************************************************************/
  Serial.print(" Requesting temperatures...");
  sensors.requestTemperatures();  // Send the command to get temperature readings
  Serial.println("DONE");
  /********************************************************************/
  Serial.print("Temperature is: ");
  Serial.print(sensors.getTempCByIndex(0));  // Why "byIndex"?
  // You can have more than one DS18B20 on the same bus.
  // 0 refers to the first IC on the wire
  delay(1000);
}

readings

Temperature is: 25.56 Requesting temperatures...DONE
Temperature is: 26.00 Requesting temperatures...DONE
Temperature is: 26.75 Requesting temperatures...DONE
Temperature is: 27.50 Requesting temperatures...DONE
Temperature is: 28.13 Requesting temperatures...DONE
Temperature is: 28.69 Requesting temperatures...DONE
Temperature is: 29.13 Requesting temperatures...DONE
Temperature is: 29.56 Requesting temperatures...DONE
Temperature is: 29.94 Requesting temperatures...DONE
Temperature is: 30.25

thanks horace
meanwhile i have found docs what seem useful for beginning with esp32..
at now i have only some experience with arduino nano + mega..
but the world is great :smiley:

you can program the ESP32 using the Arduino IDE
have a look at installing-the-esp32-board-in-arduino-ide-windows-instructions
be careful, the ESP32 uses 3.3V logic microcontrollers such as Mega and Nano use 5V logic
interfacing 5V devices to the ESP32 is possible but requires level shifters, potential dividers, etc

does CR2032-Batteries satisfy ESP32-need ?
that is 0,3V less ..?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.