先頭に戻る

MAXREFDES131#: 1-Wire Grid-EYE Sensor

MAXREFDES131

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

説明

MAXREFDES131# is a sensing solution featuring the Panasonic AMG8833 Grid-EYE® and the Maxim 1-Wire® bus, enabled by the DS28E17. The system enables presence sensing, people counting, and gestures while tethered up to 100m along the 1-Wire bus. The board features RJ-11 connectors and convenient mounting holes for quick evaluation and implementation.

Example source code for interfacing with MAXREFDES131# is available for both Arm® mbed and Arduino® platforms. This design conveniently works with MAXREFDES132#, a hardware 1-Wire shield. A demonstration GUI allows for visual feedback of up to 10 daisy-chained MAXREFDES131# 1-Wire Grid-EYE sensors.

As with all Maxim reference designs, the BOM, schematics, layout files, and fab files are all available from the Design Resources tab. In addition, boards are available for purchase.

特長

  • 1-Wire network
  • Flexible location
  • Sleep mode
  • Example source code
  • Demonstration GUI

Competitive Advantages

  • Extended range
  • Compact
  • Power-conserving sleep mode
  • Cost effective

  • maxrefdes131fig00

    maxrefdes131fig00

  • maxrefdes131fig01

    maxrefdes131fig01

Icon

設計、作成、試験済み

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

 

詳細セクション

詳細セクション

Introduction

The future of smart connected devices is bright; however, many of the distinct applications are unclear and waiting to be invented. Clearly, critical components of IoT applications will ensure the safety of people and buildings, movement of commerce, and activation of features. For these reason, MAXREFDES131# is the future of IoT. This unique system marries a high-performance passive IR-sensing array, Panasonic’s Grid-EYE, with Maxim’s 1-Wire bus, for enhanced range and simple interface.

MAXREFDES131# integrates the DS28E17 1-Wire-to-I2C master bridge with the AMG8833 Grid-EYE sensor from Panasonic electronic components. This architecture allows the sensor to be placed up to 100m from the host processor, on the 1-Wire bus. The DS2413 1-Wire dual-channel addressable switch along with the MAX4717 dual-SPDT analog switch allow enumeration of units on the 1-Wire bus. In addition, all units can be put to sleep, or individually selected once enumerated, reducing power consumption.

Example source code for interfacing with MAXREFDES131# has been developed for both mbed and Arduino platforms. A demonstration GUI has also been developed allowing for visual feedback of up to 10 daisy-chained MAXREFDES131# 1-Wire Grid-EYE sensors.

Detailed Description of Hardware

Figure 1 provides a block diagram of MAXREFDES131#.

The design features two RJ-11 jacks, H1 and H2, for interfacing to the hardware and daisy chaining units together. At power up, the MAX4717 comes up with COM1 disconnected from the 1-Wire bus and COM2 connected allowing the host to see the first DS28E17 on the bus.

The DS2413 allows the host to connect/disconnect downstream units of daisy-chained MAXREFDES131# units. In addition, the DS2413 channel controlling the connection of COM2 to the 1-Wire bus also puts the DS28E17 to sleep when COM2 is disconnected from the 1-Wire bus. When the DS28E17 is put to sleep, it disconnects power from the AMG8833 reducing the current consumption of a single MAXREFDES131 from ~8mA to ~0.5mA. The I2C bus of the DS28E17 1-Wire-to-I2C master is also connected to H2 of each MAXREFDES131#.

Figure 1. Block diagram of MAXREFDES131#.

Detailed Description of Software and Firmware

A demonstration GUI and corresponding firmware showcase the interface to and operation of multiple MAXREFDES131# units, daisy chained together. The GUI works on both mbed.org and Arduino platforms. Figure 2 provides a flow chart for the operation of the GUI.

The GUI starts by initializing all controls and enumerating available COM ports. The system disables all controls, except for the “COM Port List” dropdown. Once the user selects a COM port and the firmware responds, the “Enumerate Sensors” push button is enabled.

After the user presses the “Enumerate Sensors” button, the firmware responds with a message containing the number of MAXREFDES131# units attached to the 1-Wire bus. In addition, the “Select Sensor” dropdown will be enabled.

After the user selects a sensor from the dropdown list, the “Receive Data” push button will be enabled. Once the “Receive Data” push button is pressed, the firmware will start sending data to the demonstration program, all other controls are disabled until the “Stop Receiving Data” push button is pressed.

Figure 3 provides a flow chart for the operation of the firmware.

The firmware consists of an interrupt service routine (ISR) that receives commands from the demonstration GUI and sets the demo state based on those commands. A switch statement in the main loop evaluates the state.

MAXREFDES131 GUI flowchart.More detailed image.
Figure 2. MAXREFDES131 GUI flowchart.

MAXREFDES131 Firmware flowchart.More detailed image.
Figure 3. MAXREFDES131 Firmware flowchart.

Quick Start

Required equipment:

  • MAXREFDES130#, MAXREFDES132#, or equivalent 1-Wire hardware interface. For Arduino, this interface must use the DS2484 I2C-to-1-Wire master.
  • MAXREFDES131#
  • mbed or Arduino platform and appropriate USB cable
  • PC with USB interface

Procedure

  • Download MAXREFDES131DemoV1.00.zip.
  • Extract the zip file to the desired location on your PC.

mbed.org

  1. Connect MAXREFDES130#, MAXREFDES132#, or equivalent 1-Wire hardware interface, to your platform board.
  2. When using MAXREFDES132#, 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. Software master – JP1 on pins 1-2, JP2 installed.
  3. Connect USB cable from the PC to your platform.
  4. When using MAXREFDES132#, ensure JP1 is installed on pins 2-3 and JP2 is removed.
  5. If you are using Windows® and have never used serial communications between your PC and your mbed platform, please follow the instructions here.
  6. Navigate your browser to the following link.
  7. Click the “Import this program” button and import the demo as a “program”
  8. Compile and download the resulting binary to your platform.
  9. Connect MAXREFDES131# to the 1-Wire bus with the provided cable.
  10. Reset the mbed platform.
  11. Navigate to where you installed the MAXREFDES131DemoV1.00 folder.
  12. Double click on the .exe file in the folder and exercise the GUI.

Arduino

  1. Download the OneWire Library and install it to your libraries folder following the directions.
  2. Download the OWGrid-EYE Library (1-Wire Grid-EYE) and install it to your libraries folder using the same directions as in step 1.
  3. Connect MAXREFDES130#, MAXREFDES132#, or equivalent 1-Wire hardware interface, to your Arduino board.
  4. If using MAXREFDES132#, ensure JP1 is on pins 2-3 and JP2 is removed.
  5. Connect USB cable from the PC to your Arduino board.
  6. Ensure that you have the proper COM port selected in the Arduino IDE “Tools” menu.
  7. Download the example program “MAXREFDES131_GUI_Firmware” found under the ”1-Wire Grid-EYE” library to your Arduino.
  8. Reset your Arduino.
  9. Navigate to where you installed the MAXREFDES131DemoV1.00 folder.
  10. Double click on the .exe file in the folder and exercise the GUI.

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

Detailed Description of Hardware

Figure 1 provides a block diagram of MAXREFDES131#.

The design features two RJ-11 jacks, H1 and H2, for interfacing to the hardware and daisy chaining units together. At power up, the MAX4717 comes up with COM1 disconnected from the 1-Wire bus and COM2 connected allowing the host to see the first DS28E17 on the bus.

The DS2413 allows the host to connect/disconnect downstream units of daisy-chained MAXREFDES131# units. In addition, the DS2413 channel controlling the connection of COM2 to the 1-Wire bus also puts the DS28E17 to sleep when COM2 is disconnected from the 1-Wire bus. When the DS28E17 is put to sleep, it disconnects power from the AMG8833 reducing the current consumption of a single MAXREFDES131 from ~8mA to ~0.5mA. The I2C bus of the DS28E17 1-Wire-to-I2C master is also connected to H2 of each MAXREFDES131#.

Figure 1. Block diagram of MAXREFDES131#.

Detailed Description of Software and Firmware

A demonstration GUI and corresponding firmware showcase the interface to and operation of multiple MAXREFDES131# units, daisy chained together. The GUI works on both mbed.org and Arduino platforms. Figure 2 provides a flow chart for the operation of the GUI.

The GUI starts by initializing all controls and enumerating available COM ports. The system disables all controls, except for the “COM Port List” dropdown. Once the user selects a COM port and the firmware responds, the “Enumerate Sensors” push button is enabled.

After the user presses the “Enumerate Sensors” button, the firmware responds with a message containing the number of MAXREFDES131# units attached to the 1-Wire bus. In addition, the “Select Sensor” dropdown will be enabled.

After the user selects a sensor from the dropdown list, the “Receive Data” push button will be enabled. Once the “Receive Data” push button is pressed, the firmware will start sending data to the demonstration program, all other controls are disabled until the “Stop Receiving Data” push button is pressed.

Figure 3 provides a flow chart for the operation of the firmware.

The firmware consists of an interrupt service routine (ISR) that receives commands from the demonstration GUI and sets the demo state based on those commands. A switch statement in the main loop evaluates the state.

MAXREFDES131 GUI flowchart.More detailed image.
Figure 2. MAXREFDES131 GUI flowchart.

MAXREFDES131 Firmware flowchart.More detailed image.
Figure 3. MAXREFDES131 Firmware flowchart.

Quick Start

Required equipment:

  • MAXREFDES130#, MAXREFDES132#, or equivalent 1-Wire hardware interface. For Arduino, this interface must use the DS2484 I2C-to-1-Wire master.
  • MAXREFDES131#
  • mbed or Arduino platform and appropriate USB cable
  • PC with USB interface

Procedure

  • Download MAXREFDES131DemoV1.00.zip.
  • Extract the zip file to the desired location on your PC.

mbed.org

  1. Connect MAXREFDES130#, MAXREFDES132#, or equivalent 1-Wire hardware interface, to your platform board.
  2. When using MAXREFDES132#, 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. Software master – JP1 on pins 1-2, JP2 installed.
  3. Connect USB cable from the PC to your platform.
  4. When using MAXREFDES132#, ensure JP1 is installed on pins 2-3 and JP2 is removed.
  5. If you are using Windows® and have never used serial communications between your PC and your mbed platform, please follow the instructions here.
  6. Navigate your browser to the following link.
  7. Click the “Import this program” button and import the demo as a “program”
  8. Compile and download the resulting binary to your platform.
  9. Connect MAXREFDES131# to the 1-Wire bus with the provided cable.
  10. Reset the mbed platform.
  11. Navigate to where you installed the MAXREFDES131DemoV1.00 folder.
  12. Double click on the .exe file in the folder and exercise the GUI.

Arduino

  1. Download the OneWire Library and install it to your libraries folder following the directions.
  2. Download the OWGrid-EYE Library (1-Wire Grid-EYE) and install it to your libraries folder using the same directions as in step 1.
  3. Connect MAXREFDES130#, MAXREFDES132#, or equivalent 1-Wire hardware interface, to your Arduino board.
  4. If using MAXREFDES132#, ensure JP1 is on pins 2-3 and JP2 is removed.
  5. Connect USB cable from the PC to your Arduino board.
  6. Ensure that you have the proper COM port selected in the Arduino IDE “Tools” menu.
  7. Download the example program “MAXREFDES131_GUI_Firmware” found under the ”1-Wire Grid-EYE” library to your Arduino.
  8. Reset your Arduino.
  9. Navigate to where you installed the MAXREFDES131DemoV1.00 folder.
  10. Double click on the .exe file in the folder and exercise the GUI.

1-Wire is a registered trademark of Maxim Integrated Products, Inc.
Arduino is a registered trademark of Arduino LLC.
ARM and mbed are registered trademarks of ARM Holdings.
Grid-EYE is a registered trademark of Panasonic Corporation.
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)

型番 名称 製品ファミリ 注文 設計キットおよび評価モジュール
MAX13202E 2/4/6/8チャネル±30kV ESD保護、µDFNパッケージ ESD保護ダイオード 今すぐ購入 Not Available
DS2413 1-Wire、デュアルチャネル、アドレス指定可能なスイッチ コントローラ/エキスパンダ 今すぐ購入 設計キット
MAX4717 4.5Ω/20Ω、300MHz帯域幅、デュアルSPDTアナログスイッチ、UCSPパッケージ スイッチおよびマルチプレクサ 今すぐ購入 Not Available
DS28E17 1-Wire®-I2Cマスターブリッジ iButton 今すぐ購入 設計キット

マキシムデバイス (4)

型番 製品ファミリ
ESD保護ダイオード
2/4/6/8チャネル±30kV ESD保護、µDFNパッケージ
Not Available
コントローラ/エキスパンダ
1-Wire、デュアルチャネル、アドレス指定可能なスイッチ
スイッチおよびマルチプレクサ
4.5Ω/20Ω、300MHz帯域幅、デュアルSPDTアナログスイッチ、UCSPパッケージ
Not Available
iButton
1-Wire®-I2Cマスターブリッジ

設計ファイル (8)

タイトル 種類 サイズ 日付
rd131_arduino_v01_00 ZIP 1MB 2019-07-09
maxrefdes131_bom_ra PDF 13KB 2019-07-09
maxrefdes131_layout_ra PDF 2MB 2019-07-09
maxrefdes131_sch_ra PDF 248KB 2019-07-09
rd131v01_00 ZIP 29MB 2019-07-09
maxrefdes131_fab_package_ra ZIP 6MB 2019-07-09
maxrefdes131demov1.00 ZIP 17MB 2019-07-09
rd131_mbed_v01_00 ZIP 581KB 2019-07-09
日付 種類
2019-07-09

rd131_arduino_v01_00

(ZIP, 1MB)

2019-07-09

maxrefdes131_bom_ra

(PDF, 13KB)

2019-07-09

maxrefdes131_layout_ra

(PDF, 2MB)

2019-07-09

maxrefdes131_sch_ra

(PDF, 248KB)

2019-07-09

rd131v01_00

(ZIP, 29MB)

2019-07-09

maxrefdes131_fab_package_ra

(ZIP, 6MB)

2019-07-09

maxrefdes131demov1.00

(ZIP, 17MB)

2019-07-09

rd131_mbed_v01_00

(ZIP, 581KB)

アプリケーション

MAXREFDES131 関連ビデオ

全ビデオを見る