Trueyes Inc. Carbon Dioxide (CO2) Module

Model : TG100
(Rev 2.0)
Trueyes Inc.
Carbon Dioxide (CO2) Module
A-1408~9, Gwangmyeong Techno Park, 60,
Haan-ro, Gwangmeong-si, Gyeonggi-Do, Korea, 14322
TEL : +82-2-2083-2377~8
FAX : +82-2-2083-2379
1
Model : TG100
(Rev 2.0)
Specifications
General Performance
- Operating Temperature range : -20℃ ~ 50℃
- Operating Humidity range : 0 ~ 95% RH (Non-condensing)
- Storage Temperature : -30℃ ~ 70℃
Electrical
- Power Supply Requirements : 5 VDC regulated (±0.5V)
- Power Consumption : Normal : 20mA, Max : 250mA at Lamp on Peak
Interface
- UART : 38,400bps, 8bit, No Parity, 1 Stop bit, TTL Level 5V
- I2C : Slave Mode, Internal Pull-Up Resister, Under 400KHz (TTL Level 5V)
- Analog Out :
VDC 10mV~4,000mV (10ppm=10mV)
CO2 Measurement
- Method : Non Dispersive Infrared (NDIR), Gold Plated Optical engine
- Measurement Range : 0~10,000ppm
- Accuracy : ±30ppm ±5% (+degree C), ±50ppm ±7% (-degree C)
- Response Time : T90<30 sec, T1/e<18 sec
- Resolution & Detection Limit : 25ppm
- Life expectancy : 15year
User Interface Connector
- #1 : 1.27mm Pitch 3x2 Pin Header / H(2.2)_SMD Type
- #2 : 1.27mm Pitch 4x2 Pin Header / H(2.2)_SMD Type
DC Power supply should be regulated , low noise power source for best accuracy
2
Model : TG100
(Rev 2.0)
Pin Description
#1
#2
Pin No
Description
Pin No
1
GND
1
2
NC
2
MCAL
3
(Active Low)
3
Description
I2C_SDA
( INT pull up resister 4.7KΩ )
UART_RX( No pull up )
I2C_SCL
(( INT pull up resister 4.7KΩ )
4
ABC (Active Low)
4
UART_TX( No pull up )
5
N.C
5
GND
6
NC
6
GND
7
+5V
8
A_OUT
UART Descriptions
Data Transceiver Specification
- Baudrate : 38,400 bps
- Data bits : 8 bit
- Stop bits : 1 bit
- Parity : None
Command Format
Above 12byte consist by 6 byte hexadecimal digits,<SP>,0x70 0x70 0x6D, <CR><LF> , where
decimal ‘0’ (corresponds to hexadecimal digit ‘0x30’) is replaced by space (corresponds to
hexadecimal digit ‘0x20’),
EX) 1,255 ppm, results ‘0x20 0x20 0x31 0x32 0x35 0x35 0x20 0x70 0x70 0x6D 0x0D 0x0A’,
which displays ‘
1255_ppm<CR><LF>’on screen.
3
Model : TG100
(Rev 2.0)
I2C Descriptions (Only slave mode operation)
Slave Adress:0x31, Slave Address Byte : Slave Address(0x31) 7Bit + R/W 1Bit
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
0
1
1
0
0
0
1
Bit0
R/W
Bit
R/W Bit : Read=1 / Write=0
When reading the data, Slave Address Byte is 0x63, when writing the data,
Slave Address Byte is 0x62
Transmission Sequence in Master
1. I2C start condition
2. Write command (Slave Address + R/W Bit(0) = 0x62) Transmission and check
Acknowledge
3. Write command (ASCⅡ ‘R’ : 0x52) Transmission and check Acknowledge
4. I2C Stop command
5. I2C Start command
6. Read command(Slave address + R/W Bit(1) = 0x63) Transmission and check
Acknowledge
7. Read 7 byte Receiving Data from Module and Send Acknowledge
(Delay at least 1ms for reading each byte)
Configuration
CO2 ppm
reserved
Mcal status
reserved
reserved
1 Byte
2 Byte
0x00
0x00
0x00
0x00
0 0 0 0 1 0 0 0
4
Model : TG100
(Rev 2.0)
ABC function operation
ABC on/off must only hardware pin
J2
ABC
Open
ABC ON (Default 30day)
Short
ABC OFF
Method 1. UART Command
Command : ACAL<value> CR/LF
Description : Setting day ABC
Ex) 7day setting = ACAL07 CR/LF
Method 2. I2C
ABC Sequence in Master
1.
I2C start condition
2.
Write command (Slave Address + R/W Bit(0) = 0x62) Transmission and check Acknowledge
3.
Write command (ASCⅡ ‘S’ : 0x53) Transmission and check Acknowledge
4.
Write 2-bytes base PPM (MSB first)
5.
I2C Stop command
ABC recalibration day setting command
S
ADDRESS
R/W
0110001
0
A
COMMAND
01010111
A
DATA1
00000000
A
DATA2
Â
P
00000007
from master to slave (PC -> CO2 sensor)
from slave to master (CO2 sensor -> PC)
S = START condition
P = STOP condition
A = acknowledge (SDA LOW)
 = acknowledge (SDA HIGH)
COMMAND : 0x57
DATA1 : 0x00
DATA2 : 0x01 , 0x07 , 0x30 only
Ex)7day setting = 0x62 0x57 0x00 0x07
5
Model : TG100
(Rev 2.0)
Manual Recalibration function operation
Method 1. UART Command
Command : MCAL=<value> CR/LF
Description : : Immediately Manual calibration
Ex) 1000ppm setting = MCAL=1000 CR/LF
Method 2. I2C
Manual Recalibration Sequence in Master
1.
I2C start condition
2.
Write command (Slave Address + R/W Bit(0) = 0x62) Transmission and check Acknowledge
3.
Write command (ASCⅡ ‘S’ : 0x53) Transmission and check Acknowledge
4.
Write 2-bytes base PPM (MSB first)
5.
I2C Stop command
e.g) manual recalibration start command
S
ADDRESS
R/W
0110001
0
A
DATA
01010011
A
DATA1
00000011
A
DATA2
Â
P
11101000
from master to slave (PC -> CO2 sensor)
from slave to master (CO2 sensor -> PC)
S = START condition
P = STOP condition
A = acknowledge (SDA LOW)
 = acknowledge (SDA HIGH)
COMMAND : 0x53
DATA1 : value <MSB>
DATA2 : value <LSB>
Ex)1000ppm setting = 0x62 0x53 0x03 0xE8
6
Model : TG100
(Rev 2.0)
7