BSMP-PCB Blackstomp PCB Manual


Table of Contents

  • I. Schematic Diagram
  • II. Bill of Materials
  • III. PCB Layout
  • IV. Port Connector Layout
  • V. Manual SMD Component Soldering
  • VI. Onboard Potentiometer and Toggle Switch Mounting
    • VI.1 Potentiometer Mounting
    • VI.2 Toggle Switch Mounting
    • VI.3 Reducing Enclosure Mounting Stress
  • VII. Development-Mode Wiring
    • VII.1. Wiring Diagram
    • VII.2. Bill of (Offboard) Materials
  • VIII. Firmware Programming Through Onboard UART Connector
  • IX. Universal Drill Templates

I. Schematic Diagram

Figure 1. Blackstomp’s Hardware Circuit Schematic Diagram

II. Bill of Materials

1100kR2, R42R0603
210kR1, R5, R63R0603
3330R7, R132R0603
41kR8, R11, R12, R3, R105R0603
647R15, R162R0603
710uF/16V TANTC15, C132CAP-SMD_L3.2-W1.6-R-RD
84.7uF/16V ELCAPC14, C1, C6, C7, C2, C36CAP-ELCAP D4MM
9100nF MLCCC11, C42C0603
14SMD Tactile SwitchKEY1, KEY22KEY-3.0*4.0
16Male Header 1×2H7-H17111×2 P2.54MM
17Male Header 2×3J112×3 P2.54MM
18Male Header 1×8H2011×8 P2.54MM
19Male Header 1×4X1,X221×4 P2.54MM
20Male Header 1×3H1, H2, H3, H44, H5, H6, H18, H1981×3 P2.54MM

III. PCB Layout

Figure 2. Component Layout on Top layer PCB
Figure 3. Control Port Layout on The Bottom Layer of The PCB

IV. Port Connector Layout

Figure 4. Port Connector Layout

V. Manual SMD Components Soldering

Although BSMP PCB is designed for SMD parts, it is designed with moderate component density so that manual soldering can be easily done.

  • Solder the shortest components first then the taller components.
  • When soldering the electrolytic capacitors, do with the following order: C6, C14, C1, C3, C7, and C2. Without the proper ordering, the pads might become inaccessible for soldering.
  • Using a multimeter or a continuity tester, make sure the adjacent pads of the ESP32-A1S module doesn’t short after get soldered.
  • The hole in the back of ESP32-A1S module need not to be soldered, but you can fill it with thermal-conductive paste and cover it with an insulation tape if you think it could get overheats (not a must).

VI. Onboard Potentiometer and Toggle Switch Mounting

Based on the standard schematic diagram of Blackstomp’s circuit, potentiometer, switch or any other component connected to the control ports is considered as offboard parts. With BSMP PCB, onboard component pads are provided for potentiometers and SPDT toggle switches on H1, H3, H4, H5, and or H6 ports. The PCB-mounted parts could be then securely mounted to the enclosure, holding the board securely inside.

VI.1. Potentiometer Mounting

A right-angle PCB mount potentiometers can be mounted to any of control port pads (H1, H3, H4, H5, and H6) on the bottom side of the PCB, as shown in the Figure 5.

Figure 5. Potentiometer Mounting

The standard mounting is shown in the Figure 5.A, where the turning direction is clockwise (from minimum to maximum control value). By rotating all of the potentiometers, we can get the inverted mounting like shown in the Figure 5.B. With this configuration, we have to set the inverted flag to “true” in the software to get the normal clockwise direction (from minimum to maximum).

VI.2. Toggle Switch Mounting

Any control port mounting pads can be installed with SPDT toggle switches, like shown in the Figure 6.

Figure 6. Mounting Toggle Switches on H1, H3, H4, H5, H6
  • There are two types of SPDT toggle switches: ON-ON and ON-OFF-ON. The first one provides a 2-position control, and the second provides 3-position control.
  • If the type is ON-OFF-ON switch (3-position), then we have to install two small resistors (2x 10k 0.25W) that connect each of the outer leads to the center lead of the switch.
  • Use the small rounded pads (next to the bigger square pad) to connect the resistors. For example, if H1 is used for an ON-OFF-ON switch, then install a 10k resistor across H1.2-H1.1 and a 10k resistor across H1.2-H1.3.

Please note that you can mix toggle switches and potentiometers on one board (see Figure 7 for example) since each control ports has independent configuration in the software. In addition to rotating the potentiometer on the board, you can also find many knob layout configurations by rotating the board itself inside the enclosure.

Figure 7. Mixed Mounting of Toggle Switches and Potentiometers

VI.3. Reducing Enclosure Mounting Stress

When the PCB-mounted potentiometers and switches are secured to the enclosure, it might bend the PCB and introduces some mechanical stress on the soldered SMD components. This stress might cause a microfracture on some components, tracks, or solder joints. The could produce a circuit failure which can be hard to troubleshoot. To reduce the risk of this mounting stress, you can follow the following steps when soldering and mounting the potentiometer and switches:

  • Make sure all of the onboard components is fully assembled, including the header connectors.
  • Install all the potentiometer and switches to the enclosure, all with loosely installed nut and washer.
  • Mount the board to the enclosure-mounted potentiometers and switches by matching all the leads to their respective holes of the soldering pads.
  • Align the board in respect to potentiometers, switches, and the enclosures
  • Tighten the nuts of all potentiometers and switches while keeping the board aligned without any stress.
  • Solder all the leads of the potentiometers and switches.
  • Now you can uninstall or reinstall the board by unmounting or mounting the potentiometers and switches to the enclosure with minimal mechanical stress on the board.

VII. Development-Mode Pedal Wiring

VII.1. Wiring Diagram

The recommended wiring diagram for development-mode is shown in the Figure 8. The wiring is the same with the Blackstomp’s recommended development-mode pedal wiring.

Figure 8. Development Mode Wiring

VII.2. Bill of (Offboard) Materials

NUMPART NAMEQTY.Connection ReferenceConnection Description
1DC socket for 9V DC input.1H7.1DC input
2SPST (normally open, momentary) foot switch2H13.2, X2.4Main and aux button
3Red LED3R(1K), H16.2, H17.2,Power, main, and aux LED indicators.
41K Resistor2VD33, H2.2Power LED and control port current limiter
5330R Resistor1VD33/H6.3EXP.P/CV 3.3V source current limitter
6SPDT ON-ON toggle switch2H14, H7.2PROG/RUN switch and ON/OFF switch
7DPDT ON-OFF-ON toggle switch1J1UART/MIDI switcher.
8TS socket 6.3 mm4H9, H10, H11, H12L/R inputs and outputs
9TRS socket 6.3 mm1R(1K), R(330), POTEXP.P/CV IN.
10TRS socket 3.5 mm7H8, H18, H19, J1, X1, VD33, X2MIC, MIDI, UART, I2C, DC OUT, ENC. IN
11Potentiometer B10K6H1, H2, H3, H4, H5, H6Control Knobs

Please note that the potentiometers, although it can be PCB-mounted on BSMP-PCB, are considered as offboard parts because the standard Blackstomp circuit doesn’t specify potentiometer as the connected control part. Other important thing to note is that we still need many wires with female Dupont connector to connect the offboard parts to the onboard header connectors.

VIII. Firmware Programming Through Onboard UART Connector

WARNING!!! Uploading a new firmware using UART port might damage the ESP32-A1S module if its secure boot and encryption protection bits are already programmed by the previous firmware programming. Make sure the assembled ESP32-A1S module has unprogrammed security bits!

When the board is assembled with an unprotected or a blank ESP32-A1S module, it can be programmed using UART jumper header J1 before putting it into the pedal enclosure. This is useful for production, not for development-mode pedal, since (ideally) the final product shouldn’t be equipped with the UART/Serial TTL programming port. With all the on-board parts have been assembled, we can now program the firmware through the UART port:

  1. Run your ESP32 flash uploader/programmer application (the Arduino IDE or ESP-IDF tools) on your PC/laptop, and connect the application to USB-to-TTL cable/converter.
  2. Power the board by connecting a 9V DC power supply to the H7 header connector, make sure the onboard power indicator (LED3) works.
  3. Connect the J1.1 (GND), J1.3(RX), and J1.5(TX) to the USB-to-TTL cable at GND, TX, and RX
  4. Insert a jumper to boot header H14 to ground the IO0 port of the ESP32-A1S module.
  5. Press the onboard reset button KEY1, now the board will wait for firmware data transfer on the UART.
  6. Execute the upload menu in the flash uploader/programmer application in your PC/laptop. Wait until it done.
  7. To start running the uploaded firmware, pull out the jumper form boot header H14 and press the onboard reset button KEY1.
  8. To reprogram or reupload a new firmware, go to step 4.

IX. Universal Drill Templates

Because BSMP PCB is not designed for just one effect type, a universal drill template shown in the Figure 9 can be used to make various knob and switch configuration.

  • The hole’s diameter is 7 mm for potentiometers and 6 mm for toggle switch.
  • The holes P1, P3, P4, P5, and P6 are the holes for installing potentiometers mounted on H1, H3, H4, H5, and H6.
  • The holes IP1, IP3, IP4, IP5, and IP6 are the holes for installing inverted (rotated) potentiometers mounted on H1, H3, H4, H5, and H6.
  • The holes S1, S3, S4, S5, and S6 are the holes for installing toggle switches mounted on H1, H3, H4, H5, and H6.
  • Make sure the size of board outline is 58.42 mm x 54.61 mm on the actual printed template.
Figure 9. Universal Drill Template

Leave a Reply

Your email address will not be published. Required fields are marked *

nine × = 63