accessory:display:led_matrix_shield

SPI Dot-Matrix

Net Name Pin Number Pin Number Net Name
3.3V 1 2 5.0V
Not Used 3 4 5.0V
Not Used 5 6 GND
Not Used 7 8 Not Used
GND 9 10 Not Used
Not Used 11 12 Not Used
Not Used 13 14 GND
Not Used 15 16 Not Used
3.3V 17 18 Not Used
MOSI 19 20 GND
Not Used 21 22 Not Used
SCK 23 24 CE0
GND 25 26 Not Used

ODROID-C1/C1+/C2

img_20150805_163924.jpg

ODROID-XU4 W/ Shifter Shield

xu4_spi_dot_matrix.jpg

ODROID-N2

n2_spi_dot_matrix.jpg

ODROID-C4

c4_spi_dot_matrix.jpg

ODROID-M1

You have to enable SPI feature first to use this shield.

Please refer to this guide.

Make sure that the SPI feature on your Odroid is enabled correctly. A short way to check out is finding spidev file under /dev directory.

See the following.

target
root@odroid:~# ll /dev/spidev*
crw------- 1 root root 153, 0 Apr  3 09:17 /dev/spidev0.0
target
git clone https://github.com/codewalkerster/led_matrix_shiled.git
./build.sh

Execute that built file, and you can see the results like the below.

target
odroid@odroid64:~$ sudo ./dot_test
spi mode: 0
bits per word: 8
max speed: 500000 Hz (500 KHz)
  • In Odroid-C2, although you set to 500 KHz, it actually operates at 390KHz since C2 runs SPI in the bit-banging method.
target
git clone https://github.com/codewalkerster/led_matrix_shiled.git
./build.sh

Execute that built file, and you can see the results like the below.

target
odroid@odroid64:~$ sudo ./dot_shift_test
max speed: 1000000 Hz (1000 KHz)
target
git clone https://github.com/codewalkerster/led_matrix_shiled.git
cd wiringpi
./build.sh

Execute that built file, and you can see the results like the below.

target
odroid@odroid64:~$ sudo ./dot_shift_test
max speed: 1000000 Hz (1000 KHz)
  • accessory/display/led_matrix_shield.txt
  • Last modified: 2023/02/07 14:35
  • by codewalker