For our final project in Intro to Physical Computing, our team, Fox Grapes, worked with a client on campus named Heidi to design a device that fits into her everyday life. Heidi does a lot of focused work in her office, and people stopping by in the middle of it was breaking her concentration. Our answer to her problem was the
Flow Status Indicator: a light she controls from her desk that tells anyone outside her door whether it is a good moment to come in.
I was responsible for the indoor control unit and the LED looping code, Hayool built the CAD model and housing for the 3D print, and Wendy did the electronics for the outdoor LED and programming the transceiver.
The Flow Status Indicator has two parts that talk to each other by radio, so there are no wires running between Heidi's desk and her door. On her desk sits a small glowing button. When she presses it once, it lights up green, and the light outside her door turns green with it. Each single press after that moves both lights to the next status:
Green: come on in.
Yellow: I'm busy, but knock if it matters.
Red: please do not disturb right now.
A quick double press turns both lights off. I wanted the whole interaction to take one hand and less than a second, so Heidi never has to look away from her work to use it.
Both units side by side, showing green.
The First Status
One press from green moves both lights to yellow: busy, but knock if it matters.
One more press moves both lights to red: please do not disturb.
Heidi gets to her office in the morning and has a report to finish before lunch. She presses the button on her desk once, and the light by her door turns green, so a coworker with a quick question knows they can come right in. When she settles into the hardest part of the report, she presses twice more and both lights move through yellow to red. A colleague walking over sees the red light by the door, decides it can wait, and comes back later. When Heidi is done, one more press takes the lights back to green, and at the end of the day a double press turns everything off. In our first meeting, Heidi walked us through her workday and told us how often people drop by while she is trying to focus. What stood out to me was that she did not want to shut people out; she just wanted a gentle way to say "not right now" without having to stop and say it.
Getting to know Heidi
We built three quick prototypes, each one answering a single question:
One light with a built-in button: is pressing the light itself a fast and natural way for Heidi to change her status?
Three LED boxes, each with its own button: does a dedicated button for each mode make the status clearer?
A screen display: do visitors need words or a key to understand what the colours mean?
She preferred something she could use with one hand, and wanted it to be fun to use.
One button worked better than several.
She liked the idea of a clamp on the side, and adhesive or a screw holder would work for mounting.
She chose the retro cube form.
The light should be bright, but diffused well.
She does not mind getting up to reach it, and there are outlets on both sides of her desk.
Building the product
The photos in this section follow the build of the final device, from the first electronics tests through CAD, printing, and assembly. Further down, I go back to where it all started: the interview with Heidi and our first prototypes.
Soldering the electronics in the lab.
Testing the light / pressing mechanism for the first time
CAD of the button enclosure, broken into its parts: the top, the diffuser layers, the base plate, and the frame that holds the electronics.
A render of the enclosure in a clear material, which I used to check how the LEDs would sit inside before printing.
A render of the stacked enclosure layers, showing how the tiers sit on top of each other.
A button and display stacked, to emphasize the sliced retro prism design
The same in green, with my hand next to it.
Our plan gave Wendy the electronics and programming from October 30 to November 6, while I worked on the indoor control unit and Hayool worked on the CAD. All three of us set aside November 7 and 8 for assembly and testing, ahead of the final critique on November 9.
Based on the feedback received during the final critique, the overall response to the Status Light for Heidi was overwhelmingly positive, with reviewers praising its sleek, elegant, and minimal design, intuitive one-touch usability, and impressive long-range wireless sync. Key praise highlighted how clean, simple, and satisfying the physical interaction is, with one reviewer noting it as "such a clean, simple, and thorough solution to a problem" and another remarking that it was a "device that I want... designed for manufacturing."
However, the feedback consistently pointed to two main areas for improvement: accessibility and power/hardware refinements. Multiple reviewers emphasized that relying only on color (green, yellow, red) creates barriers for colorblind users or individuals with visual impairments, suggesting sensory alternatives such as distinct shapes, pulsing lights, or pixel icons or even written labels .
On the technical side, critics recommended exploring long-term power solutions such as battery power or solar charging, fine-tuning light diffusion to reduce visible internal LED spots, and fixing slight internal light alignments to preserve the clean, minimal aesthetic. Moving forward, the key takeaway for out team is to integrate inclusive accessibility principles and refine the hardware enclosure while maintaining the satisfying physical interaction that made the design so successful.
Each unit runs on an Arduino Pro Micro with an nRF24L01+ radio module. The radios run on 3.3 V, with a 10 µF capacitor across each module's power pins to keep them stable. The desk unit reads its button on pin 2 and drives its LEDs from pin 6 through a 330 ohm resistor. The door unit drives its LEDs from pin 6 through a 330 ohm resistor, with a 1000 µF capacitor across its 5 V supply.
/*
Campus Client Project: Fox Grapes Status Light
60-223 Intro to Physical Computing
This project lets Heidi show her availability using two wireless units.
A button on the indoor unit cycles through green, yellow, and red.
A double click turns the lights off.
insideButton.ino reads the button, updates the indoor LED ring,
and sends the current status through an nRF24L01+ radio.
outsideLight_stickLED.ino receives that status and displays the
same color on three LED sticks by the door.
*/
/*
code of inside button
A single click cycles through green, yellow, and red.
A double click turns the lights off. The LED ring shows the selected
status, which is sent to the outdoor unit after each change
and once per second.
Pin mapping (Pro Micro):
Arduino pin | role | description
----------------------------------------------------------
2 output 12-LED ring DIN through a 330-ohm resistor
4 input pushbutton to GND; uses INPUT_PULLUP
9 output radio CE
10 output radio CSN
15 output radio SCK
16 output radio MOSI
14 input radio MISO
Radio VCC connects to the regulator's 3.3V output.
The Pro Micro, radio, and LED ring share GND.
*/
#include <SPI.h>
#include <RF24.h>
#include <Adafruit_NeoPixel.h>
// Pins and brightness
const uint8_t LED_PIN = 2;
const uint8_t BUTTON_PIN = 4;
const uint8_t CE_PIN = 9;
const uint8_t CSN_PIN = 10;
const uint8_t BRIGHTNESS = 128;
// Timing
const unsigned long DEBOUNCE_MS = 25;
const unsigned long DOUBLE_CLICK_MS = 300;
const unsigned long SYNC_INTERVAL_MS = 1000;
// Both boards must use the same address and channel.
const byte RADIO_ADDRESS[6] = "FoxGr";
const uint8_t RADIO_CHANNEL = 76;
// Values sent to the outdoor unit
const uint8_t OFF = 0;
const uint8_t GREEN = 1;
const uint8_t YELLOW = 2;
const uint8_t RED = 3;
Adafruit_NeoPixel ring(
12, LED_PIN, NEO_GRB + NEO_KHZ800
);
RF24 radio(CE_PIN, CSN_PIN);
uint8_t currentStatus = OFF;
bool statusChanged = true;
unsigned long lastSendTime = 0;
// Button debounce and click detection
bool lastReading = HIGH;
bool stableState = HIGH;
unsigned long lastBounceTime = 0;
bool waitingForSecondClick = false;
unsigned long firstClickTime = 0;
void setup() {
Serial.begin(115200);
pinMode(BUTTON_PIN, INPUT_PULLUP);
ring.begin();
ring.setBrightness(BRIGHTNESS);
updateRing();
// Stop here if the local radio cannot be detected.
if (!radio.begin()) {
while (true) {
if (Serial) {
Serial.println(
F("Radio not found. Check 3.3V and SPI wiring.")
);
}
delay(1000);
}
}
radio.setChannel(RADIO_CHANNEL);
radio.setDataRate(RF24_1MBPS);
radio.setPALevel(RF24_PA_LOW);
radio.setAutoAck(true);
radio.setRetries(3, 5);
radio.setPayloadSize(1);
radio.openWritingPipe(RADIO_ADDRESS);
radio.stopListening();
}
void loop() {
readButton();
// Send immediately after a change, then once each second.
if (statusChanged ||
millis() - lastSendTime >= SYNC_INTERVAL_MS) {
sendStatus();
}
}
void readButton() {
unsigned long now = millis();
// A single click is confirmed when its time window ends.
if (waitingForSecondClick &&
now - firstClickTime >= DOUBLE_CLICK_MS) {
waitingForSecondClick = false;
singleClick();
}
bool reading = digitalRead(BUTTON_PIN);
if (reading != lastReading) {
lastReading = reading;
lastBounceTime = now;
}
// Wait until the reading has stayed steady.
if (now - lastBounceTime < DEBOUNCE_MS) {
return;
}
if (reading == stableState) {
return;
}
stableState = reading;
// Count presses, not releases.
if (stableState == LOW) {
if (waitingForSecondClick) {
waitingForSecondClick = false;
setStatus(OFF);
} else {
waitingForSecondClick = true;
firstClickTime = now;
}
}
}
void singleClick() {
if (currentStatus == OFF || currentStatus == RED) {
setStatus(GREEN);
} else if (currentStatus == GREEN) {
setStatus(YELLOW);
} else {
setStatus(RED);
}
}
void setStatus(uint8_t newStatus) {
currentStatus = newStatus;
updateRing();
statusChanged = true;
}
void updateRing() {
uint32_t color = 0;
if (currentStatus == GREEN) {
color = ring.Color(0, 255, 0);
} else if (currentStatus == YELLOW) {
color = ring.Color(255, 140, 0);
} else if (currentStatus == RED) {
color = ring.Color(255, 0, 0);
}
ring.fill(color);
ring.show();
}
void sendStatus() {
bool receivedAck = radio.write(¤tStatus, 1);
lastSendTime = millis();
statusChanged = false;
if (Serial) {
Serial.print(F("Status: "));
Serial.print(currentStatus);
if (receivedAck) {
Serial.println(F(" | ACK received"));
} else {
Serial.println(F(" | No ACK from outdoor unit"));
}
}
}
/*
Code of outside light
Receives the indoor unit's status and shows the same color
on all three LED sticks, with eight LEDs per stick.
The lights turn off if no valid message arrives for five seconds.
Pin mapping (Pro Micro):
Arduino pin | role | description
----------------------------------------------------------
6 output first LED stick DIN through a 330-ohm resistor
9 output radio CE
10 output radio CSN
15 output radio SCK
16 output radio MOSI
14 input radio MISO
Each stick's DOUT connects to the next stick's DIN.
Radio VCC connects to the regulator's 3.3V output.
The Pro Micro, radio, and LED sticks share GND.
*/
#include <SPI.h>
#include <RF24.h>
#include <Adafruit_NeoPixel.h>
// LED settings
const uint8_t LED_PIN = 6;
const uint8_t LED_COUNT = 24;
const uint8_t BRIGHTNESS = 128;
// Radio settings: must match the indoor unit.
const uint8_t CE_PIN = 9;
const uint8_t CSN_PIN = 10;
const byte RADIO_ADDRESS[6] = "FoxGr";
const uint8_t RADIO_CHANNEL = 76;
// Status values
const uint8_t OFF = 0;
const uint8_t GREEN = 1;
const uint8_t YELLOW = 2;
const uint8_t RED = 3;
const unsigned long SIGNAL_TIMEOUT_MS = 5000;
Adafruit_NeoPixel lights(
LED_COUNT, LED_PIN, NEO_GRB + NEO_KHZ800
);
RF24 radio(CE_PIN, CSN_PIN);
uint8_t currentStatus = OFF;
bool connected = false;
unsigned long lastReceiveTime = 0;
void setup() {
Serial.begin(115200);
// Start with all lights off.
lights.begin();
lights.setBrightness(BRIGHTNESS);
updateLights();
// Check the connection between this board and its radio.
if (!radio.begin()) {
while (true) {
if (Serial) {
Serial.println(
F("Radio not found. Check 3.3V and SPI wiring.")
);
}
delay(1000);
}
}
radio.setChannel(RADIO_CHANNEL);
radio.setDataRate(RF24_1MBPS);
radio.setPALevel(RF24_PA_LOW);
radio.setAutoAck(true);
radio.setPayloadSize(1);
radio.openReadingPipe(1, RADIO_ADDRESS);
radio.startListening();
if (Serial) {
Serial.println(F("Outdoor radio ready."));
}
}
void loop() {
receiveStatus();
checkConnection();
}
void receiveStatus() {
// Read any waiting messages.
while (radio.available()) {
uint8_t receivedStatus;
radio.read(&receivedStatus, 1);
// Only accept the four defined status values.
if (receivedStatus > RED) {
continue;
}
bool needsUpdate =
!connected || receivedStatus != currentStatus;
currentStatus = receivedStatus;
lastReceiveTime = millis();
connected = true;
// Update LEDs only when needed.
if (needsUpdate) {
updateLights();
}
if (Serial) {
Serial.print(F("Received status: "));
Serial.println(currentStatus);
}
}
}
void checkConnection() {
if (connected &&
millis() - lastReceiveTime >= SIGNAL_TIMEOUT_MS) {
connected = false;
currentStatus = OFF;
updateLights();
if (Serial) {
Serial.println(F("Signal lost. Lights off."));
}
}
}
void updateLights() {
uint32_t color = 0;
if (currentStatus == RED) {
color = lights.Color(255, 0, 0);
} else if (currentStatus == YELLOW) {
color = lights.Color(255, 140, 0);
} else if (currentStatus == GREEN) {
color = lights.Color(0, 255, 0);
}
// All three sticks display the same color.
lights.fill(color);
lights.show();
}