10.02.2015 Views

wireless monitoring system of gas detector - Faculty of Electrical ...

wireless monitoring system of gas detector - Faculty of Electrical ...

wireless monitoring system of gas detector - Faculty of Electrical ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

29<br />

3.3 S<strong>of</strong>tware Implementation<br />

This section will specifically discuss the methodology to interface the sensor and<br />

hardware module. The most important part is to enable the analog sensor to send analog<br />

data to Arduino then transfer to the LABVIEW. The first technique to interface the<br />

analog output to Arduino is to produce the relation between the sensor analog range and<br />

Arduino analog to digital converter (ADC) specification. This relation is based on <strong>gas</strong><br />

concentration calculation and will be explained in details the following section.<br />

3.3.1 Gas Concentration Calculation Process<br />

The following calculation will be clarified in numbering step to construct an<br />

equation for this sensor. Based on the datasheet <strong>of</strong> MQ3 and MQ9 the input and output<br />

voltage range shown in Table 3.2.<br />

Table 3.2: Gas Sensor input and output voltage range<br />

Specification<br />

Gas sensor<br />

MQ 9 MQ 3<br />

Input voltage range DC 5.0 ± 0.2 V DC 5.0 ± 0.2 V<br />

Output voltage range DC 0 – 5.0 V DC 0 – 5.0 V

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!