Vicky87106 (Talk | contribs) |
|||
Line 25: | Line 25: | ||
<h3>Arduino code</h3> | <h3>Arduino code</h3> | ||
<p class="pcontent">We use temperature sensor(DS18B20)、pH meter and CO2 sensor(MG811) to monitor our device. | <p class="pcontent">We use temperature sensor(DS18B20)、pH meter and CO2 sensor(MG811) to monitor our device. | ||
− | Besides, we use LCD to print datum and use Wi-Fi sensor(ESP8266 | + | Besides, we use LCD to print datum and use Wi-Fi sensor(ESP8266) to upload our records to database as well. |
(You can see more information about Arduino in <a class="link" href="https://2018.igem.org/Team:NCKU_Tainan/Hardware">hardware</a>) | (You can see more information about Arduino in <a class="link" href="https://2018.igem.org/Team:NCKU_Tainan/Hardware">hardware</a>) | ||
</p> | </p> | ||
Line 42: | Line 42: | ||
We use the above method to take 150 strokes as training data, and use the basic accessories of MATLAB to find the appropriate nine temperature model formulas. | We use the above method to take 150 strokes as training data, and use the basic accessories of MATLAB to find the appropriate nine temperature model formulas. | ||
</p> | </p> | ||
− | <img class="contentimg col-6" src=""> | + | <img class="contentimg col-6" src="https://static.igem.org/mediawiki/2018/0/0b/T--NCKU_Tainan--software_temperature1.png"> |
− | <img class="contentimg col-6" src=""> | + | <img class="contentimg col-6" src="https://static.igem.org/mediawiki/2018/9/95/T--NCKU_Tainan--software_temperature2.png"> |
− | <img class="contentimg col-6" src=""> | + | <img class="contentimg col-6" src="https://static.igem.org/mediawiki/2018/b/b8/T--NCKU_Tainan--software_temperature3.png"> |
− | <img class="contentimg col-6" src=""> | + | <img class="contentimg col-6" src="https://static.igem.org/mediawiki/2018/e/e3/T--NCKU_Tainan--software_temperature4.png"> |
− | <img class="contentimg col-6" src=""> | + | <img class="contentimg col-6" src="https://static.igem.org/mediawiki/2018/2/2f/T--NCKU_Tainan--software_temperature5.png"> |
− | <img class="contentimg col-6" src=""> | + | <img class="contentimg col-6" src="https://static.igem.org/mediawiki/2018/6/63/T--NCKU_Tainan--software_temperature6.png"> |
− | <img class="contentimg col-6" src=""> | + | <img class="contentimg col-6" src="https://static.igem.org/mediawiki/2018/6/68/T--NCKU_Tainan--software_temperature7.png"> |
− | <img class="contentimg col-6" src=""> | + | <img class="contentimg col-6" src="https://static.igem.org/mediawiki/2018/c/cf/T--NCKU_Tainan--software_temperature8.png"> |
− | <img class=" | + | <img class="trueimg" src="https://static.igem.org/mediawiki/2018/4/4d/T--NCKU_Tainan--software_temperature9.png"> |
<p class="pcontent">From the graph we can see that the more parameters the model contains, | <p class="pcontent">From the graph we can see that the more parameters the model contains, | ||
the smaller the square error will be. Therefore, if the number of parameters is equal to the number of data points, | the smaller the square error will be. Therefore, if the number of parameters is equal to the number of data points, | ||
Line 56: | Line 56: | ||
because the data points contain noise. The model that completely matches the data also means that the model is most affected by noise. | because the data points contain noise. The model that completely matches the data also means that the model is most affected by noise. | ||
The accuracy will also be poor. In addition, the more model parameters, the higher the time complexity, | The accuracy will also be poor. In addition, the more model parameters, the higher the time complexity, | ||
− | so we use the | + | so we use the third image as the curve of analog signal and temperature conversion. |
</p> | </p> | ||
</div> | </div> |
Revision as of 13:45, 10 September 2018