Difference between revisions of "Sensor-Air Quality"

From Microduino Wiki
Jump to: navigation, search
(Introduction of Sensor Pins)
 
(6 intermediate revisions by one other user not shown)
Line 6: Line 6:
  
 
The product number of Sensor-Air is: '''MSDT61'''
 
The product number of Sensor-Air is: '''MSDT61'''
 +
 
Sensor-Air is an air quality sensor module.  
 
Sensor-Air is an air quality sensor module.  
  
Air quality sensor shows great sensitivity towards alcohol, cigarettes, ammonia, sulfide and other pollution sources.  
+
TP401T air quality sensor shows great sensitivity towards alcohol, cigarettes, ammonia, sulfide and other pollution sources.  
  
  
 
==Introduction of Sensor Pins==
 
==Introduction of Sensor Pins==
{{Sensor_explain
+
{{ST_Pinout
|nameA=[[Sensor-Air Quality]]
+
|st_name=Air Quality Sensor
|modeA=Analog signal read
+
|pin3=Analog Input
|modeB=NC
 
 
}}
 
}}
 
  
 
==Features==
 
==Features==
Line 24: Line 23:
 
*Sensitive for air pollution.  
 
*Sensitive for air pollution.  
 
*long product life and low price  
 
*long product life and low price  
*Easy to use  
+
*Easy to use
  
 
==Specification==
 
==Specification==
*Electrical specification
+
*Sensor voltage
**Output: 0~5V analog signal 
+
**3.3V~5V working voltage
**Operation voltage: 3.0V~5.5V
+
 
*Tech parameters  
+
*Sensor size
**Measurement range: 1-100ppm
+
**Size of the board: 23.5mm*13mm
 +
**1.27mm-spacing 4Pin interface connected to sensorhub
 +
**The CAD drawing of the sensor: '''[[File:Sensor_CAD.zip]]'''
 +
 
 +
*Technical parameters  
 +
**Range: 1-100ppm
 
**Sensitivity: 0.15-0.45ppm
 
**Sensitivity: 0.15-0.45ppm
*Size
+
 
**Size of the sensor: 5mm*5mm
+
*Connection
**Size of the board: 20mm*10mm
+
**This sensor can be connected to the following interface of core: '''A0~A7'''
**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. 
 
[[file:mCookie-sensorhub_rule.JPG|thumb|800px|center]]
 
[[File: Microduino-Light_rule1.jpg|600px|thumb|center]]
 
  
 
==Document==
 
==Document==
*Schematic diagram: '''[[File: Microduino_AirQuanlity.Zip]]'''
+
*Schematic diagram: '''[[File: Sensor-Air Quanlity.Zip]]'''
 +
*Main chip: '''[[File: TP401T_datasheet.pdf ]]'''
  
 
==Development==
 
==Development==
===Preparation===
+
===Program Download===
*Make sure you build Microduino IDE or refer to: [[Microduino Getting started]]
+
*Download and unzip the program: '''[[File:Sensor-Air Quality_Test.zip]]'''
*Core selection
+
 
**1. Adopt [[Microduino-CoreUSB]] or [[mCookie-CoreUSB]] as the core.
+
===Programming===
**2. Adopt [[Microduino-Core]] or [[Microduino-Core+]] as the core plus [[Microduino-USBTTL]] as the program download module.
+
{{Upload
===Program===
+
|nameA=[[Microduino-Core]], [[Microduino-USBTTL]]
*Open " AnalogInput " in the libraries.
+
|nameB=[[Microduino-USBTTL]]
[[file:mCookie-AnalogInput.JPG|thumb|800px|center]]
+
|boardName=Microduino/mCookie-Core(328p), Atmega328P@16M,5V
*int sensorPin = A0; Define the analog A0 as the input pin.  
+
|fileName=Sensor-Air Quality Test.ino
*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.  
+
===Hardware Setup===
For reference: [[Microduino-Sensorhub]]
+
*Referring to the following diagram, connect the Sensor-AirQulity to analog pin A0/A1 of '''[[Microduino-Sensorhub]]'''.
[[file:Microduino-sensorhub_Analog.PNG|thumb|400px|center]]
+
<br>
For reference: [[mCookie-Hub]]
+
[[file:Microduino-sensorhub_Moisture.JPG|thumb|400px|left]]
[[file:mCookie-sensorhub_Analog.PNG|thumb|400px|center]]
+
<br style="clear: left"/>
* Connect the core, Sensorhub and the Microduino-Air to a computer with a USB cable. 
+
===Result===
* Select the right board and COM port, compile and download.  You can refer to [[AVR Core:Getting started]]
+
*After download, open the serial monitor.
[[file:upload.JPG|thumb|800px|center]]
+
*The current air quality value will be printed out in cycle in the serial monitor.
*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==
 
==Application==
Line 82: Line 79:
  
 
*Front  
 
*Front  
[[file: Microduino-AirQuality-F.JPG|thumb|600px|center|Microduino-Light Front]]
+
[[file: Microduino-AirQuality-F.JPG|thumb|600px|center|Sensor-Light Front]]
 
*Back  
 
*Back  
[[file: Microduino-AirQuality-b.JPG|thumb|600px|center|Microduino-Light Back]]
+
[[file: Microduino-AirQuality-b.JPG|thumb|600px|center|Sensor-Light Back]]
 
|}
 
|}

Latest revision as of 23:14, 30 March 2017

Language: English  • 中文
Microduino-Air-quality

The product number of Sensor-Air is: MSDT61

Sensor-Air is an air quality sensor module.

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


Introduction of Sensor Pins

Sensor backpin.png

Air Quality Sensor
General Pin Out Sensor / Trinket's Pin Out
PIN1 (GND) GND
PIN2 (VCC) VCC
PIN3 (SIGNAL-A) Analog Input
PIN4 (SIGNAL-B) Not Connected
  • General Pin Out is the standard pin out of a Sensor / Trinket connector.
  • Sensor / Trinket's Pin Out is this specific Sensor / Trinket's wiring in relation to the General Pin Out.
  • SIGNAL-A / SIGNAL-B are signals that could be digital input, digital output, analog input or analog output. Or special signals such as serial communication (SoftwareSerial, IIC (I2C), etc) or other special signals.
  • Not Connected refers to the Pin not being used for this particular Sensor / Trinket.
  • Read more about the hub module.

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

  • Sensor voltage
    • 3.3V~5V working voltage
  • Sensor size
    • Size of the board: 23.5mm*13mm
    • 1.27mm-spacing 4Pin interface connected to sensorhub
    • The CAD drawing of the sensor: File:Sensor CAD.zip
  • Technical parameters
    • Range: 1-100ppm
    • Sensitivity: 0.15-0.45ppm
  • Connection
    • This sensor can be connected to the following interface of core: A0~A7

Document

Development

Program Download

Programming

  • Follow the Software Getting Started Guide.
  • Select the Board, Processor and Port.
  • Click [File]->[Open], browse to the project program address, and click "Sensor-Air Quality Test.ino" to open the program.
  • After confirming all these items are correct, click "→" to download the program to the development board.

Hardware Setup

  • Referring to the following diagram, connect the Sensor-AirQulity to analog pin A0/A1 of Microduino-Sensorhub.


Microduino-sensorhub Moisture.JPG


Result

  • After download, open the serial monitor.
  • The current air quality value will be printed out in cycle in the serial monitor.

Application

Air cleaner, air conditioner and fresh air detector.

Project

Purchase

History

Pictures

  • Front
  • Back
Retrieved from "https://wiki.microduinoinc.com/index.php?title=Sensor-Air_Quality&oldid=12694"