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
Specifications General Performance - Operating Temperature range : 0 ~ 50 - Operating Humidity range : 0 ~ 95% RH (Non-condensing) - Storage Temperature : -30 ~ 70 Electrical - Power Supply Requirements : 3.3VDC regulated (±0.2V) - Power Consumption : Normal : 20mA, Max : 200mA at Lamp on Peak Interface - UART : 38,400bps, 8bit, No Parity, 1 Stop bit, TTL Level 3.3V - I2C : Slave Mode, Internal Pull-Up Resister, Under 400KHz (TTL Level 3.3V) - Analog Out : VDC 10mV~3,300mV (33ppm=10mV) CO2 Measurement - Method : Non Dispersive Infrared (NDIR), Gold Plated Optical engine - Measurement Range : 0 ~ 10,000ppm (Option 2,000/5,000/10,000ppm) - Accuracy : ±30ppm ±5% (+degree C) - Response Time : T90 < 30sec, T1/e < 18sec - Resolution & Detection Limit : 20ppm - Life expectancy : 15year - Warming-up Time : < 30sec(for operation), 2min(for accuracy) - Sampling Interval : 2sec 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
Pin Description # 1 # 2 Pin No Description Pin No Description 1 GND 1 I2C_SDA ( EXT PULL UP Resister 4.7KΩ ) 2 NC 2 UART_RX ( INT PULL UP ) 3 MCAL (Active Low) Default : 400ppm 3 I2C_SCL ( EXT PULL UP Resistor 4.7KΩ ) 4 UART_TX 4 (Active Low) ( INT PULL UP ) 5 N.C 5 GND 6 NC 6 GND 7 +3.3V 8 Analog _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
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 Bit0 0 1 1 0 0 0 1 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 MCAL reserved ppm Time status status status 1 Byte(0x08) 2 Byte 1 Byte 1 Byte 1 Byte 0x00 MCAL status = 0x00 MCAL OFF MCAL status = 0x01 MCAL ON time = only 7day or 30day Ex) 7day 0x07, 30day 0x30 status = 0x00 OFF status = 0x01 ON 4
function operation on/off must only hardware pin J2 Open Short ON (Default 30day) OFF Method 1. UART Command Command : ACAL<value> CR/LF Description : Setting day Ex) 7day setting = ACAL07 CR/LF Method 2. I2C 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 recalibration day setting command S ADDRESS R/W A COMMAND A DATA1 A DATA2 Â P 0110001 0 01010111 00000000 00000007 from master to slave (Customer -> CO2 sensor) from slave to master (CO2 sensor -> Customer) S = START condition P = STOP condition A = acknowledge (SDA LOW) Â = acknowledge (SDA HIGH) COMMAND : 0x57 DATA1 : 0x00 DATA2 : 0x07, 0x30 only Ex) 7day setting = 0x62 0x57 0x00 0x07 5
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 A DATA A DATA1 A DATA2 Â P 0110001 0 01010011 00000011 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
7