Build it step by step
0 of 6 doneWire the matrix
Add the capacitor first, then the resistor in the data line.
Test the colours
Temporarily set target values and check red, amber and green.
Set up the status page
Create a page that returns free, busy or soon, and put its address in STATUS_URL.
Test the fade
Change the page text and watch the colour fade over about a second.
Set the dim hours
Adjust the night hours in the code to suit your office.
Mount
Fix the panel at eye level outside the room with the cable and adapter hidden.
How do you build a meeting room status light?
A glowing panel outside a meeting room shows free, busy or starting soon, read from a small status page you control. You need ESP32-C3 SuperMini, WS2812B 8x8 RGB LED matrix, 5 V 2 A USB adapter, Resistor 330 Ω and Electrolytic capacitor 1000 µF. It takes 6 steps and about 120 minutes.
- Level
- Beginner
- Time
- About 120 min
- Parts
- 5
Parts list
Tick what you already own. It saves to My Garage, so “Build with what I have” knows.
Wiring
| From | To | Why |
|---|---|---|
| 5 V USB adapter + | Matrix 5V and capacitor + | Power |
| 5 V USB adapter - | Matrix GND, capacitor - and ESP32-C3 GND | Common ground |
| 1000 µF capacitor | Across the matrix 5V and GND | Smooths power |
| ESP32-C3 GPIO4 | 330 Ω resistor then matrix DIN | Data |
| ESP32-C3 5V pin | Same 5 V as the matrix | Powers the board |
Code
Arduino IDE with the ESP32 boards package, board "ESP32C3 Dev Module" with USB CDC On Boot enabled. Install "Adafruit NeoPixel". Put your Wi-Fi details and the address of a status page in the placeholders. The status page can be any page that returns the word free, busy or soon, for example one you update from your calendar or a small script. Never put calendar passwords or keys in the sketch. Brightness is kept low so the 64 pixels draw well under the 2 A adapter's limit.
Runs on a virtual ESP32-C3 in your browser, with sliders for the sensors. Happy with it? Verify and upload to your real board from the same page (Chrome or Edge on a computer).
#include <WiFi.h>
#include <HTTPClient.h>
#include <WiFiClientSecure.h>
#include <Adafruit_NeoPixel.h>
#include <time.h>
const char* WIFI_NAME = "YOUR_WIFI_NAME";
const char* WIFI_PASSWORD = "YOUR_WIFI_PASSWORD";
const char* STATUS_URL = "https://YOUR_STATUS_PAGE"; // returns plain text: free, busy or soon
Adafruit_NeoPixel px(64, 4, NEO_GRB + NEO_KHZ800);
float cur[3] = { 0, 0, 0 }, target[3] = { 0, 0, 0 };
unsigned long lastPoll = 0;
void setTarget(const String& s) {
if (s.indexOf("busy") >= 0) { target[0] = 255; target[1] = 0; target[2] = 0; }
else if (s.indexOf("soon") >= 0) { target[0] = 255; target[1] = 120; target[2] = 0; }
else { target[0] = 0; target[1] = 255; target[2] = 0; }
}
void poll() {
WiFiClientSecure client;
client.setInsecure(); // no certificate check: a trade-off for a harmless status
HTTPClient http;
if (http.begin(client, STATUS_URL) && http.GET() == 200) setTarget(http.getString());
http.end();
}
void setup() {
px.begin();
WiFi.begin(WIFI_NAME, WIFI_PASSWORD);
while (WiFi.status() != WL_CONNECTED) delay(500);
configTime(19800, 0, "pool.ntp.org"); // India time, UTC+5:30
}
void loop() {
if (millis() - lastPoll > 30000 || lastPoll == 0) { poll(); lastPoll = millis(); }
struct tm t;
bool night = getLocalTime(&t) && (t.tm_hour < 7 || t.tm_hour >= 19);
px.setBrightness(night ? 6 : 30); // low brightness keeps current under about 0.5 A
for (int i = 0; i < 3; i++) cur[i] += (target[i] - cur[i]) * 0.05;
for (int i = 0; i < 64; i++) px.setPixelColor(i, px.Color((uint8_t)cur[0], (uint8_t)cur[1], (uint8_t)cur[2]));
px.show();
delay(30);
}Test checklist
What you should see at each check. If a reading is far off, stop and use the troubleshooting list.
| Check | Expected |
|---|---|
| Page says free | Matrix fades to green |
| Page says soon | Amber |
| Page says busy | Red |
| After 7 pm | Panel is much dimmer |
If it does not work
Random colours
Common ground missing or the data resistor is absent.
Nothing lights
Check DIN, not DOUT, is connected and the matrix has 5 V.
No updates
Check the Wi-Fi details and the page address.
Board resets at full brightness
Keep brightness at or below 30 and use a 2 A adapter.
Still stuck? Find the fault step by step with your multimeter →
Common questions
What parts do I need for the meeting room status light?
ESP32-C3 SuperMini, WS2812B 8x8 RGB LED matrix, 5 V 2 A USB adapter, Resistor 330 Ω and Electrolytic capacitor 1000 µF.
How long does the meeting room status light take to build?
About 120 minutes for a beginner maker, in 6 steps.
How do I know the meeting room status light works?
Page says free: Matrix fades to green. Page says soon: Amber. Page says busy: Red.
Random colours: what should I check?
Common ground missing or the data resistor is absent.
Nothing lights: what should I check?
Check DIN, not DOUT, is connected and the matrix has 5 V.
No updates: what should I check?
Check the Wi-Fi details and the page address.
Board resets at full brightness: what should I check?
Keep brightness at or below 30 and use a 2 A adapter.
