w0ts / Jank

Build a jank mini 3

The jank mini 3 is a Waveshare ESP32-S3-LCD-2 (the ESP32-S3 with its 2 inch colour screen) on our board, in a printed box. Our board brings the MIDI outs (TRS + DIN each), the clock and reset outs, the line in, the USB port for gear and the D-pad. The LCD-2 sits in our board's notch; two small bridge strips join its pins to ours from below. Nothing is soldered between them: the LCD-2 stays removable. A 2000 mAh LiPo cell lies on the case floor.

Our board from above, rendered: the notch for the LCD-2 on the left, the D-pad switches, the USB-C pair at the top edge Our board rendered in 3D, from above at an angle: the notch, the D-pad switches, the sockets along the edges Our board from below, rendered: the two DIN sockets, the jacks and the two header rows J15 and J16 along the notch

The steps: buy the LCD-2 and the other parts, order our board and the strips from JLCPCB, print the case, put it together, install the firmware. The design files: hardware/jank-mini-3/ (its README, the schematic, the case's BOX.md).

What you need

WhatWhereNotes
Waveshare ESP32-S3-LCD-2 (sku 30306)WaveshareThe ESP32-S3 with the screen. It charges the cell.
Our boardJLCPCB (below)5 boards is the order the files are set up for. Two ways: fully assembled by JLCPCB, or JLCPCB fits the small parts and you solder the USB-C and through-hole parts.
2 bridge strips per deviceJLCPCB (below)Bare (plus 2 sockets each, from LCSC) or assembled.
One LiPo cell: EEMB LP103454, 2000 mAh, 1S, 34.5 x 56 x 10.6 mmIt must have its own protection circuit (PCM): nothing on the LCD-2 or on our board protects the cell. Its plug: JST PHR-02 (PH2.0).
An adapter lead for the cellmade by handA PH2.0 pigtail that mates with the cell's plug, soldered to an MX1.25 (Molex PicoBlade 51021 type) 2-pin pigtail for the LCD-2's battery connector. See Put it together.
Power switch: YIZHI KCD1-106S-B (LCSC C52125269)LCSCA round snap-in rocker, in the case's left wall, in the cell's red wire.
Brass heat-set inserts: 4 x M2 x 4.0 (OD ~3.6), 2 x M3 x 4.0 (OD ~4.6)Check the hole sizes (3.2 / 4.0 mm in the print) against the maker's sheet of the inserts you buy.
Screws: 4 x M2 x 5 pan head (ISO 7045), 2 x M3 x 6 countersunk (ISO 10642)M2: the board to the case. M3: the lid, sideways through the walls.
FilamentThe print projects use Bambu PLA Basic in black, pink and grey (two-colour labels and symbols).
Rubber or foam strip, ~2 mmRound the cell in its corner.
A short USB-C cableOnly for USB host mode (gear with a USB port), outside the box: see The firmware.

Order the board from JLCPCB

Two ways to have it made. The board is the same; the files differ in what JLCPCB solders.

JLCPCB solders everything: the small parts on top, the two USB-C sockets J1 / J4, and under the board the DIN sockets, the jacks and the header rows J15 / J16 (Standard assembly, both sides). No soldering on the board for you.

The files (folder fab/full/)

  • gerbers.zip: the board (upload it as it is).
  • bom.csv: the parts list (BOM).
  • cpl.csv: where each part goes (pick and place, CPL).

Step by step

  1. Open the quote page. On cart.jlcpcb.com/quote, press Add gerber file and pick this way's gerbers.zip (as it is, do not unzip it). JLCPCB's quote page: the Add gerber file button
  2. Check what JLCPCB found. Both sides of the board appear, and the line under them reads Detected 2 layer board of 82x95.5mm. JLCPCB after the upload: both sides of the board and the line Detected 2 layer board of 82x95.5mm
  3. Layers 2, quantity 5. JLCPCB fills in the layers and the size from the files. Leave Base Material at FR-4 and PCB Qty at 5. JLCPCB's form: Base Material FR-4, Layers 2, Dimensions 95.5 by 82, PCB Qty 5
  4. Thickness 1.6 mm, Surface Finish LeadFree HASL. JLCPCB picks OSP by default: change it. Leave the colour and the rest at the defaults. JLCPCB's form: PCB Thickness 1.6mm and Surface Finish LeadFree HASL selected
  5. Outer Copper Weight: 1 oz (the default; the board's tracks go down to 0.10 mm). JLCPCB's form: Outer Copper Weight 1 oz selected
  6. Confirm Production file: Yes. JLCPCB then shows you what its CAM did to J1 / J4's rings and where its tooling holes go, before it makes the boards. It asks you to confirm within 48 hours: press Confirm, and leave Do not confirm automatically unticked. JLCPCB's form: Confirm Production file Yes selected JLCPCB's Confirm Production file dialog: confirm within 48 hours, the Confirm button
  7. PCB Remark. Open Advanced Options, press the pencil next to PCB Remark and paste:
    J1 / J4 GCT USB4085: 0.40 mm holes in 0.65 mm pads and 0.44-0.45 mm hole spacing as in the maker's recommended layout; please do not enlarge the pads or reduce the holes; breakout acceptable
    JLCPCB's PCB Remark box with the text about J1 and J4's holes and pads
  8. Switch on PCB Assembly. Then:
    • tick Assemble bottom side too (the DINs, the jacks and J15 / J16 are underneath),
    • PCBA Type: Standard (Economic cannot assemble both sides),
    • Assembly Side: Both Sides,
    • PCBA Qty 5, Edge Rails at Added by JLCPCB.
    JLCPCB then says the board grows to 95.5 x 92 mm: it adds two 5 mm edge rails, which come off the boards after (the form offers JLCPCB's depaneling service for that). JLCPCB's PCB Assembly section: both sides ticked, PCBA Type Standard, Assembly Side Both Sides, PCBA Qty 5, and the note that the board grows to 95.5 by 92 mm with edge rails
  9. Press NEXT and sign in. The steps after this one need a JLCPCB account. (On this panel the assembly lines stay empty: the parts are priced once the BOM is in.) JLCPCB's price panel with the NEXT button
  10. Upload the BOM and the CPL. bom.csv as the BOM, cpl.csv as the pick and place file, then Process BOM & CPL.
    Photo to come: JLCPCB's BOM and CPL upload (fully assembled)
  11. Check the parts. Every line of the BOM should find its part.
    Photo to come: JLCPCB's parts list, every part found (fully assembled)
  12. Check the placement of every part. J1 / J4's position and rotation, and the rotation of every part under the board: those come from KiCad as they are.
    Photo to come: JLCPCB's placement preview, the bottom side with the DINs, jacks and J15 / J16
  13. Save to cart and order. Pay, and JLCPCB makes, assembles and ships the boards.

Order the bridge strips

Each device takes two strips, the same strip twice (turned 180 degrees it serves the other row). A strip is a 37.06 x 10 mm board with two 1 x 14 sockets: one takes the LCD-2's pins, the other our J15 / J16. A separate JLCPCB order, 10 strips for 5 devices, 1.6 mm thick. Two ways again:

  1. Upload the strip's gerbers.zip on the quote page. JLCPCB reads Detected 2 layer board of 10x37.06mm. JLCPCB after the strip's upload: both sides of the strip with its two rows of 14 holes, Detected 2 layer board of 10x37.06mm
  2. PCB Qty 10, thickness 1.6 mm. (The files name no surface finish for the strip; these screenshots use LeadFree HASL, like the board.) JLCPCB's form for the strip: Layers 2, Dimensions 37.06 by 10, PCB Qty 10
  3. Assembled strips only: switch on PCB Assembly, Economic, Top Side, PCBA Qty 10; then NEXT, sign in, upload the strip's bom.csv and cpl.csv. Bare strips: no assembly, press SAVE TO CART. JLCPCB's PCB Assembly section for the strip: PCBA Type Economic, Top Side, PCBA Qty 10
Photo to come: a bridge strip with its two sockets

Print the case

Three parts: the top part (the face and the walls down to the joint), the bottom part (the floor and the walls up to it) and the D-pad cap. Four screws from underneath hold the bottom part, our board and the top part together. The face's labels and the cap's symbols are inlaid in a second colour (a multi-material printer).

The closed case, rendered, seen from the front left: the screen window, the D-pad cap, the sockets in the walls The case taken apart, rendered: the top part with the cap above it, our board, the bottom part with the strips, the cell and the power switch

Bambu Studio projects (ready to slice)

Both: Bambu PLA Basic (filament 1 black, 2 pink, 3 grey), Textured PEI plate. PLA softens from about 55 °C: keep the device out of a hot car and out of the sun.

Or STLs, for any slicer

Export them from the source, box2.scad (OpenSCAD): openscad -D 'part="top_part"' -o top.stl box2.scad, and the same with bottom_part, cap, shell_labels (the face's labels) and cap_symbols. They come out the way the parts sit in the device: print the top part face down, the bottom part outside down, the cap top down, and load each part with its inlays as one multi-part object so they stay aligned.

The case's face from above, rendered: the screen window, the D-pad, the inlaid labels MIDI, ESP, DEVICE, CLK, RST and LINE IN with their triangles The D-pad cap from above, rendered: the up and down triangles, the X on the left arm and the tick on the right arm
Photo to come: the printed top part, bottom part and cap

Put it together

  1. Before the first power-up: check U19 (CJ431) against LCSC's picture of its pin order (1 REF, 2 K, 3 A), and power the board the first time from a current-limited supply.
  2. The strips (bare ones): solder the two sockets into each strip.
  3. The cell's lead. Solder the PH2.0 pigtail (for the cell's plug) to the MX1.25 2-pin pigtail, red to red, and heat-shrink the joints; the power switch goes in the red wire: cell, switch, MX1.25. MX1.25 pigtail colours vary: meter which pin is + and check it lands on the LCD-2's pin 1 (VBAT) before the first plug-in. Leave the wires long enough to reach from the cell to the switch in the bottom wall and to the LCD-2, with some slack.
    Photo to come: the adapter lead with the power switch in its red wire
  4. The inserts. 4 x M2 heat-set inserts (M2 x 4) pressed from below into the bosses under the top part's face.
    Photo to come: the inserts in the top part's bosses
  5. The LCD-2 on the board. Plug the strips onto the LCD-2's pins and onto J15 / J16 (J15 takes the LCD-2's row P1, J16 the row P2, pin 14 at the USB end). The LCD-2 sits in the notch, its board level with ours.
    Photo to come: the LCD-2 on our board with the two strips
  6. The cap, then the board, into the top part. The D-pad cap goes into its cross-shaped opening from inside (its flange stays under the face). Then the board, with the LCD-2 and the strips on it, goes into the top part from below, its four holes over the four bosses.
    Photo to come: the board in the top part, seen from below
  7. The cell goes into the bottom part, in its corner: against its own wall and the bottom wall, the L at its top-left corner, with 2 mm of rubber or foam on its held sides. Route its lead to the power switch's place in the bottom wall and to the LCD-2's battery connector. The bottom part with the parts under the board, rendered: the strips in their rails, the cell in its corner behind its own wall, the screw tubes The bottom part from above, rendered from box2.scad: the two strips (teal), the cell (blue), the power switch in the bottom wall (black), the parts under our board (grey) and the four screw tubes (dots)
    Photo to come: the cell in its corner and the lead routed to the switch and the LCD-2
  8. Close it. Put the bottom part on: its inner lip rises inside the top part's outer skirt, which aligns them. Then four M2 x 6 screws from under the box, up the four screw tubes (a PH1 screwdriver fits): each head sits on its tube's shoulder, and the screw goes through our board into the face boss's insert.
  9. The power switch snaps into the round hole in the bottom wall, last.
    Photo to come: the finished jank mini 3

The firmware

On the Install page, flash from the browser: one firmware for both devices, it finds out at the start which one it runs on. Then run and watch it on the Device page.

USB: the LCD-2's own USB-C (left wall, labelled ESP) is for a computer or a charger. For gear with a USB port (host mode), a short USB-C cable outside the box joins the LCD-2's USB-C to J1 (top wall, ESP), and the gear goes into J4 (DEVICE). J4 gives that gear no power: bus-powered gear needs its own power or a powered hub.