PRISM K1 Firmware Specification

Community

Deep dive into K1 firmware, optimize LED control.

Authorsynqing
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides the definitive technical blueprint for the PRISM K1 ESP32-S3 LED controller firmware. It eliminates ambiguity for embedded developers, ensuring precise understanding of hardware, memory, FreeRTOS tasks, and communication protocols, which is crucial for custom firmware development or advanced debugging.

Core Features & Use Cases

  • Hardware & LED Configuration: Detailed specs for ESP32-S3, 320 WS2812B LEDs, and dual GPIO mapping.
  • FreeRTOS Task Management: Understand task priorities, stack sizes, and real-time guarantees for 120 FPS LED refresh.
  • WebSocket TLV Protocol: Implement robust communication for pattern uploads with CRC32 validation.
  • Use Case: An embedded developer needs to extend the K1's functionality, perhaps by adding new sensor inputs. This Skill provides all the necessary information to safely integrate new features without compromising the core real-time LED playback or existing communication channels.

Quick Start

Example: Connecting from a web editor (PRISM.node)

const ws = new WebSocket('ws://device-ip:8080'); const payload = /* pattern binary data */; const plan = makePutPlan(payload); // See: wsTlv.ts await sendPlanOverWs('ws://device-ip:8080', plan); // Firmware validates CRC32 and stores to /littlefs // LED playback reads pattern and displays at 120 FPS

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: PRISM K1 Firmware Specification
Download link: https://github.com/synqing/PRISM.unified/archive/main.zip#prism-k1-firmware-specification

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository