A Python driver for the DS2482 1-wire bridge
I have started a home automation project, based on Raspberry Pi B3, ESP8266 Controller, Python and 1-wire devices. Unfortunately my experiences with the RasPi 1-wire interface have been disappointing. Slow and not very reliable. Sometimes sensors were not detected or sensor data changes haven't been recognized. After some internet searches I decided to replace the RasPi 1-wire interface with the DS2482 device, a I2C to 1-wire bridge. The device is connected to the host via I2C bus and has a "high level" programming interface. The other side of the device manages the 1-wire bus in detail, including the bus signal timing, without any host load. As I didn't find a Python library for that device, I finally came up with my own driver for the bridge.
1wire test board |
1wire board |

