Differences

This shows you the differences between two versions of the page.

Link to this comparison view

iothings:proiecte:2025sric:windowopener [2025/04/23 13:56]
matei.neaga [Software]
iothings:proiecte:2025sric:windowopener [2025/05/18 18:18] (current)
matei.neaga [Window opener, based on gas detection]
Line 11: Line 11:
 ====== Context ====== ====== Context ======
  
 +Block diagram of the project
 +
 +{{ :​iothings:​proiecte:​2025sric:​block-diagram-neaga-matei.png |}}
 +
 +Flowchart of the project
 +
 +{{ :​iothings:​proiecte:​2025sric:​flowchart-neaga-matei.png |}}
  
  
Line 66: Line 73:
 // Funcție pentru activarea servomotorului // Funcție pentru activarea servomotorului
 void activeazaServo() { void activeazaServo() {
-  myservo.write(90); ​// Rotire la 90 grade - ajustează după nevoie+  myservo.write(90); ​
   servoActiv = true;   servoActiv = true;
   Serial.println("​Servo activat!"​);​   Serial.println("​Servo activat!"​);​
Line 73: Line 80:
 // Funcție pentru dezactivarea servomotorului // Funcție pentru dezactivarea servomotorului
 void dezactiveazaServo() { void dezactiveazaServo() {
-  myservo.write(0); ​// Revenire la poziția inițială+  myservo.write(0); ​
   servoActiv = false;   servoActiv = false;
   Serial.println("​Servo dezactivat!"​);​   Serial.println("​Servo dezactivat!"​);​
iothings/proiecte/2025sric/windowopener.1745405785.txt.gz · Last modified: 2025/04/23 13:56 by matei.neaga
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0