← Projects

Nov 2024

Anti-Tailgating Condo Gate — Arduino UNO

NUSH Hackathon 2024 · electronics · hardware

Demo: touching the handle and opening the gate.

Third time back

This was my third year at the NUSH Hackathon. Two years earlier, I’d shown up knowing nothing about coding, electronics or hardware. This time, our team placed third. After three years of learning from zero, that felt really good.

It was also our most practical project. Instead of a quirky automation idea, we went after a real, everyday security problem.

A printed certificate in a plastic sleeve reading 3rd Place, NUSH Hack 2024: Pepper Category
3rd place, NUSH Hack 2024.

The problem: tailgating

Most condos in Singapore have gates that only open for residents. But a gate can’t tell how many people walk through once it’s open. Someone without access can simply follow a resident in. That’s called tailgating, and it defeats the whole point of the gate.

How it works

Our gate pays attention to what happens after it’s opened:

The cardboard gate opened up, with the sensors circled in red: wires at the top of the frame, an ultrasonic sensor on the side, a servo inside the frame, an LCD screen and a joystick on the base, and a touch sensor on the handle
Where everything sits: sensors on the frame and handle, the servo inside, and the LCD and joystick on the base.

For the handle, we used a water-level sensor. It’s meant for detecting water, but its exposed metal strips also react to the touch of a hand, which made it a cheap and simple touch sensor.

The build

This was the neatest and sturdiest prototype I’ve made at a hackathon. The frame is double and triple layers of cardboard, so it stands up straight and the door swings properly instead of sagging. The electronics are hidden inside the base, with only the screen and the joystick showing.

The finished gate closed, with the touch-sensor handle on the door and the LCD and joystick on the base The gate with its door swung open, showing the sensors on the inside of the frame
The gate closed (left) and open (right).
The gate frame on a desk mid-build, with a teammate holding the door panel
Putting it together.

What I took away

It’s the least flashy project I’ve done at a hackathon, and probably the most useful. A small, realistic idea that works well on the day beats an ambitious one that only half works. Looking back over three years, I could see how much I’d grown: from knowing nothing about hardware, to building a clean, steady prototype that actually placed.