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:
@@ -10,7 +10,7 @@ Then I came across a teaching site (https://www.codingkids.nl/arduino-buzzer.htm
|
|||||||
### Arduino Video
|
### Arduino Video
|
||||||
I watched a video about using Arduino and took a lot of op notes along the way.
|
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).
|
The link is: (https://www.youtube.com/watch?v=BLrHTHUjPuw).
|
||||||
|
```
|
||||||
\/\/Arduino information:
|
\/\/Arduino information:
|
||||||
|
|
||||||
\/pinnumber(locatie, in-/output)
|
\/pinnumber(locatie, in-/output)
|
||||||
@@ -69,13 +69,13 @@ examples, basics, fade
|
|||||||
\/ servo's
|
\/ servo's
|
||||||
|
|
||||||
examples, servo, sweep
|
examples, servo, sweep
|
||||||
|
```
|
||||||
### Linux and raspberry PI.
|
### Linux and raspberry PI.
|
||||||
To gain more knowledge about Linux, I first asked my classmates if they could get me started.
|
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.
|
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:
|
By doing this I got taught the following commands:
|
||||||
|
```
|
||||||
~ $ 'ls -la' = show file / folders
|
~ $ 'ls -la' = show file / folders
|
||||||
|
|
||||||
~ $ 'top' = see currently running programs
|
~ $ 'top' = see currently running programs
|
||||||
@@ -89,7 +89,7 @@ By doing this I got taught the following commands:
|
|||||||
~ $ 'ping ip addres'
|
~ $ 'ping ip addres'
|
||||||
|
|
||||||
~ $ 'ssh username@ip address' = open ssh connection.
|
~ $ 'ssh username@ip address' = open ssh connection.
|
||||||
|
```
|
||||||
### Air, temperature, and all sort of stuff.
|
### Air, temperature, and all sort of stuff.
|
||||||
|
|
||||||
After the Linux coding I decided to take a step back and began gaining experience with sensors.
|
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();
|
dht.begin();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
delay(2000);
|
delay(2000);
|
||||||
//a float has decimal numbers and the library reads the measurements.
|
//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.
|
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 is shown here:
|
||||||

|

|
||||||
The red cables are 3v, the black cables are the ground and the green cable is the echo for data.
|
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:
|
||||||
|

|
||||||
|
This helps visualise all connections and shows what parts were used for reproductional .
|
||||||
|
|
||||||
### Buzzers .pt 2
|
### 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.
|
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:
|
And here is the the board working:
|
||||||

|

|
||||||
|
|
||||||
|
To Show my wiring more clearly, here is my fritzing board:
|
||||||
|

|
||||||
|
the red wires are 3v, the black wires are the ground connections.
|
||||||
|
|
||||||
|
Here the wireframe is shown for parts specification and possible reproduction:
|
||||||
|

|
||||||
|
|
||||||
### Python For Dummies.
|
### 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.
|
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:
|
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 |
@@ -33,4 +33,34 @@ We Wil use this Feedback and see what we can do to change the design in a way th
|
|||||||
The design will be updated to include:
|
The design will be updated to include:
|
||||||
`smaller holes for less distraction.
|
`smaller holes for less distraction.
|
||||||
`ventilation at the bottom for better airflow.
|
`ventilation at the bottom for better airflow.
|
||||||
`Remove the lamps on top of the node for less distraction.
|
`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.
|
@@ -80,4 +80,11 @@ Sam, tft scherm, rest api ombouwen om data in node tabel te douwen
|
|||||||
Bram: Fritsing, documentation for code
|
Bram: Fritsing, documentation for code
|
||||||
Sietse: Database
|
Sietse: Database
|
||||||
Dano: Docuemtation for arduino
|
Dano: Docuemtation for arduino
|
||||||
Sam:
|
Sam:
|
||||||
|
|
||||||
|
26/03/2024
|
||||||
|
|
||||||
|
Sam: gebouw beheer vragen,
|
||||||
|
Sietse: rest api encete vragen
|
||||||
|
Bram: expert voorbereigen, node data updaten
|
||||||
|
Dano: Documentatie schreiven,
|
Reference in New Issue
Block a user