Skip to content

A custom C++ firmware engine for Arduino-class microcontrollers, driving multi-LED shimmer, sparkle, and animation effects with precise timing control and embedded lighting logic.

Notifications You must be signed in to change notification settings

Sapphica/JinxLedEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jinx LED Engine

Build PlatformIO C++ NeoPixel License


✨ Animated Showcase

Jinx LED Engine Demo


⚙️ Engineering Summary

The Jinx LED Engine is a custom embedded lighting controller designed for a Jinx statue display.
It runs on an Arduino Nano Every and drives 14× GRBW SK6812 NeoPixels using two independent real-time animation engines:

  • Cloud Lightning Engine (LEDs 0–11)
    Randomized micro-timed lightning flashes running under diffused acrylic "clouds."

  • Core Breathing Engine (LEDs 12–13)
    A cinematic breathing and color-mode core for the statue’s central energy node.

The system uses fully non-blocking scheduling (millis()), enabling deterministic timing and multi-layered physical lighting depth.


🌩️ Cloud Lightning Engine (LEDs 0–11)

  • Independent micro-timed LED engines
  • ~70% ambient glow baseline
  • Random lightning bursts
  • Intensity & interval variation per LED
  • Designed for translucent cloud diffusion
  • Goal: dynamic "storm under glass" motion

💗 Core Breathing Engine (LEDs 12–13)

  • Fade-in → hold → fade-out breathing cycle
  • Color-mode states: Pink / Amethyst / White / Gem-tones
  • Half or full brightness scaling per cycle
  • Mode changes only at blackout for seamless transitions
  • Goal: rhythmic “energy core” pulse

🧱 System Architecture

1. Cloud Lightning Engine

  • Lightning probability per LED
  • Brightness shaping
  • Randomized timing windows

2. Core Breathing Engine

  • Mode selection logic
  • Per-cycle brightness multiplier
  • Controlled color palette

Hardware Stack

  • Arduino Nano Every
  • 14× GRBW SK6812 LEDs
  • 5 V regulated rail

Software Stack

  • PlatformIO
  • Adafruit NeoPixel
  • VS Code
  • Git (SSH)

📸 Gallery

Prototype Sparkle Engine
Early breadboard validation of timing, colour curves, and GRBW output.

Internal Lighting Layout
Cloud-zone LEDs (0–11) mounted under the acrylic diffuser layer.

Nano Every Driver Board
The embedded control stack running both animation engines with non-blocking scheduling.

Cloud Lightning Effect
Randomized micro-bursts firing through the translucent resin cloud structure.

Final Assembly
Fully integrated lighting system inside the statue base with balanced diffusion.

---

About

A custom C++ firmware engine for Arduino-class microcontrollers, driving multi-LED shimmer, sparkle, and animation effects with precise timing control and embedded lighting logic.

Topics

Resources

Stars

Watchers

Forks

Languages