先頭に戻る

MAXREFDES132#: 1-Wire Shield

MAXREFDES132

リファレンスデザインの免責事項 参照:  重要なお知らせと免責事項  (リファレンスデザインおよびその他マキシムのリソース)

説明

MAXREFDES132# provides a convenient platform for interfacing with 1-Wire® devices, 1-Wire Evaluation Kits (EV kits), and iButton® devices using the DS2484 I2C-to-1-Wire master, or a bit-bang master on D2 of the Arduino form-factor pinout.

特長

  • DS2484 1-Wire master
  • F5 iButton socket
  • 6P6C RJ-11 jack
  • mbed.org library and Arduino libraries
  • Arduino® shield form factor

Competitive Advantages

  • Portable
  • Compact
  • Flexible
  • Cost effective

  • maxrefdes132

    maxrefdes132

  • maxrefdes132fig01

    maxrefdes132fig01

Icon

設計、作成、試験済み

このボードは完全実装および試験済みです。

 

詳細セクション

詳細セクション

Introduction

Maxim’s 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 convenient platform for interfacing with 1-Wire devices, 1-Wire EV kits, and iButton through the DS2484 I2C-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 I2C-to-1-Wire master can be used on any mbed platform.

System Diagram

Figure 1. The MAXREFDES132# reference design block diagram.

Detailed Circuit Description

Figure 1 is a block diagram of MAXREFDES132#.

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 I2C-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.

Detailed Description of Firmware

A OneWire Library that supports all of our 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 at the following links.

  • mbed.org
  • Arduino
    • Library
    • Example programs for Arduino can be found in the library download folder OneWire/examples

The demo program iterates through the devices on the 1-Wire bus, and prints their 64-bit ROM IDs to a terminal. If the DS1920 is found, a temperature conversion is executed and the temperature is displayed in the terminal.

Demo Program Flow Chart.Figure 2. Demo program flow chart.

Quick Start

Required equipment:

  • Windows® PC with a USB port
  • MAXREFDES132#
  • Compatible Arduino form-factor mbed platform

Procedure

The reference design is fully assembled and tested. Follow the steps below to verify board operation.

mbed.org

  1. Connect MAXREFDES132# to your platform.
  2. Ensure JP1 and JP2 are configured properly for the 1-Wire master you would like to use.
    1. DS2484: JP1 on pins 2-3, JP2 removed.
    2. Bit Bang: JP1 on pins 1-2, JP2 installed. Bit Bang is only supported on MAX32600MBED platform.
  3. Install the provided DS1920 iButton, or user supplied 1-Wire device.
  4. Connect USB cable from the PC to your platform.
  5. If you have never used mbed, setup an account and add your platform to your online compiler according to the instructions on your platform's product page.
  6. If you are using Windows and have never used serial communications between your PC and your mbed platform, follow the instructions.
  7. Navigate your browser to the following link.
  8. Click the 'Import this program' button and import the demo as a 'program'
  9. Ensure that the #define for the 1-Wire master you want to use is uncommented and all others commented out
  10. Compile and download the resulting binary to your platform.
  11. Open Hyperterminal, or your favorite terminal emulator to find the appropriate COM port for your platform, and configure the connection for 9600bps, 8-N-1 with no flow control.
  12. Ensure the terminal is configured for 'Auto' receive and 'CR+LF' transmit.
  13. Press the reset button on your platform and exercise the demo.

Arduino

  1. Download the OneWire Library and install it to your libraries folder following the directions.
  2. Connect MAXREFDES132# to your Arduino board.
  3. Ensure JP1 and JP2 are configured properly for the 1-Wire master you would like to use
    1. DS2484 – JP1 on pins 2-3, JP2 removed
    2. Bit-Bang master – JP1 on pins 1-2, JP2 installed.
  4. Install the provided DS1920 iButton, or user supplied 1-Wire device
  5. Connect USB cable from the PC to your Arduino board.
  6. Ensure that you have the COM port that your Arduino board is connected to selected in the Arduino IDE.
  7. Download the example program to your Arduino board and open the Serial terminal.

1-Wire is a registered trademark of Maxim Integrated Products, Inc.
Arduino is a registered trademark of Arduino LLC.
ARM, Cortex, and mbed are registered trademarks of ARM Holdings.
iButton is a registered trademark of Maxim Integrated Products, Inc.
Windows is a registered trademark and registered service mark of Microsoft Corporation.

パラメトリック

入力タイプ Vin(Min) Vin(Max) Iout(Max) シングル/マルチ出力 Vout(V) Pout(W) 絶縁型/非絶縁型 トポロジ
DC 3.3 - - - - - - -

パラメトリック

入力タイプ DC
Vin(Min) 3.3
Vin(Max) -
Iout(Max) -
シングル/マルチ出力 -
Vout(V) -
Pout(W) -
絶縁型/非絶縁型 -
トポロジ -

マキシムデバイス (4)

型番 名称 製品ファミリ 注文 設計キットおよび評価モジュール
MAX3394E スピードアップ回路内蔵、±15kV ESD保護、大駆動電流のデュアル/クワッド/オクタル(8回路)レベル変換器 レベルトランスレータ 今すぐ購入 Design Kits
DS2484 シングルチャネル1-Wireマスター、可変タイミングおよびスリープモード内蔵 コントローラ/エキスパンダ 今すぐ購入 Design Kits
DS9503 抵抗付き、ESD保護ダイオード ESD保護ダイオード 今すぐ購入 Design Kits
DS9094F iButtonクリップ iButton 今すぐ購入 Design Kits

マキシムデバイス (4)

型番 製品ファミリ
レベルトランスレータ
スピードアップ回路内蔵、±15kV ESD保護、大駆動電流のデュアル/クワッド/オクタル(8回路)レベル変換器
コントローラ/エキスパンダ
シングルチャネル1-Wireマスター、可変タイミングおよびスリープモード内蔵
ESD保護ダイオード
抵抗付き、ESD保護ダイオード
iButton
iButtonクリップ

設計ファイル (7)

タイトル 種類 サイズ 日付
maxrefdes132_fab_ra ZIP 5MB 2017-11-03
MAXREFDES132#: 1-Wire Shield PDF 11KB 2017-11-03
MAXREFDES132_SCH_RA ; MAXREFDES132#: 1-Wire Shield PDF 251KB 2017-11-03
rd132v01_00 ZIP 13MB 2017-11-03
rd132_arduino_v01_00 ZIP 2MB 2017-11-03
MAXREFDES132#: 1-Wire Shield PDF 7MB 2017-11-03
rd132_mbed_v01_00 ZIP 3KB 2017-11-03
日付 種類
2017-11-03

maxrefdes132_fab_ra

(ZIP, 5MB)

2017-11-03

MAXREFDES132#: 1-Wire Shield

(PDF, 11KB)

2017-11-03

MAXREFDES132_SCH_RA ; MAXREFDES132#: 1-Wire Shield

(PDF, 251KB)

2017-11-03

rd132v01_00

(ZIP, 13MB)

2017-11-03

rd132_arduino_v01_00

(ZIP, 2MB)

2017-11-03

MAXREFDES132#: 1-Wire Shield

(PDF, 7MB)

2017-11-03

rd132_mbed_v01_00

(ZIP, 3KB)

MAXREFDES132 関連ビデオ

全ビデオを見る