# jaxzin/disney-infinity-lightfx-display architecture

> Architecture diagram of the GitHub repository jaxzin/disney-infinity-lightfx-display, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jaxzin/disney-infinity-lightfx-display
- Repository: https://github.com/jaxzin/disney-infinity-lightfx-display

## Overview

##### Project type and purpose
- This is an embedded-hardware and DIY maker project: a 3D-printed display stand for Disney Infinity Light FX characters, driven by an Arduino microcontroller.
- The purpose is to provide light effects (blink, flicker, specific “Kylo” pattern) beneath the figurine using simple Arduino sketches and a custom 3D-printed enclosure.

##### File structure
- Top-level files:
- LICENSE, README.md
- src/main/arduino – contains three separate Arduino sketches (DI_stand_blink, DI_stand_flicker, DI_stand_kylo_only).
- src/main/stl – contains two STL files for the 3D model (stand.stl for the main body and stand-ascii.stl likely a variant).
- There are no server components, CI/CD scripts, or external service integrations beyond image hosting.

##### README for additional insights
- Confirms that the repo bundles the 3D model and the Arduino sketches.
- Links to a build overview (Imgur album) and shows final results.
- No mention of sensors, external communications, or power-management beyond what’s inherent to typical Arduino builds.

##### Detail without over-separation
- Both the hardware stack (mechanical + electrical) and the firmware variants.
- How each .ino sketch slots into the Arduino component.
- Don’t omit ancillary elements like the power supply or documentation links, as they complete the picture of how the system is built, operated, and maintained.

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Documentation Assets
    subgraph "Documentation"
        README["README.md"]:::docs
        LICENSE["LICENSE"]:::docs
        FirmwareDir["src/main/arduino"]:::docs
        MechanicalDir["src/main/stl"]:::docs
    end

    %% Mechanical Design
    subgraph "Mechanical Design"
        STL1["stand.stl"]:::mechanical
        STL2["stand-ascii.stl"]:::mechanical
        Chassis["3D-Printed Chassis"]:::mechanical
    end

    %% Electronics Hardware
    subgraph "Hardware"
        Power["Power Supply"]:::hardware
        Arduino["Arduino Board"]:::hardware
        LEDs["LED Array"]:::hardware
    end

    %% Firmware Variants
    subgraph "Firmware Source"
        Blink["DI_stand_blink.ino"]:::firmware
        Flicker["DI_stand_flicker.ino"]:::firmware
        Kylo["DI_stand_kylo_only.ino"]:::firmware
        IDE["Arduino IDE"]:::firmware
    end

    %% User
    User["User / Builder"]:::external

    %% Flows
    README -->|references| FirmwareDir
    README -->|references| MechanicalDir

    STL1 -->|"3D print"| Chassis
    STL2 -->|"3D print"| Chassis

    Power -->|"provides power"| Arduino
    Arduino -->|"drives"| LEDs
    LEDs -->|"mounted in"| Chassis

    Blink -->|"load via IDE"| IDE
    Flicker -->|"load via IDE"| IDE
    Kylo -->|"load via IDE"| IDE
    IDE -->|"flash firmware"| Arduino

    User -->|"assembles parts"| Chassis
    User -->|"connects power"| Power
    User -->|"uploads sketch"| IDE

    %% Click Events
    click README "https://github.com/jaxzin/disney-infinity-lightfx-display/blob/master/README.md"
    click LICENSE "https://github.com/jaxzin/disney-infinity-lightfx-display/tree/master/LICENSE"
    click FirmwareDir "https://github.com/jaxzin/disney-infinity-lightfx-display/tree/master/src/main/arduino"
    click MechanicalDir "https://github.com/jaxzin/disney-infinity-lightfx-display/tree/master/src/main/stl"
    click STL1 "https://github.com/jaxzin/disney-infinity-lightfx-display/blob/master/src/main/stl/stand.stl"
    click STL2 "https://github.com/jaxzin/disney-infinity-lightfx-display/blob/master/src/main/stl/stand-ascii.stl"
    click Blink "https://github.com/jaxzin/disney-infinity-lightfx-display/blob/master/src/main/arduino/DI_stand_blink/DI_stand_blink.ino"
    click Flicker "https://github.com/jaxzin/disney-infinity-lightfx-display/blob/master/src/main/arduino/DI_stand_flicker/DI_stand_flicker.ino"
    click Kylo "https://github.com/jaxzin/disney-infinity-lightfx-display/blob/master/src/main/arduino/DI_stand_kylo_only/DI_stand_kylo_only.ino"

    %% Styles
    classDef mechanical fill:#B2DFDB,stroke:#00796B,stroke-width:1px
    classDef hardware fill:#FFE0B2,stroke:#E65100,stroke-width:1px
    classDef firmware fill:#C8E6C9,stroke:#2E7D32,stroke-width:1px
    classDef docs fill:#ECEFF1,stroke:#607D8B,stroke-width:1px
    classDef external fill:#F0F4C3,stroke:#827717,stroke-width:1px
```
