Technical Note Entering and Using Command Mode on the Honeywell HumidIcon Digital Humidity/Temperature Sensors: HIH- 6130/6131 Series

Similar documents
SS400 Series. Please refer to SS400 Series Order Guide on page 7 for details.

MICRO SWITCH Snap-in Panel Mount Basic Switches. DM DP Series. Datasheet

SMART Position Sensor, 100 and 180 Arc Configurations

Installation Instructions for the ISSUE 3 RDS-DIN1 Series Single Channel Interface Module PK 80103

Model SC500. Programmable Single-Channel Transducer Indicator/Conditioner DESCRIPTION FEATURES

Torque Thrust Transducers Model Issue 1. Datasheet FEATURES POTENTIAL APPLICATIONS DESCRIPTION PORTFOLIO VALUE TO CUSTOMERS

Quick Start Guide for the Limitless WLS Series Single Switch Adapter

Push-Pull and E-Stop Switches. Datasheet

Rotary Switches. Datasheet

MICRO SWITCH Military-Grade Toggle Switches TL Series Issue 4. Datasheet FEATURES POTENTIAL APPLICATIONS DESCRIPTION DIFFERENTIATION PORTFOLIO

MICRO SWITCH Military-Grade Toggle Switches. TL Series. Datasheet

With this sensor, Honeywell has utilized MR technology through the ASIC at a level never before accomplished.

MICRO SWITCH Premium Subminiature Basic Switches. SM Series. Datasheet

With this sensor, Honeywell has utilized MR technology through the ASIC at a level never before accomplished.

HumiChip. Humidity & Temperature Solution. Features. Product Summary. Application. Automobile & Transportation. Energy Saving HVAC Control

User Instructions for the

MICRO SWITCH Miniature Sealed Basic Switches. SE and XE Series. Datasheet

MICRO SWITCH Sealed Subminiature Basic Switches. ZW Series. Datasheet

Low Pressure Digital Sensor

onlinecomponents.com

MICRO SWITCH Commercial-Grade Toggle Switches. NT Series. Datasheet

MICRO SWITCH Standard Basic Switches V15 Series Issue 9. Datasheet

VP Process Inc. Model: VP-EC-RDU Modbus RTU LCD Display

Controllers, Indicators & Set Point Programmers

Powered Roller Controller for DeviceNet

XS S ERIES TM PMB US TM O PTION C ARD

EZ-LIGHT K50 Modbus Series Pick-to-Light Sensors

F²MC-16FX FAMILY ALL SERIES FLASH SECURITY 16-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

OPERATING MANUAL LOW-VOLTAGE DISCONNECT PANELS LVD400 & LVD600 SERIES

Low Pressure Digital & Analog Sensor

Instruction and Operation Manual

DIGITAL HUMIDITY SENSOR HYT-131

TSYS01-FAMILY Digital Temperature Sensors

AND9032. How to Read Temperature Through I 2 C Bus for NCT75-based Thermostat APPLICATION NOTE

MICRO SWITCH Premium Subminiature Basic Switches. SX Series. Datasheet

MICRO SWITCH General Purpose Limit Switches. SZL-WL Series. Datasheet

Modbus Map: System Control Panel (SCP) Device

MICRO SWITCH Compact Precision Limit Switches. 14CE Series. Datasheet

HC900 Remote Termination Panel (RTP) For Relay Outputs

MiniModules. Reference Manual. Series R CT 3002 V 1.0 MiniModule USB Service Adapter and Software

Modbus Map: Conext System Control Panel (SCP) Device

Instructions. RM3000 Rackmount Kit for TDS3000 Series Oscilloscopes

MI3. Protocol Manual. Miniature Infrared Sensor OEM Version. Rev. C4 Apr/

PMDX-170 Slotted Optical Sensor

Venstar Thermostat Adapter

BusBlock Analog Input Module for the Smart Distributed System

VELOCICALC Air Velocity Meter

Profibus DP Expansion Board

Product Description. S&C IntelliNode Interface Module. Table of Contents. Instruction Sheet

The RS-485 user manual for B800 series communication

Installation & Operation

BusBlock Digital I/O Module for the Smart Distributed System

MICRO SWITCH Miniature Precision Limit Switches 914CE Series Issue 7. Datasheet FEATURES DESCRIPTION POTENTIAL APPLICATIONS DIFFERENTIATION

Nuvoton Touch Key Series NT1160 Datasheet

BACNet Gateway Option

TCD600 OPEN LOOP TENSION CONTROLLER INSTALLATION, OPERATION MANUAL ADDENDUM (NETWORK FEATURE)


4620, Quick Start

AccuTrac Multi-Point Data Acquisition Software User Guide

RSTC1000 HMI/PLC Design Guide WEB CONTROL PRODUCTS. User Manual FORM NO. L B MTY (81)

Data Reporter. Installation-Operation E rev.f

HYT 221 Digital Humidity and Temperature Module For critical application areas

CM68 4 Channel NTSC/PAL Video Decoder

AND8386/D. Bootloading BelaSigna 250 Using the I 2 C Interface APPLICATION NOTE

User Guide XCD-HR Controller/Drivers Document no. XCDH rev B November 2018

Omnitron Systems Technology, Inc. 1. iconverter. 19-Module Managed Power Chassis User s Manual

Specification E2 Interface

RM3100 Rackmount Kit for the AFG3000 and AFG3000C Series Arbitrary Function Generators

Indicator (Square) Ultra Bright LED Type

CV-24D. Stereo to SPDIF Converter with Adjustable Audio Delay. User Manual. Made in Taiwan

Instruction Manual. CT-4 High-Current Transformer

NE1A-SCPU Series. Safety Network Controller. Achieve Safety Control through Programming. Ordering Information. Specifications.

Digital Electronic Lock OWNER S MANUAL

Model 8702 DP-CALC Micromanometer

Card Encoder. PC Software. User Manual Software OPW Fuel Management Systems Manual No. M Rev 2

BusBlock Analog Input Module for the Smart Distributed System

iconverter 2-Module Power Chassis

THERM-O-FLOW EC-20/40 Timer

Operating Bulletin MODBUS-RTU. The Fastest Flow Controller Company in the World!

E2EY. A Proximity Sensor for Aluminum, Brass and Other Non-ferrous Metals. Iron Is Not Detected. Aluminum-detecting Proximity Sensor

Splitter for HDMI 1.3 with Digital Audio

HMC1022 Digital Compass

Elotech Standard Protocol. for Single R8200 SC

87421/22A Power Supply. Operating and Service Manual

PC/104 Multifunction I/O Board Hardware Manual Model 526 Rev.B February 2009

DESSMANN - FINGERPRINT LOCK

DL-10. User Manual. RS-485 Remote Temperature and Humidity. English Ver. 1.0, Jul. 2017

STM-1 LabView Manual Rev

Quad Digital I/O Board for the Smart Distributed System

DVI Detective. User Manual EXT-DVI-EDIDN. Release A3

COMMUNICATION MODBUS PROTOCOL MF96001 / 021 NEMO 96HD

SP-1009D. 1x9 Dual Link DVI Distribution Amplifier. User Manual. Made in Taiwan

Grundfos MAGNA, GENI Module

USB-ASC232. ASCII RS-232 Controlled USB Keyboard and Mouse Cable. User Manual

Herculine Electric Actuator Solutions

Instructions. RM2000B Rackmount Kit

Remote Control for Inverter RC-200. Manual. Please read this manual before operating your RC-200 Remote Control

Honeywell Process Solutions Paperless Recorders and Data Acquisition Solutions

SAFETY AND NOTICE TABLE OF CONTENTS INTRODUCTION FEATURES PACKAGE CONTENTS SUPPORTED RESOLUTIONS DIP SWITCH SPECIFICATIONS PANEL DESCRIPTIONS

SMA OneTouch ICS Environmental Monitoring System REMOTE MONITORING GUIDE

Transcription:

Technical te Entering and Using Command Mode on the Honeywell HumidIcon Digital Humidity/Temperature ensors: HIH- 6130/6131 eries 1.0 Introduction Figure. General Operation Flow Chart Command Mode is used on the Honeywell HumidIcon Digital Humidity/Temperature ensors: HIH-6130/6131 eries, for reading and writing to the on-chip EEPROM. Command Mode allows the user to configure and optimize sensor performance to match application requirements. User- configurable options include alarm, I C address and customer identification bytes. This document describes: How to enter Command Mode. How to use Command Mode to configure the sensor. An example of the required configuration steps. tart Power-On. Has 3 ms or 10 ms Command Window expired? Perform measurement cycle. Command= tart_cm (Command Mode)?.0 Power-On equence Write data to output registers. Figure 1 shows the Power-On sequence. Figure 1. Power-On equence with a 3 ms Command Window Measurement Cycle Fetch data. Go to leep Mode. (power down and await command) Command = Fetch data? Execute tart_cm. (full command set available) Command = tart_nom (rmal Operation Mode)? power applied to device Power -On Command Window 3 ms* Temperature Conversion Temp. DP Calculation * When the Fast tartup bit is not set in EEPROM, the Command Window is 10 ms. Capacitance Conversion Cap. DP Calculation first corrected signal measurement written to output register, (I C, alarms) Command = Perform measurement cycle? Execute tart_nom. After Power-On, the Command Window is entered. The Command Window can be configured to be either 3 ms or 10 ms in duration (see ection 4.1). If the sensor receives a tart_cm command during the Command Window, it enters and remains in Command Mode. While the sensor is in Command Mode it communicates as an I C device regardless of its pre-configured output protocol. The sensor clock pin becomes the I C clock pin (CL) and sensor data pin becomes the I C data pin (DA). If, during the Power-On sequence, the Command Window expires without receiving a tart_cm command, or if the sensor receives a tart_nom command in Command Mode, the sensor will immediately revert to its pre-configured output protocol (either IC or PI), perform one complete measurement cycle and write the data to the output registers before entering into sleep mode (see Figure ). 3.0 Command Mode Command Mode is used for configuring the sensor. It is entered by sending a tart_cm command during the Command Window (see ection.0). In Command Mode a set of commands is available to the user to configure the sensor (see Table 1). All communication in Command Mode is done using I C protocol regardless of the pre-configured communications protocol of the sensor. 3.1 Command Format Command Mode commands are only supported for the I C protocol. As shown in Figure 3, commands consist of 4-byte packets with the first byte being a 7-bit slave address followed by a Read/Write bit (0 = Write, 1 = Read). The second byte is the command byte and the last two bytes form a 16-bit data field. ensing and Control

HumidIcon Digital Humidity/Temperature ensors: HIH-6130/6131 eries Figure 3. Command Mode Format I C WRITE: Command Byte and Two Command Data Bytes 6 5 4 3 1 0 W A 7 6 5 4 3 1 0 A 15 14 13 1 11 10 9 8 A 7 6 5 4 3 1 0 A ensor lave Address Command Byte Command Data [15:8] Command Data [7:0] Wait for lave ACK Wait for lave ACK Wait for lave ACK Wait for lave ACK tart condition W Read/write bit (example: Write = 0) lave address bit (example: bit ) top condition A Acknowledge (ACK) Command or data bit (example: bit ) 3. Command Mode Commands Table 1 lists all the commands that are available in Command Mode. te: Only the commands listed in Table 1 are valid. Other encodings may cause unpredictable behavior. If data is not needed for the command, zeros must be supplied in the data field to complete the 4-byte packet. Table 1. Command Mode Commands Command Byte (8-bits, Hex) Data Bytes (16-bits, Hex) Description 0x00 to 0x1F 0x0000 EEPROM Read of address 0x00 to 0x1F 0x40 to 0x5F 0xYYYY (Y=data) after this command has been sent and executed, a data fetch must be performed to retrieve the contents of the EEPROM address is specified in the six LBs of the command byte Write to EEPROM addresses 0x00 to 0x1F the two data bytes sent will be written to the address specified in the six LBs of the command byte 0x80 0x0000 tart_nom ends Command Mode and transitions to rmal Operation Mode 0xA0 0x0000 tart_cm Response Time 100 µs 1 ms 4.5 ms 100 µs 3.3 Command Response and Data Fetch Format After a command has been sent and its execution time defined in Table 4 has expired, an I C Data Fetch is used to read the response. Figure 4 shows the different Data Fetch formats. After the slave address has been sent, the first byte fetched is the response byte. The response byte consists of two status bits, four diagnostic bits and two response bits. The upper two bits of the response byte are the status bits. Table describes the conditions that the status bits can report. The middle four bits of the response byte are command diagnostic bits. Each bit represents a different diagnostic (see Table 3). The lower two bits of the response byte are the response bits. To determine if a command has finished executing, poll the device until a Busy response is no longer received. Table 4 describes the different responses that the sensor can return. NOTICE Regardless of what the response bits are, one or more of the diagnostic bits may be set indicating an error has occurred during the execution of the command. Only one command may be executed at a time. After a command is sent, another command must not be sent until the execution time of the first command has expired. Alternatively the response bits can be polled to determine when the command has completed execution. starts Command Mode: used to enter Command Mode, is only valid during the Power-On command window (see ection.0) te: All time values are typical; for worst case values, add 15%. Honeywell ensing and Control

HumidIcon Digital Humidity/Temperature ensors: HIH-6130/6131 eries Figure 4. Command Mode Data Fetch Formats I C DF: Command tatus Response, One Byte 6 5 4 3 1 0 R A 7 6 5 4 3 1 0 N Device lave Address [6:0] tatus [7:6] Wait for lave ACK Diagnostics [5:] Response [1:0] Master NACK I C EEPROM DF: Command tatus Response and EEPROM Data Fetch, Three Bytes 6 5 4 3 1 0 R A 7 6 5 4 3 1 0 A 15 14 13 1 11 10 9 8 A 7 6 5 4 3 1 0 N Device lave Address [6:0] tatus [7:6] Wait for lave ACK Diagnostics [5:] Response [1:0] Master ACK EEPROM Data High Byte [15:8] Master ACK EEPROM Data Low Byte [7:0] Master NACK tart condition A Acknowledge (ACK) lave address bit (example: bit ) R Read/Write bit (example: Read = 1) top condition N t Acknowledge (NACK) Command or data bit (example: bit ) tatus bit (in command mode, always 10) Table. tatus Bits tatus Bits 1 0 Definition 0 0 normal operation, valid data 0 1 stale data: data that has already been fetched since the last measurement cycle, or data fetched before the first measurement cycle has been completed 1 0 device in Command Mode 1 1 not used Table 3. Diagnostic Bits Diagnostic Bits D3 D D1 D0 Name x x x 1 corrected EEPROM error x x 1 x uncorrectable EEPROM error Description a corrected EEPROM error occurred during the execution of the last command an uncorrectable EEPROM error occurred during the execution of the last command x 1 x x RAM parity error a RAM parity error occurred during the execution of the last command 1 x x x configuration error an EEPROM or RAM parity error occurred during the initial loading of the configuration registers Table 4. Response Bits Response Bits Definition Description R1 R0 0 0 busy 0 1 1 0 positive acknowledge negative acknowledge 1 1 not used the command is still executing the command executed successfully the command was not recognized or an EEPROM write was attempted to a locked EEPROM location 4.0 EEPROM The EEPROM array contains the configuration bits for the I C slave address, alarms, Command Window duration and customer identification. The EEPROM is organized as 3 16- bit words (see Table 5). The EEPROM is divided into two sections: EEPROM locations 0x00 to 0x15 are locked and can no longer be written to. EEPROM locations 0x16 to 0x1F are unlocked and may be modified by the customer. NOTICE Any modifications to EEPROM locations require a power cycle for the changes to take effect. 3 Honeywell ensing and Control

HumidIcon Digital Humidity/Temperature ensors: HIH-6130/6131 eries Table 5. EEPROM Memory Map EEPROM Address Default Name Description 0x00 to 0x15 N/A reserved do not change; must ; locked EEPROM locations 0x16 0x0000 reserved do not change; must 0x17 0x0000 reserved do not change; must 0x18 0x3FFF Alarm_High_On high alarm on trip point 0x19 0x3FFF Alarm_High_Off high alarm off trip point 0x1A 0x0000 Alarm_Low_On low alarm on trip point 0x1B 0x0000 Alarm_Low_Off low alarm off trip point 0x1C 0x008 Cust_Config Customer Configuration Register (see ection 4.1) 0x1D 0x0000 reserved do not change; must 0x1E N/A reserved do not change; must 0x1F 0xYYYY (Y=data) Cust_ID3 customer ID word: for use by customer 4.1 Customer Configuration Register The Customer Configuration Register is located at EEPROM location 0x1C. The register is loaded at Power-On. 5.0 Digital Humidity/Temperature ensor Configuration Example Command Mode is used to configure Honeywell digital humidity/temperature sensors. A few basic steps and I C communications are all that is required for a user to optimize the sensor for the application. Table 6. Customer Configuration Register Bit Default Name Description 6:0 0101000 Device ID I C slave address 8:7 00 Alarm_Low_Cfg configures the Alarm_Low output pin Bit Description 7 alarm polarity: 0 = Active_High 1 = Active_Low 8 output configuration: 0 = Full_Push-Pull 1 = Open_Drain 10:9 00 Alarm_High_Cfg Configures the Alarm_High output pin Bit Description 9 alarm polarity: 0 = Active_High 1 = Active_Low 10 output configuration: 0 = Full_Push-Pull 1 = Open_Drain 11 0 reserved do not change; must be left at factory setting 1 0 reserved do not change; must be left at factory setting 13 0 fast startup sets the Command Window duration: 0 = 10 ms, 1 = 3 ms 15:14 00 reserved do not change; must be left at factory setting NOTICE Read and store the original EEPROM contents before modifying them in case the sensor must be returned to its default condition. Figure 5 shows the steps required to enable a digital humidity sensor in the configuration described below: Command Window = 3 ms Alarm_High = Active_High Alarm_Low = Active_High Alarm_High = Full_Push-Pull Output Alarm_Low = Full_Push-Pull Output Alarm_High_On = 80% humidity Alarm_Low_On = 0% humidity Alarm_High_Off = 75% humidity Alarm_Low_Off = 5% humidity I C Address = 0x53 4 Honeywell ensing and Control

HumidIcon Digital Humidity/Temperature ensors: HIH-6130/6131 eries Figure 5. Digital Humidity/Temperature ensor Configuration teps tep 1. Power-On. tep. Within 3 ms or 10 ms of Power-On, set device to Command Mode. 0 1 0 0 1 1 1 0 A 1 0 1 0 0 0 0 0 A 0 0 0 0 0 0 0 0 A 0 0 0 0 0 0 0 0 A lave Address = 0x7 Command = 0xA0 tep 3. Read EEPROM Location 0x18. Data 15:8 = 0x00 0 1 0 0 1 1 1 0 A 0 0 0 1 1 0 0 0 A 0 0 0 0 0 0 0 0 A 0 0 0 0 0 0 0 0 A lave Address = 0x7 Command = 0x18 Data 15:8 = 0x00 tep 4. Perform Data Fetch to retrieve contents of EEPROM location 0x18. 0 1 0 0 1 1 1 1 A D D D D R R A x x x x x x x x A x x x x x x x x N lave Address = 0x7 Response = 0x81 EEPROM 0x18, bits 15:8 EEPROM 0x18, bits 7:0 tep 5. Repeat teps 3 and 4 for EEPROM locations 0x19, 0x1B and 0x1C. tep 6. et Alarm_High_On = 80% Humidity. (Write 0x3333 to EEPROM Location 0x18). 0 1 0 0 1 1 1 1 A 0 1 0 1 1 0 0 0 A 0 0 1 1 0 0 1 1 A 0 0 1 1 0 0 1 1 A lave Address = 0x7 Command = 0x58 Data 15:8 = 0x33 Data 7:0 = 0x33 tep 7. et Alarm_High_Off = 75% Humidity. (Write 0x3000 to EEPROM Location 0x19). 0 1 0 0 1 1 1 1 A 0 1 0 1 1 0 0 1 A 0 0 1 1 0 0 0 0 A 0 0 0 0 0 0 0 0 A lave Address = 0x7 Command = 0x59 Data 15:8 = 0x30 tep 8. et Alarm_Low_On = 0% Humidity. (Write 0x0CCD to EEPROM Location 0x1A). 0 1 0 0 1 1 1 1 A 0 1 0 1 1 0 1 0 A 0 0 0 0 1 1 0 0 A 1 1 0 0 1 1 0 1 A lave Address = 0x7 Command = 0x5A Data 15:8 = 0x0C Data 7:0 = 0xCD tep 9. et Alarm_Low_Off = 5% Humidity. (Write 0x1000 to EEPROM Location 0x1B). 0 1 0 0 1 1 1 1 A 0 1 0 1 1 0 1 1 A 0 0 0 1 0 0 0 0 A 0 0 0 0 0 0 0 0 A lave Address = 0x7 Command = 0x5B Data 15:8 = 0x10 tep 10. et I C Address = 0x53 (Write Bits 6:0 of Customer Configuration Register = 0b1010011) Make Alarm_Low = Active High (Write Bit 7 of Customer Configuration Register = 0) Make Alarm_Low = Push-Pull (Write Bit 8 of Customer Configuration Register = 0) Make Alarm_High = Active High (Write Bit 9 of Customer Configuration Register = 0) Make Alarm_High = Push-Pull (Write Bit 10 of Customer Configuration Register = 0) Make Command Window = 3 ms (Write Bit 13 of Customer Configuration Register = 1) 0 1 0 0 1 1 1 1 A 0 1 0 1 1 1 0 0 A x x 1 x x 0 0 0 A 0 1 0 1 0 0 1 1 A lave Address = 0x7 tep 11. Power-Off. Command = 0x5C tep 1. Power-On. New configuration is now in effect. (Cust_Config AND 0xF800) OR 0x053 forces bits 6:0 to 0b1010011, bits 7, 8, 9, 10 to 0 and bit 13 to 1. Other bits are unchanged. tart condition A Acknowledge (ACK) lave address bit R Read/Write bit (Read = 1, Write = 0) D Diagnostic bit top condition N t Acknowledge (NACK) Command or data bit tatus bit R Response bit Honeywell ensing and Control 5

HumidIcon Digital Humidity/Temperature ensors: HIH-6130/6131 eries WARNING PERONAL INJURY DO NOT UE these products as safety or emergency stop devices or in any other application where failure of the product could result in personal injury. Failure to comply with these instructions could result in death or serious injury. WARRANTY/REMEDY Honeywell warrants goods of its manufacture as being free of defective materials and faulty workmanship. Honeywell s standard product warranty applies unless agreed to otherwise by Honeywell in writing; please refer to your order acknowledgement or consult your local sales office for specific warranty details. If warranted goods are returned to Honeywell during the period of coverage, Honeywell will repair or replace, at its option, without charge those items it finds defective. The foregoing is buyer s sole remedy and is in lieu of all other warranties, expressed or implied, including those of merchantability and fitness for a particular purpose. In no event shall Honeywell be liable for consequential, special, or indirect damages. While we provide application assistance personally, through our literature and the Honeywell web site, it is up to the customer to determine the suitability of the product in the application. pecifications may change without notice. The information we supply is believed to be accurate and reliable as of this printing. However, we assume no responsibility for its use. WARNING MIUE OF DOCUMENTATION The information presented in this technical note is for reference only. DO NOT UE this document as a product installation guide. Complete installation, operation, and maintenance information is provided in the instructions supplied with each product. Failure to comply with these instructions could result in death or serious injury. ALE AND ERVICE Honeywell serves its customers through a worldwide network of sales offices, representatives and distributors. For application assistance, current specifications, pricing or name of the nearest Authorized Distributor, contact your local sales office or: E-mail: info.sc@honeywell.com Internet: www.honeywell.com/sensing Phone and Fax: Asia Pacific +65 6355-88 +65 6445-3033 Fax Europe +44 (0) 1698 481481 +44 (0) 1698 481676 Fax Latin America +1-305-805-8188 +1-305-883-857 Fax UA/Canada +1-800-537-6945 +1-815-35-6847 +1-815-35-6545 Fax ensing and Control Honeywell 1985 Douglas Drive rth Golden Valley, MN 554 www.honeywell.com/sensing 00906-1-EN IL50 GLO Printed in UA August 011 Copyright 011 Honeywell International Inc. All rights reserved.