Channels that are not occupied by temperature sensors, can take over alternative functions:

Similar documents
Serial Communication AS5132 Rotary Magnetic Position Sensor

SonoLab Echo-I User Manual

Serial Servo Controller

MD04-24Volt 20Amp H Bridge Motor Drive

DS1720 ECON-Digital Thermometer and Thermostat

BV4112. Serial Micro stepping Motor Controller. Product specification. Dec V0.a. ByVac Page 1 of 18

B Robo Claw 2 Channel 25A Motor Controller Data Sheet

LC-10 Chipless TagReader v 2.0 August 2006

DASL 120 Introduction to Microcontrollers

Mate Serial Communications Guide This guide is only relevant to Mate Code Revs. of 4.00 and greater

The "FISH" Quad Hand Sensor

Artifex LIV 110. Laser Diode Characterization System. Engineering

LVCSi Continuous Vertical Level Sensor with Integrated Display

I2C Demonstration Board I 2 C-bus Protocol

Home Automation, Inc. Omnistat2. RC-1000 and RC-2000 Communicating Thermostat. Serial Protocol Description

ioselect Z-NET Z-4RTD 4 Channel RTD Input Module

Interfacing the 1724-Type Microprocessor-Controlled EDFA via a Serial Communication Port

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1

DS1720. Econo Digital Thermometer and Thermostat PRELIMINARY FEATURES PIN ASSIGNMENT

WWVB Receiver/Decoder With Serial BCD or ASCII Interface DESCRIPTION FEATURES APPLICATIONS

B RoboClaw 2 Channel 30A Motor Controller Data Sheet

Features. Applications. Description

G3P-R232. User Manual. Release. 2.06

Protocol and instruction set for remote control via the infrared interface. Table of Contents

Revision 1. March 21, ADC Operation Manual N 11 th St San Jose CA

Gentec-EO USA. T-RAD-USB Users Manual. T-Rad-USB Operating Instructions /15/2010 Page 1 of 24

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL INPUT DELTA SIGMA ADC LTC DESCRIPTION

UART2PPM. User s Guide. Version 2.04 dated 02/20/16. Gregor Schlechtriem

ROTRONIC HygroClip Digital Input / Output

Line-to-line RMS Volts, 3 phases 4 digits (XXX.X) Volts

USER MANUAL SERIAL IR SENSOR ARRAY5

medlab Two Channel Invasive Blood Pressure OEM board EG 02000

8-channel FastADC with 14 bit resolution

SIMREX Corporation Your Trusted Wireless Solution Provider

Connecting Mains Electrical Power

Light sensor. 24V DC Power Input Common Ground Connection RS485 Data + Open Collector Output 2. Analogue Current Output Analogue Voltage Output

Roland Kammerer. 13. October 2010

The ST7528 is a driver & controller LSI for 16-level gray scale graphic dot-matrix liquid crystal display systems. It contains

Training Schedule. Robotic System Design using Arduino Platform

INL PLOT REFIN DAC AMPLIFIER DAC REGISTER INPUT CONTROL LOGIC, REGISTERS AND LATCHES

DIGITAL OUTPUT BAROMETER SENSORS

Manual IF2008A IF2008E

Know your energy. Modbus Register Map EB etactica Power Bar

Unit D. Serial Interfaces. Serial vs. Parallel. Serial Interfaces. Serial Communications

1. The decimal number 62 is represented in hexadecimal (base 16) and binary (base 2) respectively as

OHIO SEMITRONICS, INC. DIGITAL AC POWER MONITOR OSI SPECIFICATIONS

Product Specification for model TT Transducer Tester Rev. B

Servo 8 Torque Board Doc V 1.2

DS1621. Digital Thermometer and Thermostat FEATURES PIN ASSIGNMENT

URM37 V3.2 Ultrasonic Sensor (SKU:SEN0001)

Low Power 3D Hall Sensor with I2C Interface and Wake Up Function

isys-4004 GUI interface - V2.1 Power up Initialize Peripheral Start Measurement YES LED flashes red Object available LED blinking

WWVB Receiver/Decoder Module With Serial BCD Interface DESCRIPTION FEATURES APPLICATIONS

EG medlab. Three Lead ECG OEM board. Version Technical Manual. Medlab GmbH Three Lead ECG OEM Module EG01010 User Manual

T5340, T5341, T5440, T5441 T6340, T6341, T6440, T6441

IDA 4 XM V 1.X. Installation and configuration of IDA 4 XM User Manual

DS1868B Dual Digital Potentiometer

MADEinUSA OPERATOR S MANUAL. RS232 Interface Rev. A

CMU232 User Manual Last Revised October 21, 2002

WTPCT-M. eeder. Pulse Counter/Timer Module. Technologies FEATURES SPECIFICATIONS DESCRIPTION. Weeder Technologies

USB-TEMP and TC Series USB-Based Temperature Measurement Devices

Application Note. HAL 8xy, HAL 100x. Programmer Board

Advanced Analog Technology, Inc. October 2009 AAT1301 PACKAGE PACKING TEMP RANGE MARKING. T: Tape and Reel. 20 C to +85 C.

SIOX Analogue Module TABLE OF CONTENTS. General Description...1 I/O Mix...1 Versions...1 Installation and Start-Up...3 Address Setup...

Blue Point Engineering

HOMANN DESIGNS. DigiSpeed. Instruction manual. Version 1.0. Copyright 2004 Homann Designs.

ADS9850 Signal Generator Module


instruction manual for Open LRS New Generation

Features. Description. General Specifications. VS Series Inclinometer : Dual Axis, RS232 and Analogue Output

Mercury technical manual

isys-4001 isys-4002 isys-4003

USING RS-232 to RS-485 CONVERTERS (With RS-232, RS-422 and RS-485 devices)

ELT Sensor Data Sheet for S-300-3V

AN-SERV-009. Luis Miranda 1

MTS2500 Synthesizer Pinout and Functions

USB Multifunction Arbitrary Waveform Generator AWG2300. User Guide

DIGITAL OUTPUT PRESSURE SENSORS

Using Z8 Encore! XP MCU for RMS Calculation

Tarocco Closed Loop Motor Controller

Data Acquisition Modules/ Distributed IO Modules

AUR3840. Serial-interface, Touch screen controller. Features. Description. Applications. Package Information. Order Information

EVDP610 IXDP610 Digital PWM Controller IC Evaluation Board

ASCOM EF Lens Controller

IP 251 Universal Signal Converter SSI parallel RS232 parallel SSI RS232

Quad, 12-Bit, Low-Power, 2-Wire, Serial Voltage-Output DAC

ThunderBolt Display. by Adam Maurer, VK4GHZ

HUMIDITY/TEMP. CONTROLLER/MONITOR

RF Wireless Serial Device Server

Lesson 3: Arduino. Goals

HD 48V01T... HD 4977T...

TAS APFC Controller / Load Managers with MOD-BUS Interface

ServoPac-A TTA-PRO Positioner

ASONIK POLAND, PL Tuczno, str. Sloneczna 6. Tel./Fax. (061)

Ocean Controls KT-5221 Modbus IO Module

Know your energy. Modbus Register Map EM etactica Power Meter

DPS-Promatic X4 Analog expander Instruction list

DS1075. EconOscillator/Divider PRELIMINARY FEATURES PIN ASSIGNMENT FREQUENCY OPTIONS

SMARTALPHA RF TRANSCEIVER

DS1267B Dual Digital Potentiometer

Transcription:

Firmware /TEMP12 The /TEMP12 firmware allows you to connect up to twelve digital temperature sensors (type Dallas DS18B20). Data from twelve channels is transferred to your PC via USB. ONE temperature sensor can be connected to each of the screw terminals B0 B5 and C0 C5. Channels that are not occupied by temperature sensors, can take over alternative functions: - DS18B20 temperature sensor - Digital input - Digital output - Alarm output - Sensor input (ADC) (channels C0 C5 only) This document shows wiring diagrams using the USB-µPIO module. The can be found as well on the netpio network module, with same functionality and arrangement. The device is delivered with a configuration software, which allows you to setup each channel. The configuration is transferred to the device and stored temporarily or permanently. So the device can work as PC interface as well as in a stand-alone application. A HIGH sense limit and a LOW sense limit can be configured for each analogue channel (temperature or sensor). If a channel value gets classified as HIGH or LOW, this can trigger an depending alarm output. For example a cooler could be activated if a temperature channel indicates HIGH. Channels that exceed its limits are also indicated on an optional LCD display.

LCD option A standard LCD text display (HD44780) with 4x20 characters can be connected on Port D2..D7. Other display formats are NOT supported. The display will show value and status of call channels automatically. Connections between the board and the LCD display must be made as follows: BOARD PORT D D2 D3 D4 D5 D6 D7 LCD 4x20 characters HD44780 EN RS D4 D5 D6 D7 LCD input R/W must be connected to ground (GND). The remaining data lines of the LCD D0 D3 are not connected. This document shows wiring diagrams using the USB-µPIO module. The can be found as well on the netpio network module, with same functionality and arrangement.

Channel configuration DS18B20 temperature sensor The picture below shows how to connect temperature sensors to the board. Temperature sensors can be operated on the channel B0 B5 and C0 C5. Use the configuration software to setup the mode for each channel. The DS18B20 can measure temperatures from -55 C und 125 C. In case you need to change the unit ( for example from C to F) you can enter a linear sensor scale factor and offset. Example Scale C to F: Unit = F Factor = 1,8 Offset = 32 Understand that scaling a sensor does NOT change its physical range (-55 C to 125 C), but only changes its representation. Limits for HIGH and LOW detection must be entered in SCALED units. This document shows wiring diagrams using the USB-µPIO module. The can be found as well on the netpio network module, with same functionality and arrangement.

Channel configuration ADC sensor input Channels C0 C5 can be configured as ADC sensor inputs. In this channel mode an analogue-todigital-converter measures an input voltage, which may be from a light sensor for example.. The ADC uses a reference voltage VREF to measure the input voltage in volt units. There are three possible sources for the reference voltage. First is the supply voltage (5V USB), second is a internal voltage source (1.1V) and third is an external reference voltage supplied at REF input. The reference voltage source can be selected for each ADC channel input separately. The reference voltage VREF must never exceed the supply voltage! The input voltage must be between 0V and VREF, which defines the input range. Voltages at all pins must never go below 0 Volt (GND) or above supply voltage (VCC)! With a correct VREF setting the ADC will report the input status in volt units. ADC channels can be scaled to different units with linear scale factor and offset. Example Scale voltage (with VREF = 5V) into percentage Unit = % Factor = 20 Offset = 0 The input channel is now represented as percentage, as 5(V) * 20 = 100%. Understand that scaling a sensor does NOT change its physical range (0V VREF), but only changes its representation. Different ranges of sensors must be adapted with suitable input circuits (voltage divider, amplifier or similar) Limits for HIGH and LOW detection must be entered in SCALED units. Channel configuration Alarm output In this channel mode a channel works as digital output, that outputs high level (5V) if the channel is ON or low level (0V) if the channel is OFF. The output can drive up to 20 ma loads.the alarm output will turn ON and OFF automatically, in case a certain CONDITION is true or false. Configurable conditions are the HIGH and LOW states of other analogue channels (temperature or ADC inputs). To avoid flickering of alarm outputs in case the inputs value swings slightly around a limit, a fixed hysteresis of +/-2 LSB was built in. Channel configuration Digital output In this channel mode a channel works as digital output, that outputs high level (5V) if the channel is ON or low level (0V) if the channel is OFF. The output can drive up to 20 ma loads. The output is controlled by the PC. Channel configuration Digital input This channel mode sets the channel direction to input. A high level (5V) is interpreted as ON. A low level (0V) represents OFF. Open (not connected) inputs are internally pulled high. This makes it possible to sample the status of a switch, which connects the input to ground (GND) if contacts a closed. Using the LCD option, the LCD will show the status of digital channels (digital inputs, digital outputs, alarm outputs) as ON or OFF Measuring differences between sensor values In practice you may need to measure differences between sensors, like indoor temperature outdoor temperature. For that purpose the /TEMP12 firmware offers four additional (virtual) channels. The values for these channels are calculated from the difference of two sensors as follows: - DIFF1 = Channel C0 Channel C1 - DIFF2 = Channel C0 Channel C2

- DIFF3 = Channel C0 Channel C3 - DIFF4 = Channel C4 Channel C5 Both channels of a pair must be configured identically, to enable the differential channels. (Otherwise the difference would not make sense.) The only configurable parameters for the differential channels are the HIGH and LOW limits, which can be used as conditions for alarm outputs as any other sensor channel. Device setup All configured parameters must be transferred to the device and are stored on the device for normal operation. The configuration software must be used for this configuration upload. The configuration can be stored temporary in the RAM memory or permanently in the EEPROM memory of the device. A device reset will read the configuration stored in the EEPROM memory. A configuration stored temporary in the RAM memory will be overwritten in this case. A reset occurs when the device is powered up or is triggered by a low pulse at the reset input (RST). If jumper J1 (SOFT-RESET) is set, a reset also occurs when PC software establishes a data connection, opening the COM port. Avoid this behaviour removing Jumper J1 if necessary. During upload process a internal clock is synchronized with the PC time and date setting, Allowing to display tome and date information on the optional LCD display. Time information gets lost for technical reasons, when a device reset occurs. Time and date will not be displayed in that case. A permanent power supply is needed to display time information. Protocol description Baud 57600 8 data bits No parity 1 stop bit Request / Response communication is used. A request consists of 21 data bytes. After receiving 21 bytes, the device responses with a response data block in any case. A new request must not be send, before the response on the previous request was received completely. Request: 21 bytes The request data block is 21 bytes long and transfers all control data. Byte 1: Chr(66) = B in any case Byte 2 Byte 13: Digital output states for channels B0 B5, C0 C5 Byte 14 21: Reserved A request must start with a character B. The following characters (Byte 2 13) control the output state of channels that have been configured as digital outputs. Channels that are not configured as digital output will not be affected. A character 0 = chr(48) turns the corresponding channel OFF. A character 1 = chr(49) turn the corresponding channel ON. Any other character will be ignored. Programming example (with PRINT command on serial port): Print B111111111111-------- ; Above command will turn all (configured) outputs ON. Note the semicolon at the end of each line. A chr(13) chr(10) must not be sent after the 21 bytes of the request!

Print B000000000000-------- ; Print B100000000000-------- ; Print Bxxxxx11xxxxx-------- ; Print Bxxxxx01xxxxx-------- ; Print Bxxxxx01xxxxx-------- ; Print Bxxxxxxxxxxxx-------- ; // Turn off all digital outputs (low) // Set B0 HIGH; all others LOW // Set B5 and C0 HIGH; do not change others // Set B5 LOW; Set C0 HIGH; do not change others // Set B5 LOW; Set C0 HIGH; do not change others // No change of outputs (request only) The device will send a response after each of above PRINT commands. Response After receiving 21 request bytes the device will send a response to the PC. The response is a readable character chain (String). The response string consists of several so-called cells. Each cell is six characters long, followed by a semicolon as separation character. The first cell contains the channel name of the first channel (B0). The second cell contains the channel value for channel B0. Two cells are sent for each channel. A pair of two cells (Name and value) is sent for each channel. Channels B0 B5, C0 C5 and DIFF1 4 are sent one after each other. Example response: ALARM; EIN ;B1-OUT; EIN ;B2-OUT; EIN ;B3-OUT; EIN ;B4-OUT; EIN ; PC-B3; EIN ; INNEN; 20.9 ; TANK ;96.77%;C2-ADC; 1.07 ;C3-ADC;4.24;C4-ADC; 4.29 ;C5-ADC; 4.38 ; -- ; -- ; -- ; -- ; -- ; -- ; -- ; -- ; +CHR(13)CHR(10) Finally the response is terminated with chr(13)chr(10). Altogether 32 cells ( á 6 characters + Semicolon) and two terminating character are sent. This makes 32 * 7+2 = 226 characters. The cell content is used to display information on the optional LCD display as well. Therefore cells contain some special characters. To get a readable representation on the PC, the character must be replaced as follows: Chr(1) = µ Chr(2) = Chr(3) = C Chr(4) = F Chr(5) = K Chr(6) =