Ebyte Sm-co-p01 Carbon Monoxide Module User Manual

Ebyte Sm-co-p01 Carbon Monoxide Module User Manual

ebyte logo

EBYTE SM-CO-P01 Carbon Monoxide Module

EBYTE SM-CO-P01 Carbon Monoxide Module

Disclaimer
EBYTE reserves all rights to this document and the information contained herein.

Products, names, logos and designs described herein may in whole or in part be subject to intellectual property rights. Reproduction, use, modification or disclosure to third parties of this document or any part thereof without the express permission of EBYTE is strictly prohibited.

The information contained herein is provided “as is” and EBYTE assumes no liability for the use of the information. No warranty, either express or implied, is given, including but not limited, with respect to the accuracy, correctness, reliability and fitness for a particular purpose of the information. This document may be revised by EBYTE at any time. For most recent documents, visit www.ebyte.com.

Note:
The contents of this manual are subject to change due to product version upgrades or other reasons. Chengdu Ebyte Electronic Technology Co.,Ltd. reserves the right to make changes to the contents of this manual without notice or suggestion. This manual serves only as a user guide and Chengdu Ebyte Electronic Technology Co.,Ltd. endeavors to provide accurate information in this manual, but Chengdu Billionaire Electronics Co., Ltd. does not ensure that the contents are completely error-free and that all statements, information and suggestions in this manual do not constitute any express or implied warranty.

Product Overview

Brief Introduction
This module is widely used in the whole machine development of household gas leakage alarm and gas leakage detection components. The input power supply, induction probe and signal output in the sensor are completely isolated. Safe and reliable, small size, easy to install.

Feature
This product adopts high-sensitivity electrochemical probe with stable signal and high precision. It has the characteristics of wide measurement range, fast response speed, convenient use and easy installation. In particular, it has the basic functions of a household gas leakage alarm, and only needs external status indication, buzzer, relay, and solenoid valve to achieve the function of a household gas leakage alarm that meets the national standard.

Main parameters

detect gascarbon monoxide (gas)
sensor typeElectrochemistry
Interface Type8pin and 7pin 2.0mm header
Signal outputTTL serial port (Modbus-RTU

protocol)

Response time≤30 s
Recovery

Time

≤30 s
Operating

Voltage

DC 4.8V~5.3V
Working

current

≤5mA
Measurement

range

0~10000PPM
Resolution1PPM
Alarm valueCan be set (default 150PPM)
precision±50PPM

(when the concentration is 150PPM)

life expectancy10 Year
follow the

standard

National standard GB 15322.2
Use

environment

Temperature: -10 ~ 55 ℃

Humidity: 20% ~ 90% RH

storage

environment

Temperature: -20 ~ 60 ℃

Humidity: 20% ~ 65% RH

Dimensions40mm×25mm×24mm

EBYTE SM-CO-P01 Carbon Monoxide Module fig 1

EBYTE SM-CO-P01 Carbon Monoxide Module fig 2 Pin function description

pin numberdefinitio

n

Function Description
1VCC5V module power input
2GNDreference place
3CTL1Control output 1:

1.  Continuously low level when there is no alarm or fault.

2.  In the alarm state, the continuous high level.

4RXDSerial port RXD data receiving pin
5TXDSerial port TXD data transmission pin
6CTL2Control output 2:

1.  Continuously low level when there is no alarm or fault.

2.  In the alarm state, the continuous high level.

7CTL3Control output 3, buzzer control: high level beep
8CTL4Control output 4, fault light control: high level on, low level off
9VDDModule 3.3V output, output current <100mA
10IO1Alarm light control port: high level on, low level off
11IO2Power light control port: high level on, low level off
12IO3Self-test key input port: low level key is valid
13IO4NC (keep floating)
14IO5NC (keep floating)
15IO6NC (keep floating)

Introduction to work status

  1.  Power-on self-test
    When the power is turned on, the three lights are turned on in turn. After a delay of about 5 minutes, the buzzer will beep once and enter the normal working state, and the “power” light will flash.
  2. Normal working condition
    When the module is in no fault or alarm state, the “Power” light flashes. In this state, press the “self-test” button, the module will perform acousto-optic self-test.
  3. Alarm status
    When there is no fault in the module and the gas concentration on site is higher than the alarm setting value, the “alarm” light is always on, the buzzer makes a rapid sound, and a control signal is output. At this point, you can press the “self-test” button to mute the sound.
    When the gas concentration drops to within the alarm setting value, the module automatically returns to normal working state.
  4. Fault status
    When the sensor fails, the “fault” light is always on, and the buzzer makes intermittent sounds.
 

Working status

Fault light

(recommended yellow)

warning light

(recommende d red)

power light

(recommende d green)

 

buzzer

normal statusextinguishedextinguishedflickersilent
fault stateAlways brightextinguishedextinguishedTweet intermittently
Alarm statusextinguishedAlways brightextinguishedTweet intermittently
 

Self-check status

 

running water lamp

Keep tweeting 5

times

“Self-check” key: Press the “Self-check” key in normal state to carry out self-check; in alarm state, press the “Self-check” key to silence the alarm.

System Frame Diagram
Principles of application of detection components

EBYTE SM-CO-P01 Carbon Monoxide Module fig 3EBYTE SM-CO-P01 Carbon Monoxide Module fig 4 Product selection

SM- company no.
 CO- Methane
 P01 TTL serial communication (Modbus-RTU protocol)
  N01- 485 serial communication (Modbus-RTU protocol )
   8Flat card rail shell

Configuration software installation and use

Our company provides supporting “sensor monitoring software”, which can easily use the computer to read the parameters of the sensor, and flexibly modify the device ID and address of the sensor.
Note that there is only one sensor on the bus when using automatic acquisition by software.

Sensor connected to computer
After the sensor is correctly connected to the computer via USB to TTL and provides power, you can see the correct COM port in the computer (check the COM port in “My Computer – Properties – Device Manager – Port”).

EBYTE SM-CO-P01 Carbon Monoxide Module fig 5 Open the data package, select “Debugging Software”—“Parameter Configuration Software”, find EBYTE SM-CO-P01 Carbon Monoxide Module fig 6 and open it.

If the COM port is not found in the device manager, it means that you have not installed the USB to TTL driver (included in the data package) or the driver has not been installed correctly, please contact a technician for help.

Use of Sensor Monitoring Software

  1.  The configuration interface is shown in the figure. First, obtain the serial port number according to the method in Chapter 3.1 and select the correct serial port.
  2.  Click the test baud rate of the software, the software will test the baud rate and address of the current device, the default baud rate is 9600bit/s, and the default address is 0x01.
  3.  Modify the address and baud rate according to the needs of use, and at the same time, you can query the current functional status of the device.
  4.  If the test is unsuccessful, please re-check the equipment wiring and driver installation

Communication protocol

Communication basic parameters

coding8 bit binary
data bits8 bits
parity bitNone
stop bit1 person
error checkingCRC (Redundant Cyclic Code)
baud rate2400bit/s, 4800bit/s, 9600 bit/s can be set, the factory default is 9600bit/s

Data Frame Format Definition
Using Modbus-RTU communication protocol, the format is as follows: Initial structure ≥4 bytes of time

  • Address code = 1 byte
  • Function code = 1 byte
  • Data area = N bytes
  • Error check = 16-bit CRC code
  • Time to end structure ≥ 4 bytes

Address code: the address of the transmitter, which is unique in the communication network (factory default 0x01).
function code:

function codemeaningoperable register address
0x03read register data0x02、0x100~0x10D
0x10write multiple registers0x102~0x10D

Data area: The data area is the specific communication data, pay attention to the high byte of the 16bits data first!CRC code: two-byte check code.
Host query frame structure:

 

address code

 

function code

register start addre ssregister le ngth 

Check  code low

Check  code high
1 Byte1 Byte2 Byte2 Byte1 Byte1 Byte

Slave response frame structure:

address c odefunction codenumber of v alid bytes 

data area

second data a reaNth  data area 

check code

1 Byte1 Byte1 Byte2 Byte2 Byte2 Byte2 Byte

register address

register

address

quantitymeaningstatusdata range
0x021Gas

concentration

read only0~10000PPM
0x1001Device modelread only0~0xFFFF
0x1011Device     software

version

read only0~0xFFFF
0x10210device nameread and write0~0xFFFF
0x10C1Device addressread and write0~0xFF
0x10D1Serial               port

properties

read and writeSame       with      Serial      Port

Properties Register

Serial port properties:

data bitsmeaning
BIT15~BIT8Parity check selection

0: No verification (factory default)

 1: odd parity

2: Even parity

BIT7~BIT0Baud rate selection 0: 1200bps

1: 2400bps

2: 4800bps

3: 9600bps(Factory default)

4: 19200bps

Communication protocol example and explanation
Example 1: Read the gas concentration value of device address 0x01 Query frame (hexadecimal):

address c odefunction co destarting address 

Data length

 

Check  code low

Check  code hi

gh

0x010x030x00  0x020x00  0x010x250xCA

Response frame (hexadecimal):

 

address c ode

 

function cod e

return valid number of b ytesGas concen tration value 

check code low

check code high
0x010x030x020x00 0x030xF80x45

Gas concentration calculation:
Concentration: 0003 H (hex) = 3PPM
Example 2: Modify the device address 0x01 to 0x02 Query frame (hexadecimal):

 

 

address code

 

 

function code

 

 

starting  address

 

 

Data  length

data  area  w ord

Section  num

ber  (2*N)

 

 

 

data  area

 

 

 

check  code

0x010x100x01 0x0C0x00  0x010x020x00 0x020x37 0x9D

Response frame (hexadecimal):

address c odefunction cod estarting address 

Data length

check code lowcheck code high
0x010x100x01 0x0C0x00 0x010xC00x36

Notice

  1. It is forbidden to insert or unplug or touch the sensor on the module by hand.
  2. It is forbidden to modify or shift the installation state of electronic components.
  3. The module should avoid contact with organic solvents (including silica gel and other adhesives), coatings, pharmaceuticals, oils and high-concentration gases.
  4. The module cannot withstand excessive impact or vibration.
  5. The module needs to be preheated for more than 20 minutes when it is powered on for the first time.
  6.  Do not use this module in systems involving personal safety.
  7. Do not install the module in a strong air convection environment.
  8.  Do not place the module in high-concentration organic gas for a long time.

About us
Technical support: [email protected]
Documents and RF Setting download link: www.ebyte.com
Thank you for using Ebyte products! Please contact us with any questions or suggestions: [email protected]
Phone: +86 028-61399028
Web: www.ebyte.com
Address: B5 Mould Park, 199# Xiqu Ave, High-tech District, Sichuan, China

Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.

Documents / Resouces

Download manual
Here you can download full pdf version of manual, it may contain additional safety instructions, warranty information, FCC rules, etc.


Related Manuals