Maxim's 1-Wire interface meets Arduino and mbed

October 18, 2016 // By Graham Prophet
Maxim Integrated has posted details of its reference design, MAXREFDES132#, which provides a platform for interfacing with the company's 1-Wire devices, 1-Wire Evaluation Kits (EV kits), and iButton devices using the DS2484 I²C-to-1-Wire master, or a bit-bang master on D2 of the Arduino form-factor pinout.

Use the design with 1-Wire networks, data logging, and for rapid prototyping. Maxim says that its 1-Wire bus “continues to flourish in the era of IoT”. This unique protocol provides communication and power along a single wire, at relatively long distances. Now, with MAXREFDES132#, Maxim merges a reliable, hardware based 1-Wire master with Arduino and mbed.org platforms.

 

MAXREFDES132# provides a platform for interfacing with 1-Wire devices, 1-Wire EV kits, and iButton through the DS2484 I 2C-to-1-Wire master, or a bit-bang master on D2 of the Arduino form-factor pinout. Both masters are supported by the ARM mbed OneWire Library and the Arduino Library . Bit Banging is only supported on the MAX32600MBED platform, the DS2484 I 2C-to-1-Wire master can be used on any mbed platform.

The MAX3394E two-channel bidirectional level-translator provides compatibility between 5V and 3.3V platforms using the IOREF pin of the Arduino form factor.

The DS2484 I 2C-to-1-Wire master provides internal user-adjustable timers that relieve the system host processor from generating time-critical 1-Wire waveforms, supporting both standard and overdrive 1-Wire communication speeds. In addition, the 1-Wire bus can be powered down under software control through D3 of the Arduino form-factor pinout.

D2 can be used to bit bang the 1-Wire bus by installing JP1 on pins 1-2 and installing JP2 to connect the provided pullup to the bus. Bit Banging is only supported by the OneWire Library on mbed for the MAX32600MBED board.

A OneWire Library that supports all of Maxim's silicon masters from one common API has been developed for ARM Cortex-M micros using the online development environment mbed.org. The library and example programs can be found from links on the Reference Design's web page; https://www.maximintegrated.com/en/design/reference-design-center/system-board/6304.html