系统板 6332

MAXREFDES130#: Building Automation Shield



MAXREFDES130# is an Arduino® form-factor shield compatible with ARM® mbed™ and Arduino platforms providing a complete reference for prototyping your next building automation design. This design includes eight 0VDC-10VDC analog outputs, one 4-20mA output, one 4-20mA input, eight nonlatching relays, three latching relays, an RTC, and 1-Wire® master. The MAXREFDES130# works well with one or more of the MAXREFDES131#, the 1-Wire®, Grid EYE® sensor, to make a complete building automation solution.

Refer to the Details tab for more information. Design files and firmware can be downloaded from the Design Resources tab. As with all Maxim reference designs, boards are available for purchase.

MAXREFDES130# System Board 放大+

Features

  • Analog IO
    • Eight OVDC-10VDC outputs
    • One 4-20mA Output
    • One 4-20mA Input
  • Arduino compatible
  • ARM mbed compatible
  • AC load switching
  • Latching relays for thermostat control
  • RTC

Competitive Advantages

  • Accelerated development time
  • Flexible analog for multiple configurations
  • Ease of use

Applications

  • Building automation
  • IoT
  • Animatronics
  • Holiday displays

Introduction

Buildings, the stages upon which we play out our personal and business lives, provide tremendous benefits with automation. Energy savings, comfort, and enhanced safety and security are a few of the substantial benefits. In order to maximize these benefits, legacy systems must be integrated with modern control and communications. Enter MAXREFDES130#. This unique design features multiple analog IO, matching the 0V to 10V and 4-20mA systems that are embedded in many buildings and control systems. In addition, both nonlatching and latching relays provide the ability to control multiple power lines and control temperature, both saving energy and ensuring a comfortable climate. Most importantly, MAXREFDES130# features a 1-Wire® master bus for use with MAXREFDES131#, the 1-Wire® Grid-EYE® sensor, bringing modern presence and gesture sensing feedback to the platform.


MAXREFDES130# System Board 放大+

MAXREFDES130# is an Arduino® form-factor shield compatible with ARM® mbed and Arduino platforms providing a complete reference for prototyping your next building automation design. The design includes eight 0VDC-10VDC analog outputs, one 4-20mA output, one 4-20mA input, eight nonlatching relays, three latching relays, an RTC, and 1-Wire master.

Libraries supporting the MAX11300 or PIXI, MAX4822, DS3231, and 1-Wire have been developed for both mbed and Arduino to support rapid prototyping with MAXREFDES130#. Demonstration programs for both Arduino and mbed are available at the following links respectively.

MAXREFDES130# Arduino Demo

MAXREFDES130# mbed Demo

Figure 1 outlines the generation of the different voltage rails used in MAXREFDES130#.

A single 24VDC power supply, either the provided wall-adapter or a user-supplied bench power supply, provides power to the design through either J1 or TB11, respectively. Use JP1 to select either the wall adapter or the bench supply.

The dual output MAX17521 and single-output MAX15062 efficiently step down the 24V input to the following voltage rails;

  • MAX17521, 5V at 0.5A for the 5V coils of the nonlatching relays K1-K9.
  • MAX17521, 7.3V at 0.5A sourcing VIN of the user-supplied mbed or Arduino platform.
  • MAX15062, 12V AVDDIO positive supply for mixed signal IO of the PIXI.

The output of the MAX15062 is further converted to the following rails;

  • MAX5091A, 5V AVDD analog supply of the PIXI.
  • MAX5091B, 3.3V DVDD digital supply of PIXI, DS2484, DS3231, and logic-level translators.
  • MAX889, -2V AVSSIO negative supply for mixed signal IO of the PIXI.

All six voltage rails have LED indicators, D3-D8, providing visual indication of their operation.

Figure 1. MAXREFDES130# power path.

Figure 2 provides a block diagram of MAXREFDES130# sub-systems.

The MAX3392, MAX3393, and MAX3394 provide logic-level translation between the host platform and MAXREFDES130#. The platform side of the LTs use IOREF of the platform as a reference. The other side is 3.3V logic. All DIO of the Arduino pin configuration, D0-D15, is used for the reference design except for D0-D3. D0 and D1 are broke out to 0.1in male header H6.

The MAX4822 relay driver interfaces to the host controller over the SPI bus and controls nonlatching relays K1-K8. The contacts of K1-K8 are rated for 250VAC/100VDC 10A max. The MAX11300, PIXI, also interfaces to the host controller over the SPI bus and is configured for nine DAC outputs, three GPO, and one ADC. The first eight DAC outputs source the 0V-10V analog outputs at TB9. The ninth DAC output provides the control signal for the MAX44244 op-amp configured as a difference amplifier, which drives Q1 pass transistor for sourcing the 4-20mA output AIO at TB12. The three GPO configured ports drive the coils of the latching relays K9-K11. The ADC-configured port senses the 4-20mA input AII using a sense resistor.

The DS3231 RTC and DS2484 1-Wire master both interface to the host controller over the I2C bus. A DS2431 1-Wire EEPROM allows for saving calibration data for the 4-20mA loop. Additional 1-Wire slaves can be accessed with the 6P6C RJ-11 jack J2. 3.3V limited to 0.1A is available at pin 1 of J2.

All six voltage rails have LED indicators, D3-D8, providing visual indication of their operation.

More detailed image.
Figure 2. MAXREFDES130# block diagram.

Detailed Description of Firmware

A terminal based demonstration program providing menu options for exercising the features of the reference design has been developed for both Arduino and mbed platforms. The source code of the demo also provides a reference on how to use the provided libraries for each of the following devices; DS3231 RTC, MAX4822 relay driver, MAX11300 mixed-signal IO, and the DS2484 1-Wire master.

Figure 3 provides a flow chart for the demo program.

All six voltage rails have LED indicators, D3-D8, providing visual indication of their operation.

More detailed image.
Figure 3. MAXREFDES130# firmware flow chart.

Quick Start

Required equipment:

  • Windows® PC with a USB port
  • MAXREFDES130#
  • Arduino or mbed platform

Procedure:

1. Connect MAXREFDES130# to your platform board.
2. Ensure JP1 is installed on pins 1-2.
3. Connect the appropriate USB cable for your platform from the PC to your platform.
4. Plug the provided wall adapter into the wall and connect to J1 of MAXREFDES130#.

mbed.org

5. If you have never used mbed, set up an account and add your platform to your online compiler per 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 here.
7. Navigate your browser to this link.
8. Click the 'Import this program' button and import the demo as a 'program.
9. Compile and download the resulting binary to your platform.
10. Open Hyperterminal, or your favorite terminal emulator, find the appropriate COM port for your platform, and configure the connection for 57600bps, 8-N-1 with no flow control.
11. Ensure the terminal is configured for 'Auto' receive and 'CR+LF' transmit.

Press the reset button on your platform and exercise the demo.

Arduino

5. Download the firmware files for Arduino from the design resources tab of MAXREFDES130#.
6. Install the libraries following the directions here.
7. Add the demo program to your 'sketches' folder.
8. Ensure that you have the COM port your Arduino board is connected to selected in the Arduino IDE.
9. Download the example program to your Arduino board.
10. Open Hyperterminal, or your favorite terminal emulator, find the appropriate COM port for your platform, and configure the connection for 57600bps, 8-N-1 with no flow control.
11. Ensure the terminal is configured for 'Auto' receive and ‘CR+LF’ transmit.
12. Select 'local echo' for your terminal emulator.

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

Quick Start

Required equipment:

  • Windows® PC with a USB port
  • MAXREFDES130#
  • Arduino or mbed platform
Procedure
 
Status:
Package:
Temperature:

MAX17521
60V、1A、双路输出、高效率、同步、降压型DC-DC转换器

  • 减少外部元件,降低总体成本
  • 缩减DC-DC调节器物料单
  • 降低功耗

MAX11300
PIXI、20端口可编程混合信号I/O,带有12位ADC、12位DAC、模拟开关和GPIO

  • 多达20路12位ADC输入,单端或差分
  • ADC输入绝对电压范围
  • 可编程采样平均,每个ADC端口均可

MAX15062
60V、300mA、超小尺寸、高效、同步降压型DC-DC转换器

  • 无需外部元件,降低总体成本
  • 缩减DC-DC稳压器库存清单
  • 降低功耗

DS2484
时间可调并具有休眠模式的单通道1-Wire主机

  • I2C主机接口支持100kHz和400kHz通信速率
  • 支持标准和高速1-Wire通信
  • 可调整1-Wire定时:tRSTL、tMSP、tW0L和tREC0

MAX44244
36V、高精度、低功耗、90µA双运放

  • 超低输入失调:7.5µV (最大值)
  • 低至30nV/°C的失调漂移(最大值)
  • 每路运放仅消耗90µA静态电流

MAX5091
28V、100mA、低静态电流LDO,带有复位和电源失效检测输入/输出

  • +5V至+28V宽输入电压范围
  • 可承受40V瞬态输入电压
  • 保证提供100mA输出电流

MAX13202E
4/6/8通道±30kV ESD保护器,µDFN封装

  • 高速数据线ESD保护
  • 纤小的µDFN封装
  • 输入电容低至6pF

MAX3394E
±15kV ESD保护、大电流驱动、双/四/八通道电平转换器,带有加速电路

  • VCC侧I/O线具有±15kV ESD保护
  • 双向电平转换无需方向引脚
  • VL_侧I/O和VCC_侧I/O具有10mA吸入/15mA源出电流能力

MAX4822
+3.3V/+5V、8通道继电器驱动器,具有快速恢复和省电模式

  • 内置齐纳反冲保护,实现快速恢复
  • 可编程省电模式降低了继电器功耗(MAX4822/MAX4824)
  • 10MHz SPI/QSPI/MICROWIRE兼容串行接口

DS3231
超高精度、I²C接口、集成RTC/TCXO/晶体

  • 0°C至+40°C范围内精度为±2ppm
  • -40°C至+85°C范围内精度为±3.5ppm
  • 为连续计时提供电池备份输入

DS2431
1024位1-Wire EEPROM

  • 1024位EEPROM存储器,分成四页,每页256位
  • 独立的存储区页,可以被永久写保护或进入EPROM仿真模式(“写入0”)
  • 切换点滞回与滤波可以在噪声下获得最佳性能

MAX3393E
±15kV ESD保护、1µA、16Mbps、双/四路、低电压电平转换器,UCSP封装

  • 保证的数据速率选项
  • 双向电平转换(MAX3372E/MAX3373E与MAX3377E/MAX3378E)
  • 工作电压VL低至+1.2V

MAX889
高频、稳压型、200mA、反相电荷泵

  • 200mA Output Current
  • Up to 2MHz Switching Frequency
  • Small Capacitors (1µF)