led
tool
arduino
safety

5
1
This project is a compact night visibility safety light powered by an ESP32-C3 Mini V1.6.0.1 and a WS2812 12-LED ring.
It’s designed to increase visibility in dark or low-light conditions, making it ideal for safety
The system uses only three connections — 5V, GND, and GPIO8 (data) — directly soldered to the board.
Powered by USB or a small power bank, it can run for hours and is easy to attach to clothing, backpacks, or vehicles.
The LEDs alternate between red and blue flashing lights at 50% brightness, creating a highly visible warning pattern similar to emergency indicators.
This helps ensure that the user remains visible from a distance, especially on roads or during night walks.
Built with minimal components, this light is lightweight, portable, and completely 3D-printable for custom housings or mounts.
It demonstrates how a small microcontroller can provide real-world safety functionality with just a few lines of code.
parts:
Board: ESP32-C3 Mini V1.6.0.1
LED: WS2812 12-pixel ring
Wiring: 5V → 5V, GND → GND, DI → GPIO8
Library: Adafruit NeoPixel
Effect: Red and blue alternating flash at 50% brightness
Power: USB (5 V)
3 m5 screws
3 small wires
m6 rod bar
translucid filament for the “glass”






ARDUINO CODE FOR BLUE AND RED LIGHT:
#include <Adafruit_NeoPixel.h>
#define LED_PIN 8 // Pin dati collegato al DI del WS2812
#define NUM_LEDS 12 // Numero di LED sull'anello
#define BRIGHTNESS 127 // 50% di luminosità (0-255)
Adafruit_NeoPixel ring(NUM_LEDS, LED_PIN, NEO_GRB + NEO_KHZ800);
void setup() {
ring.begin();
ring.setBrightness(BRIGHTNESS);
ring.show(); // Spegne tutti i LED all’avvio
}
void loop() {
// Accende tutti i LED in rosso
for (int i = 0; i < NUM_LEDS; i++) {
ring.setPixelColor(i, ring.Color(255, 0, 0)); // Rosso
}
ring.show();
delay(500);
// Accende tutti i LED in blu
for (int i = 0; i < NUM_LEDS; i++) {
ring.setPixelColor(i, ring.Color(0, 0, 255)); // Blu
}
ring.show();
delay(500);
}
Originality of the Model
The author declares that this work is their personally original model
This model is licensed under the following terms:
Credit must be given to the creator
Only noncommercial uses of the work are permitted
Models(1)
LUCE 3.3mfDesigner230.59 KB
2026-05-15












