Skip to content
Snippets Groups Projects
Commit fb90479a authored by Charlotte Vandenbulcke's avatar Charlotte Vandenbulcke
Browse files

adding content to week and final project pages

parent af79b632
No related branches found
No related tags found
No related merge requests found
Pipeline #449793 passed
Showing
with 418 additions and 2 deletions
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="GitLab Pages">
<meta name="description" content="Fab Academy documentation site for Charlotte Fab-C">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="../assets/css/main.css" />
<title>Charlotte Fab-C - Fab Academy</title>
</head>
<body class="is-preload">
<!-- Wrapper -->
<div id="wrapper">
<!-- Main -->
<div id="main">
<div class="inner">
<!-- Header -->
<header id="header">
<a href="../index.html" class="logo"><strong>Charlotte - FabLab de Charleroi</strong> Fab Academy website</a>
<ul class="icons">
<li><a href="https://www.facebook.com/littlebelge" class="icon brands fa-facebook-f" target="_blank"><span class="label">Facebook</span></a></li>
<li><a href="https://www.instagram.com/little.belge/" class="icon brands fa-instagram" target="_blank"><span class="label">Instagram</span></a></li>
<li><a href="https://gitlab.fabcloud.org/charlotte-vandenbulcke" class="icon brands fa-gitlab" target="_blank"><span class="label">Gitlab</span></a></li>
</ul>
</header>
<!-- Section -->
<section id="banner">
<div class="content">
<header class="main">
<h2>11. Input Devices</h2>
</header>
<section>
<h3>Hero shot</h3>
<span class="object">
<video width="600" height="300" controls>
<source src="../images/soil-humidity-sensor.mp4" type="video/mp4">
</video>
</span>
<br>
</section>
<hr>
<section>
<h3>Group Assignment</h3>
<h4>Measuring Ultrasonic Distance Sensor</h4>
<p>This sensor is a very popular sensor used in many applications where measuring distance or sensing objects are required.</p>
<span class="image object">
<img src="../images/ultrasonic-distance-sensor.jpg" alt="...">
</span>
<p>The module has two eyes like projects in the front which forms the Ultrasonic transmitter and Receiver.</p>
<p>It is a 4 pin module, whose pin names are Vcc, Trigger, Echo and Ground respectively.</p>
<span class="image object">
<img src="../images/Ultrasonic-sensor-pinout.jpg" alt="...">
</span>
<h5>Applications</h5>
<ul>
<li>Used to avoid and detect obstacles with robots like biped robot, obstacle avoider robot, path finding robot etc.</li>
<li>Used to measure the distance within a wide range of 2cm to 400cm</li>
<li>Can be used to map the objects surrounding the sensor by rotating it</li>
<li>Depth of certain places like wells, pits etc can be measured since the waves can penetrate through water</li>
</ul>
</section>
<hr>
<section>
<h3>Individual Assignment</h3>
<span class="image object">
<img src="../images/all-input-devices.jpg" alt="...">
</span>
<p>I've tested several input devices with programming codes found on internet to understand how they work and how useful they could be (mostly for my final project).</p>
<h4>Humidity and Temperature Sensor</h4>
<span class="image object">
<img src="../images/humidity-and-temperature-sensor.jpg" alt="..." />
</span>
<pre>
<code>
#include < DHT.h>
#define DHTPIN 9
#define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE);
float temp;
float hum;
void setup() {
Serial.begin(9600);
dht.begin();
}
void loop() {
hum = dht.readHumidity();
temp = dht.readTemperature();
if (isnan(hum) || isnan(temp)) {
Serial.println("Error reading from DHT sensor!");
return;
}
Serial.print("Humidity: ");
Serial.print(hum);
Serial.print("%\t");
Serial.print("Temperature: ");
Serial.print(temp);
Serial.println(" *C");
delay(2000);
}
</code>
</pre>
<span class="object">
<video width="600" height="300" controls>
<source src="../images/...mp4" type="video/mp4">
</video>
</span>
<hr>
<h4>Water Sensor</h4>
<span class="image object">
<img src="../images/water-sensor.jpg" alt="..." />
<caption>Water Sensor</caption>
</span>
<h5>Water Level Sensor Pinout (infos form <a href="https://arduinogetstarted.com/tutorials/arduino-water-sensor" target="_blank"><strong>Arduino Get Started</strong></a>)</h5>
<p>The water level sensor has 3 pins:</p>
<ul>
<li>S (Signal) pin: is an analog output that will be connected to one of the analog inputs on your Arduino.</li>
<li>+ (VCC) pin: supplies power for the sensor. It is recommended to power the sensor with between 3.3V – 5V.</li>
<li>- (GND) pin: is a ground connection.</li>
</ul>
<span class="image object">
<img src="../images/water-sensor-pinout.WebP" alt="..." />
<caption>Water Sensor pinouts</caption>
</span>
<p>The analog output value on the signal pin varies depending on the voltage supplied to the VCC pin of the sensor.</p>
<h5>How Water Level Sensor Works</h5>
<p>Simply, The more water the sensor is immersed in, the higher the output voltage in the signal pin is.</p>
<h5>Test with the Water Sensor</h5>
<span class="image object">
<img src="../images/water-sensor-test.jpg" alt="...">
<caption>Test with the Water Sensor</caption>
</span>
<pre>
<code>
</code>
</pre>
<span class="object">
<video width="600" height="300" controls>
<source src="../images/water-sensor.mp4" type="video/mp4">
</video>
</span>
<hr>
<h4>Soil Humidity Sensor</h4>
<span class="image object">
<img src="../images/soil-humidity-sensor.jpg" alt="..." />
</span>
<span class="image object">
<img src="../images/soil-humidity-sensor-test.jpg" alt="...">
</span>
<pre>
<code>
</code>
</pre>
<span class="object">
<video width="600" height="300" controls>
<source src="../images/soil-humidity-sensor.mp4" type="video/mp4">
</video>
</span>
<hr>
<h4>KY-037 Big Sound Sensor (infos from <a href="https://electropeak.com/learn/interfacing-ky-037-sound-sensor-with-arduino/" target="_blank">Electro Peak !</a>)</h4>
<p>KY-037 module consists of a capacitive microphone and an amplifier circuit. The output of this module is both analog and digital.</p>
<span class="image object">
<img src="../images/big-sound-sensor.jpg" alt="..." />
</span>
<h5>KY-037 Sound Module Pinout</h5>
<p>This module has 4 pins, 2 of them are for power supply.</p>
<p>Pin 1: The analog output. It’s value changes according to the intensity of the received sound. It can be connected to the Arduino analog (ADC) pins.</p>
<p>Pin 4: The digital output. It acts as a key, and it activates when sound intensity has reached a certain threshold. The sensitivity threshold can be adjusted using the potentiometer on the sensor.</p>
<span class="image object">
<img src="../images/big-sound-pinout.jpg" alt="..." />
</span>
<h5>Test with the Big Sound Sensor</h5>
<pre>
<code>
/*
modified on June 5, 2018
by Arduino Examples from arduino.cc/en/Tutorial/ReadAnalogVoltage
Home
*/
void setup() {
// initialize serial communication at 9600 bits per second:
Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
// read the input on analog pin 0:
int sensorValue = analogRead(A0);
// print out the value you read:
Serial.println(sensorValue);
delay(50);
}
</code>
</pre>
<span class="object">
<video width="600" height="300" controls>
<source src="../images/big-sound.mp4" type="video/mp4">
</video>
</span>
<hr>
<h4>Hall Magnetic Sensor</h4>
<span class="image object">
<img src="../images/hall-magnetic-sensor.jpg" alt="..." />
</span>
<pre>
<code>
int Led = 26 ; // Déclaration de la Led en broche 26
int SENSOR = 4 ; // Déclaration du capteur en broche 4
int val ; // Déclaration d'une variable numérique
void setup (){
pinMode (Led, OUTPUT) ; // Définition de la broche Led en tant que sortie
pinMode (SENSOR, INPUT) ; // Définition du capteur en tant qu'entrée.
}
void loop (){
val = digitalRead (SENSOR) ; // Lecteur de l'état du capteur
if (val == LOW) { // Quand le capteur détecte un aimant, la Led 26 s’allume
digitalWrite (Led, HIGH);
}
{
digitalWrite (Led, LOW);
}
}
</code>
</pre>
<span class="object">
<video width="600" height="300" controls>
<source src="../images/hall-magnetic.mp4" type="video/mp4">
</video>
</span>
</section>
<section>
<p><strong>Resources</strong></p>
<ul>
<li><a href="https://fabacademy.org/2024/labs/fabc/" target="_blank">Our group page</a></li>
</ul>
</section>
</div>
</section>
</div>
</div>
<!-- Sidebar -->
<div id="sidebar">
<div class="inner">
<!-- Menu -->
<nav id="menu">
<header class="major">
<h2>Menu</h2>
</header>
<ul>
<li><a href="../index.html">Homepage</a></li>
<li><a href="../assignments.html">Assignments</a></li>
<li>
<span class="opener">Week per week</span>
<ul>
<li><a href="../assignments/week01.html">1. Project Management</a></li>
<li><a href="../assignments/week02.html">2. Computer Aided Design</a></li>
<li><a href="../assignments/week03.html">3. Computer Controlled Cutting</a></li>
<li><a href="../assignments/week04.html">4. Electronics Production</a></li>
<li><a href="../assignments/week05.html">5. 3D Scanning And Printing</a></li>
<li><a href="../assignments/week06.html">6. Embedded Programming</a></li>
<li><a href="../assignments/week07.html">7. Computer Controlled Machining</a></li>
<li><a href="../assignments/week08.html">8. Electronics Design</a></li>
<li><a href="../assignments/week09.html">9. Output Devices</a></li>
<li><a href="../assignments/week10.html">10. Mechanical Design And Machine Design</a></li>
<li><a href="../assignments/week11.html">11. Input Devices</a></li>
<li><a href="../assignments/week12.html">12. Molding and Casting</a></li>
<li><a href="../assignments/week13.html">13. Networking And Communications</a></li>
<li><a href="../assignments/week14.html">14. Interface And Application Programming</a></li>
<li><a href="../assignments/week15.html">15. Wildcard Week</a></li>
<li><a href="../assignments/week16.html">16. Applications And Implications</a></li>
<li><a href="../assignments/week17.html">17. Invention, Intellectual Property And Income</a></li>
<li><a href="../assignments/week18.html">18. Project Development</a></li>
</ul>
</li>
<li><a href="../final-project.html">Final Project</a></li>
<li><a href="../about.html">About Me</a></li>
</nav>
<!-- Footer -->
<footer id="footer">
<p class="copyright">&copy; Charlotte - FabLab de Charleroi. Fab Academy 2024. All rights reserved. Design: <a href="https://html5up.net">HTML5 UP</a>.</p>
</footer>
</div>
</div>
</div>
<!-- Scripts -->
<script src="../assets/js/jquery.min.js"></script>
<script src="../assets/js/browser.min.js"></script>
<script src="../assets/js/breakpoints.min.js"></script>
<script src="../assets/js/util.js"></script>
<script src="../assets/js/main.js"></script>
</body>
</html>
/*
modified on June 5, 2018
by Arduino Examples from arduino.cc/en/Tutorial/ReadAnalogVoltage
Home
*/
void setup() {
// initialize serial communication at 9600 bits per second:
Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
// read the input on analog pin 0:
int sensorValue = analogRead(A0);
// print out the value you read:
Serial.println(sensorValue);
delay(50);
}
\ No newline at end of file
......@@ -57,6 +57,7 @@
<li>tunnel to add some protection against the cold in winter</li>
</ul>
</section>
<hr>
<section>
<p>I've already doodled my ideas in a big A4 notebook that I will use to sketch the designs and visual ideas.</p>
......@@ -77,6 +78,7 @@
<a href="https://pin.it/7dmomgOIu" target="_blank"><img src="images/pinterest-pinboard2.jpg" alt="Printscreen of more pictures of my Fab Academy project's pinboard on Pinterest" /></a>
</span>
</section>
<hr>
<section>
<p>I've decided how I wanted my pet house/box to be built and assembled.</p>
......@@ -86,7 +88,7 @@
<a href="https://www.printables.com/fr/model/258405-snipspliers-holder-for-honeycomb-storage-wall" target="_blank"><img src="images/printables-honeycomb-tools-structure.jpg" alt="Page on Printables website where you can download the honeycomb structured wall storage for tools" /></a>
</span>
</section>
<hr>
<section>
<p>I've made a first attempt of building a box by cutting panels of 4 mm multiplex to search for the final panel sizes.</p>
......@@ -107,7 +109,7 @@
</span>
</section>
<hr>
<section>
<h2>New turn in my project</h2>
......@@ -148,6 +150,17 @@
</span>
</section>
<section>
<h4>Moodboard</h4>
<span class="image object">
<img src="images/Final-Project-MoodBoard.jpg" alt="" />
</span>
<p>As it can be seen in this moodboard, my final idea will be a feeder with a lid. I will integrate a cat head shape in the design and the colours will tend to white, brown and grey.</p>
</section>
</div>
</section>
......
public/images/Final-Project-MoodBoard.jpg

134 KiB

public/images/Ultrasonic-sensor-pinout.jpg

40.8 KiB

public/images/all-input-devices.jpg

67.2 KiB

public/images/big-sound-pinout.jpg

29.1 KiB

public/images/big-sound-sensor.jpg

34.4 KiB

File added
public/images/hall-magnetic-sensor.jpg

33.8 KiB

File added
public/images/humidity-and-temperature-sensor.jpg

31.5 KiB

public/images/soil-humidity-sensor-test.jpg

79.2 KiB

public/images/soil-humidity-sensor.jpg

74.4 KiB

File added
public/images/ultrasonic-distance-sensor.jpg

34.1 KiB

public/images/water-sensor-pinout.webp

46.6 KiB

public/images/water-sensor-test.jpg

93.4 KiB

public/images/water-sensor.jpg

36.7 KiB

File added
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