A Python driver for the DS2482 1-wire bridge

A driver for the DS2482 I2C to 1-wire bridge, written in Python for the Raspberry and in Micropython for the ESP8266 platform.


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.

picA1 1wire test board picA2 1wire board
Read More •••

Yet another personal hobby website, but...

Welcome to my personal hobby website


Read More •••

⇐ ⇐ Back •