nliaudat / esp32_8ch_motor_shield

An ESP32 based 8 channels motor controller (to replace Homematic IP Floor Heating Actuator)
Other
84 stars 17 forks source link

Documentation: Usage of 1-wire temperature sensors #45

Closed heinemannj closed 9 months ago

heinemannj commented 9 months ago

Usage of 1-wire temperature sensors (DS18B20): https://esphome.io/components/sensor/dallas.html

"... The 1-Wire bus ... should have an external pullup resistor of about 4.7KΩ. ..." "... For this, connect a resistor of about 4.7KΩ between 3.3V and the data pin. ..." "... Values ± 1KΩ will, in most cases, work fine as well, if you don’t have massively long wires. ..."

1-Wire Bus Board DS18B20 Resistor
Power VCC (3.3. V) red ~4.7KΩ between Power and Data
Ground GND black -
Data IO (e.g. IO22) yellow ~4.7KΩ between Power and Data

See: https://github.com/nliaudat/esp32_8ch_motor_shield/blob/main/extension.md

Note: With proper and short cabling more than 16 DS18B20 on the same 1-wire bus seems to be possible.

nliaudat commented 9 months ago

Fix in https://github.com/nliaudat/esp32_8ch_motor_shield/wiki/1%E2%80%90wire-temperature-sensors