Research Article
Smart Garage Utilizing Internet of Things (IoT)
1. do | 2. Check the garage until there is an empty location. | 3. While (number of parking slot =0) ;the garage is full | 4. While (entrance RFID=value) | 5. scanning the RFID UID. | 6. Check and match presence of UID in the database. | 7. If (UID invalid) | 8. Print invalid UID | 9. else | 10. Open the entrance gate and turn RGB led to green. | 11. If (entrance gate sensor D>threshold 4cm) | 12. Close the gate and turn RGB led to red | 13. Start scanning the slots | 14. If (empty slot number ≠0) | 15. Decrement number of empty slots at Lcd | 16. send the empty slot locations to | 17. application via Node MCU | 18. Else | 19. Print Garage is full at LCD | 20. send the Garage is full in application | 21. End if | 22. End if | 23. End if | 24. End while |
|