How does P10 Led Panel Work? | Working Principle and calculations

 P10 Led Panel 32x16 consist of 512 leds. There are  2 connectors, called Hub1.2 (8x12 male header) and 5v power connector. Hub1.2 placed left side of the board shown in image below is input, right one is the connector to connect another p10 panels input.

P10 led panel

P10 Led panel pinout

Pin definition of Hub1.2 is shown in image. ENABLE pin  is the pin which allows you to control the panel is working state or stop state. Panel enables when it is driven a HIGH signal, When it is driven low it does not matter another pin states, panel stops working.

A, B are row selectors, this pins represent a 2 bit binary number allow you to select one of four rows in a sequence. Selecting a row means that, the leds on the selected row are powering their anod pins. There are 16 rows in total(A1-A16), and they are in a group of 4. Each group of rows are represented with the same color in the images below. Look at the table, driving A and B with a LOW signal means selecting rows labelled A1,A5,A9 and A13. 


BASelected rows
00A1-A5-A9-A13
01A2-A6-A10-A14
10A3-A7-A11-A15
11A4-A8-A12-A16

Data pin is generally used like SPI protocol's, data pin. In fact this pin is serial data input of the selected row. Every row in a panel has 128 leds and this means we have 128 bit serial data to drive a row. The zero bits of this data set, connect the cathode pins of leds with same index number to gnd. This means, driven low bits lights up the leds.

CLK pin shifts the current level of data input every pulse signal, sending whole data of a row need 128 pulse to complete. The numbers in the image 1 to 128 represents data bits of a row, You can see that the first bit of data numbered 1, the last data sended is numbered 128. Sending data is not activate GND connections of cathode pins of leds, this just sending process.

When you complete sending 128 bits data of a row, then you should send a pulse signal to activate the the data to row on SCLK pin.



P10 panel data flow



The Summary of Process

  1. Drive LOW Enable pin.
  2. Select a row on AB pins
  3. Make your data bit ready on data pin
  4. Send a pulse to CLK pin to shift your data bit into shift register
  5. Repeat step 3, for 128 bit
  6. Send a pulse on SCLK pin to active data on shift register
  7. go to second step and select next row
  8. repeat whole process minimum 25 times for a second ( this is FPS value of your scanning topology)

Frequency Calculations

CLK frequency -> 128 bit data for a row, 4 total rows, 25 frame per second 12,8KHz.
SCLK frequency -> 4 rows and 25 FPS 100 Hz.

How to set brighness?

Brightness can be set by sending PWM signal on the Enable pin.

Comments

Popular posts from this blog

How to Drive DHT sensor without Library

Working Principle of DHT Sensors and Analysis with Logic Analyzer