NightPal
←Back to play

NightPal

High-five it or hold its hand to control the night light

NightPal is a night light made from an Adafruit Circuit Playground Express (CPX) sealed inside an inflated rubber glove. Give it a high-five and it switches on or off. Hold it, and the warmth of your hands slowly brightens it; let go, and it fades out.

I wanted NightPal to feel more like a nighttime companion than a tool: a light that interacts when you reach for it.

Role

Interaction Designer & Developer

Tools

Circuit Playground Express, MakeCode, a rubber glove, ChatGPT

Year

2025

Full live demo (unmute for my narration).

NightPal glowing pale yellow in a dark room, held up beside a real hand

NightPal lit up beside a real hand.

Idea

What can be made into a light and be interactive at the same time…Rubber gloves?

I wanted a night light with physical and emotional interaction, where touch and warmth create a sense of presence.

The hand came from searching the UW MHCI+D studio for materials. Rubber gloves were easy to find and semi-transparent, so light glows softly through them, and a hand naturally invites a touch, a hold or a high-five.

A real hand raised next to the glowing rubber-glove night light, palm facing forward
A real hand raised next to the glowing rubber-glove night light, palm facing forward

How it works

High-five it, hold it, let it go

With the CPX sealed inside the glove, every interaction runs on its built-in sensors, with no external components.

To get there, I experimented with the LEDs and gesture input, tried buttons, shaking and acceleration as triggers, and tuned the thresholds by testing them by hand again and again.

A hand coming down to high-five the glowing glove

High-five

motion sensor

A high-five switches the light on or off, each with its own sound effect.

Fingers holding the glove as it glows warm orange-white

Hold

temperature sensor

Your hands warm the air in the gloves, then the CPX, and the light gradually brightens into a warm glow.

The glove dimming after being let go, its glow fading

Let go

temperature sensor

As the glove cools down, the light slowly fades back out.

Under the hood

On the CPX · MakeCode

The MakeCode editor in JavaScript view: the shake gesture handler plays a sound and turns the light on, or plays a rainbow animation and turns it off
The MakeCode editor in JavaScript view: the shake gesture handler plays a sound and turns the light on, or plays a rainbow animation and turns it off

A shake gesture reads as the high-five, and a loop watches the temperature to fade the light up and down.

Challenges

Getting NightPal to light up and stay inflated

Debugging the brightness controls

The high-five and temperature controls both adjusted brightness, creating a conflict. During testing, a high-five triggered the sound, but the LEDs stayed dark. With the CPX sealed inside the glove, I couldn’t access its buttons or ports to troubleshoot. ChatGPT helped me identify the cause: brightness was set to zero at startup, and the high-five routine never increased it.

MakeCode blocks: an on-shake handler toggling the light, an on-start block resetting brightness to 0, and a forever loop raising or lowering brightness based on temperature
MakeCode blocks: an on-shake handler toggling the light, an on-start block resetting brightness to 0, and a forever loop raising or lowering brightness based on temperature

The MakeCode blocks, with gesture and temperature logic side by side.

ChatGPT’s reply in Mandarin explaining that brightness was set to 0 globally and never raised in the high-five handler
ChatGPT’s reply in Mandarin explaining that brightness was set to 0 globally and never raised in the high-five handler

ChatGPT’s diagnosis (in Mandarin).

Keeping the air in

The glove had to stay inflated around the CPX. My first seals, a zip tie and blowing it up by mouth, leaked air and slowed every iteration. Inflating through a straw and tying it off with cotton string held the air far better and made the glove much easier to keep prototyping with.

before

A half-deflated glove closed with a zip tie, resting on a hand

Zip tie, leaked

after

The glove inflated through a straw and tied off with cotton string, the board visible inside

Straw + cotton string

final

The finished NightPal on a desk: a fully inflated glove tied with cotton string, its cable running to a power bank

Sealed and holding

Learnings

01

Physical prototypes take more time than I expected

Fabrication and feasibility mattered as much as the concept. The concept only showed its limit once I was making it by hand, so repeated testing and iteration became the real work. Next time I’d set aside more time for experiments and check feasibility earlier.

02

AI-assisted debugging has come a long way since my days in college

With minimal context, ChatGPT diagnosed the bug accurately and even explained it in MakeCode’s block-based terms. That’s a big change from debugging with ChatGPT 3.5 in my undergraduate programming classes.

UMI CHEN
Product Designer
© 2026 UMI CHEN
Last updated Nov 30, 2026
Designed and built by Umi with Framer, Claude Code, and Cursor
UMI CHEN
Product Designer
© 2026 UMI CHEN
Last updated Nov 30, 2026
Designed and built by Umi with Framer, Claude Code, and Cursor