Sensor-Air Quality

From Microduino Wiki
Revision as of 02:50, 9 November 2016 by Fengfeng (talk)
Jump to: navigation, search
Language: English  • 中文
Microduino-Air-quality
The product number of Sensor-Air is: MSDT61

Sensor-Air is an air quality sensor module.

Air quality sensor shows great sensitivity towards alcohol, cigarettes, ammonia, sulfide and other pollution sources.


Introduction of Sensor Pins

Sensor backpin.png
  • Pins of the sensor:
    • PIN1: GND
    • PIN2: VCC
    • General signal pins:
      • PIN3(IO1): digital/analog signal
      • PIN4(IO2): NC(null)
    • Special signal pins:
      • If it is IIC: IO1/IO2 are respectively SDA/SCL.
      • If it is soft serial port: IO1/IO2 are respectively tx/rx.
  • Special to Sensor-Air Quality sensor pins
    • PIN1: GND
    • PIN2: VCC
    • PIN3(IO1): Analog signal read
    • PIN4(IO2): NC


Microduino sensor can communicate with core module through the connection with Microduino-Module Sensor Hub.


Features

  • Show great sensitivity towards VOCS and odorous gas such as ammonia, alcohol, hydrogen sulfide, toluene and hydrogen.
  • Low consumption
  • Sensitive for air pollution.
  • long product life and low price
  • Easy to use

Specification

  • Electrical specification
    • Output: 0~5V analog signal
    • Operation voltage: 3.0V~5.5V
  • Tech parameters
    • Measurement range: 1-100ppm
    • Sensitivity: 0.15-0.45ppm
  • Size
    • Size of the sensor: 5mm*5mm
    • Size of the board: 20mm*10mm
    • 1.27mm-pitch 4Pin interface;
  • Connection method
    • Pin description: GND, VCC, signal output and NC(empty).

Note: Since the input signal is simulated, it needs analog interface to detect (A0-A7), which can be connected to the pins(A6/A7,A2/A3 and A0/A1) of the Sensorhub.

MCookie-sensorhub rule.JPG

Document

Development

Preparation

Program

  • Open " AnalogInput " in the libraries.
MCookie-AnalogInput.JPG
  • int sensorPin = A0; Define the analog A0 as the input pin.
  • sensorValue = analogRead(sensorPin); Read values of the pin.

Hardware Buildup

  • Stack all modules together and then connect the air quality sensor to the A0 slot of Microduino-Sensorhub with the wire.

For reference: Microduino-Sensorhub

Microduino-sensorhub Analog.PNG

For reference: mCookie-Hub

MCookie-sensorhub Analog.PNG
  • Connect the core, Sensorhub and the Microduino-Air to a computer with a USB cable.
  • Select the right board and COM port, compile and download. You can refer to AVR Core:Getting started
Upload.JPG
  • Select the right port number from Tools→Serial Port in Arduino IDE after compiling, then download the program.
  • Open the serial monitor after download. The values displayed on the serial monitor reflect the current air quality.

Application

Air cleaner, air conditioner and fresh air detector.

Project

Purchase

History

Pictures

  • Front
File:Microduino-AirQuality-F.JPG
Microduino-Light Front
  • Back
File:Microduino-AirQuality-b.JPG
Microduino-Light Back