An IoT-based system that detects car entry and exit using sensors and logs the data into Google Sheets. It uses RFID, NodeMCU, and Google Apps Script for real-time monitoring and notifications.
// Detect vehicle entry and send UID
if (vehicleDetected()) {
String uid = readRFID();
Serial.println("ENTRY:" + uid + ":" + availableSlots + ":" + assignedSlot);
openGate();
}