This document presents a project that aims to create a smart lab using Internet of Things (IoT) technology for automation and security. The system has two main modules: 1) A student attendance tracking module that uses ultrasonic sensors and microcontrollers to count students entering and exiting the lab and record the data in a database. 2) A lab equipment tracking module that attaches WiFi modules to equipment to monitor their locations and notify administrators if any are removed from the lab. The system is designed with a client-server architecture and uses tools like Arduino, ESP8266, PHP and databases for implementation. The goal is to automate attendance tracking and improve security of equipment in the lab.