1-Wire Module The 1-Wire Module allow you to connect I²C devices over a distance of several meters. The I²C protocol is encapsulated to a 1-Wire protocol. The data are protected using 16-bit CRC. You can use the Sensor Module to create a 1-Wire bus master.

Features

  • Integrated 1-Wire to I²C master bridge DS28E17 (Maxim)
  • Operating voltage range: 2.5 V to 3.6 V
  • Operating temperature range: -20 to 70 °C
  • Mechanical dimensions: 33 x 55 mm

Resources

As The Wikipedia says 1-Wire is a "legendary" peripheral bus invented by Dallas Semiconductors for data exchange with low power slow peripherals. Is is usually compared with I2C bus by Philips Semiconductors (today NXP). Compared to that that bus the 1W has better solution for addressing where each and every device get's its own unique address (compare Ethernet MAC addresing within OUI). This wise idea built into the concept since its birth has actually eliminated the need for bus multiplexing and reduced also the need for extra wires for powering the devices. As an example the DS18S20 (digital thermometer) can powerd by parasitic energy from data communication and with acceptable precision can measure over just 2 wires temperature at paralelly connected sensors across a smaller distances.

Therefore this module brings those two worlds together by bridging using ?DS2482?.

fig. DS2482-100

While connected to I2C it offers those commands (for details refer to the datasheet):

code Command/function
0xf0 Device reset
0xd2 Write configuration
0xb4 1-Wire reset
0x87 1-Wire single bit
0xa5 1-Wire write byte
0x96 1-Wire read byte
0x78 1-Wire triplet

For your convenience it was wrapped into simple function in the SDK.

[ref.API Doc]()