ZigBee Temperatur Sensor End Device using an ESP32-C6 microcontroller and a DS18B20 temperature sensor.
The code is based on the examples provided with the Arduino ESP32 and Dallas Temperature libraries:
This project is using a forked version of the Dallas Temperature library, which in turn is using the OneWireNg library with support for ESP32 C6.
- ESP32-C6 (Tested with a Waveshare ESP32-C6-DEV-KIT-N8)
- DS18B20 Temperature sensor
- 4.7k Ohm resistor
A Google search for "ds18b20 esp32" will find the necessary wiring diagrams. The default GPIO pin is set to 10.