Writing

2026-11-20 · 9 min

Winning at HackPrinceton and the Current State of Hackathons

We built a gaze- and muscle-controlled wheelchair in 36 hours, won two tracks, and learned what hackathons reward now.

Seventy hours for a 36-hour hackathon

HackPrinceton was a 36-hour hackathon. Once I include traveling, getting there, setting up, judging, and getting back, the whole thing was closer to 70 hours. For most of that time, we were either building, thinking about what had broken, or trying to explain what we had built.

It ended pretty well. Project Xavier won the Healthcare track and the Best Physical AI Hack. We were one of six main-track winners out of 332 teams. That still feels slightly insane because, at the beginning of the weekend, none of us had built a wheelchair or worked with a brain-computer interface before.

Our team was Keshav Sasanapuri, Vani Ramesh, Prakhar Jain, and me. Keshav came up with the original idea: a wheelchair for people with severe mobility disorders that could be controlled without using their hands. The simplest version of the pitch was that you would look at where you wanted to go and the chair would take you there.

The idea was a little ridiculous

Needless to say, this was fairly ambitious for one weekend. A normal software project can fail quietly in a browser tab. Our project had electrodes, eye tracking, two hoverboard motors, custom firmware, an ESP32, a physical chair, and a person sitting close to all of it. Every layer had to work, and the default behavior had to be stop.

We named it Xavier after Professor X from the X-Men. The more serious reason for building it was that many people with spinal cord injuries, ALS, cerebral palsy, and other severe mobility disorders cannot use a normal joystick. Existing eye-controlled wheelchair hardware can cost tens of thousands of dollars before the chair itself. We wanted to see how far we could get by repurposing cheaper hardware.

The Project Xavier wheelchair prototype in a Princeton hallway
The finished Xavier prototype. A chair, a repurposed hoverboard base, a lot of tape, and a 36-hour deadline. Source

The original plan used steady-state visually evoked potentials, or SSVEPs. We displayed flickering targets at different frequencies. When someone stares at one target, activity near the visual cortex can contain that same frequency. An OpenBCI board reads the electrodes, and a classifier tries to tell which target the person is looking at.

When the brain signal did not work

This is the part where the clean version of the story would say it worked. It did not. We tested four stimulus frequencies at 11, 13, 15, and 17 hertz and recorded 15-second intervals for each. Across 44 analyzed windows, our offline classifier chose the right target nine times, or 20.5 percent. Random guessing would have been 25 percent.

OpenBCI interface showing noisy electrode signals and a frequency spectrum
The OpenBCI recording interface. The signal looked real, but our SSVEP classifier still performed below chance. Source

The signal was getting buried under electrical noise, inconsistent electrode contact through hair, muscle activity, and small changes in placement. We could have hidden that and kept calling it brain control. Instead, we pivoted. The OpenBCI board could also pick up the much stronger electromyographic signal from a jaw clench, so we trained a model to separate clenching from a relaxed state.

The final interaction split the job into two parts. Gaze selected the object or destination, and the jaw-clench signal confirmed the movement. If the user looked away, lost the target, or did not confirm, the chair stayed stopped. It was not the pure EEG system we imagined on Friday, but it was a system we could actually demonstrate on Sunday.

Terminal output classifying jaw clenching and relaxed states from EMG readings
The pivot: live jaw-clench classification from the OpenBCI telemetry gave us a much stronger confirmation signal. Source

The rest of the system

For perception, we used EyeTrax for webcam gaze tracking. YOLO detected objects in the camera feed, while ByteTrack kept the detections stable across frames. The user could look at a boxed object to select it instead of steering with a joystick.

The movement side had its own safety state machine running 20 times a second. It defaulted to STOP and sent updated wheel speeds to an ESP32 every 50 milliseconds. The ESP32 then translated those commands into 9-byte frames for the two hoverboard control boards. A stale command, bad state, or missing signal meant stop, not a best guess.

Getting the motors to listen was a project by itself. We opened the hoverboard, erased the factory firmware, and flashed a modified open-source FOC firmware build. Because the boards had no useful public pinout, we probed pads with a multimeter and traced the hall sensors, serial lines, and battery sensing ourselves. By the end, both wheels could be driven from a small Python library through the ESP32.

Opened hoverboard base showing its battery, control board, wiring, and wheel
Inside the hoverboard base. We traced the undocumented board, replaced its firmware, and controlled both motors through an ESP32. Source

The chair also had to survive the real world, or at least a Princeton hallway. The hoverboard base made it rock, which disturbed the eye tracker and the electrode readings. We did not have the perfect parts, so the final stabilizing structure involved coat hangers, tape, and whatever we could find. It looked like a hackathon project because it was one.

We also built a digital-twin routing layer using Matterport spatial data through CoStar. Gemini labeled stairs, ramps, elevators, and obstacles, then an A* search compared possible routes against the wheelchair's dimensions and mobility constraints. That turned Xavier from a chair that could move toward an object into a prototype that could reason about whether a route through a building was actually accessible.

How we won

During judging, the project had an immediate wow factor. The judges could see a homemade chair, electrodes, a live gaze interface, exposed electronics, and wheels moving. Then we could explain that the BCI approach had failed, why we pivoted to EMG, how we reverse engineered the hoverboard, and how the digital twin handled accessible routes.

We won the Healthcare main track and the Best Physical AI Hack. I do not think we won because every part was polished. It was not. We won because the idea mattered, the build was technically ambitious, and enough of the hard parts were real and visible.

The result changed how I think about hackathons. Xavier was not the project with the cleanest codebase in the room, and nobody was going to review our algorithmic complexity. What mattered was the choice of problem, the technical risk we accepted, the decisions we made when the first plan failed, and whether the final demo made people say, 'You built that this weekend?'

Hackathons are not coding competitions anymore

Maybe ten years ago, a hackathon felt closer to a coding competition. The advantage went to the person who could build the most software in the shortest time. That skill still matters, but it is no longer the whole game. From the four hackathons I have attended and the projects I have seen on Devpost, hackathons now feel like a mix of engineering, product design, creativity, and pitching.

The best teams are not always the teams with the strongest competitive programmers. They are often the teams that pick a problem people understand quickly, choose a solution that feels surprising, and then push the build far enough that the surprise becomes believable.

That makes hackathons closer to a business and creative competition than many first-time participants expect. You have to decide what is worth building, what will be impressive in a three-minute demo, what can fail safely, and which hard part proves that your idea is more than a slide deck.

The GPT wrapper problem

The most common project right now is some version of a GPT wrapper. That does not automatically make it a bad idea. We used Cursor, Claude Code, and Codex during Xavier, and they helped us move faster. The problem is when calling a model is the entire technical idea.

A polished chatbot can now be generated in a couple of hours. Judges know that. If the project is a prompt, an API call, and a nice React page, it may be useful, but it does not show what the team did with the other 34 hours. The standard has moved because the tools have moved.

Using AI well at a hackathon means spending the saved time on something harder. Connect it to unusual hardware. Build a dataset. Make the system work offline. Add a real control loop. Solve an integration problem that does not disappear when the demo Wi-Fi goes down. AI can help write the code, but it cannot choose an ambitious problem for you.

What judges are really looking for

From what I can tell, judges are looking for three things. The first is creativity. Have they already seen this project six times today? The second is technical ambition. Did the team attempt something that could reasonably consume the full hackathon? The third is commitment. How far did the team push after the first version worked, or after the first version failed completely?

All three create the most important part of a hackathon demo: the wow factor. It should be obvious why the project was difficult. With Xavier, that factor was a real chair moving from signals captured around a person's head. The mess of wires helped, honestly. Nobody could mistake it for a landing page we generated before lunch.

This does not mean every project needs expensive hardware or a medical use case. It means the difficult part has to be visible. If your challenge is a new algorithm, show the comparison. If it is infrastructure, make the scale concrete. If it is design, show why people could not solve the problem with what already existed.

My two cents

I have only been to four hackathons, so I am definitely not an expert. But it took me a few attempts, a lot of time looking through Devpost, and one very sleep-deprived weekend at Princeton to understand what the event is actually testing.

You still need to code. More importantly, you need to choose what is worth coding. Pick something creative, make one part genuinely difficult, and build toward the moment when a judge looks at your table and asks how you possibly made it in 36 hours.

Anyways, those are my two cents on hackathons. I will see you at the next one.

Cover: Project Xavier team, HackPrinceton Fall 2026 Source

Written by Pratosh Tiwari