Merge branch 'main' of ssh://gitlab.fdmci.hva.nl/propedeuse-hbo-ict/onderwijs/2023-2024/out-a-se-ti/blok-3/qaajeeqiinii59

This commit is contained in:
Sietse Jonker
2024-03-26 13:47:31 +01:00
7 changed files with 56 additions and 10 deletions

View File

@@ -10,7 +10,7 @@ Then I came across a teaching site (https://www.codingkids.nl/arduino-buzzer.htm
### Arduino Video
I watched a video about using Arduino and took a lot of op notes along the way.
The link is: (https://www.youtube.com/watch?v=BLrHTHUjPuw).
```
\/\/Arduino information:
\/pinnumber(locatie, in-/output)
@@ -69,13 +69,13 @@ examples, basics, fade
\/ servo's
examples, servo, sweep
```
### Linux and raspberry PI.
To gain more knowledge about Linux, I first asked my classmates if they could get me started.
They showed me how to gain access to a server and told me how to navigate through files.
By doing this I got taught the following commands:
```
~ $ 'ls -la' = show file / folders
~ $ 'top' = see currently running programs
@@ -89,7 +89,7 @@ By doing this I got taught the following commands:
~ $ 'ping ip addres'
~ $ 'ssh username@ip address' = open ssh connection.
```
### Air, temperature, and all sort of stuff.
After the Linux coding I decided to take a step back and began gaining experience with sensors.
@@ -117,8 +117,6 @@ Serial.println(F("DHTxx test!"));
dht.begin();
}
void loop() {
delay(2000);
//a float has decimal numbers and the library reads the measurements.
@@ -158,9 +156,13 @@ And here it looks in action:
Later on, I could expand this code and the physical product to include the rest of the sensors.
The wiring is shown here:
![the wiring](<assets/DHT11 wires.png>)
![my fritzing diagram](assets/DHT11_by_button_fritzing.png)
The red cables are 3v, the black cables are the ground and the green cable is the echo for data.
This version of a DHT11 has a built-in resistor otherwise this would have to be included.
This version is using a DHT22, this is a updated version of a DHT11 but still provides the same information and still uses the same pins. So i decided to compromise for it, using it in my fritzing diagram.
The wire-frame is shown below:
![wireframe DHT11](assets/DHT11_by_button_wireframe.png)
This helps visualise all connections and shows what parts were used for reproductional .
### Buzzers .pt 2
I found out how to make multiple buzzers go off with the press of one button and increase as Mutch as there are pins.
@@ -201,6 +203,13 @@ Here I made the physical design but instead of buzzers I used lights in order to
And here is the the board working:
![board working and turned on.](<assets/Buzzer board on.jpg>)
To Show my wiring more clearly, here is my fritzing board:
![fritzing_buttons pt2](assets/Buzzer_board_fritzing.png)
the red wires are 3v, the black wires are the ground connections.
Here the wireframe is shown for parts specification and possible reproduction:
![wireframe _ buzzers pt2](assets/Buzzer_board_wireframe.png)
### Python For Dummies.
My job was to make a connection between the WebSocket and the database we had set up, and to do this we wanted to use python.
To give an easy picture, here is where i would come:

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

View File

@@ -34,3 +34,33 @@ The design will be updated to include:
`smaller holes for less distraction.
`ventilation at the bottom for better airflow.
`Remove the lamps on top of the node for less distraction.
### Design questions led by bram
We have a wooden and plastic design. We were wondering wich one is more easy to look at, and wich one can be more distracting.
1. wich design is more likable
Sebas : plastic looks better and goes straight to the point.
Skip : plastic looks more clean.
Dano : plastic is more smooth.
Sietse : plastic is better.
Ishak : Wood is more ecofriendly.
2. wich design is more distracting.
Sebas : wood is more distracting and more obvious.
Skip : wood, because the school walls are more darker themed.
Dano : wood looks off.
Sietse : wood would be out of place.
Ishak : Wood, but in a good way.
3. Any further comments about the design?
Sebas : Don't do wood, plastic is more sleek.
Skip : plastic looks more professional.
Dano : no.
Sietse: no.
Ishak : in the wood you can burn in your logo.
In conclusion, Even though the wood would atract more attention, the plastic looks better according to the students.
So from this information we will continue to make plastic cases for the nodes.

View File

@@ -81,3 +81,10 @@ Sam, tft scherm, rest api ombouwen om data in node tabel te douwen
Sietse: Database
Dano: Docuemtation for arduino
Sam:
26/03/2024
Sam: gebouw beheer vragen,
Sietse: rest api encete vragen
Bram: expert voorbereigen, node data updaten
Dano: Documentatie schreiven,