esp32-owb
This is a ESP32-compatible C component for the Maxim Integrated "1-Wire" protocol.
It is written and tested for the v2.0 of the ESP-IDF environment, using the xtensa-esp32-elf toolchain (gcc version 5.2.0).
Features
This library includes:
- External power supply mode (parasitic mode not yet supported).
- Static (stack-based) or dynamic (malloc-based) memory model.
- No globals - support any number of 1-Wire buses simultaneously.
- 1-Wire device detection and validation, including search for multiple devices on a single bus.
- Addressing optimisation for a single (solo) device on a bus.
- 1-Wire bus operations including multi-byte read and write operations.
- CRC checks on ROM code.
Documentation
Automatically generated API documentation (doxygen) is available here.
Source Code
The source is available from GitHub.
License
The code in this project is licensed under the MIT license - see LICENSE for details.
Links
- esp32-ds18b20 - ESP32-compatible DS18B20 Digital Thermometer component for ESP32
- 1-Wire Communication Through Software
- 1-Wire Search Algorithm
- Espressif IoT Development Framework for ESP32
Acknowledgements
Parts of this code are based on references provided to the public domain by Maxim Integrated.
"1-Wire" is a registered trademark of Maxim Integrated.