Skip to content
Snippets Groups Projects
Commit 095af637 authored by Ahmad Fares's avatar Ahmad Fares
Browse files

-m editing the final project documentation

parent 53d53eb4
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -83,6 +83,7 @@ code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Inf
<p>Battery is 9v so I am using the regulator to change and settle the voltage at 5v. The sensor has two outputs, one digital and one analog. The digital output gives 1 if the ppm reading is very high and close to the threshold. Analog output varies and depends on the ppm readings. The digital pin is connected to PA2 and the analog pin is connected to PA3 which has ADC. LED is connected to PB1.</p>
<p>The following pictures are the real size of the traces and the cut.</p>
<p><img src="images/coSensorTrace.png" /> <img src="images/coSensorCut.png" /></p>
<p>source code of the pcb can be found <a href="http://download1643.mediafire.com/561s7l3db6bg/g94brua4in4306n/coSensor.cad">here</a>.</p>
<h4 id="code">Code</h4>
<p>The following is just for testing the sensor, it will be slightly modified for real uses.</p>
<div class="sourceCode"><pre class="sourceCode c"><code class="sourceCode c"><span class="co">/*</span>
......
......@@ -48,6 +48,8 @@ The following pictures are the real size of the traces and the cut.
![](images/coSensorTrace.png)
![](images/coSensorCut.png)
source code of the pcb can be found [here](http://download1643.mediafire.com/561s7l3db6bg/g94brua4in4306n/coSensor.cad).
#### Code
The following is just for testing the sensor, it will be slightly modified for real uses.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment