Skip to the content
2 layers179 × 88.4 mmBMS, the printed circuit board in 3D

This is the repository for the Research and Development, Production, and assembly of the Electric Guitar MK1.

Size
179 × 88.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
64
Nets
65
Pads
241
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 7 (file 20221018)
Created
14 Nov 2023
Updated
3 Jul 2025

Overview

BMS is an open-source printed circuit board by Wierdwizard2587, from the Wierdwizard2587/ElectricGuitarMK1 repository on GitHub. It is a 2-layer board of 179 × 88.4 mm with 64 parts on 65 nets.

It is built around the LM339, 74HC02 and 78L05, with the LM393, PN2222A and IRL540A among its other parts. Its parts include 19 resistors, 15 ICs, 13 connectors, 10 transistors and 2 capacitors. It belongs with the power boards of this library.

Main components

7

README

README.md

Electronic Guitar MK1

A self-built, digitally-enhanced electric guitar featuring onboard effects, audio output and removable battery supply all integrated within a custom made Guitar.


TL;DR Overview

  • DIY portable electric guitar with integrated digital effects and modular power/audio system
  • Final version features Teensy 4.0, onboard FX, rotary encoder UI, OLED display, amp/speaker output, battery or DC power, and RGB lighting
  • Entire build: woodwork, PCBs, 3D prints, firmware, and more
  • Early prototype (Mk0) failed due to poor electrical design and overcomplex hardware, rebuilt from scratch over 12+ months with newly acquired engineering and fabrication skills


Specs (MK1)

Hardware Features

  • Microcontroller: Teensy 4.0 (600 MHz ARM Cortex M7, 1MB RAM)
  • Audio Codec: SGTL5000 via Teensy Audio Shield Rev D2
  • Display: 2.42" 128x64 OLED
  • UI: 4x rotary encoders (Adafruit I2C) with push buttons
  • Output Options:
    • 1W LM386 speaker amp + 8Ω speaker
    • 3.5mm headphone jack
    • 1/4" AUX output
  • SD Card: for saving and loading effect presets

Physical Design

  • Custom red cedar guitar body with Strat-style neck and 22 frets
  • SSH passive pickup layout with 5-way selector
  • CNC acrylic panels for access and wiring
  • Modular 3D-printed brackets for internals
  • Magnetic battery bay

Power System

  • Battery: 4S 18650 3500mAh Li-ion (16.8V max)
  • BMS: With overcharge/discharge protection
  • Power Switching: Automatically defaults to DC jack if plugged in
  • Regulation: L7805 LDO for logic, raw voltage for amp
  • Runtime: ~12 hours full load; much longer with optimized settings

RGB Lighting

  • 6x WS2812B addressable LEDs
  • Controlled via UI with adjustable patterns and brightness
  • 5V from Teensy board, expandable via breakout
  • Mounted in a custom 3D enclosure with acrylic cover
  • See Demo

Design Decisions

  • Abandoned analog FX + digipots due to impractical voltage/current handling
  • Digital FX chain implemented using Teensy Audio Library and CODEC
  • Custom single-layer PCB with JST headers for modularity
  • UI system built around I2C rotary encoders and OLED display
  • 3D-printed brackets standardized component mounting across internal assemblies

Tools and Processes

PCB Manufacturing
  • Chemical Etching: Photoresist UV method with ferric chloride; scrapped due to accuracy and double-sided complexity
  • CNC Milling: Used FlatCAM to generate G-code, 3018 CNC and Candle for trace and drill cuts
SMD Soldering
  • Stencil: CNC-cut mylar sheets for paste application
  • Soldering: SMD components placed and reflowed on hot plate
CAD and Design
  • KiCAD: For schematic capture and board layout
  • FreeCAD: For PCB enclosure, LED mount, Guitar Body, Acrylic Plates/Panels and Router Jigs


Mk0 — The Failed First Attempt

The Mk0 was an ambitious retrofit of a cheap Stratocaster copy, originally sourced second-hand for $20 AUD. At the time, I had no electrical engineering knowledge and was only experienced with basic Arduino and Raspberry Pi projects.

Body and Structural Work

  • The original guitar was re-routed to fit electronics, resulting in reduced structural integrity and balance
  • Body was repainted and cleaned up with minor woodworking skills from high school
  • Attempted to house a Raspberry Pi, amplifier board, fans, wiring and more. all glued to plywood mounts inside the guitar

Electronics and Power Mistakes

  • Raspberry Pi 3B+ used for DSP software and effects switching via Linux keybinds
  • 10x SPST buttons mapped to GPIO pins, wired manually without debounce or shielding
  • Cooling: a heatsink and fan were mounted directly into the guitar body, protruding through the top
  • Power: attempted to use a Makita 18V battery regulated by a voltage divider made from two 10W resistors (which exploded)
  • Eventually switched to an XL6009 buck converter, mounted haphazardly on wood

Audio and Shielding Failures

  • Output sound had constant noise and interference, making the guitar unplayable
  • Tried shielding the cavity with copper tape and spray enamel, but issues persisted
  • Lack of analog audio knowledge led to poor layout and grounding, introducing hum and feedback

Realization and Reset

  • The experience made clear the importance of proper voltage regulation, shielding, grounding, and modular design
  • Mk0 taught me the value of planning, measurement, and using the right components for audio and power
  • In October 2023, I decided to scrap the build and committed to rebuilding everything from scratch

The Learning Curve

To succeed with Mk1, I developed and refined skills across multiple disciplines:

  • Electrical theory and circuit design

    • Learned core principles like Ohm’s Law, impedance, decoupling, signal paths, and analog vs digital tradeoffs by experimenting with breadboarded op-amp FX circuits and 555 timer modules.
  • Breadboarding, debugging, and perfboarding

    • Built multiple guitar pedal-style analog effects, troubleshooting noise, biasing, and layout issues. Early soldering mistakes taught me good pad heating, proper joint inspection, and signal path discipline.
  • Custom PCB manufacturing

    • Chemical etching: Photoresist and ferric chloride techniques worked for simple single-sided boards, but alignment and etch consistency were poor for complex layouts.

https://github.com/user-attachments/assets/e00821a1-996f-4fed-b84c-7d602e0a9be1

  • CNC milling: FlatCAM used to generate G-code from KiCAD Gerbers. I used a 3018 CNC with Candle to reliably cut traces and drill holes. Ultimately switched to ordered boards for reliability.

https://github.com/user-attachments/assets/3b78b966-fe12-4d0b-8b32-34254987f5ec

  • SMD workflow and hot plate reflow soldering
    • Designed and cut my own mylar stencils for solder paste, allowing for precise paste application and fast assembly of SMD components on the hot plate.
  • Power systems and battery safety

    • Studied Li-ion cell characteristics, pack balancing, protection circuits, and BMS behavior. Designed a 4S pack system with safe cutoff and swappable magnetic connection.
  • CAD and fabrication

    • KiCAD: Used to design full schematics and board layouts with JST headers and part footprints.

    • FreeCAD: Modeled body routing templates, control panel shapes, bracket mounting, and tolerance-critical neck fits.

  • CNC woodworking and mechanical precision

    • Created tight-fitting neck pockets and pickup cutouts with minimal play, ensuring mechanical stability and alignment.

Each step of the learning process fed directly into the reliability and performance of the final Mk1 design.


Final Words

This project started with a failed experiment and turned into a comprehensive learning journey in electrical engineering, embedded systems, and digital fabrication. Every element—hardware, software, and mechanical—was designed, built, and tested from scratch with the goal of making a fully integrated, self-contained electric guitar. I am very proud of what I was able to accomplish and am very excited to now use and build this new knowledge and gained abilitys to even bigger and better things!

Parts

64
QtyValueFootprintReferences
8 TP4056 Charging ModuleCharging module:TP4056-18650U5, U6, U7, U8, U9, U10, U11, U12
810KResistor_SMD:R_1206_3216MetricR1, R2, R3, R4, R5, R7, R11, R16
6RResistor_SMD:R_1206_3216MetricR6, R8, R12, R13, R14, R15
5PN2222APackage_TO_SOT_THT:TO-92_InlineQ10, Q11, Q13, Q17, Q18
4IRL540Package_TO_SOT_THT:TO-220-3_Horizontal_TabDownQ1, Q12, Q14, Q15
4Thermistor_NTCResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_VerticalTH1, TH2, TH3, TH4
3Conn_01x04_PinConnector_PinHeader_1.00mm:PinHeader_2x02_P1.00mm_VerticalJ1, J14, J16
2LM339Charging module:lm339n THTU14, U15
1100RResistor_SMD:R_1206_3216MetricR19
1150RResistor_SMD:R_1206_3216MetricR17
1220ufCapacitor_THT:CP_Radial_D8.0mm_P5.00mmC3
12nfCapacitor_THT:C_Rect_L9.0mm_W3.3mm_P7.50mm_MKTC2
130KResistor_SMD:R_1206_3216MetricR9
17.5KResistor_SMD:R_1206_3216MetricR10
174HC02Package_DIP:DIP-14_W7.62mmU16
178L05Package_TO_SOT_THT:TO-92_InlineU2
190RResistor_SMD:R_1206_3216MetricR18
1Batt 1 ConnConnector_PinHeader_1.00mm:PinHeader_1x02_P1.00mm_VerticalJ3
1Batt 2 ConnConnector_PinHeader_1.00mm:PinHeader_1x02_P1.00mm_VerticalJ5
1Batt 3 ConnConnector_PinHeader_1.00mm:PinHeader_1x02_P1.00mm_VerticalJ6
1Batt 4 ConnConnector_PinHeader_1.00mm:PinHeader_1x02_P1.00mm_VerticalJ7
1Batt 5 ConnConnector_PinHeader_1.00mm:PinHeader_1x02_P1.00mm_VerticalJ9
1Batt 6 ConnConnector_PinHeader_1.00mm:PinHeader_1x02_P1.00mm_VerticalJ10
1Batt 7 ConnConnector_PinHeader_1.00mm:PinHeader_1x02_P1.00mm_VerticalJ11
1Batt 8 ConnConnector_PinHeader_1.00mm:PinHeader_1x02_P1.00mm_VerticalJ12
1Conn_01x06_PinConnector_PinHeader_1.00mm:PinHeader_2x03_P1.00mm_VerticalJ13
1LED_KGRBLED_THT:LED_D5.0mm-4_RGBD2
1LM393Package_DIP:DIP-8_W7.62mmU17
1LMC555xNPackage_DIP:DIP-8_W7.62mmU18
1MP1584 ModuleCharging module:SRT_MPT1584EN_ModuleU4
1Moment ON BConnector_PinHeader_1.00mm:PinHeader_1x02_P1.00mm_VerticalJ17
1ZVP2106APackage_TO_SOT_THT:TO-92_InlineQ16

More from Wierdwizard2587/ElectricGuitarMK1

9
  • 2 layers226.6 × 64 mmBMS MK2 attempt 1-using Tp4506, the printed circuit board in 3D

    BMS MK2 attempt 1-using Tp4506

    Wierdwizard2587/ElectricGuitarMK1

    This is the repository for the Research and Development, Production, and assembly of the Electric Guitar MK1.

    42 parts1
  • 2 layers67.7 × 52.1 mmProCo Rat, the printed circuit board in 3D

    ProCo Rat

    Wierdwizard2587/ElectricGuitarMK1

    This is the repository for the Research and Development, Production, and assembly of the Electric Guitar MK1.

    42 parts1
  • 2 layers165.7 × 94.8 mmBMS MK2, the printed circuit board in 3D

    BMS MK2

    Wierdwizard2587/ElectricGuitarMK1

    This is the repository for the Research and Development, Production, and assembly of the Electric Guitar MK1.

    40 parts1
  • 2 layers85 × 45 mmAFPI Device V1.1, the printed circuit board in 3D

    AFPI Device V1.1

    Wierdwizard2587/ElectricGuitarMK1

    This is the repository for the Research and Development, Production, and assembly of the Electric Guitar MK1.

    32 parts1
  • 2 layers94.5 × 58.4 mmBms test circuit, the printed circuit board in 3D

    Bms test circuit

    Wierdwizard2587/ElectricGuitarMK1

    This is the repository for the Research and Development, Production, and assembly of the Electric Guitar MK1.

    31 parts1
  • 2 layers97.2 × 48.7 mmAFPI Device V1.0, the printed circuit board in 3D

    AFPI Device V1.0

    Wierdwizard2587/ElectricGuitarMK1

    This is the repository for the Research and Development, Production, and assembly of the Electric Guitar MK1.

    28 parts1
  • 2 layers84 × 14.9 mmRGB LED Mounting Board, the printed circuit board in 3D

    RGB LED Mounting Board

    Wierdwizard2587/ElectricGuitarMK1

    This is the repository for the Research and Development, Production, and assembly of the Electric Guitar MK1.

    18 parts1
  • 2 layers31 × 37 mmBig muff portion, the printed circuit board in 3D

    Big muff portion

    Wierdwizard2587/ElectricGuitarMK1

    This is the repository for the Research and Development, Production, and assembly of the Electric Guitar MK1.

    11 parts1
  • 2 layers47 × 25.4 mmCnc mill pcb tester, the printed circuit board in 3D

    Cnc mill pcb tester

    Wierdwizard2587/ElectricGuitarMK1

    This is the repository for the Research and Development, Production, and assembly of the Electric Guitar MK1.

    7 parts1

Similar boards

  • 2 layers78 × 124 mmDriver2, the printed circuit board in 3D

    Driver2

    ieb/UltrasonicAntifouling

    Code and PCB to for Ultrasonic Antifouling units designed to be installed on the hull

    47 parts
  • 2 layers95 × 66 mmESP8266 Alarm, the printed circuit board in 3D

    ESP8266 Alarm

    rifky-af/pcb-design

    22 partsMIT
  • 2 layers114 × 96 mmARIII, the printed circuit board in 3D

    ARIII

    na103/ar3

    Amiga Action Replay III remake

    34 parts64
  • 2 layers114 × 104 mmBBARIII, the printed circuit board in 3D

    BBARIII

    na103/bbar3

    Big Box Amiga Action Replay III remake

    48 parts12
  • 2 layers61 × 31 mmLatch mosfet boite lettres, the printed circuit board in 3D

    Latch mosfet boite lettres

    Phil-dav/mailbox-lora-tracker

    Weight-sensing mailbox notifier: Heltec ESP32 + LoRa + HX711 load cells

    17 parts2MIT
  • 4 layers129.5 × 55 mmAmiga500 Actionreplay 5, the printed circuit board in 3D

    Amiga500 Actionreplay 5

    Gnome78/MKV_4_DENISE_ITX

    Action Replay MK3 For DeniseITX (Based Of Demon Card Project for Amiga)

    47 parts1
  • 2 layers56 × 84 mmOpenLaserMouseTHT, the printed circuit board in 3D

    OpenLaserMouseTHT

    chris-jh/OpenLaserMouse

    Quadrature Optical Mouse Replacement Using an Arduino for the Amiga Tank Mouse

    24 parts61LGPL-3.0
  • 2 layers111.8 × 50.8 mmWallClockGen, the printed circuit board in 3D

    WallClockGen

    martinbros/Quantifying-the-Current

    Art piece demonstrating the power grid

    38 parts2GPL-3.0

Questions

How big is the BMS PCB?

It measures 179 × 88.4 mm and has 2 copper layers, 1.6 mm thick.

What parts does the BMS use?

64 parts, built around the LM339, 74HC02, 78L05 and LM393. 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 BMS KiCad files?

From the Wierdwizard2587/ElectricGuitarMK1 repository on GitHub, at the commit this page was made from: the board is Research and Development/BMS/PCB Design/1.0 BMS/BMS.kicad_pcb and its schematic Research and Development/Audio Out/15 speaker pcb circuit/15watt amp circuit.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the BMS design in my own project?

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