Difference between revisions of "RPI RMP Guide"

From ElectroDragon Wiki
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
== RPI Software Setup SDK ==
https://w2.electrodragon.com/gollum/search?q=MPC1073-test-log-dat.md
=== Main Github ===
* Please ask for software support via github
* clone project https://github.com/hzeller/rpi-rgb-led-matrix/tree/master/adapter
* build the binary executable file, and use following commands
make -C examples-api-use
 
* https://github.com/hzeller/rpi-rgb-led-matrix
=== Prerequisite Checklist ===
double check for GPIOs
* turn off => SPI IIC, 1-wire, serial, etc in raspi-config
* turn off => sound in /boot/config.txt -> add line dtparam=audio=off
* optionally remove following modules: sudo apt-get remove bluez bluez-firmware pi-bluetooth triggerhappy pigpio
* optionally disable: audio in kernel
cat <<EOF | sudo tee /etc/modprobe.d/blacklist-rgb-matrix.conf
blacklist snd_bcm2835
EOF
 
sudo update-initramfs -u
* by following up setup, the GPIO output should be all good
 
== Quick Start Guide ==
=== Drive Notice ===
* The panels of the same size could have different drive (scan) methods, it depends on the panel's driver chip.
* please try different led-multiplexing, from 0~17
--led-multiplexing=0
 
=== P8 P10 Outdoor 32x16 (tested) ===
Run example for our selling 32x16 panel
* P10 - 32x16
./examples-api-use/demo -D 0 --led-cols=32 --led-rows=16 --led-multiplexing=8
*
 
./examples-api-use/demo -D 0 --led-cols=32 --led-rows=16 --led-multiplexing=3
./examples-api-use/runtext16.ppm -D 0 --led-cols=32 --led-rows=16 --led-multiplexing=8
./examples-api-use/demo -D 0 --led-cols=32 --led-rows=32 --led-multiplexing=1
 
* To chain other panel:
  --led-chain=2 to --led-chain=4
* Other example will have the same configuration
--led-rows=8 --led-chain=2
 
=== 32x32 ===
* multiplexing =1
./examples-api-use/demo -D 0 --led-cols=32 --led-rows=32 --led-multiplexing=1
 
=== P4 64x32 (tested) ===
* multiplexing=0
./examples-api-use/demo -D 0 --led-cols=64 --led-rows=32 --led-multiplexing=0
* Tested panel is 64x32 P4-256x128-2121-A1
 
=== P3/P4 64x64 (tested) ===
Extra Setup Needed
* Setup P4 jumper to ground, P8 jumper to #E line
 
* multiplexing usually 0 or 1, try further options only when you have special board
CMD for both P3/P4
* ./examples-api-use/demo -D 0 --led-cols=64 --led-rows=64 --led-multiplexing=1
 
=== 128x128 / 256x128 ===
* Should be not supported
 
=== Panel Specifications ===
{| class="wikitable sortable"
|-
! Working Panel !! Demo code !! Panel Specification !! Command
|-
| 32x16 P8 or P10|| [[:File:Rpi-rgb-led-matrix-p10transformer.zip|3216]] || 1/4 || ./demo -D 0 --led-rows=8 --led-chain=2
|-
| 32x32 P6 || [[:File:3232.zip|3232]] || 1/8
|-
| 64x32 P4 || NA || 1/16
|-
| 64x64 P4 || NA || 1/32
|}
 
 
=== Drive Demo ===
* The following demos are tested at 13th April
<gallery>
File:RGB-RMP-3216-test-1.jpg | 32x16
File:RGB-RMP-3216-test-2.jpg | 32x16 panel specs
 
File:6432-newtest-01.jpg | 6432 test01
File:6432-newtest-02.jpg | 6432 test02
 
File:RGB-RMP-6464-test-1.jpg | 64x64 test
File:RGB-RMP-6464-test-2.jpg | 64x64 P3 specs
File:RGB-RMP-6464-test-3.jpg | 64x64 P4 specs
 
</gallery>
 
=== More Types of Demos ===
<gallery>
File:Runtext-demo-01.jpg | Runtext demo 01
File:Runtext-demo-02.jpg | Runtext demo 02
</gallery>
* ./demo -D 1 runtext.ppm --led-no-hardware-pulse --led-slowdown-gpio=4 --led-cols=64 --led-rows=32
 
 
== Troubleshooting / Common Debug List ==
=== Further Help ===
* If you still have problems, please try the default demo: /rpi-rgb-led-matrix# ./examples-api-use/demo -D 0 --led-cols=64 --led-rows=32 --led-multiplexing=0
* And provide demo images to info@electrodragon.com to check.
 
== FAQs ==
* Using all 3 chains with rPi 4, is there any GPIO free to use? 
No any free pins left except SC / SD pins
 
* What are SC and SD pin holes?
GPIO0 = SDA0, GPIO7 = SCL0
 
* What are RX pin hole?
GPIO15, ROW_E pin, can be set to ground
 
[[category: RPI RMP]]

Latest revision as of 18:27, 7 November 2024