DT-SENSE - Innovative .•DT-51 Minimum System, DT-51 Low Cost Series, or DT-AVR Low Cost Series.

download DT-SENSE - Innovative .•DT-51 Minimum System, DT-51 Low Cost Series, or DT-AVR Low Cost Series.

of 25

  • date post

    27-Mar-2019
  • Category

    Documents

  • view

    219
  • download

    0

Embed Size (px)

Transcript of DT-SENSE - Innovative .•DT-51 Minimum System, DT-51 Low Cost Series, or DT-AVR Low Cost Series.

DT-SENSETHERMOPILE ARRAY SENSOR

Trademarks & CopyrightAT, IBM, and PC are trademarks of International Business Machines Corp.Windows is a registered trademark of Microsoft Corporation.Pentium is a trademark of Intel Corporation.CodeVisionAVR is copyright by Pavel Haiduc, HP InfoTech s.r.l.BASCOM-51 and BASCOM-AVR are copyright by MCS Electronics.I2C is a registered trademark of Philips Semiconductors.Delphi is a trademark of Inprise Corporation.DT-51 is a trademark of Innovative Electronics.

Table of Contents

1 Introduction............................................................................................... 31.1 Specifications.............................................................................................. 31.2 Suggested System...................................................................................... 3

2 Hardware.................................................................................................. 42.1 Layout........................................................................................................... 42.2 Connector and Jumper Configuration.................................................... 4

3 Software.................................................................................................... 63.1 UART TTL Interface..................................................................................... 63.2 I2C Interface................................................................................................ 73.3 Command Set.............................................................................................. 83.3.1 Status Check................................................................................................ 83.3.2 Autoscan Peak............................................................................................. 93.3.3 Autoscan Valley.......................................................................................... 103.3.4 Autoscan Higher.......................................................................................... 113.3.5 Autoscan Lower........................................................................................... 123.3.6 Read Autoscan............................................................................................ 133.3.7 Set Servo 1.................................................................................................. 143.3.8 Set Servo 2.................................................................................................. 143.3.9 Get Servo 1................................................................................................. 153.3.10 Get Servo 2................................................................................................. 153.3.11 Enable/Disable Servo 1........................................................................... 163.3.12 Enable/Disable Servo 2........................................................................... 173.3.13 Enable/Disable Channel........................................................................... 183.3.14 Read All Channels...................................................................................... 193.3.15 Read Ambient............................................................................................. 193.3.16 Read Channel N-1..................................................................................... 20

4 Testing Procedure..................................................................................... 21

5 Application and Program Examples......................................................... 21

AttachmentA. DT-SENSE THERMOPILE ARRAY SENSOR Schematic........................... 25

2

1. INTRODUCTIONDT-SENSE THERMOPILE ARRAY SENSOR is an intelligent sensor system with the ability to measure object's temperature via non-contact measurement based on infrared radiations emitted by the object. This system consists of a thermopile array sensor and a microcontroller based module to get the sensor's data and process it into temperature data, and manage interface with other system. Some of the DT-SENSE THERMOPILE ARRAY SENSOR application examples are detecting candle light, measures the temperature of a lightbulb, stove, soldering iron, or other objects without making physical contact.

1.1. SPECIFICATIONSDT-SENSE THERMOPILE ARRAY SENSOR specifications are as follows: Measures the object temperature in the range of 0C 100C. Operates in a room temperature of 0C 60C. Thermopile array accuration is around 2C. Equipped with 8 channels thermopile sensor and 1 thermistor to measure

room temperature. Ability to detect candle light or the heat of a 15W lightbulb from a

maximum distance of 200 cm from the sensor at room temperature of 20C.

Requires 9 12 VDC power supply (through onboard regulator) or 4.8 5.4 VDC (without onboard regulator).

Input/Output pins are compatible with TTL and CMOS voltage level. Equipped with UART TTL and I2C interface. 2 connectors are available for standard servo motors. Equipped with jumpers for address management, so it can be cascaded up

to 8 modules without additional hardwares (for one master, using the I2C interface).

1.2. SUGGESTED SYSTEMThe suggested system for the DT-SENSE THERMOPILE ARRAY SENSOR is as follows:Hardware: PC AT Pentium IBM Compatible with Serial port (COM1/COM2) and

Parallel (LPT) or USB. DT-51 Minimum System, DT-51 Low Cost Series, or DT-AVR Low Cost Series. DVD-ROM Drive and Hard disk.

Software: Windows 98 SE operating system. BASCOM-8051, BASCOM-AVR, or CodeVisionAVR. The files included in the program CD/DVD:

CONTOH_I2C.PRJ, CONTOH_I2C.C, DT-SENSE THERMOPILE ARRAY SENSOR MANUAL, dan DT-SENSE THERMOPILE ARRAY SENSOR QUICK START.

3

2. HARDWARE

2.1. LAYOUT

2.2. CONNECTORS AND JUMPERS CONFIGURATIONS POWER (J1 and J2) are connectors for power supply input. The power supply can pass through a voltage regulator (using J1) or without regulator (using J2).

Connector Pin Name Function

J1 1 GND Ground reference for power supply input2 9-12VDC Connected to power supply input (9 12 V)

J21 GND Ground reference for power supply input

2 5VDC Connected to power supply input without regulator (4.8 5.4 V)

Jumper PS SLCT (J4) is used to select the power source used by DT-SENSE THERMOPILE ARRAY SENSOR. The following is a description of how to choose a power source for the DT-SENSE THERMOPILE ARRAY SENSOR via jumper PS Select:

Jumper PS SelectJ4 Power Supply

J1 with regulator( 9 12 V )

J2 without regulator( 4.8 V 5.4 V )

Important!If J1 is used as power supply input (J4 connected), don't use J2 as power supply input.If J2 is used as power supply input, then J4 must be disconnected and don't use J1 as power supply input.

4

1 2

1 2

1

1

INTERFACE connectors (J8 and J3) function as I2C and UART TTL interface connectors.

Connector Pin Name Function

J8

1 GND Ground reference

2 SDA I2C-bus data input / output

3 SCL I2C-bus clock input

J31 TXD Serial output in TTL level from module

2 RXD Serial input in TTL level to module

Jumper PULL UP (J7) is used to activate pull-up resistor for SDA and SCL pins on I2C interface.

Jumper PULL UPJ7 Function

Pull-up inactive(jumper disconnected)

Pull-up active(jumper connected)

Important !If one or more modules are connected to I2C-bus, then only jumper J7 (SCL/SDA) from one of the modules needs to be connected.

Jumper ADDR (J9) is used to managed the I2C address from the DT-SENSE THERMOPILE ARRAY SENSOR module.

J9 (A2)Pin 5-6

J9 (A1)Pin 3-4

J9(A0)Pin 1-2

I2C address

I2C write address I2C read address

E0H E1H

E2H E3H

E4H E5H

E6H E7H

E8H E9H

EAH EBH

ECH EDH

EEH EFHDescription: : jumper connected

5

SENSOR (J5) is the connector for thermopile array sensor.

Pin Name Function

2 GND Ground reference

4 VAmb Output signal from thermistor

5 VSensor Output signal from thermophile

7 C Third input selector

8 AVCC Voltage output to sensor

9 B Second input selector

10 A First input selector

1, 3, 6 NC Not connected

SERVO1 (J10) is used as 1st standard servo motor connector. Servo motor can be used as the base of sensor so that the sensor eye can sweep 180 horizontally or vertically during autoscan process.

Pin Name Function

1 GND Ground reference

2 VCC Voltage output to servo motor

3 Servo Pulse output (1 2 ms) to servo motor

SERVO2 (J11) is used as 2nd standard servo motor connector. This servo motor is not used during autoscan process, so it can be used freely. This motor can be used as the base of 1st servo motor so that the sensor eye could sweep 180 in a different direction.

Pin Name Function

1 GND Ground reference

2 VCC Voltage output to servo motor

3 Servo Pulse output (1 2 ms) to servo motor

3. DT-SENSE THERMOPILE ARRAY SENSOR SOFTWAREDT-SENSE THERMOPILE ARRAY SENSOR possesses an UART TTL and I2C interface that can be used to receive commands or transmit data.

3.1. UART TTL INTERFACEUART TTL communication parameters are as follows:

38400 bps 8 data bits

6

1 stop bit no parity bit no flow control

Every command sent via UART TTL interface starts by sending 1 byte data that contains and (if needed) 1 byte of parameter data.

If the