Top

MAXREFDES130#: Building Automation Shield

MAXREFDES130

Reference Design Disclaimer See the  Important Notice and Disclaimer  covering reference designs and other Maxim resources.

Description

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.

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

Icon

Designed, Built, Tested

Board pictured here has been fully assembled and tested.

 

Details Section

Details Section

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.

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.

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.

Parametrics

Input Type Vin(Min) Vin(Max) Iout(Max) Single/Multiple Output Vout(V) Pout(W) Isolated/Non-Isolated Topology
DC 24 - - - - - - -

Parametrics

Input Type DC
Vin(Min) 24
Vin(Max) -
Iout(Max) -
Single/Multiple Output -
Vout(V) -
Pout(W) -
Isolated/Non-Isolated -
Topology -

Maxim Devices (13)

Part Number Name Product Family Order Design kits and evaluation modules
MAX17521 60V, 1A, Dual-Output, High-Efficiency, Synchronous Step-Down DC-DC Converter Switching Regulators Buy Now Design Kits
MAX15062 60V, 300mA, Ultra-Small, High-Efficiency, Synchronous Step-Down DC-DC Converters Switching Regulators Buy Now Design Kits
MAX5091 28V, 100mA, Low-Quiescent-Current LDO with Reset and Power-Fail Input/Output Linear Regulators (LDOs) Buy Now Not Available
MAX889 High-Frequency, Regulated, 200mA, Inverting Charge Pump Charge Pumps Buy Now Design Kits
MAX3393E ±15kV ESD-Protected, 1µA, 16Mbps, Dual/Quad Low-Voltage Level Translators in UCSP Level Translators Buy Now Design Kits
MAX3394E ±15kV ESD-Protected, High-Drive Current, Dual-/Quad-/Octal-Level Translators with Speed-Up Circuitry Level Translators Buy Now Design Kits
MAX11300 PIXI, 20-Port Programmable Mixed-Signal I/O with 12-Bit ADC, 12-Bit DAC, Analog Switches, and GPIO Analog-to-Digital Converters Buy Now Design Kits
MAX4822 +3.3V/+5V, 8-Channel, Relay Drivers with Fast Recovery Time and Power-Save Mode Switches and Multiplexers Buy Now Design Kits
MAX13202E 2-/4-/6-/8-Channel ±30kV ESD Protectors in µDFN ESD-Protection Diodes Buy Now Not Available
DS2484 Single-Channel 1-Wire Master with Adjustable Timing and Sleep Mode Controllers/Expanders Buy Now Design Kits
DS3231 Extremely Accurate I²C-Integrated RTC/TCXO/Crystal Real-Time Clock IC - RTC Buy Now Design Kits
DS2431 1024-Bit 1-Wire EEPROM Memory Buy Now Design Kits
MAX44244 36V, Precision, Low-Power, 90µA, Single/Quad/Dual Op Amps Amplifiers Buy Now Design Kits

Maxim Devices (13)

Part Number Product Family
Switching Regulators
60V, 1A, Dual-Output, High-Efficiency, Synchronous Step-Down DC-DC Converter
Switching Regulators
60V, 300mA, Ultra-Small, High-Efficiency, Synchronous Step-Down DC-DC Converters
Linear Regulators (LDOs)
28V, 100mA, Low-Quiescent-Current LDO with Reset and Power-Fail Input/Output
Not Available
Charge Pumps
High-Frequency, Regulated, 200mA, Inverting Charge Pump
Level Translators
±15kV ESD-Protected, 1µA, 16Mbps, Dual/Quad Low-Voltage Level Translators in UCSP
Level Translators
±15kV ESD-Protected, High-Drive Current, Dual-/Quad-/Octal-Level Translators with Speed-Up Circuitry
Analog-to-Digital Converters
PIXI, 20-Port Programmable Mixed-Signal I/O with 12-Bit ADC, 12-Bit DAC, Analog Switches, and GPIO
Switches and Multiplexers
+3.3V/+5V, 8-Channel, Relay Drivers with Fast Recovery Time and Power-Save Mode
ESD-Protection Diodes
2-/4-/6-/8-Channel ±30kV ESD Protectors in µDFN
Not Available
Controllers/Expanders
Single-Channel 1-Wire Master with Adjustable Timing and Sleep Mode
Real-Time Clock IC - RTC
Extremely Accurate I²C-Integrated RTC/TCXO/Crystal
Memory
1024-Bit 1-Wire EEPROM
Amplifiers
36V, Precision, Low-Power, 90µA, Single/Quad/Dual Op Amps

Design Files (8)

Title Type Size Date
MAXREFDES130#: Building Automation Shield PDF 3MB 2017-11-03
maxrefdes130__fab_package_ra ZIP 5MB 2017-11-03
MAXREFDES130#: Building Automation Shield PDF 375KB 2017-11-03
rd130_arduino_v01_00 ZIP 1MB 2017-11-03
maxrefdes130_demo_generic_max32600mbed ZIP 595KB 2017-11-03
MAXREFDES130#: Building Automation Shield PDF 33KB 2017-11-03
rd130v01_00 ZIP 9MB 2017-11-01
rd130v01_01 ZIP 11MB 2017-11-03
Date Type
2017-11-03

MAXREFDES130#: Building Automation Shield

(PDF, 3MB)

2017-11-03

maxrefdes130__fab_package_ra

(ZIP, 5MB)

2017-11-03

MAXREFDES130#: Building Automation Shield

(PDF, 375KB)

2017-11-03

rd130_arduino_v01_00

(ZIP, 1MB)

2017-11-03

maxrefdes130_demo_generic_max32600mbed

(ZIP, 595KB)

2017-11-03

MAXREFDES130#: Building Automation Shield

(PDF, 33KB)

2017-11-01

rd130v01_00

(ZIP, 9MB)

2017-11-03

rd130v01_01

(ZIP, 11MB)

Applications

MAXREFDES130 Related Videos

View All Videos