Inspiration
This year's theme was Discover the Unknown, and we took it pretty literally. We wanted to build something none of us had built before, for a problem that's easy to overlook. Our first ideas were broad, mostly apps for managing stress, but talking to mentors early on changed that. They pushed us to pick a specific group of people and think about what those people can actually do in the moment.
We kept coming back to noise. Did you know that in one large study of over 4,000 autistic people, about 60% were currently experiencing auditory sensory over-responsivity, meaning everyday sounds feel overwhelming? (Valente et al., 2021, Journal of Autism and Developmental Disorders) A lot of autistic kids can't put that feeling into words before it turns into a meltdown.
It isn't only them, either. Researchers at the University of Wisconsin–Milwaukee ran more than 250 sound tests in high schools and found the average noise level was 63.7 decibels. Not a single test came in at or below 35 decibels, the recommended limit for classrooms (University of Nebraska–Lincoln newsroom). Anyone who has tried to study in a loud library or a noisy dorm knows how hard that makes focusing.
So we decided to build one small thing that helps both: a cube that sits on your desk, notices when the room is getting to be too much, and gives you one simple button.
What it does
CoCube listens to how loud the room is and glows green, yellow or red.
- Yellow: the cube says a short, gentle suggestion out loud. Gemini writes it and ElevenLabs speaks it.
- Red: it plays a message a parent recorded ahead of time, so a kid hears a familiar voice.
- Short press: starts a one-minute breathing exercise. The light brightens as you breathe in and fades as you breathe out, and a voice guides you through it.
- Hold for two seconds: sends an "I need a break" alert to a parent or teacher's dashboard, so a kid can ask for help without saying anything.
Gentle mode is made for autistic kids, with soft colours and no flashing. Focus mode is for students. It's more sensitive and gives a quiet nudge when the room gets too noisy to study.
How we built it
CoCube runs on a Raspberry Pi 5 with QNX, with a USB microphone, RGB LEDs, a push button and a speaker inside a 3D-printed base. Everything is written in Python, and we stuck to the standard library because the QNX image doesn't come with pip.
The cube checks the microphone 50 times a second. It only measures how loud the room is, and it never records conversations. For the first few seconds it learns what normal sounds like in that room, then it tracks a stress meter that climbs when things get loud and slowly drops once they quiet down. Sustained yelling pushes the meter up faster than a single bang on the table.
Eliza built the web dashboard and connected Gemini for the calming suggestions. The dashboard runs right off the Pi over the local network and shows live status, a history chart and downloadable reports. The voice system only speaks when the room changes state, so it doesn't nag, and it plays one sound at a time, with breathing instructions always going first.
Challenges we ran into
Discover the Unknown ended up describing our weekend pretty well, because each of us was doing something for the first time.
Ola had worked with a Raspberry Pi, a microphone and a speaker before, but never with the rest of the hardware. Wiring the LEDs and the button, figuring out which pins go where, and working out what needs resistors and what needs power meant a lot of reading pinout diagrams and double-checking every wire before plugging anything in.
Hania had never used a 3D printer. Designing an enclosure that fits the Pi, the LEDs and the speaker, then getting it to print properly on the Bambu Lab P1S, took a few failed attempts and a lot of measuring.
Audio on QNX was its own puzzle. Most tutorials assume Linux, and the Pi 5 doesn't even have a headphone jack, so we had to dig through QNX's documentation to find what it supports. Then, once the cube could talk, it started hearing its own voice and thinking the room was getting louder. We fixed that by having it ignore the microphone while it's speaking.
Accomplishments that we're proud of
We're proud that CoCube is a real, physical thing, not just an app. We got QNX, the hardware, the dashboard, Gemini and ElevenLabs all working together in one weekend, with most of us learning the tools as we went. We're also proud of the small decisions we made for the people using it. The cube never tells anyone to "calm down", it never records the room, and the most important feature is a single button a kid can press without having to explain anything.
What we learned
We learned that hardware is way less forgiving than code. One loose wire and nothing works, and there's no error message to tell you why. We learned to work with an operating system none of us had used before, to design for people whose needs are different from ours, and to ask mentors for help early instead of late. Every one of us walked in not knowing how to do the thing we ended up doing, which felt like the point of the theme.
What's next for CoCube
We want to test CoCube with teachers, occupational therapists and students so we can learn what actually helps. After that, we'd like to let users pick their own colours and voices, and let teachers see more than one cube on a single dashboard for the whole classroom.
Built With
- 3d
- advice
- api
- gemini
- health
- healthcare
- mic
- qnx
- raspberry-pi