(Prototype team page) |
|||
Line 1: | Line 1: | ||
− | {{NCKU_Tainan}} | + | {{NCKU_Tainan/header}} {{NCKU_Tainan/navbar}} {{NCKU_Tainan/style}} |
<html> | <html> | ||
− | + | <head> | |
− | + | <link rel="stylesheet" href="https://2018.igem.org/Template:NCKU_Tainan/css/software?action=raw&ctype=text/css"> | |
− | < | + | </head> |
− | < | + | <body data-spy="scroll" data-target=".navbar-example"> |
− | < | + | <div class="container content"> |
− | < | + | <h1 class="head">Software</h1> |
− | </div> | + | <div class="navbar-example"> |
− | + | <div class="row"> | |
− | + | <div class="col-2 side"> | |
− | <div class=" | + | <div id="sidelist" class="list-group"> |
− | + | <a class="list-group-item list-group-item-action" href="#list-item-1">Arduino</a> | |
− | + | <a class="list-group-item list-group-item-action" href="#list-item-2">Arduino Code</a> | |
− | <div class=" | + | <a class="list-group-item list-group-item-action" href="#list-item-3">Database</a> |
− | < | + | <a class="list-group-item list-group-item-action" href="#list-item-4">App</a> |
− | + | <a class="list-group-item list-group-item-action" href="#list-item-5">Reference</a> | |
− | <div | + | </div> |
− | <h3> | + | </div> |
− | <p> | + | <div class="col-10"> |
− | + | <div data-spy="scroll" data-target="#sidelist" data-offset="0" class="scrollspy-example"> | |
− | + | <div class="container"> | |
− | < | + | <div id="list-item-1"> |
− | + | <h3>Arduino</h3> | |
− | < | + | <img class="contentimg" src="https://i.imgur.com/7Guprb7.png"> |
− | + | <p>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) to upload our records to database as well.</p> | |
− | + | </div> | |
− | + | <div id="list-item-2"> | |
− | + | <h3>Arduino Code</h3> | |
− | </div> | + | <script src="https://gist.github.com/yiiju/62d0249edc790f0cbb59bbc45060dc43.js"></script> |
− | + | </div> | |
− | <div | + | <div id="list-item-3"> |
− | + | <h3>Database</h3> | |
− | <h3> | + | <p>In order to save data from our device, we set up a database in Firebase, including carbon dioxide concentration, pH value and temperature obtained by sensors in our device.</p> |
− | <p> | + | <a class="link" href="https://console.firebase.google.com/u/2/project/co2-app/database/co2-app/data" target="_blank">Click to see our database</a> |
− | + | <img class="contentimg" src="./picture/image.png"> | |
− | </p> | + | </div> |
− | + | <div id="list-item-4"> | |
− | + | <h3>App</h3> | |
− | < | + | <p>To make our device more user-friendly, we designed an app to get data from our database. The manager of the factory can easily see the data immediately. Besides, we set up a notification system. As long as users connect their smart phone to the internet, their can immediately get the warning notification from the device if the data goes wrong.</p> |
− | < | + | <a class="link" href="https://github.com/yiiju/CO2_Detection" target="_blank">Github</a> |
− | < | + | </div> |
− | </ | + | <div id="list-item-5"> |
− | + | <h3>Reference</h3> | |
− | + | </div> | |
− | + | </div> | |
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | <script> | ||
+ | $(document).ready(function() { | ||
+ | $(window).scroll(function() { | ||
+ | if ($(this).scrollTop() >= 50) { | ||
+ | var position = $("#sidelist").position(); | ||
+ | if(position == undefined){} | ||
+ | else{ | ||
+ | $('#sidelist').css({"position": "fixed", "top": "145px", "margin-top": "0px"}); | ||
+ | } | ||
+ | } else { | ||
+ | $('#sidelist').removeAttr('style'); | ||
+ | } | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | <script src="https://2018.igem.org/Team:NCKU_Tainan/js/frame/T--NCKU_Tainan--jquery-1_12_4_min_js?action=raw&ctype=text/javascript"></script> | ||
+ | <script src="https://2018.igem.org/Template:NCKU_Tainan/js/bootstrap_min_js?action=raw&ctype=text/javascript"></script> | ||
+ | </body> | ||
</html> | </html> | ||
+ | {{NCKU_Tainan/footer}} |
Revision as of 07:06, 20 August 2018