There are two types of P10, semioutdoor and outdoor; the difference is obvious however the enclosure you use determine the protection level (drizzle, rain or heavy rain).
This project is for experimental purpose only, I try to show small, medium and large font running text on single LED module. I use AT89X52 mcu this time, because it doesn't have SPI then I have to simulate the SPI by the software.
Pay attention on the horizontal arrow, it shows the flow of data, the controller must be connected to the connector behind the arrow. The vertical arrow shows the counting direction of the row but never mind because we use only one module this time.
Here below the connector configuration
OE: Output Enable for tuning on/off the entire LED
A and B: selection of row to turn on. 4 rows turn on at a time.
Row sequence: 1,5,9,13 then 2,6,10,14 then 3,7,11,15 then 4,8,12,16
CLK: SPI clock
SCLK: Latch register data to LED
R: SPI DATA
Connector configuration at controller side are similar with connector at the LED module. They can be connected straight connection with 2x8 female header ribbon cable.
Crystal is 24MHz. Internally microcontroller has internal pull-ups so external pull-ups are optional. Just if your P10 module is uncommon, you need external pull-ups. Decoupling capacitor at power and another capacitor for reset. A little revision, pin 1 of the connector is A and pin 2 is B, in the schematic they are misplaced. LED module and controller require one 5V/2A power supply.
Get the code here https://play.google.com/store/apps/details?id=com.silvesterdao.c51forp10led
Note: the code is for shifting left string available in 3 size of characters.