Skip to content

DIY Hardware

If you want to build your own SVITRIX, here is the pinout of the Ulanzi TC001 clock.

GPIOFunctionDirectionNotes
32LED Matrix (WS2812B)OutputNeoPixel data line
34Battery voltage ADCInputADC1_CH6, input-only
35LDR light sensor (GL5516)InputADC1_CH7, input-only
26Left buttonInputActive LOW, optional
27Middle button (Select)InputActive LOW, optional
14Right buttonInputActive LOW, optional
13Reset button (hidden)Input5s hold → factory reset
15Buzzer (passive piezo)OutputPWM via LEDC
21I2C SDABidirectionalTemperature/humidity sensors
22I2C SCLOutputTemperature/humidity sensors

Supported Sensors (I2C)

  • BME280 (temp + humidity)
  • BMP280 (temp only)
  • HTU21DF (temp + humidity)
  • SHT31 (temp + humidity)

Sensors are auto-detected at startup in the order listed above.

Matrix Layout

If the matrix displays meaningless characters, the matrix type must be changed.

Create a dev.json in your file manager with the following content:

json
{
  "matrix": 2
}
ValueConfiguration
0Single 32x8 matrix, zigzag wiring (default)
1Four tiled 8x8 panels (4x1), progressive
2Single 32x8 matrix, column-major, zigzag