Skip to the content
4 layers143 × 44.8 mmBrain, the printed circuit board in 3D

Kontrol S1 project

Size
143 × 44.8 mm
Copper layers
4
Thickness
1.6 mm
Parts
49
Nets
84
Pads
210
Tracks, vias
12, 0
Pours
2
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
24 Jan 2020
Updated
9 Jul 2023

Overview

Brain is an open-source printed circuit board by willwillems, from the willwillems/KontrolS1 repository on GitHub. It is a 4-layer board of 143 × 44.8 mm with 49 parts on 84 nets, routed with 12 tracks and 0 vias.

It is built around the PCM5102PW. Its parts include 18 capacitors, 13 resistors, 9 connectors and 3 ICs. It belongs with the NXP (LPC, Kinetis, i.MX RT) boards of this library.

Main components

1

README

README.md

S1 Project

The following info is all about the S4 MK1, the MK2 has a different (non-panelized) PCB design and thus doesn't allow for reusing the original PCB's without serious modifications. The MK3 also has a single PCB for the mixer and deck sections.

Setup

  • Use the Kontrol_S1_LC_OLED sketch
  • Either #include "unit_d.h" or #include "unit_c.h" based on the unit
  • Uncomment #define SCREEN if using the OLED module
  • Edit the MIDI_NAME in the name.c file to the desired name (these cannot conflict with other S1 units you're using)
  • Flash the firmware

Led off states

All leds are controlled by a transistor activated by the 595 chip. However not all are connected the same way, sending 6 all-off byte packages (0b00000000) will turn some of the LED's on, these specific bits to be set to HIGH instead of LOW in order to be turned off.

text
// LED OFF STATES from least significant bit (so notation is in reverse)
// -- BYTE [0]: 0b01010101 --
// CUE1 green - CUE1 blue - CUE2 green - CUE2 blue - CUE3 green - CUE3 blue - CUE4 green - CUE4 blue 
// -- BYTE [1]: 0b00000000 --
// Sample 1 - Sample 2 - Sample 3 - Sample 4 - SYNC - CUE - PLAY - SHIFT
// -- BYTE [2]: 0b11000000 --
// ON AIR - SAMPLES - DECK A/B - DECK C/D - KEYLOCK - MASTER - TEMPO OFFSET UP - TEMPO OFFSET DOWN
// -- BYTE [3]: 0b00000000 --
// LOOP IN - LOOP OUT - TOGGLE DECK C/D - LOAD - NONE - NONE - NONE -NONE
// -- BYTE [4]: 0b11111111 -- LEFT DIGIT
// UP-MIDDLE - UP-RIGHT - DOT - UP-LEFT - DOWN-LEFT - DOWN-MIDDLE - MIDDLE-MIDDLE - DOWN-RIGHT
// -- BYTE [5]: 0b11111111 -- RIGHT DIGIT
// DM - DL - UL - UM - UR - DR - MM - DOT

Button off states

The first four bits of the last packet are connected to GND trough some 330 R resistors.

text
// BUTTON OFF STATES
// -- BYTE [0]: 0B00000000 --
// PLAY - CP4 - CUE - CP3 - SYNC - CP2 - SHIFT - CP1
// -- BYTE [1]: 0B00000000 --
// S4 - LOAD - S3 - LOOP OUT - S2 - LOOP IN - DECK C/D
// -- BYTE [2]: 0B00001100 --
// X - X - X - X - ENC-R BUT - ENC-L BUT - OFFSET DOWN - OFFSET UP

Pinout

This is the pinout for the DECK A board the DECK B connector is almost identical (but mirrored). The two exceptions are pin 2 and 13, I have no idea what pin 2 is pin 2 is the 165's DS on the DECK B unit. Click here for the DECK B section.

WARNING: Pinout changed, check below.

pinout

text
// 595’s output enable is connected to GND.
// 165’s CE (chip enable) is connected to GND.
// (13, 14, 15), (16, 17) and (18, 19) are connected together.

1. Q7 (serial out 165)
2. GND (DS from 165's on DECK B)
3. PL (latch pin 165)
4. CP (clock input 165)
5. ENC4-R (330 R)
6. ENC5-L (330 R)
7. ENC4-R (330 R)
8. ENC5-L (330 R)
9. Q7S (serial out 595) (for DECK B this is the serial out of the 4 upper 595's)
10. DS (serial in 595) (for DECK B this is the serial in of the 2 lower 595's)

11. ST_CP (latch pin 595)
12. SH_CP (clock input 595)
13. GND (For DECK B this is the serial in for the 4 upper 595's)
14. GND
15. GND
16. LED V1 (5v but can just be 3.v)
17. LED V1 (5v but can just be 3.v)
18. LED V2 (3.3v)
19. LED V2 (3.3v)

Chip connections

74HC595

There are 6 595 chips chained together (the serial out(Q7S) for the last 595 is exposed as pin 9 on the connector).

  • ST_CP and SH_CP of every chip are connected to connector pin 11 and 12.
  • MR is connected to VCC on every chip.
  • Output enable (OE) is connected to GND on every chip.

74HC165

There are 3 165 chips chained together.

  • Clock enable(CE) is connect to GND on every chip.
  • PL and CP of every chip are connected to connector pin 3 and 4.

Jog wheels

The rotation of the jogs is measured by two photo-interrupters (KTIR0611S). The "push down" of the jog is measured by a photo sensor that gets blocked when you push the platter down on it.

Connections

The 6 pin JST connector is connected to the circuit with the two photo-interrupters. There is also a connection to a third photo-interrupter but they did not end up mounting and integrating this third one into the final product.

text
1. VCC (3.3v)
2. VCC (3.3v) (this "enables" the optical readings?) 
3. GND
4. ENC R
5. ENC L
6. ENC M (not connected or mounted)

The 3 color push cable coming out of the jog:

text
BLUE. GND
RED. VCC (3.3V)
WHITE. SIGNAL (analog read: 800~900 off, 1023 on)
-. DUMMY (unused pin on 4-pin JST connector) 

Warning

The jog press is not yet working so the info about it is possibly wrong. The MK1 does seem to use a IR proximity sensor (probably the HSDL-9100-024 but so far no reliable readings have been produced. The MK2 uses an Ambient Light Sensor with an I2C Interface called the VNCL4000. The current MK1 problems might just be calibration issues but could also be something more serious.

Observations

  • VCC should be 3.3v, not 5v. The 595 works with 5v and you will not fry the LED's but the 165 will not work and you might damage it.
  • You can easily run the 165 and 595 chips with hardware SPI.
  • The left and right circuit board are not identical at all though the connectors appear to be.

Custom FX PCB

The custom FX PCB has the same layout on both sides so only one version is required (it has both the L&R mounting holes). The custom FX PCB provides a 165 and 595 interface for the buttons and LED's respectively and a separate connector for the potentiometer signals.

Pinout

text
1. INH (165-15) [Clock enable]
2. SER (165-10) [Serial data input]
3. QH (595-9) [Serial data output]
4. LATCH 165 (165-1) [Parallel load input]
5. RCK (595-12) [storage register clock input]
6. QH (165-9) [Serial out]
7. SER (595-14)[Serial data input]
8. CLOCK
9. GND
10. VCC

11. VCC
12. GND
13. FX_3
14. FX_2
15. FX_1
16. FX_DW

Parts

These simplified BOM's are for the MK4 releases of the brain and pot boards.

Brain board

These are the parts needed to populate 1 brain board, to convert one S4 to two S1 units you'd need these parts x2.

PartAmountValue
Molex Picoblade (1.25mm) 10-pin3
Molex Picoblade (1.25mm) 8-pin1
Molex Picoblade (1.25mm) 6-pin3
Molex Picoblade (1.25mm) 4-pin2
M3 metal standoffs415mm
M3 metal screws86mm
USB-B socket1
Teensy LC1
Capacitor US 12061100nF
Resistor US 1206 (0805 compatible)11M

The 1M resistor might need a higher value.

Pot board

These are the parts needed to populate 1 brain board, to convert one S4 to two S1 units you'd need these parts x2. The standoffs needed are already included with the brain BOM.

PartAmountValue
Molex Picoblade (1.25mm) 10-pin1
Molex Picoblade (1.25mm) 6-pin1
Resistor US 0805582
Resistor US 0805810K
74HC595D1
74HC165D1
Capacitor US 12066100nF

The four capacitors for the potentiometers might need a lower value.

Custom OLED PCB

Contains adapter from 1.25mm JST to OLED, a step-up to 12V and some passive components the OLED driver needs.

Pinout

text
1. GND
2. CLOCK
3. GND
4. MOSI
5. SS-SCREEN
6. VCC
7. DC
8. RST

Screen

The screen uses https://github.com/ErikMinekus/traktor-api-client to get data from traktor + a local server to send it to the teensy over serial.

Parts

49
QtyValueFootprintReferences
51.2uFCapacitor_SMD:C_0603_1608MetricC18, C19, C20, C21, C22
5100nFCapacitor_SMD:C_0603_1608MetricC1, C3, C4, C6, C10
52.2KResistor_SMD:R_0603_1608MetricR13, R14, R15, R16, R17
422Resistor_SMD:R_0603_1608MetricR2, R3, R4, R5
4MountingHole_PadMountingHole:MountingHole_3.2mm_M3_ISO7380_PadH1, H2, H3, H4
3Conn_01x10Connector_Molex:Molex_PicoBlade_53048-1010_1x10_P1.25mm_HorizontalJ3, J4, J5
210uFCapacitor_SMD:C_0603_1608MetricC2, C11
22.2nFCapacitor_SMD:C_0603_1608MetricC9, C12
22.2uFCapacitor_SMD:C_0603_1608MetricC7, C8
2470Resistor_SMD:R_0603_1608MetricR7, R8
2C_SmallCapacitor_SMD:C_0603_1608MetricC13, C14
2Conn_01x04Connector_Molex:Molex_PicoBlade_53048-0410_1x04_P1.25mm_HorizontalJ7, J8
2Conn_01x06Connector_Molex:Molex_PicoBlade_53048-0610_1x06_P1.25mm_HorizontalJ6, J9
2Jumper_2_BridgedResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderJP1, JP2
10Resistor_SMD:R_0603_1608MetricR6
110RResistor_SMD:R_0603_1608MetricR1
1Conn_Coaxial_x2_IsolatedAudio:RCA_doubleJ2
1LD1117S33TR_SOT223Package_TO_SOT_SMD:SOT-223-3_TabPin2U2
1PCM5102Package_SO:TSSOP-20_4.4x6.5mm_P0.65mmU3
1Teensy4.0Teensy:Teensy40_SMTU1
1USB_BConnector_USB:USB_B_Lumberg_2411_02_HorizontalJ1

More from willwillems/KontrolS1

2
  • 2 layers143 × 51.8 mmKontrol S4 MK5, the printed circuit board in 3D

    Kontrol S4 MK5

    willwillems/KontrolS1

    Kontrol S1 project

    36 parts8
  • 2 layers30 × 13.7 mmOLED adapter, the printed circuit board in 3D

    OLED adapter

    willwillems/KontrolS1

    Kontrol S1 project

    15 parts8

Similar boards

  • 2 layers53.5 × 101.8 mmSony scopeman, the printed circuit board in 3D

    Sony scopeman

    lucysrausch/sony-scopeman

    Hardware Design files of a replacement mainboard for the Sony Watchman FD-10. This turns it into a bluetooth and WiFi-enabled vector display.

    135 parts69
  • 2 layersT41-Main+RF board V012, the printed circuit board in 3D

    T41-Main+RF board V012

    DRWJSCHMIDT/T41

    This is the repository for the officially released V10, V11, and V12 versions of the T41 Software Defined Transceiver hardware and kits.

    255 parts66
  • 4 layers55 × 97 mmMelodio SelfMate V2, the printed circuit board in 3D

    Melodio SelfMate V2

    zeeblaze/Melodio-SelfMate

    Your Ultimate Portable Music Companion For Home Automation.

    121 parts53
  • 2 layers80 × 65 mmSquishbox8, the printed circuit board in 3D

    Squishbox8

    GeekFunkLabs/squishbox

    Software and design files for a Raspberry Pi sound module enclosure

    35 parts51MIT
  • 2 layers150.5 × 127 mmEurorack engine, the printed circuit board in 3D

    Eurorack engine

    sinneb/esp32-hvcc

    Heavy compiler (hvcc) sources running on ESP32-DevKitC powered eurorack module

    81 parts29
  • 2 layers130.8 × 81.5 mmMinidexed, the printed circuit board in 3D

    Minidexed

    handeyeco/minidexed-pcb

    PCB for MiniDexed

    53 parts23
  • 2 layers39.9 × 54.6 mmSimplecodec3, the printed circuit board in 3D

    Simplecodec3

    cyberomusubi/simplecodec3

    Audio input/output board for Raspberry Pi, Jetson Nano (PCM5102A+PCM1808)

    44 parts19
  • 2 layers99.1 × 72.9 mmTone ale, the printed circuit board in 3D

    Tone ale

    lxschwalb/tone_ale

    rp2040 based guitar pedal

    57 parts19

Questions

How big is the Brain PCB?

It measures 143 × 44.8 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Brain use?

49 parts, built around the PCM5102PW. 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 Brain KiCad files?

From the willwillems/KontrolS1 repository on GitHub, at the commit this page was made from: the board is KiCAD/Brain C MK5/brain.kicad_pcb and its schematic KiCAD/Brain C MK5/brain.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Brain design in my own project?

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