144 lines
5.9 KiB
HTML
144 lines
5.9 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en" dir="ltr">
|
||
|
|
||
|
<head>
|
||
|
<title>SLEGPI</title>
|
||
|
<meta charset="UTF-8">
|
||
|
<link rel="stylesheet" href="styles/layout.css" type="text/css">
|
||
|
<link rel="stylesheet" href="styles/style.css" type="text/css">
|
||
|
<link rel="shortcut icon" href="/favicons/slegpi.ico" type="image/x-icon">
|
||
|
<link rel="icon" href="/favicons/slegpi.ico" type="image/x-icon">
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
|
||
|
<div class="wrapper row1">
|
||
|
<header id="header" class="clear">
|
||
|
<div id="hgroup">
|
||
|
<a href="">
|
||
|
<img src="img/logo_slegpi.png" width="20%" />
|
||
|
</a>
|
||
|
</div>
|
||
|
<nav>
|
||
|
<ul>
|
||
|
<li class="active">
|
||
|
<a href="index.html">Homepage</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="" class="active">About</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="story.html">Story</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="https://www.junkjumper-projects.com/_Project/slegpi/">Demo</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="#">License</a>
|
||
|
</li>
|
||
|
<li class="last">
|
||
|
<a href="https://github.com/JunkJumper/SLEGPI-Website">Download on Github</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</nav>
|
||
|
</header>
|
||
|
</div>
|
||
|
|
||
|
<div class="wrapper row2">
|
||
|
<div id="container" class="clear">
|
||
|
<section id="slider">
|
||
|
<img src="img/website-resized.png" alt="wbesite" width="960px" height="360px" id="About">
|
||
|
</section>
|
||
|
<div id="content">
|
||
|
<section>
|
||
|
<article>
|
||
|
<h1>About the project</h1>
|
||
|
<p>Welcome on the About page of the project. SLEGPI is my project for my exams of june 2018. I have work on it from
|
||
|
October 2017 to May 2018. The goal of SLEGPI was to make me discover numeric and electronic aspect by considering
|
||
|
a lot the substainable developpement.
|
||
|
<br />
|
||
|
<br /> When I start the project, I receive from my professor a contract notice with all the instruction that I must
|
||
|
to respect.
|
||
|
<br />
|
||
|
<br /> On the contract, was written that i must use a Raspebrry Pi 3, an Arduino Card, and try to respect the substainable
|
||
|
developpement.
|
||
|
<br />
|
||
|
<br />
|
||
|
</p>
|
||
|
|
||
|
<h2 id="How">How the project works ?</h2>
|
||
|
<p>The project works by setting up a connection between a server hosted on a Raspebrry Pi 3 and the Arduino Card.
|
||
|
To do that, the Arduino card and the Raspebrry Pi 3 need to b connected to the same network.
|
||
|
<br />
|
||
|
<br /> Firstly, the
|
||
|
<a href="https://en.wikipedia.org/wiki/LAMP_(software_bundle)" target="_blank">LAMP server</a> need to be configured with the
|
||
|
<a href="http://php.net/manual/en/book.pdo.php" target="_blank">PDO</a> function. Without it, all the connection between the databse and the website is deleted. When we use
|
||
|
the website to send an action to do to our Arduino card, we are in server mode. So we are asking to the Arduino
|
||
|
Card to "display" a page with an URL like :
|
||
|
<xmp>ip-adress/action=what_we_want</xmp>
|
||
|
And our Arduino Card understand what to do.
|
||
|
<br />
|
||
|
<br /> When the Arduino Card is receiving data from our anemometer or from the luxmeter, it sending informations
|
||
|
to the website in client mode. And the website is understanding what Arduino send by using a file called "get_sql.php".
|
||
|
<br
|
||
|
/>
|
||
|
<br />
|
||
|
</p>
|
||
|
|
||
|
<h2 id="Exam">How was the exam with this project ?</h2>
|
||
|
<p>The Exam is separated in two parts. One is a continuous assessment and the grade is given by the professor who
|
||
|
follow the project from the begining to the end. And the second one is given by a jury of two professors who
|
||
|
don't know anything about us or about our project (exept maybe the name of our project).
|
||
|
<br />
|
||
|
<br /> Personally, I get 20/20 for the continuous assessment and 18/20 from the jury. So I get 19/20 for the project
|
||
|
(coefficient 12).
|
||
|
<br />
|
||
|
<br /> For the continuous assessment, we just have to seriously work. For the jury part, we have to do a slide show
|
||
|
to project on a screen. We must do a general and personal recap into a .docx file.
|
||
|
</p>
|
||
|
|
||
|
</article>
|
||
|
</section>
|
||
|
</div>
|
||
|
|
||
|
<aside id="right_column">
|
||
|
<h2 class="title">Quick navigation</h2>
|
||
|
<nav>
|
||
|
<ul>
|
||
|
<li>
|
||
|
<a href="#About">About</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="#How">How the project works ?</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="#Exam">How was the exam with this project ?</a>
|
||
|
</li>
|
||
|
<li class="last">
|
||
|
<a href="#">Download the latest release !</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</nav>
|
||
|
</aside>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- Copyright -->
|
||
|
<div class="wrapper row4">
|
||
|
<footer id="footer" class="clear">
|
||
|
<p class="fl_left">
|
||
|
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/">
|
||
|
<img alt="Licence Creative Commons" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" />
|
||
|
</a>
|
||
|
<img src="img/footer.png" />This page is available under the terms of the
|
||
|
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"> Creative Commons Attribution 4.0 International License</a>.</p>
|
||
|
<br />
|
||
|
<p class="fl_right">Website made by
|
||
|
<a target="_blank" href="https://junkjumper.github.io/" title="Free Website Templates">JunkJumper</a>
|
||
|
</p>
|
||
|
</footer>
|
||
|
</div>
|
||
|
</body>
|
||
|
|
||
|
</html>
|