Home

Sensorsoft Humidity Meter User Manual for SM6204C/J

image

Contents

1. AMP DB 25 receptacle subminiature D connector crimp snap in P N 205207 1 or 207463 1 AMP socket crimp contact for subminiature D connectors P N 1 66504 0 AMP pin crimp contact for subminiature D connectors P N 1 66506 0 Sensorsoft Humidity Meter User Manual Cable P N C2000 9 pin Serial Port to Sensorsoft Device DB 9F to RJ45 modular plug 9 pin Port Sensorsoft Device 3 TX white green RX 1 2 RX white orange TX 3 4 DTR white brown POWER V 7 7 RTS blue POWER V 4 5 SIGNAL GND green GND 2 P N C2000 is for use with PC s and most other devices which have a 9 position serial port F indicates female socket type connector Cable P N C2001 and C2002 DTE Serial Port to Sensorsoft Device DB 25 to RJ45 modular plug DTE Port Sensorsoft Device 2 TX white green RX 1 3 RX white orange TX 3 20 DTR white brown POWER V 7 4 RTS blue POWER V 4 7 SIGNAL GND green GND 2 P N C2002 is for use with Sun SPARCstation or SPARCserver serial ports A or B The DTE end of this cable uses a DB 25M connector P N C2001 is for use with PC s which have a DB 25 connector The DTE end of this cable uses a DB 25F connector M indicates male pin type connector F indicates female socket type connector Sensorsoft Humidity Meter User Manual Cable P N C2012 DCE Serial Port to Sensorsoft Device DB 25M to RJ45 modular plug DCE Port Sensorsoft Device 3 TX white green RX 1 2 RX white orange TX 3 6 DSR white brown POWER V 7 5 CTS blue POWER V 4 7 SI
2. receives no response your program must wait at least one 1 second before re sending that command Possible reasons that a Sensorsoft device may ignore your commands can be due to data transmission CRC errors or improper power up delay during hot plugging Sending commands to the Sensorsoft Humidity Meter Each command packet your host sends to the Sensorsoft Humidity Meter must be in the following format lt CMD byte gt lt PACKETlength bytes gt lt ADDRESS bytes gt lt ARGUMENT byte gt lt CRC bytes gt CMD byte A single byte command indicating the desired action the Sensorsoft Humidity Meter device should carry out PACKETlength bytes Two bytes indicating the total length of the packet from start to finish includes CRC bytes ADDRESS bytes The six byte 48 bit address of the device you are sending the command to For RS232 Sensorsoft devices this is always decimal 1 Sensorsoft Humidity Meter User Manual ARGUMENT byte The internal register number of the Sensorsoft Humidity Meter that you want to read or write This byte is required for the humidity command This byte is not required for the status command CRC bytes A two byte 16 bit Cyclic Redundancy Check that is calculated on the entire packet from the CMD byte to the last ARGUMENT byte or ADDRESS byte Send the following bytes to request a status reading Hex C1 OB 00 01 00 00 00 00 00 47 98 Send the following bytes to request a humidity reading Hex C
3. user at his or her own expense will be required to take whatever measures may be required to correct the interference Warning Changes or modifications to this device not explicitly approved by Sensorsoft Corporation will void the user s authority to operate this device 23
4. 5 OC 00 01 00 00 00 00 00 01 OE 49 Note In the above examples the last two bytes are CRC bytes that were pre calculated Sensorsoft Humidity Meter User Manual Receiving responses from the Sensorsoft Humidity Meter Each response packet the Sensorsoft Humidity Meter returns is in the following format lt RESPONSE byte gt lt PACKETlength bytes gt lt DATA byte s gt lt CRC bytes gt RESPONSE byte A single byte response code indicating the type of response Valid codes are 90 hex and 94 hex PACKETlength bytes Two bytes indicating the total length of the packet from start to finish includes CRC bytes DATA byte s Most responses return additional data in the form of byte s In response to a command to read the humidity one byte is returned for DATA byte s In response to a status command one byte is returned for DATA byte s See SENSORSOFT DEVICE STATUS BYTE FORMAT chart CRC bytes A two byte 16 bit Cyclic Redundancy Check This placeholder is filled with CRC bytes calculated by the Sensorsoft device on the entire packet from the RESPONSE byte to the last DATA byte These bytes allow the host to verify the integrity of the response packet You may choose to use or ignore these bytes depending on your programming skill or application The Sensorsoft device returns a normal RESPONSE byte 90 hex in acknowledgement that the previous host command was received and executed without errors The device only acknowledges correctly
5. CRC bytes 2 20 Sensorsoft Humidity Meter User Manual Sample ID response packet from a SM6204 Sensorsoft Humidity Meter 1 lt 90h gt 2 lt 48h gt 3 lt 00h gt 4 9 lt 01h gt lt 00h gt lt 00h gt lt 02h gt lt 03h gt lt 07h gt 10 Sensorsoft TM Humidity Meter lt 00h gt Sensorsoft Corp lt 00h gt SM6204 lt 00h gt 1 71 lt 00h gt lt FFh gt lt Bih gt lt 33h gt 21 Sensorsoft Humidity Meter User Manual Getting Help Limited Warranty Sensorsoft Corporation warranties Sensorsoft products to be free from manufacturing defects for a period of two years This includes parts and labor All shipping and brokerage fees are your responsibility when returning a Sensorsoft product for warranty claims The following will void the warranty and 30 day money back guarantee e signs of water or chemical damage e cracks to the housing e signs of tampering or reverse engineering Technical Support If in the unlikely event you should have problems installing or using your Sensorsoft product and the previous sections of this manual have failed to provide a solution we offer technical support to help you overcome your difficulties see web site address below No charge installation and configuration support is provided for 90 days after that there is a per incident fee Sensorsoft Corporation does not provide free support to
6. GNAL GND green GND 2 P N C2012 is for use with some multiport cards and terminal servers that have a DCE pin out M indicates male pin type connector Sensorsoft Humidity Meter User Manual Writing programs for the Sensorsoft Humidity Meter The following describes how to write your own programs for the Sensorsoft Humidity Meter This Sensorsoft device uses a binary packet formatted master slave protocol All data is represented in the little endian format least significant byte is first and the most significant byte is last Your host computer master must send commands to and receive responses back from the Sensorsoft device slave Use the following parameters when programming the serial port where the Sensorsoft device is connected Bit rate 1200 bps Bits 8 Parity none Stop bits 1 Flow control none In order to make use of the port powered feature of the Sensorsoft device you must enable serial port lines DTR and RTS when the port is opened A delay of 1 2 seconds is required after opening the serial port before any commands are sent to the Sensorsoft device This delay allows the Sensorsoft device to power up correctly before it receives any commands and prevents incorrect readings You should also be aware that the Sensorsoft device has an inter packet retry time out delay This delay is one 1 second and is encoded into the Sensorsoft device s firmware If your program sends a command to the Sensorsoft device and it
7. RTS DTR and GND One device per serial port Maximum extension cable length 305 m 1000 ft using recommended cable type Low capacitance shielded cable or UTP is recommended Communications Protocol Sensorsoft Device Protocol Version 2 0 Error control 16 bit CRC cyclic redundancy checking for detection of communication errors between the device and host computer Sensorsoft Humidity Meter User Manual SM6204J Sensorsoft Humidity Meter Specifications Measurement Range 0 to 100 RH Resolution 1 RH Accuracy 3 RH Calibration Calibrated at the factory Re calibration is possible by returning this device to the factory or to a humidity calibration lab Maximum measurement rate one reading every second Housing Dimensions 8 cm 3 1 x 4 cm 1 6 x 2 cm 0 8 Housing Material injection molded ABS thermoplastic Housing Colour light gray Operating temperature range 0 C to 60 C 32 F to 140 F Sensor type capacitive thin film polymer Communications connector 8 position modular jack accepts 8 position plug RJ45 Power source Port powered RTS and DTR both asserted or via External DC power connector Power supply current drain lt 10 mA External DC power connector 2 1 mm power jack automatic polarity correction and over voltage protection External power supply voltage 9 0 14 0 VDC Communications Interface RS232C using TX RX RTS DTR and GND One device per serial port Maximum commu
8. Sensorsoft Sensorsoft Humidity Meter User Manual Models SM6204J and SM6204C Manual P N 071 0030 Rev5 March 27 2003 Copyright 1999 2003 Sensorsoft Corporation All rights reserved Sensorsoft and Soft Humidity Meter are trademarks of Sensorsoft Corporation Table of Contents Sensorsoft Humidity Meter User Manual Overview The SM6204J and SM6204C Sensorsoft Humidity Meters are RS232 compatible serial devices based on the Sensorsoft Device Protocol The SM6204J and SM6204C have a built in humidity sensor and are intended for applications where the customer needs to monitor or measure relative humidity in rooms or warehouses Sensorsoft devices offer the following benefits over other RS232 serial devices Powered from the serial port no external power or battery required CRC error detection detects transmission errors and improves reliability Virtually unlimited cable lengths 1000 ft Plug and go operation little or no user configuration required About this Manual The Sensorsoft Humidity Meter may also be referred to as a Soft Humidity Meter Sensorsoft device or SSD Sensorsoft Soft Device throughout this manual Sensorsoft Humidity Meter User Manual Installing the Sensorsoft Humidity Meter Installation of the Sensorsoft Humidity Meter is composed of the following steps e Choosing a Location for Installation e Connecting the Sensorsoft Humidity Meter to a serial port e Starting the Sensorsoft softwar
9. ce The Sensorsoft device modular jack connector uses the same UTP wire map as 10 BASE T and ISDN It is therefore possible to use this type of cabling system for Sensorsoft devices PIN OUT OF THE MODULAR 8 POSITION JACK PLUG ON A SENSORSOFT DEVICE Note Terminal No 1 is the terminal to the extreme left as you face the cable opening latch tab down Terminal Function UTP wire color solid tracer 1 ST Receive Data white green __ 2 Ground green S O 3 ST Transmit Data white orange 4 Power V_ blue ble o 5 Ground white blue __ _ O 6 Ground sf range _ i 8 Ground brown S O The following are suggested specialized tools and parts needed to make good quality cables Hand Tools AMP Crimping Tool P N 1 231652 0 or 2 231652 1 for modular plugs AMP 8 position modular die set P N 853400 1 AMP Crimping Tool P N 90312 1 or 90302 1 for subminiature D pin or socket contacts AMP PROCRIMPER P N 58448 2 for subminiature D pin or socket contacts AMP Insertion Extraction Tool P N 91285 1 for subminiature D connector contacts Materials Berk Tek UTP Unshielded Twisted Pair round stranded cable P N 540036 TP 4 pair 8 24 AWG wires category 4 or better 75 C AMP 8 position modular plug for round stranded wire cables P N 5 554169 3 CAT4 AMP 8 position modular plug for round stranded wire cables P N 5 557961 3 CATS AMP DB 9 receptacle subminiature D connector crimp snap in P N 205203 1 or 3
10. d Specifically the model number and description can be extracted from the SSD s ID response allowing application software to determine the specific model of the SSD connected and to configure itself appropriately The format of the ID command is identical to the format of all other commands described earlier Send the following bytes to the SSD to request the ID Hex lt C3h gt lt 0Bh gt lt 00h gt lt 0lh gt lt 00h gt lt 00h gt lt 00h gt lt 00h gt lt 00h gt lt 20h gt lt SEh gt The ID response contains four variable length null terminated strings The sequence of four strings begins at the 10 byte in the response packet To read the SSD s description count to the 10 byte in the ID response and extract the following ASCII null terminated string Following this is the manufacturer s name also a null terminated string The third null terminated string is the SSD s model number The model number can be used to uniquely identify the type of SSD so that your software can configure itself appropriately for different models of SSDs The fourth and final null terminated string is the SSD s firmware version Structure of the ID response packet Byte Description of field 1 Response byte 2 3 Packet length 4 9 Notused 10 Device name or description null terminated Manufacturer null terminated is Model Number null terminated Firmware Version null terminated S Record Terminator FFh
11. e IRQ pending 6 NVFailure Could not read or write to EEPROM ___ A logic one condition on any of these bits indicates the condition is set or active Otherwise they are reset to logic zero Itis a good practice for the host to check the status of the Sensorsoft device on a regular basis in case a bit changes state If bit 0 is set this indicates that the Sensorsoft device power supply voltage is too low When bit 3 is set this indicates that the Sensorsoft device has just powered up This bit gets reset after the status is read When bit 4 is set this indicates that the sensor element has become damaged or disconnected Bits 1 2 and 7 can be ignored because they are not used in the SM6204 Sensorsoft Humidity Meter User Manual Converting DATA byte s to humidity readings In response to a humidity command the Sensorsoft Humidity Meter returns one byte in the DATA byte s placeholder as described below It is the job of the host software to convert the DATA byte s to an integer number It is then possible to display relative humidity readings in RH SENSORSOFT HUMIDITY METER DATA byte s FORMAT RH Binary Hex o 00000000 Ooh 50 fooriooni 75 foroioni so 01071070 100 01100100 Sensorsoft Humidity Meter User Manual Reading the Sensorsoft ID Record Every Sensorsoft device SSD accepts an identification ID command whose response can be used to uniquely identify the type of SSD currently connecte
12. e P N 540036 TP 4 pair 8 24 AWG wires category 4 or better 75 C AMP DB 9 receptacle subminiature D connector crimp snap in P N 205203 1 or 3 AMP DB 25 receptacle subminiature D connector crimp snap in P N 205207 1 or 207463 1 AMP socket crimp contact for subminiature D connectors P N 1 66504 0 AMP pin crimp contact for subminiature D connectors P N 1 66506 0 Sensorsoft Humidity Meter User Manual Making communication cables for J Suffix Sensorsoft Devices In some applications it is not possible to use pre assembled cables When installing the Sensorsoft device at a remote location it may be necessary to run cables through walls ceiling or conduits where connectors would get jammed In this situation it makes sense to run the cables and then terminate them on site using hand tools Further if your host serial port is of the DCE type some multi port serial cards it will be necessary to make your own cables The following details will assist you in doing that A properly made cable will allow your Sensorsoft device to operate reliably over long cable lengths up to 305 m 1000 ft long You may connect the Sensorsoft device to the port with as little as three wires RX TX and GND using inexpensive unshielded telephone wire However the host may need to set the number of retries high in order to overcome the effect of occasional noise interference and would also require the use of an external power supply at the Sensorsoft devi
13. e Please refer to the specific software manual that applies to your installation Choosing a Location for Installation Locate this Sensorsoft Humidity Meter close to the equipment or airflow you are monitoring Since the SM6204C J Sensorsoft Humidity Meter is not waterproof or weatherproof keep the following rules in mind e Keep the Sensorsoft Humidity Meter housing out of contact with direct sunlight UV exposure and dripping water e Protect the Sensorsoft Humidity Meter from high traffic areas that could wear damage the housing or cable e Never allow the Sensorsoft Humidity Meter housing to come into contact with harsh chemicals or cleaning agents If it needs to be cleaned do so with a damp cloth or vacuum cleaner Use a Velcro fastener P N F1000 or F1001 to affix the Sensorsoft Humidity Meter to a stable surface Connecting the Sensorsoft Humidity Meter to a serial port If you have a SM6204C C Suffix Sensorsoft Humidity Meter plug its molded DB 9F connector into an available RS232 serial port connector DB 9M on your computer or terminal server If you have an SM6204J J Suffix Sensorsoft Humidity Meter use the appropriate C200X cable to connect this device to your computer or terminal server Please refer to the Sensorsoft price list for available types If you intend to make your own custom cable for a J Suffix Sensorsoft device please refer to Making communication cables for J Suffix Sensorsoft Devices If you ar
14. e connecting a Sensorsoft device to a device server please be sure to configure the port as follows e 1200 bps 8 bits no parity 1 stop bit e Turn off autobaud e Flow control set to none Sensorsoft Humidity Meter User Manual e Non telnet binary raw transfer mode e Assert RTS and DTR always Refer to your device server s documentation for more details on the above Note the physical or COM port number where you plugged the cable into your computer or device server If the Sensorsoft device is being plugged into a Windows based computer that has only one COM port the port number is usually COM1 Sensorsoft Humidity Meter User Manual SM6204C Sensorsoft Humidity Meter Specifications Measurement Range 0 to 100 RH Resolution 1 RH Accuracy 3 RH Calibration Calibrated at the factory Re calibration is possible by returning this device to the factory or to a humidity calibration lab Maximum measurement rate one reading every second Housing Dimensions 8 cm 3 1 x 4 cm 1 6 x 2 cm 0 8 Housing Material injection molded ABS thermoplastic Housing Colour light gray Operating temperature range 0 C to 60 C 32 F to 140 F Sensor type capacitive thin film polymer Communications cable integrated 6 m 20 ft cable with DB 9F female mini D SUB connector Power source Port powered RTS and DTR both asserted Power supply current drain lt 10 mA Communications Interface RS232C using TX RX
15. h equipment that has significantly better accuracy and resolution then the device under test When a calibration is performed on a unit under test with an instrument that is proven as traceable to the National Standards Laboratory the unit under test is also considered to be traceable Avoid making invalid judgements or comparisons Using any of the following measurement devices or situations is unacceptable for comparing to or judging the accuracy of a Sensorsoft device Measurement device purchased from a hardware or drug store Digital display on HVAC or cooling heating equipment Location of the active sensing element is unknown Measurement device has its active sensing element more than one inch 2 5 cm away from the Sensorsoft device probe Measurement device has similar specifications to the Sensorsoft device e Measurement device has unknown specifications e Measurement device has not been calibrated within one year has no calibration certificate or is not traceable to a standard Use the proper instrument and method to make comparisons We recommend one of the following instruments or equivalent that have a recently dated traceable calibration certificate for judging the accuracy or stability of your Sensorsoft device e Vaisala HM34 Humidity amp Temperature Meter Hand held approx price 500 USD e Vaisala HMP233 Humidity amp Temperature Transmitter and external probe Wall mount RS232 interface order with 115 230 VAC p
16. her its sensor can be re calibrated or replaced 10 Sensorsoft Humidity Meter User Manual Making extension cables for C Suffix Sensorsoft Devices In some applications it is not possible to use pre assembled cables When installing the Sensorsoft device at a remote location it may be necessary to run cables through walls ceiling or conduits where connectors would get jammed In this situation it makes sense to run the cables and then terminate them on site using hand tools Further if your host serial port is of the DCE type some multi port serial cards it will be necessary to make your own cables The following details will assist you in doing that A properly made cable will allow your Sensorsoft device to operate reliably over long distances PIN OUT OF THE DB 9F CONNECTOR ON A C SUFFIX SENSORSOFT DEVICE Note Only positions used in Sensorsoft device application are shown Position Function TX data to computer RX data from computer POWER connects to DTR on computer POWER connects to RTS on computer The following are suggested specialized tools and parts needed to make good quality extension cables Hand Tools AMP Crimping Tool P N 90312 1 or 90302 1 for subminiature D pin or socket contacts AMP PROCRIMPER P N 58448 2 for subminiature D pin or socket contacts AMP Insertion Extraction Tool P N 91285 1 for subminiature D connector contacts Materials Berk Tek UTP Unshielded Twisted Pair round stranded cabl
17. nications cable length 305 m 1000 ft using recommended cable type Low capacitance shielded cable or UTP is recommended Communications Protocol Sensorsoft Device Protocol Version 2 0 Error control 16 bit CRC cyclic redundancy checking for detection of communication errors between the device and host computer Sensorsoft Humidity Meter User Manual Resolution Accuracy and Calibration The terms resolution accuracy and calibration frequently cause misunderstanding for many individuals who have not been trained in metrology We endeavor here to explain these terms and how they might affect your application of Sensorsoft devices Resolution or precision is the fineness of the measurement It is usually specified in terms of the smallest unit that can be resolved Accuracy is the trueness of the measurement or how close it can be to the true value National Standard Accuracy is often specified as a percentage i e 3 of reading or a fixed value i e 0 5 that the reading can vary from the true value Calibration is a process where accuracy is verified and often corrected with respect to a standard Calibrations are routinely carried out to certify that a device has not lost its accuracy linearity and stability Calibrations can be carried out at a time interval that is required by your industry In many cases this is done at least once every year When a calibration or verification takes place it must always be done wit
18. ower supply approx price 1800 USD Sensorsoft Humidity Meter User Manual Vaisala HMI38 HMP35E Humidity amp Temperature Data Processor and external probe Desk top unit RS232 interface approx price 2580 USD More details about the above instruments are available on Vaisala s web site htto www vaisala com Keep the following points in mind when assessing the accuracy or stability of your Sensorsoft device Use one of the above recommended instruments or equivalent Recommended instrument has had a traceable calibration within one year of current date Sensorsoft device and the traceable instrument s probe must be exactly side by side within one inch of each other Allow sufficient time 10 20 minutes for the Sensorsoft device and the traceable instrument to stabilize What to do if you believe the Sensorsoft device is reading incorrectly If after following the above procedure you find that the Sensorsoft device is not reading within its stated specifications you have two options a b Return the Sensorsoft device to our factory for repair or calibration See Returns at the end of this guide Charges may apply if the unit is out of warranty or if we find no evidence that the device is out of calibration If you have access to a local calibration lab you may send it there for verification or calibration along with the Remote Watchman software Refer to the specifications of your Sensorsoft device to determine whet
19. received commands that have no CRC errors If the Sensorsoft device detects a CRC error in a received command packet it does not respond to the command It is considered the job of the host to time out and re transmit that command packet When an internal problem occurs inside the Sensorsoft device it sends out an abnormal response byte 94 hex in response to any command from the host If the host receives this response byte it must immediately read and interpret the Sensorsoft device s status to determine the problem See SENSORSOFT DEVICE STATUS BYTE FORMAT chart The generator polynomial used for the CRC is hexadecimal 1021 The following references provide information for readers who wish to use the CRC capability e Calculating CRC s by Bits and Bytes Greg Morse Byte Magazine September 1986 Pg 115 124 e Implementing CRC s Jack Crenshaw Embedded Systems Programming Magazine January 1992 Pg 18 45 e Technical Aspects of Data Communication John McNamara Digital Equipment Press 1982 Pg 110 122 e Data and Computer Communications 2nd edition William Stallings Macmillan Publishing Pg 107 112 e The modem reference the complete guide to selection installation and applications 2nd edition Michael A Banks Brady Publishing 1991 Pg 27 42 Sensorsoft Humidity Meter User Manual SENSORSOFT DEVICE STATUS BYTE FORMAT BIT NAME DESCRIPTION 10 Low power supply Voltage is unacceptable for reliable operation IRQ enabl
20. those wishing to write their own software this is available on a charge per incident basis only Please contact support for current rates World Wide Web http www sensorsoft com E mail support sensorsoft com 30 Day Money Back Guarantee If for any reason you want to return a Sensorsoft product for a refund you can do so within 30 days calendar days of your purchase The refund does not include shipping or brokerage fees you may have incurred or paid Returns If returning a product or item please keep in mind the follow guidelines e Contact Sensorsoft for an RMA number Return Material Authorization e Provide a detailed explanation or reason for returning the product e Return shipments that bear no RMA number on the outside of the package or are not prepaid for shipping clearing charges will be refused 22 Sensorsoft Humidity Meter User Manual FCC Compliance and Advisory Statement This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to Part 15 of FCC Rules These limits are designed to provide reasonable protection against such interference when operating in a commercial environment This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with this guide may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause interference in which case the

Download Pdf Manuals

image

Related Search

Related Contents

PROTON - user manual V1,0  Halo ML5609935 Instructions / Assembly    LS-FBTRI RGB Laser DMX  TK-981 User Manual  Quick Start Guide  Untitled - Partysound  10% - Sodipro  

Copyright © All rights reserved.
Failed to retrieve file