RPRatchaphon P.
All projects

Dept. of Chemical Engineering, KMUTT · 2026

Room-access card station

Students used to sign a paper logbook to use three department rooms: the student lounge, CHEEC and the Knowledge Center. Now they tap their student card, the guard sees who is inside each room, and the office can look up any day's activity. It covers 400 students and staff and has been in daily use since September 2026.

Hardware testingLocal network setupUser trainingPython · Flask · SQLite

My part

  • Tested the card readers on site and troubleshot the hardware until scans came through reliably, about 50 a day.
  • Set the system up on the department's local network, so the guard's PC and the office PC share one database.
  • Trained the security guards and office staff, and made a one-page Thai/English guide that is posted at the guard desk.

The software was written with AI-assisted coding (Claude Code). What I brought was knowing what the guards and office actually needed, and getting it working in the real building with real people.

How it works

One small server keeps a log of every tap in and out. Who is inside right now is worked out from that log instead of being stored separately, so the guard's screen and the office's screen can never disagree. Cards expire automatically four years after registration.

On site

A student card tapped on the USB reader at the guard desk
Tapping a student card on the reader at the guard desk
The guard station running on the desk PC, with the rules poster above it
The guard station in daily use, with each room and who is inside
Bilingual poster explaining how to check in and check out
The one-page guide I made for students, posted at the desk

Students' names and ID numbers in these photos are blurred.

Try it yourself

These are the real pages from the system, running in your browser. Every student, ID and card number in the demo is made up, and nothing is sent anywhere.

  1. Open the guard station, pick a room, then click one of the test cards (for example 0101) to check a student in.
  2. Click the same card again to check them out, or type 9999 and press Enter to see an unregistered card.
  3. Open the office station to see the tap in today's activity, the calendar heatmap and the card registry.