Skip to the content
2 layers64 × 52 mmWiring, the printed circuit board in 3D

Use beatsaber map files to display a lightshow on LED strips

Size
64 × 52 mm
Copper layers
2
Thickness
1.6 mm
Parts
21
Nets
3
Pads
122
Tracks, vias
160, 83
Pours
6
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
5 Jun 2021
Updated
14 Jan 2024

Overview

Wiring is an open-source printed circuit board by Jangberry, from the Jangberry/BS-Lightshow repository on GitHub. It is a 2-layer board of 64 × 52 mm with 21 parts on 3 nets, routed with 160 tracks and 83 vias.

Its parts include 6 diodes, 3 resistors and 3 transistors. It belongs with the lEDs and displays boards and the ESP32 boards of this library.

README

README.md

BS-Lightshow

This repository hosts code made to show a lightshow out of a beataber map. It currently works with ESP32 and MQTT.

I plan to make it easily movable to other platforms (there isn't so much hope for AVR boards however, the framerate I get on leds isn't satisfying)

A mod to control all this mess can be found here.

How to use

Requirements

  • ESP32 or STM32F1 (other platforms supported by FastLED may work) with the libraries
  • An adressable LED strip (I personnaly use this one from AliExpress) and a corresponding power supply
  • (A MQTT server)

Steps

  1. (Configure your MQTT server)

  2. Modify MQTT-esp32.ino or usb-stm32.ino to match your LED strip (and MQTT server)

    1. Modify compilator constants (NUM_LEDS is the number of LEDs on your strip, NUM_ZONE is the number of zones you want to map on them (there is 5 of them on BS), ALIM is a pin where you can put something to cut the LEDs alimentation when they're all black (HIGH = on), LED is the data pin for the LEDs)
    2. In the function setup
      1. In FastLED.addLeds<WS2812B, LED, GRB>(leds, NUM_LEDS) replace "WS2812B" by your LEDs model and GRB by your LEDs color order (see FastLED documentation)
      2. In the for loop Setting zones, tweak the conditions to match your zone mapping
    3. If you use MQTT and your MQTT server doesn't use TLS, change the port in client.begin(host, 8883, net); and replace the line net.setCACert(letsEncyptCA); with net.setInsecure();
    4. If you use MQTT and your MQTT server do use TLS but not with a Let's encrypt certificate, change const char letsEncyptCA[] value to your AC's public key pam encoded.
  3. (Create the file creditentials.h in the same directory as MQTT-esp32.ino and fill it with :)

    cpp
    const char *ssid = "Your WiFi SSID";
    const char *pass = "Your verry secret WPA key";
    const char *host = "The host name of your MQTT server";
    const char *user = "Your MQTT username";
    const char *mqttPass = "Duh look at the variable's name (it's your MQTT password, who guessed !)";
  4. Compile and send to your ESP32/STM

  5. Enjoy (Either through theses scripts or by installing this mod)

TODO

  • Improve the Chroma integration
  • Clean up code
  • Optimize (some behavior are probably more complicated than needed)
  • Automated lightshow

What does it look like ?

Here is a playlist that expose the qualities and defaluts of this project

Parts

21
QtyValueFootprintReferences
6D_DO-41_SOD81_P7.62mm_HorizontalDiode_THT:D_DO-41_SOD81_P7.62mm_HorizontalD1, D2, D3, D4, D5, D6
3R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R2, R3
3TO-220-3_Horizontal_TabDownPackage_TO_SOT_THT:TO-220-3_Horizontal_TabDownQ1, Q2, Q3
2PinHeader_1x04_P2.54mm_VerticalConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalRGB LED, SWD
1LQFP-32_7x7mm_P0.8mmPackage_QFP:LQFP-32_7x7mm_P0.8mmSTM32
1Molex_Mini-Fit_Jr_5566-20A_2x10_P4.20mm_VerticalConnector_Molex:Molex_Mini-Fit_Jr_5566-20A_2x10_P4.20mm_VerticalPower
1PinHeader_1x02_P2.54mm_VerticalConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical5V
1PinHeader_1x03_P2.54mm_VerticalConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalLED
1Potentiometer_Alps_RK163_Single_HorizontalPotentiometer_THT:Potentiometer_Alps_RK163_Single_HorizontalPOT
1SwitchConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalSW
1USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalUSB

Similar boards

  • 2 layers28.3 × 39.8 mmLevelShifter, the printed circuit board in 3D

    LevelShifter

    gusmanb/logicanalyzer

    24 channel, 100Msps logic analyzer hardware and software

    21 parts5.1kGPL-3.0
  • 2 layers171.2 × 72.9 mmAmiga gfxcard before pour, the printed circuit board in 3D

    Amiga gfxcard before pour

    mntmn/amiga2000-gfxcard

    MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

    21 parts1k
  • 2 layers93.9 × 46 mmRectifier, the printed circuit board in 3D

    Rectifier

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    21 parts990GPL-3.0
  • 2 layers45.5 × 42.9 mmEsphome han reader, the printed circuit board in 3D

    Esphome han reader

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    21 parts915
  • 2 layers31.8 × 14.5 mmEsp prog, the printed circuit board in 3D

    Esp prog

    drandyhaas/KiCadRoutingTools

    A set of Python/Rust tools to aid routing in KiCad

    21 parts744MIT
  • 2 layers23.5 × 15.8 mmQuiverAttachPCB, the printed circuit board in 3D

    QuiverAttachPCB

    Arrow-air/project-quiver

    Project Quiver documentation, designs, and project artifacts.

    21 parts617CERN-OHL-S-2.0
  • 2 layers69.9 × 41.3 mmHeaterMeterLCD, the printed circuit board in 3D

    HeaterMeterLCD

    CapnBry/HeaterMeter

    HeaterMeter and LinkMeter Arduino BBQ Controller

    21 parts557MIT
  • 2 layers161.3 × 111.8 mmDoj, the printed circuit board in 3D

    Doj

    kelu124/echomods

    Open source ultrasound processing modules and building blocks

    21 parts463

Questions

How big is the Wiring PCB?

It measures 64 × 52 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Wiring use?

21 parts. 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 Wiring KiCad files?

From the Jangberry/BS-Lightshow repository on GitHub, at the commit this page was made from: the board is wiring/main/main.kicad_pcb and its schematic wiring/main/main.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Wiring design in my own project?

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