Iot Report
Iot Report
GROUP PROJECT
TITLE: PEOPLE TRACKER
PREPARED BY:
NAME STUDENT ID
1) NUR FARRA FARISHA BINTI RUSDI 52222223221
2) AHMAD NURFITRI BIN MOHMED NOREN 52222223296
3) AIMAN SYAFIQ BIN MUHAMAD ZAMRI 52222223299
The Internet of Things (IoT) has transformed how we connect with our environment in today's
fast-changing world. IoT makes it possible for common things to exchange data and
communicate with one another over the internet, resulting in smarter households, more
productive businesses, and improved security measures. The goal of this project is to use the
Blynk platform, an IR infrared sensor, and a NodeMCU microcontroller to create a people-
tracking system by applying the power of the Internet of Things. The IR sensor, which senses
variations in infrared radiation to determine the presence of individuals, sends data to the
NodeMCU, which has built-in WiFi capabilities. The Blynk platform then makes it possible to
view and follow this data in real-time via a smartphone app, offering a user-friendly interface for
watching remotely and receiving alerts.
The practical requirement for reliability in tracking solutions in a variety of contexts served as
the inspiration for this research. Imagine living in a smart house where the heating and lighting
change on their own depending on your presence, saving you money and boosting comfort.
Monitoring occupancy in an office can enhance security and maximize space utilization.
Understanding foot traffic patterns can also help public spaces like malls and libraries provide
better services. This project illustrates how NodeMCU, IR sensors, and Blynk can be used to
create a useful, user-friendly people-tracking system that offers insightful information and
automation opportunities for various circumstances.
2.0 OBJECTIVES
Power Supply
BlynkTimer timer;
char auth[] = "8XxMDq930cARe8hbE6NQgKQahgDJ_mV1"; //Auth code sent via Email
char ssid[] = ""; //Wifi name
char pass[] = ""; //Wifi Password
int flag = 0;
int visitorCount = 0;
void notifyOnThings()
{
int isButtonPressed = digitalRead(D1);
if (isButtonPressed == 1 && flag == 0) {
visitorCount++;
Serial.println("Visitor detected. Total visitors: " + String(visitorCount));
Blynk.virtualWrite(V1, visitorCount); // Send visitor count to Virtual Pin V1
flag = 1;
} else if (isButtonPressed == 0) {
flag = 0;
}
}
void setup()
{
Serial.begin(9600);
Serial.println("Starting...");
Blynk.begin(auth, ssid, pass);
pinMode(D1, INPUT_PULLUP);
timer.setInterval(1000L, notifyOnThings);
}
void loop()
{
Blynk.run();
timer.run();
}
3.3 FLOWCHART
4. HARDWARE & SOFTWARE LIST
I. Hardware
NodeMCU (ESP8266)
IR Infrared Sensor
Connecting wires
Breadboard
II. Software
Arduino IDE
Blynk Apps
Wifi network for internet connectivity
5. TESTING RESULTS
To make sure the system was accurate and dependable, it was tested under several scenarios.
Important findings consist of:
Identification Accuracy: Within a 2-meter range, the IR sensor spotted people with
accuracy.
Response Time: When the system detected a person, it updated the Blynk app with less
than a second delay.
Connectivity: The NodeMCU sends data continuously by keeping a steady WiFi
connection.
User UI: For tracking real-time statistics, the Blynk app offers a simple and easy-to-use
UI.
6. CONCLUSION
This project has successfully demonstrated the development and implementation of an IoT-based
people tracking system using NodeMCU, an IR infrared sensor, and the Blynk platform. The
system effectively detects and tracks the presence of individuals, sending real-time data to the
Blynk app for monitoring and notifications. Throughout the project, we addressed various
challenges, from ensuring accurate sensor readings to maintaining stable WiFi connectivity. The
NodeMCU proved to be a reliable microcontroller for processing sensor data and communicating
with the Blynk server, while the IR sensor provided dependable detection capabilities. The
testing phase confirmed that the system performs well under different conditions, accurately
detecting and reporting the presence of individuals with minimal delay.
This system has a wide range of promising practical applications. Based on occupancy, it can
automate security, heating, and lighting in smart homes, saving energy and enhancing comfort.
By keeping an eye out for unauthorized access, it can improve security and maximize workplace
utilization in corporate settings. The technology can be used by public places such as shopping
centers, libraries, and museums to collect important data on foot traffic patterns, which will help
with management and service delivery. In the future, improvements might involve adding more
sensors for improved precision, applying machine learning for forecast analysis, and extending
the coverage to more expansive or multi-zone regions. This research has demonstrated the
advantages of IoT technology in fostering smarter, more responsive settings by laying the
groundwork for a workable and dependable people-tracking system.