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:
@@ -8,6 +8,7 @@ nav:
|
|||||||
- Links: opdracht/links
|
- Links: opdracht/links
|
||||||
- 📚 Documentatie:
|
- 📚 Documentatie:
|
||||||
- I2C: arduino-documentation/i2c-ESP32
|
- I2C: arduino-documentation/i2c-ESP32
|
||||||
|
- 🍓 Raspberry Pi: Sp1SchetsProject/InfrastructuurDocumentatie/raspberryPi
|
||||||
- 🧠 Brainstorm:
|
- 🧠 Brainstorm:
|
||||||
- Ideeën: brainstorm/ideeën
|
- Ideeën: brainstorm/ideeën
|
||||||
- Database design: brainstorm/Database
|
- Database design: brainstorm/Database
|
||||||
|
@@ -0,0 +1,21 @@
|
|||||||
|
#Rasberry Pi
|
||||||
|
|
||||||
|
##Table of contents
|
||||||
|
1. [Introduction](##introduction)
|
||||||
|
2. [Rasberry Pi](##Rasberry-Pi)
|
||||||
|
3. [Dev-Page](###Dev-Page)
|
||||||
|
4. [Database](##Database)
|
||||||
|
5. [Database software](###Database-software)
|
||||||
|
6. [Esp to database](###Esp-to-database)
|
||||||
|
|
||||||
|
##Introduction
|
||||||
|
|
||||||
|
##Rasberry Pi
|
||||||
|
|
||||||
|
###Dev Page
|
||||||
|
|
||||||
|
##Database
|
||||||
|
|
||||||
|
###Database software
|
||||||
|
|
||||||
|
###Esp to database
|
@@ -5,14 +5,15 @@
|
|||||||
``` mermaid
|
``` mermaid
|
||||||
classDiagram
|
classDiagram
|
||||||
|
|
||||||
Node --> Raspberry pi : postData
|
Node --> Raspberry pi : Websocket
|
||||||
|
Raspberry pi --> Website : getData
|
||||||
|
Raspberry pi <--> EnqueteNode : Websocket
|
||||||
|
|
||||||
namespace Server {
|
namespace Server {
|
||||||
class Raspberry pi {
|
class Raspberry pi {
|
||||||
Database()
|
Database()
|
||||||
Webserver()
|
Webserver()
|
||||||
|
Websocket()
|
||||||
|
|
||||||
}
|
}
|
||||||
class Node {
|
class Node {
|
||||||
@@ -22,7 +23,39 @@ namespace Server {
|
|||||||
+Tfok
|
+Tfok
|
||||||
+Sound
|
+Sound
|
||||||
collectData()
|
collectData()
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
namespace User {
|
||||||
|
class Website {
|
||||||
|
+Co2
|
||||||
|
+Temperature
|
||||||
|
+Humidity
|
||||||
|
+Tfok
|
||||||
|
+Sound
|
||||||
|
+Graph
|
||||||
|
+Map
|
||||||
|
+Settings
|
||||||
|
GetData()
|
||||||
|
}
|
||||||
|
class EnqueteNode {
|
||||||
|
+Co2
|
||||||
|
+Temperature
|
||||||
|
+Humidity
|
||||||
|
+Tfok
|
||||||
|
+Sound
|
||||||
|
+Graph
|
||||||
|
+Map
|
||||||
|
+QuestionResponse
|
||||||
|
EnqueteDisplay()
|
||||||
|
EnqueteButtons()
|
||||||
|
GetData()
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user