Welcome toShenzhen Lites Electronic Technology Co., Ltd!

Shenzhen Lites Electronic Technology Co., Ltd

86-755 0755-84501787

Home - Sensors -

Single point sensor

Single point sensor

Author:netwing    Time:2023-03-07    Browse:

Power supply voltage: 3-5 volts
Power supply current: 7mA
Wiring:
Red - VCC
Black --- GND
Yellow --- RC (serial UART TTL-Rx/I2C -- SCL)
White --- TD (serial UART TTL-Tx/I2C -- SCL)
The module defaults to serial UART mode and automatically outputs data. When the PS solder joints on the PCB are soldered, it is in I2C mode.
1. Internal registers of the module:

0x00(读写)

器件ID地址

1~2540为广播地址;默认为ID:0xA4,与8IIC地址相同,所以该地址必须为2的倍数。

0x01(读写)

波特率设置

0~7:2400,4800,9600,19200,38400,57600,115200,230400

0x02(读写)

更新速率

01hz;1:2hz;2:5hz;3:10hz

0x03(读写)

输出模式

0:连续输出;1:查询输出

0x04(读写)

输出格式

0:十六进制;1:字符;

0x05(读写)

保存设置

0x55:保存当前配置;0xAA:恢复出厂设置

0x06(读写)

TO_off温度偏移

0-255,默认值100=0偏移,TO补偿=TO_off-100/10

0x07(读写)

E发射率

1~100(对应0.01~1.00

0x08(读)

TO(目标温度)高8

0~255

0x09(读)

TO(目标温度)低8

0~255

0x0a(读)

TA(环境温度)高8

0~255

0x0b(读)

TA(环境温度)低8

0~255

0x0c(读)

BO8

0~255 额温转换体温值高8

0x0d(读)

BO8

0~255 额温转换体温值低8

0x0e(读写)

芯片型号

0~3

0x0f(读)

固件信息

0~255

 

 

Serial port function (send receive mode):
Frame Description:


地址

功能码

数据

校验和

1字节

1字节

N字节

前字节校验和低8

 

2. Module support function codes:

写单个寄存器

0x06

读寄存器

0x03

3、模块响应时间

波特率=9600

约为10ms

波特率=115200

约为1ms

5. Module Example:
Write registers and configure registers.
 
 
Configure query mode output, the main station sends frames as A4 06 03 01 AE (hexadecimal 0x01=query mode output)

A4

 06

 03

01

 AE

器件地址

写功能码

寄存器

数据

校验和低8

 

 

Configure the baud rate to 115200, and the main station sends frames as A4 06 01 06 B1 (hexadecimal 0x06=115200)

A4

06

01

06

D9

地址

写功能码

寄存器

数据

校验和低8

The module response frame is A4 06 01 06 B1, which is the same as the frame sent by the main station, indicating successful configuration
 
The configured emissivity is 0.98, and the main station sends frames as A4 06 07 62 13 (hexadecimal 0x62=decimal 98)

A4

 06

 07

 62  

 13

器件地址

写功能码

寄存器

数据

校验和低8

The module response frame is A4 06 07 62 13, which is the same as the frame sent by the main station, indicating successful configuration
Note: Setting emissivity takes a lot of time
Configure a temperature offset of+1 degrees, and the main station sends a frame of A4 06 06 6E 1E (hexadecimal 0x6E=decimal 110)

A4

 06

 06

 6E

 1E

器件地址

写功能码

寄存器

数据

校验和低8

Configure a temperature offset of -1 degree, and the main station sends a frame of A4 06 06 5A 0A (hexadecimal 0x5A=decimal 90)

A4

 06

 06

 5A

 0A

器件地址

写功能码

寄存器

数据

校验和低8

 

If all configurations require power-off saving, a power-off saving command A4 06 05 55 04 needs to be sent
 
Read register, the main station sends frames as A4 03 07 07 B5

A4

03

07

07

B5

器件地址

读功能码

起始寄存器

寄存器数量

校验和低8

The module response frame is: A4 03 07 07 62 0C EB 0C 3F 0E 20 87

A4

03

07

07

62 0C EB 0C 3F 0E 20

87  

器件地址

读功能码

起始寄存器

寄存器数量

E  TO   TA   BO

校验和低8

 

Frame resolution:
The starting register 07 starts from the emissivity register, and the number of registers 7 is 07 08 09 0A 0B 0C 0D. The data of these 7 registers is sequentially output
Emissivity
Target temperature
Environmental temperature
Forehead temperature conversion to body temperature
Serial port data continuous output:
a. Send read data frame: Set the starting register and the number of registers.
b. Set the output mode to continuous output mode, that is, write 1 to register 03.
Serial port data query output:
a. Set the output mode to query mode, that is, write 0 to register 03.
b. Send read data frame: Set the starting register and the number of registers.
Note: The output format of the data is determined by the read data frame. The continuous/query mode is determined by register 03.
Frontal temperature compensation:
Changing the value of register 06 can compensate for the forehead temperature. If the target measured value is greater than the target actual value, the register value can be reduced, and vice versa, the register value can be increased.
IIC Function:
This function requires soldering PS solder joints. The IIC address is the 00 register value, defaulting to A4. The IIC rate needs to be less than 400K.
The number of registers written per module is 1. The writing sequence is as follows, and after sending the device address, it should take more than 4us time

start

address

ACK

reg

ACK

data

ACK

stop

起始

0XA4

模块

0x07

模块

0x57

模块

结束

 

Attachment Download

Previous Article:No More!

Next Article:Single point sensor

Contact Us:86-755 0755-84501787

Mailbox:jessie@szlitus.com

Headquarters Address:1808, Building A, Rongde International, Henggang Street, Longgang District, Shenzhen

Whatsapp

Whatsapp

WeChat

WeChat

Skype

Skype

Copyright © 2005-2023Shenzhen Lites Electronic Technology Co., Ltd All Rights Reserved Record number: Guangdong ICP backup2024178703-1 Background login

回到顶部图片