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.

45<br />

After interfacing the data transfer and LABVIEW was done, the next process is<br />

to read the data transfer. From the figure 3.24, decimal string to number is needed for<br />

converting the numeris characters in string thats starting at <strong>of</strong>fset to a decimal interger<br />

and return it in number. Once the string number from visa has been changed, the output<br />

number needs to convert back into the original <strong>of</strong> voltage value. The converter process is<br />

shown in Figure 3.25. As mentioned before, Arduino will read the data in the 10-bit data<br />

only. Therefore, to convert the value in the original voltage is by the equation in 3.7.<br />

Figure 3.25: Converter Process<br />

The next step in LABVIEW process is to show the LED indicators for user<br />

<strong>monitoring</strong>. The range will conduct the voltage value according to the threshold value<br />

that has been set before.<br />

Finally, the last step is to monitor the concentration value <strong>of</strong> the <strong>gas</strong>. In this step,<br />

the concentration value is calculate based on the graph analysis as mentioned before.<br />

Therefore, to calculate the <strong>gas</strong> concentration for LPG and alcohol <strong>gas</strong> are using the<br />

equation 3.8 and 3.9 as below.

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

Saved successfully!

Ooh no, something went wrong!