Skip to main content
Android mainboards · Touch displays · Firmware — since 2013

KTM-S68B

Compact RK3566 development board for embedded signage. USB-C power and data (USB 3.0 / 2.0 / OTG), single-line LVDS with MIPI and EDP headers, HDMI input, Wi-Fi 6 + BT 5.0 on a 151 × 75 mm board.

This page is the hardware reference

Flashing, the firmware API and the guides apply to every board. This page covers what is specific to the KTM-S68B: its connectors, pin assignments and electrical limits.

Connector map​

RK3566Cortex-A55151 × 75 mmSPKMIC1-2MIPILVDSSensorRS232-GPIOUSB-C3.0USB-C2.0USB-C OTGUSB-C DC-INDC-INEDP-BLeDPUSB1-4RTCLVDS-BLGPIO-KEYRS232-1RS232-2IR

Swipe sideways to see the whole board. Tap a connector to jump to its pin definition. Positions are schematic, not to scale.

Specification​

OSAndroid 14.0
CPURockchip RK3566, quad-core Cortex-A55 up to 2.0 GHz
GPUMali-G52 2EE — OpenGL ES 1.1/2.0/3.2, OpenCL 2.0, Vulkan 1.1
DDRLPDDR4 / LPDDR3, 2 GB / 4 GB
FlasheMMC 5.0, 8 GB / 16 GB / 32 GB
Wi-Fi / BT802.11 a/b/g/n/ac/ax + BT 5.0, 2×2 MIMO, dual 2.4 / 5 GHz
EthernetVia USB-C to RJ45 adapter
Screen interfaceLVDS (MIPI and EDP headers also fitted)
HDMIHDMI in (Mini)
RTCYes — with scheduled power on/off
AudioAudio out 2-channel, 2 × microphone
CameraVia USB
USB1 × USB-C 3.0 / 1 × USB-C 2.0 / 1 × USB Micro OTG

Power: USB-C, 12 V / 3 A (current depends on screen size). A DC-in header (§3.6) is also provided.

note

The specification table names the SoC RK3566, but the description text on the same datasheet says RK3568. This page follows the specification table (RK3566); confirm the exact SoC with us if it matters for your build.

Internal expansion: 4 × USB 2.0, 2 × GPIO, 2 × MIC, 2 × RS232, speaker, LVDS, MIPI, EDP, DC-in, RTC battery, IR+LED, light-perception and sensor headers.

Board dimensions​

Size151 mm × 75 mm (total), 142 mm × 75 mm (PCB)
Thickness8 mm
Top clearance4 mm
Bottom clearance3 mm

Serial ports at a glance​

The board provides two RS232 interfaces (one on the RS232+GPIO combo header §3.7, one on §3.9), driven through the standard serial interface. The datasheet does not give a /dev/ttyS* node for them.

PortDevice nodeType
RS232 (§3.7, with GPIO)—RS232
RS232 (§3.9)—RS232

The RS232 device nodes are not specified in the datasheet. Confirm on your board with ls /dev/ttyS* or contact us. See the firmware API overview for how the device API drives the board (power scheduling, GPIO, display, network, kiosk lockdown).


Display ports​

3.1 LVDS port — single-line 30-pin​

PinDefineAttributeDescription
1TX0_D0NOutputPixel 0 negative data (odd)
2TX0_D0POutputPixel 0 positive data (odd)
3TX0_D1NOutputPixel 1 negative data (odd)
4TX0_D1POutputPixel 1 positive data (odd)
5TX0_D2NOutputPixel 2 negative data (odd)
6TX0_D2POutputPixel 2 positive data (odd)
7GNDGNDGround
8TX0_CLKNOutputNegative sampling clock (odd)
9TX0_CLKPOutputPositive sampling clock (odd)
10TX0_D3NOutputPixel 3 negative data (odd)
11TX0_D3POutputPixel 3 positive data (odd)
12TX1_D0NOutputPixel 0 negative data (even)
13TX1_D0POutputPixel 0 positive data (even)
14GNDGNDGround
15TX1_D1NOutputPixel 1 negative data (even)
16TX1_D1POutputPixel 1 positive data (even)
17GNDGNDGround
18TX1_D2NOutputPixel 2 negative data (even)
19TX1_D2POutputPixel 2 positive data (even)
20TX1_CLKNOutputNegative sampling clock (even)
21TX1_CLKPOutputPositive sampling clock (even)
22TX1_D3NOutputPixel 3 negative data (even)
23TX1_D3POutputPixel 3 positive data (even)
24GNDGNDGround
25NCNCNot connected
26NCNCNot connected
27NCNCNot connected
28VCCPower out3.3V / 5V / 12V optional
29VCCPower out3.3V / 5V / 12V optional
30VCCPower out3.3V / 5V / 12V optional

3.3 MIPI port — FPC 0.5 mm, 40-pin​

PinDefineAttributeDescription
1VCOMNCNC
2VDD1VCC3.3V
3VDD2VCC3.3V
4GND1GNDGround
5RESETResetLCD_RESET
6NCPNCNC
7GND2GNDGround
8D0NOutputDSI_TX1_D0N
9D0POutputDSI_TX1_D0P
10GND3GNDGround
11D1NOutputDSI_TX1_D1N
12D1POutputDSI_TX1_D1P
13GND4GNDGround
14CLKNOutputDSI_TX1_CLKN
15CLKPOutputDSI_TX1_CLKP
16GND5GNDGround
17D2NOutputDSI_TX1_D2N
18D2POutputDSI_TX1_D2P
19GND6GNDGround
20D3NOutputDSI_TX1_D3N
21D3POutputDSI_TX1_D3P
22GND7GNDGround
23NCNCNC
24NC1NC1NC1
25GND8GNDGround
26NC2NCNC
27PWMONCNC
28NC4NCNC
29VCLNCNC
30GNDGNDGround
31LED-LED cathodeLED cathode
32LED-LED cathodeLED cathode
33NC5NCNC
34NC6NCNC
35AVEENCNC
36NC7NCNC
37NC8NCNC
38AVDD3NCNC
39LED+LED anodeLED anode
40LED+LED anodeLED anode

3.4 EDP port — CN1, 30-pin​

note

The datasheet lists pins 6–7 with the same define as pins 3–4 (TX_D1N / TX_D1P) while their description reads "Channel 0". Pins 6–7 are the channel-0 pair (most likely TX_D0N / TX_D0P); the defines are kept here as printed. Verify against your panel before wiring.

PinDefineAttributeDescription
1NCNCNot connected
2GNDGNDGround
3TX_D1NDifference dataChannel 1
4TX_D1PDifference dataChannel 1
5GNDGNDGround
6TX_D1NDifference dataChannel 0
7TX_D1PDifference dataChannel 0
8GNDGNDGround
9AUX_CH_PData clockDifference signal
10AUX_CH_NData clockDifference signal
11GNDGNDGround
12LCD_VCCVCCLCD power 3.3V
13LCD_VCCVCCLCD power 3.3V
14BISTNC/22RGround
15GNDGNDGround
16GNDGNDGround
17HPDHPDHot Plug Detect signal
18GNDGNDGround
19GNDGNDGround
20GNDGNDGround
21GNDGNDGround
22EN2ENBacklight enable
23PWM2PWMPWM signal
24NCNCNot connected
25NCNCNot connected
26BL_PWRPower outBacklight power 12V
27BL_PWRPower outBacklight power 12V
28BL_PWRPower outBacklight power 12V
29BL_PWRPower outBacklight power 12V
30NCNCNot connected

Backlight and display power​

3.2 LVDS BL port — PH1.25-6P​

PinDefineAttributeDescription
1GNDGNDGround
2GNDGNDGround
3BL-ADJOutputBacklight adjust
4BL-ENOutputBacklight enable
5VCCPower out12V
6VCCPower out12V

3.5 EDP BL port — PH1.25-6P​

PinDefineAttributeDescription
1GNDGNDGround
2GNDGNDGround
3BL-ADJOutputBacklight adjust
4BL-ENOutputBacklight enable
5VCCPower out12V
6VCCPower out12V

Power​

3.6 DC-in port — PH1.25-6P​

Alternative DC input (the board is normally powered over USB-C).

PinDefineAttributeDescription
1DCIN_APower inDC in 12V
2DCIN_AOROR
3DCIN_AGNDGND
4DCIN_BGNDGND
5DCIN_BOROR
6DCIN_BPower inDC in 12V

3.12 RTC battery port — PH1.25-2P​

PinDefineAttributeDescription
1GPPower in3.3V
2GNDGNDGround

Serial and GPIO​

The RS232 headers are driven through the standard serial interface. The device API (ItempApiPub) does not handle UART I/O; it covers power, display, GPIO, network and kiosk. GPIO lines (GPIO_I/O 1–5) are driven by the GPIO API.

3.7 RS232 + GPIO port — PH1.25-6P​

PinDefineAttributeDescription
1IO1I/OGPIO_I/O 1
2IO2I/OGPIO_I/O 2
3VCCPower out3.3V
4RXI/OUART0 RX
5TXI/OUART0 TX
6GNDGNDGround

3.8 GPIO + Key port — PH1.25-5P​

PinDefineAttributeDescription
1GNDGNDGround
2KEYKEYPower key
3IO5I/OGPIO_I/O 5
4IO4I/OGPIO_I/O 4
5IO3I/OGPIO_I/O 3

3.9 RS232 (×2) port — PH1.25-4P​

PinDefineAttributeDescription
1VCCPower out3.3V
2RXI/OUART0 RX
3TXI/OUART0 TX
4GNDGNDGround

Reserved / ADC​

3.10 Reserved port — PH1.25-2P​

PinDefineAttributeDescription
1ADC——
2GNDGNDGround

USB ports​

Four internal USB headers, identical pinout (PH1.25-4P).

3.13 USB (×4) port — PH1.25-4P​

PinDefineAttributeDescription
1VCCVCC3.3V
2DMI/OUSB D−
3DPI/OUSB D+
4GNDGNDGround

Audio​

3.14 Speaker port — PH1.25-4P​

Stereo output (two channels).

PinDefineAttributeDescription
1SP1POutputSP1 positive
2SP1NOutputSP1 negative
3SP2POutputSP2 positive
4SP2NOutputSP2 negative

3.15 Microphone (×2) port — PH1.25-2P​

PinDefineAttributeDescription
1MIC+PositiveMIC positive
2MIC-NegativeMIC negative

LED, IR and sensors​

3.11 LED + IR port — PH1.25-5P​

PinDefineAttributeDescription
1GLED greenLED green
2RLED redLED red
3GNDGNDGround
4IRInputIR input
53.3VPower out3.3V

3.16 Sensor port — PH1.25-3P​

note

The datasheet's description for pin 2 reads "SP1 Negative", which appears copied from the speaker port. Treat pin 2 as a general sensor I/O line and verify its function with us before use.

PinDefineAttributeDescription
15VPower out5.0V
2IOI/OSP1 negative
3GNDGNDGround

Touch panel​

3.17 Touchpanel I2C port — FPC 0.5 mm, 10-pin​

PinDefineAttributeDescription
1GNDGNDGround
2GNDGNDGround
3RSTResetReset
4INTInterruptInterrupt
5GNDGNDGround
6SCLSCLI2C clock
7SDASDAI2C data
83.3VVCC3.3V
9GNDGNDGround
10GNDGNDGround

Other interfaces​

3.18 Other ports​

InterfaceDetail
PowerUSB-C, 12 V / 3 A
USB1 × USB-C 2.0
USB1 × USB-C 3.0
USB1 × USB-C OTG

Electrical specification​

ParameterMinTypicalMaxNotes
Power supply voltage—12V—
Ripple voltage———
Power supply current—2.5 A—Depends on screen size
Power consumption—30 W—Depends on screen size

API reference​

The device API (power scheduling, GPIO, display, network, kiosk lockdown) is documented under ItempApi reference. The serial ports above are driven through the standard Android serial interface.

Downloads​

Schematic, mechanical drawing and firmware image are on the KTM-S68B support page.