Differences

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

Link to this comparison view

pm:prj2021:abasoc:doorlockrfid [2021/06/03 01:23]
horia.nedelcu2202 [Software Design]
pm:prj2021:abasoc:doorlockrfid [2021/06/03 02:12] (current)
horia.nedelcu2202 [Bibliografie/Resurse]
Line 31: Line 31:
  
 Logica principala: Logica principala:
- + void loop() { 
-void loop() { + int proximity_sensor = analogRead(A0);​ 
- int proximity_sensor = analogRead(A0);​ +  
- + if (proximity_sensor > TRIGGERED_VALUE) { 
- if (proximity_sensor > TRIGGERED_VALUE) { + // If door is closed 
- // If door is closed + loop_door_closed();​ 
- loop_door_closed();​ + } else { 
- } else { + // If door is opened 
- // If door is opened + loop_door_opened();​ 
- loop_door_opened();​+ }
  }  }
-} 
  
 Restul detaliilor legate de implementare se pot gasi consultand arhiva si comentariile atasate sursei. Restul detaliilor legate de implementare se pot gasi consultand arhiva si comentariile atasate sursei.
Line 66: Line 65:
 {{:​pm:​prj2021:​abasoc:​smartlock.zip | Source code }} {{:​pm:​prj2021:​abasoc:​smartlock.zip | Source code }}
 ====== Bibliografie/​Resurse ====== ====== Bibliografie/​Resurse ======
 +
 +[[https://​ocw.cs.pub.ro/​courses/​pm/​prj2021/​abasoc/​doorlockrfid| Link Proiect]]
  
 [[https://​create.arduino.cc/​projecthub/​babariyasmit/​rfid-door-lock-system-c177a3|Link [1]]] [[https://​create.arduino.cc/​projecthub/​babariyasmit/​rfid-door-lock-system-c177a3|Link [1]]]
pm/prj2021/abasoc/doorlockrfid.1622672612.txt.gz · Last modified: 2021/06/03 01:23 by horia.nedelcu2202
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