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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

30<br />

As mention in chapter 2, Arduino is 10 bit analog to digital converter<br />

microcontroller. Therefore, based on the hardware, the real input voltage <strong>of</strong> <strong>gas</strong> sensor is<br />

5V.<br />

i. Step 1:<br />

Since the binary for Arduino is 10-bit, it is equal to 2^10= 1024 steps or levels <strong>of</strong> the<br />

resolution. The maximum output from the <strong>gas</strong> sensor, 5V is then divided into 1024.<br />

From the calculation above, 1-bip output is equal to 4.88mV in the real voltage output.<br />

Figure 3.12 below shows the relation between voltage output from <strong>gas</strong> sensor and<br />

Arduino reading more clearly.<br />

voltage output (V)<br />

5<br />

4<br />

3<br />

2<br />

1<br />

204.8 409.6 614.4 819.2 1024<br />

digital ouput (bit)<br />

Figure 3.11: Voltage Output <strong>of</strong> Gas Sensor Versus digital output in<br />

Arduino.

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

Saved successfully!

Ooh no, something went wrong!