ANTHONY NISTOR // LIGHT BAR

Stackr Light Bar

A top add-on for Stackr. Five addressable LEDs sit in a printed bar, and each one can be set to its own color.

// SYSTEM ARCHITECTURE

About the Project

Creating a light bar add-on featuring addressable WS2812 LEDs to transform the Stackr platform into an emergency or service vehicle (such as police cars, ambulances, or construction machinery) allowed me to learn how to interface the Arduino Nano ESP32 with the addressable LEDs.

  • Five Addressable LEDs The LEDs are chained on one strip. Pads marked 5V, DIN, and GND pass power and data from one lamp to the next.
  • Light Bar A 3D printed housing with five windows holds the strip. A translucent cover clips on and diffuses the light.
  • Software The software integrates the control for Stackr driving with the control of the light bar. A variety of light patterns can be selected from the mobile app.
// CHALLENGES

Challenges

ISSUE SOLUTION
The diffuser was not distributing the light in a uniform way Increase the infill of the 3D printing for the diffuser and changed the pattern to be a 3 dimensional one to produce more reflections/refractions.
// LIGHT RUN

The Bar Lit

Stackr with the light bar switched on, sitting beside the digger.

STACKR_LIGHTS.MP4 LIVE DEMO

Lights On

The five LEDs glow through the cover while the bar stays mounted across the top of Stackr.

// HARDWARE & SOFTWARE

System Component Breakdown

01

Light Bar

5 addressable LED, WS2812 / Neopixels, are used on a strip to provide the light for the bar. Incorporated in a 3D printed frame a diffuser was used to distribute the light in all directions from each LED.

02

Software

The control of the LED strip is done using NZR protocol.

03

Remote Control Integration

The bar was integrated with the mobile app driving the Stackr in such a way that whenever the Stackr is turning the bar is used to signal change in direction. Also different modes (police, ambulance, construction, etc.) can be controlled from the mobile app.

04

Stackr

Stackr is used as the main platform to install the light bar as an add-on. All the software is run on the Stackr's MCU.

// PROJECT MEDIA

Build Pictures

The bar on Stackr, the LED strip, the printed parts, and the CAD model.

CAD Design
CLICK TO ENLARGE

CAD Design

FreeCAD model of the black side frames and the bar with five colored LED blocks under a clear cover.

3D Printed Parts
CLICK TO ENLARGE

3D Printed Parts

Two black side frames, a spacer, and the bar housing with its frosted cover.

LED Strip
CLICK TO ENLARGE

LED Strip

Five-LED addressable strip beside the black housing it drops into.

Assembled Light Bar
CLICK TO ENLARGE

Assembled Light Bar

Frosted bar screwed between the black side frames, with the cable exiting the back.

Add-On + Stackr
CLICK TO ENLARGE

Add-On + Stackr

Light bar bolted over the white Stackr, with the cable looped to the deck.

Light Bar Testing
CLICK TO ENLARGE

Light Bar Testing

Bar lit green, red, and blue on Stackr, with the Nano glowing on the deck.

// SLIDESHOW

All Project Pictures

14 photographs and drawings from this build.

20251111_215548.jpg 1 / 14
20251111_215548.jpg
// TECHNICAL SPECIFICATIONS

System Parameters

PARAMETER SPECIFICATION / VALUE
Addressable LED 5 x WS2812
CAD Software FreeCAD
Manufacturing 3D Printing
Controller Mobile App
Communication NZR serial communication