The led segment (SPI Slave) I have got has the pin names - VCC, GND, DN, CS, CLK. The raspberry pi model is 3 model B version 1.2. The segment model is XC-3714.

Is my understanding correct here that this is how I need to connect the pins? I don't want to damage the GPIO headers.

1) DN should be connected with MOSI of Raspberry PI i.e PIN 19.
2) CS - not sure where to connect this?
3) CLK should be connected with CLK of Raspberry PI i.e PIN 23.
4) GN should be connected with PIN 9 Raspberry pI - ground pin.
5) VCC should be connected with PIN 17 Raspberry PI - 3.3 volts.

1 Answer 1


It uses the SPI0.0 interface

  • Pin#24 GPIO08 CE0 connects to CS
  • pin#19 GPIO10 MOSI connects to DIN
  • pin#21 GPIO09 MISO unconnected
  • pin#23 GPIO11 CLK connects to CLK
  • pin#20 GND connects to GN
  • pin#17 3.3V connects to VCC

Use https://github.com/rm-hull/luma.led_matrix with https://github.com/rm-hull/luma.core and https://github.com/rm-hull/luma.examples to drive it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.