Skip to the content
2 layers30 × 13.7 mmOLED adapter, the printed circuit board in 3D

Kontrol S1 project

Size
30 × 13.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
15
Nets
16
Pads
53
Tracks, vias
129, 18
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
24 Jan 2020
Updated
9 Jul 2023

Overview

OLED adapter is an open-source printed circuit board by willwillems, from the willwillems/KontrolS1 repository on GitHub. It is a 2-layer board of 30 × 13.7 mm with 15 parts on 16 nets, routed with 129 tracks and 18 vias.

It is built around the TPS61041DBV and SS14. Its parts include 6 capacitors, 4 resistors, 2 connectors, 1 IC and 1 diode. It belongs with the lEDs and displays and interfaces and adapters boards of this library.

Main components

2

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

15
QtyValueFootprintReferences
44.7uCapacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolderC1, C3, C4, C5
110kResistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR4
11uCapacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolderC2
1220kResistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR3
122pCapacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolderC6
122uInductor_SMD:L_0805_2012Metric_Pad1.15x1.40mm_HandSolderL1
12MResistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR2
1620KResistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR1
1Conn_01x08_FemaleConnector_Hirose:Hirose_DF13-08P-1.25DS_1x08_P1.25mm_HorizontalJ1
1Conn_01x14_FemaleConnector_FFC-FPC:TE_1-1734839-4_1x14-1MP_P0.5mm_HorizontalJ2
1SS14Diode_SMD:D_SMA_HandsolderingD1
1TPS61041DBVPackage_TO_SOT_SMD:SOT-23-5_HandSolderingU1

More from willwillems/KontrolS1

2
  • 4 layers143 × 44.8 mmBrain, the printed circuit board in 3D

    Brain

    willwillems/KontrolS1

    Kontrol S1 project

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

    Kontrol S4 MK5

    willwillems/KontrolS1

    Kontrol S1 project

    36 parts8

Similar boards

  • 2 layers51 × 71 mmOTThing, the printed circuit board in 3D

    OTThing

    Phunkafizer/OT-Thing

    A compact universal OpenTherm WiFi Interface

    111 parts28
  • 2 layers44.9 × 47.2 mmIsc0901b0-breakout, the printed circuit board in 3D

    Isc0901b0-breakout

    festlv/isc0901b0-breakout

    Simple breakout board for ISC0901B0 sensor

    60 parts15MIT
  • 2 layers80 × 50 mmEink clock, the printed circuit board in 3D

    Eink clock

    kaini/eink-clock

    Source code and schematics for a clock using the ED060SC4 E-Ink display

    81 parts11MIT
  • 6 layers44 × 118 mm3210retro test, the printed circuit board in 3D

    3210retro test

    DasBasti/NokiaRetroFit

    Retrofitting a Nokia 3210 with modern Processor

    195 parts9Apache-2.0
  • 2 layers67.4 × 54.3 mmWiFiMaster, the printed circuit board in 3D

    WiFiMaster

    Phunkafizer/AllSerial

    An universal sophisticated USB-serial converter

    63 parts6MIT
  • 4 layers28 × 28 mmAdapter, the printed circuit board in 3D

    Adapter

    benklop/screen-adapter

    This directory contains documentation and configuration files for supporting a 720x720 DSI display with FL7707N controller.

    9 parts4
  • 4 layers28 × 28 mmAdapter, the printed circuit board in 3D

    Adapter

    Calculinux/DSI-screen-adapter

    An adapter to use a 4 inch DSI display in the picocalc with the Luckfox Lyra

    8 parts2
  • 2 layers10.5 × 9 mmTPS61041 BOOST CONVERTER, the printed circuit board in 3D

    TPS61041 BOOST CONVERTER

    aks0521/Boost-Converter-

    A small step-up (boost) converter board built around the Texas Instruments TPS61041, designed from schematic to PCB layout in KiCad.

    8 parts

Questions

How big is the OLED adapter PCB?

It measures 30 × 13.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the OLED adapter use?

15 parts, built around the TPS61041DBV and SS14. 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 OLED adapter KiCad files?

From the willwillems/KontrolS1 repository on GitHub, at the commit this page was made from: the board is KiCAD/OLED adapter/OLED adapter.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 OLED adapter design in my own project?

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