Files
J1B3-Sensor-boxes/docs/Sp1Schets van het project/infrastructuur.md

23 lines
1023 B
Markdown

# Infrastructuur
## Database en nodes
![!\[Database en nodes\](assets/ImagesSp1/Sp1DataTrack.jpg)
](../assets/ImagesSp1/Sp1DataTrack.jpg)
You can see that in the picture we've drew all the nodes and the tables for the database, every node has multiple sensors and only node 1 has an extra screen. The database is used to store all the data that the nodes collect. Here is a picture that
shows what the nodes do:
![alt text](../assets/ImagesSp1/Sp1Node.jpg)We also have this sketch digitalised in a simpler way:
![alt text](../assets/ImagesSp1/digitaleInfrastructuur.png)
You can see that every node measures:
- Temperature
- Humidity
- CO2 level
- Sound level
Each of these factors can have an influence on the comfort and efficientie the students can have.
The nodes are connected to the database using post requests, every node sends a post request to the database with the sensordata it has collected. The database then stores this data in the right table. This is the table called "Node" in the first picture.