ข้อมูล
น้ำหนัก
บาร์โค้ด
ลงสินค้า
อัพเดทล่าสุด
รายละเอียดสินค้า
CO2 carbon dioxide sensor module MG811 

Specification
 
Signal output indication
Dual signal output (analog output and TTL) Flat output
TTL output valid signal is low
One digital output
Output: 0-2V
Operating Voltage: 5V
Interface: Gravity Analog
High quality connector
High sensitivity and good selectivity to carbon dioxide
Size: 32mm X22mm X30mm
Working Voltage: DC 6V
Main Chip: LM393, carbon dioxide gas sensing probe



Include CO2.h:

// CO2 sensor MG811
 
// connect the necessary library 
# include  "CO2Sensor.h"
 // create a sensor instance from the library, 
// the first parameter is a jumper pin (A0), 
// the second parameter is an inertial coefficient (0.99), 
// the third parameter is the number of measurements at each reading (100) 
CO2Sensor co2Sensor (A0, 0.99 , 100 );
 
void  setup () {
   // initialization of serial line communication 
  Serial . begin ( 9600 );
  // CO2 sensor calibration
  co2Sensor.calibrate ();
}
 
void  loop () {
   // read CO2 concentration from sensor to variable 
  int value = co2Sensor. read ();
  // print serial line 
  serial information . print ( "CO2 concentration:" );
  Serial . print (value);
  Serial . println ( "ppm." );
  // if the value is greater than 1000, 
  // print a warning for 
  if user (value> 1000 ) {
     Serial . println ("Exceeding a safe concentration of 1000 ppm, blow up!" );
  }
  // pause before new during 
  delay loop ( 1000 );
}


ตัวอย่าง :
เงื่อนไขอื่นๆ
Tags

วิธีการชำระเงิน

บมจ. ธนาคารกรุงไทย สาขาโรงไฟฟ้าบางปะกง ออมทรัพย์
ธนาคารกรุงเทพ จำกัด (มหาชน) สาขาบิ๊กซี ฉะเชิงเทรา 2 ออมทรัพย์
บมจ. ธนาคารกรุงไทย สาขาบิ๊กซี ฉะเชิงเทรา 2 ออมทรัพย์
พร้อมเพย์ สาขา- -
Scan this!
สนธยา ใจผ่อง
063-xxxxxx-8
Accept All Banks | รับเงินได้จากทุกธนาคาร
พูดคุย-สอบถาม