Skip to the content
2 layersESP32-lightsaber KiCad, the printed circuit board in 3D

ESP32-lightsaber KiCad

aadriien/ESP32-lightsaber1

Introducing... a homemade lightsaber, powered by an ESP32 microcontroller!

Copper layers
2
Thickness
1.6 mm
Parts
4
Nets
37
Pads
70
Tracks, vias
42, 0
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
10 Jun 2025
Updated
6 Aug 2025

Overview

ESP32-lightsaber KiCad is an open-source printed circuit board by aadriien, from the aadriien/ESP32-lightsaber repository on GitHub. It is a 2-layer board with 4 parts on 37 nets, routed with 42 tracks and 0 vias.

It is built around the ESP32-WROOM-32. It belongs with the ESP32 boards of this library.

Main components

1

README

README.md

🪐🤺 Lightsaber

Description

Introducing... a homemade lightsaber, powered by an ESP32 microcontroller!

This project is still a work in progress, so please hang tight while I get things going.

How It Works

Start by clicking the joystick. This will activate the lightsaber with a cool sound effect (lightspeed)!

Maneuver the joystick to move between colors. Once you've found a color you like, hold that spot / angle, and click the joystick as you would a button. Keep your ears open for a themed sound corresponding to that specific color!

To change the blade's hue, angle the joystick button, give it another click, and you'll have returned to "color selection mode".

When you're ready to deactivate the lightsaber, simply click the joystick again and watch as the lights recede. Listen closely for a message as you go!

Electronics / Pieces

  1. ESP32-WROOM-32: microcontroller (logic)
  2. Addressable LED strip (WS2812B): lightsaber blade
    • individual LED manipulation
    • actuator — output
  3. Joystick module: lightsaber (de)activation
    • range of x, y values to map (+ button)
    • sensor — input
  4. 9V battery + clip: power source
  5. Power supply module: 5V / 3.3V output converter
  6. Others ad hoc: cables, wires, resistors, etc

Tools / Tech

  1. C++: code running on device
  2. Python: code to play themed sounds
    • connects via serial monitor
    • using playsound library
    • with PyObjC to run efficiently
  3. PlatformIO: embedded development toolset
    • VS Code extension
    • cross-platform, cross-architecture
    • debugger, static analysis, unit testing, etc
    • project configs (build env, dependencies)

Features

  • ⭐️ Lightsaber (de)activation: Exciting visual effects with sequential LEDs.

  • 🎨 Customizable saber blade: Highly flexible color wheel selection via joystick.

  • 🔒 Color locking ability: Option to hold selected color in place with joystick button.

  • 🎵 Themed sound effects: Music and phrases to match colors and saber (de)activation.

Video Demos

Video demo of lightsaber activation and color selection

Example Images

🎮 Wiring View🌈 Lightsaber LED Strip🔌 Wiring Above
Example image of front wiring viewExample image of saber LED stripExample image of above wiring view

Parts

4
QtyValueFootprintReferences
1Conn_01x03Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ2
1Conn_01x05Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ1
1ESP32-WROOM-32RF_Module:ESP32-WROOM-32MICROCONTROLLER1
1RResistor_SMD:R_0805_2012MetricRESISTOR1

Similar boards

  • 2 layers24.1 × 36.2 mmEsp32miniBT, the printed circuit board in 3D

    Esp32miniBT

    asterics/esp32_mouse_keyboard

    ESP32 implementation for HID over GATT Keyboard and Mouse (Bluetooth Low Energy). Including serial API for external modules (similar to Adafruit EZKey HID)

    28 parts911GPL-3.0
  • 4 layers99.6 × 76.2 mmE TKT, the printed circuit board in 3D

    E TKT

    andreisperid/E-TKT

    open source embossed label maker

    110 parts481MIT
  • 4 layers46.8 × 34.8 mmSmartWatch V4, the printed circuit board in 3D

    SmartWatch V4

    Bellafaire/ESP32-Smart-Watch

    An open source smartwatch based on the ESP32 compatible with the Arduino IDE.

    74 parts258MIT
  • 2 layers90 × 76.5 mmLCDZapperPro, the printed circuit board in 3D

    LCDZapperPro

    charcole/LCDZapper

    Device for making light gun games playable on LCD TVs

    126 parts163
  • 2 layers57.2 × 35.1 mmMainBoard Rev2, the printed circuit board in 3D

    MainBoard Rev2

    lzrtag/LZRTag

    AVR-Based easily modifyable DIY Lasertag!

    70 parts111GPL-3.0
  • 2 layers85 × 56 mmHB RF ETH, the printed circuit board in 3D

    HB RF ETH

    alexreinert/PCB

    Some of my PCBs

    96 parts104
  • 2 layersSmp7c, the printed circuit board in 3D

    Smp7c

    likeablob/slow-movie-player-7c

    Yet another "Slow Movie Player" implementation with 7-color E-Paper module and ESP32.

    18 parts51MIT
  • 2 layers30.8 × 24.4 mmWii Bluetooth Replacement, the printed circuit board in 3D

    Wii Bluetooth Replacement

    JSnowden33/Wii-Bluetooth-Replacement

    This project is a full replacement for the Nintendo Wii's Bluetooth module. Emulation of the Bluetooth module is performed on the PIC32 based on rnconrad's emulator, while controller connectivity on the ESP32 is based…

    50 parts48GPL-3.0

Questions

What parts does the ESP32-lightsaber KiCad use?

4 parts, built around the ESP32-WROOM-32. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the ESP32-lightsaber KiCad KiCad files?

From the aadriien/ESP32-lightsaber repository on GitHub, at the commit this page was made from: the board is ESP32-lightsaber-KiCad/ESP32-lightsaber-KiCad.kicad_pcb and its schematic ESP32-lightsaber-KiCad/ESP32-lightsaber-KiCad.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the ESP32-lightsaber KiCad design in my own project?

Its repository states no licence, so its author keeps all rights: ask aadriien before reusing the design.