arduinoProjects

IoT based mostly Entry and Exit Monitoring System

The IoT based mostly Entry and Exit Monitoring System is an RFID-based answer for monitoring people coming into and exiting a monitored space. Every particular person scans their distinctive RFID tag upon entry or exit, and the system data the motion.

This data is displayed in real-time on an internet server, indicating whether or not the person is inside or has left the realm, with color-coded markers (inexperienced for entry and crimson for exit). Moreover, the net web page reveals the entire variety of individuals presently inside the realm.

IoT based Entry and Exit Monitoring System
Fig 2. IoT based mostly Entry and Exit Monitoring System

Key Learnings

  • RFID Know-how: Using RFID tags and readers for computerized identification and information seize.
  • IoT Net Server: Establishing an internet server on ESP32 to show dwell information, making the system accessible remotely.
  • Actual-time Monitoring: Capturing and displaying real-time entry and exit actions of people.
  • Knowledge Dealing with: Storing and managing a number of RFID tags and their statuses.

Invoice of Materials

Parts Description Amount 
IndusBoard  3cm sized dev board  1
Battery  3.3V 1
Spherical Show  SSD1306/ GC9A01 1
L89 GPS  GPS Module  1

Use Case and Software

This method may be employed in numerous environments reminiscent of:

– Commercial –

IoT based mostly Entry and Exit Monitoring System
  • Workplaces: Monitor staff coming into and exiting workplaces.
  • Occasions: Monitor the attendance of individuals.
  • Instructional Establishments: Automate attendance monitoring of scholars.

The RFID-based IoT system is straightforward and environment friendly, offering a real-time overview of who’s contained in the monitored space, making it appropriate for safety and monitoring functions.

Working Rationalization

  1. When an RFID tag is scanned, the system checks if it’s a new entry or a repeat scan.
  2. If it’s a new entry, the system logs the time, marks it as “entered” with a inexperienced dot, and will increase the counter of individuals inside.
  3. If the identical RFID tag is scanned once more, it’s marked as “exited” with a crimson dot, and the counter is decreased.
  4. This information is displayed in real-time on a webpage, displaying the present variety of individuals inside and their entry/exit statuses.

Disclaimer

This mission is designed for academic functions. For real-world deployment, please guarantee correct safety measures are taken, particularly with delicate information reminiscent of RFID tags linked to private data. Use a check setup with restricted funds or dummy information for verification earlier than full implementation.

– Commercial –

IoT based mostly Entry and Exit Monitoring System

Code for IoT Entry and Exit Monitoring System

Code for IoT based Entry and Exit Monitoring System
Fig 2. Code snippet of RFID based mostly entry exit system

Rationalization

  1. Libraries and Definitions: Consists of vital libraries for SPI, RFID communication, and net server functionalities. Defines pin assignments and consumer information.
  2. Setup Perform: Initializes serial communication, SPI, MFRC522, and Wi-Fi. Units up net server routes for the basis URL and attendance web page.
  3. Loop Perform: Repeatedly checks for brand spanking new RFID playing cards. Reads the UID, compares it to saved UIDs, and updates attendance data. If an RFID card matches, it updates the punch-in or punch-out time and sends an replace message to the server.
  4. Net Server Handlers:
    • handleRoot(): Serves a easy HTML web page with a hyperlink to view attendance.
    • handleAttendance(): Serves an HTML web page with a desk displaying the attendance data. CSS kinds are used to format the desk for higher readability.
  5. getTime(): Offers the present date and time within the format “YYYY-MM-DD HH:MM

IoT based mostly Entry and Exit Monitoring System – Circuit Connection

Now join the RFID to SPI pins of the INDUSBoard Coin as per circuit diagram.

IoT based Entry and Exit Monitoring System Circuit Diagram
Fig 3. Circuit for RFID based mostly entry and exit monitoring system

Testing

  1. Add the Code: Use the Arduino IDE to add the code to your IndusBoard Coin
  2. Hook up with Wi-Fi: Make sure the ESP32 is related to the Wi-Fi community.
  3. Entry Net Server: Open an internet browser and navigate to the IP handle of the ESP32. You need to see a web page with a hyperlink to view attendance data.
  4. Scan RFID Playing cards: Take a look at scanning the RFID playing cards and confirm that the attendance data are up to date appropriately on the internet web page.
  5. Actual-Time Updates: Refresh the attendance web page to see real-time updates as you scan completely different RFID playing cards.

This mission offers a sensible introduction to IoT, net growth, and RFID know-how, permitting you to construct a real-time attendance system with a contemporary net interface.

Testing Entry and Exit Monitoring System
Fig 4. Testing Entry and Exit Monitoring System

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button