Project

Smart Door Lock with IoT Security

An MVP of a smart door lock designed with IoT security considerations based on Singapore's TR64 standard.

JavaScriptIoTSecurityTR64HardwareESP32MongoDB

Overview

Smart Door Lock with IoT Security was a semester project completed at Singapore Polytechnic over roughly two months. The goal was to build a working MVP of a smart door lock while placing stronger emphasis on IoT security instead of only focusing on convenience features.

The project was developed as a team, with different members taking ownership of specific parts of the system. My main contributions were in the system architecture, web application, database design, and security-related implementation.

Motivation

Smart door locks are useful because they make access control more convenient, but they also introduce security risks when connected to the internet. For this project, we wanted to explore what it means to build an IoT device with security considered from the start.

Since the project had a limited timeline, we focused on building a functional MVP that could demonstrate the core idea while aligning with Singapore’s TR64 IoT security standard.

Implementation

The system combined hardware, a web interface, and a backend database. The ESP32 was used as the main hardware controller for the lock, while the web application provided a way to manage and interact with the system.

The backend handled data storage using MongoDB, while the overall system design considered security requirements based on TR64. This included thinking about how the device, web application, and database should work together safely as part of an IoT system.

Key Features

  • Smart door lock MVP using ESP32
  • Web-based interface for system management
  • MongoDB database for storing system data
  • IoT security considerations based on Singapore’s TR64 standard
  • Team-based development with divided responsibilities
  • Hardware and software integration

My Role

I worked on the broader system design and helped connect the different parts of the project together. This included contributing to the web application, database structure, and security-focused parts of the implementation.

The project was built together with my teammates:

  • Ron Tan worked on TR64 compliance.
  • Joseph Tiamzon worked on the hardware implementation.
  • I worked on the website, database, system architecture, and security implementation.

Tech Stack

  • JavaScript for the web application
  • ESP32 for the hardware controller
  • MongoDB for database storage
  • IoT security concepts based on Singapore’s TR64 standard
  • Hardware-software integration for the smart lock system

Outcome

The final project was a functional MVP that demonstrated a smart door lock system with security as one of its main design priorities. While it was not intended to be a production-ready lock, it showed how hardware, web software, and security requirements can be combined into a working IoT prototype.

This project gave me practical experience in building an IoT system beyond just the software layer, especially in connecting web development, databases, hardware, and security requirements into one system.

View GitHub Repository