# No function with RPI 2b+ & Adafruit Bonnet

**URL:** <https://rpi-rgb-led-matrix.discourse.group/t/no-function-with-rpi-2b-adafruit-bonnet/161>\
**Category:** Uncategorized\
**Created:** [March 10, 2021, 6:05pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/no-function-with-rpi-2b-adafruit-bonnet/161 "2021-03-10T18:05:42Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sle77en](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/sle77en/32/71_2.png) [@Sle77en](https://rpi-rgb-led-matrix.discourse.group/u/Sle77en)\
**Post date:** [March 10, 2021, 6:05pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/no-function-with-rpi-2b-adafruit-bonnet/161/1 "2021-03-10T18:05:42Z")

</div>

Hello, i am a newbie.

I have a problem with my setup. I got no output with the examples. I use a RPI 2b+ and a Adafruit RGB Matrix Bonnet to drive a 64x64 LED Matrix of Aliexpress ([https://a.aliexpress.com/\_mLDLYhN](https://a.aliexpress.com/_mLDLYhN))

For the hardware part:

- I have soldered GPIO4 & GPIO18 for the quality setting
- shorted out the middle pad to ‘8’ on the backside of the Adafruit RGB LED Bonnet

For the software part:

- I have installed the LED-matrix library with quality mod for the bonnet.

I tried a couple of different flags. But i think, this should be the right:  
sudo ./demo -D0 --led-rows=64 --led-cols=64

The RPI starts the DEMO, but the panel remains black. Absolutely nothing happens.

Please help 🙂

Best Regards!

---

<div class="post-metadata">

**Author:** ![marcmerlin](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/marcmerlin/32/40_2.png) [@marcmerlin](https://rpi-rgb-led-matrix.discourse.group/u/marcmerlin)\
**Post date:** [March 10, 2021, 10:41pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/no-function-with-rpi-2b-adafruit-bonnet/161/2 "2021-03-10T22:41:52Z")

</div>

did you have a look on the docs regarding the bonnet?

> **[hzeller/rpi-rgb-led-matrix - If you have an Adafruit HAT or Bonnet](https://github.com/hzeller/rpi-rgb-led-matrix#if-you-have-an-adafruit-hat-or-bonnet)**
>
> Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO

---

<div class="post-metadata">

**Author:** ![Sle77en](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/sle77en/32/71_2.png) [@Sle77en](https://rpi-rgb-led-matrix.discourse.group/u/Sle77en)\
**Post date:** [March 11, 2021, 10:54am UTC](https://rpi-rgb-led-matrix.discourse.group/t/no-function-with-rpi-2b-adafruit-bonnet/161/3 "2021-03-11T10:54:25Z")

</div>

Hey 🙂 Thank you for your help!

Yes i have read that. I also have read the instruction of Adafruit: [Driving Matrices | Adafruit RGB Matrix Bonnet for Raspberry Pi | Adafruit Learning System](https://learn.adafruit.com/adafruit-rgb-matrix-bonnet-for-raspberry-pi/driving-matrices)

But it doesn´t help ☹

---

<div class="post-metadata">

**Author:** ![zenoshrdlu](https://avatars.discourse-cdn.com/v4/letter/z/0ea827/32.png) [@zenoshrdlu](https://rpi-rgb-led-matrix.discourse.group/u/zenoshrdlu)\
**Post date:** [March 11, 2021, 11:28am UTC](https://rpi-rgb-led-matrix.discourse.group/t/no-function-with-rpi-2b-adafruit-bonnet/161/4 "2021-03-11T11:28:29Z")

</div>

You definitely need to add  
–led-gpio-mapping=adafruit-hat  
when runnng demos and examples if you are using 64\*64 panels. Otherwise you will see nothing.

---

<div class="post-metadata">

**Author:** ![Sle77en](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/sle77en/32/71_2.png) [@Sle77en](https://rpi-rgb-led-matrix.discourse.group/u/Sle77en)\
**Post date:** [March 11, 2021, 11:32am UTC](https://rpi-rgb-led-matrix.discourse.group/t/no-function-with-rpi-2b-adafruit-bonnet/161/5 "2021-03-11T11:32:34Z")

</div>

Ok thank you. But i also tried this with this comand. With no success.

sudo ./demo -D0 --led-rows=64 --led-cols=64 --led-gpio-mapping=adafruit-hat

---

<div class="post-metadata">

**Author:** ![zenoshrdlu](https://avatars.discourse-cdn.com/v4/letter/z/0ea827/32.png) [@zenoshrdlu](https://rpi-rgb-led-matrix.discourse.group/u/zenoshrdlu)\
**Post date:** [March 11, 2021, 12:24pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/no-function-with-rpi-2b-adafruit-bonnet/161/6 "2021-03-11T12:24:23Z")

</div>

I am using a raspberry pi 4 model b with adafruit bonnet and this command works for me:

sudo ./demo -D 0 --led-rows=64 --led-cols=64 --led-gpio-mapping=adafruit-hat --led-slowdown-gpio=2

It worked without the slowdown but with flashing and flicker. My panels are from ALIExpress marked hub75e (Part no. DC2P8298A3) with 1/32 scan current. If you have the same panels then I suspect you downloaded and built the wrong rpi-rgb-led-matrix package.

---

<div class="post-metadata">

**Author:** ![Sle77en](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/sle77en/32/71_2.png) [@Sle77en](https://rpi-rgb-led-matrix.discourse.group/u/Sle77en)\
**Post date:** [March 11, 2021, 12:43pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/no-function-with-rpi-2b-adafruit-bonnet/161/7 "2021-03-11T12:43:03Z")

</div>

Yes i think i have the same panels. They are also hub75e and 1/32. (DCHY-P2-6464-1515-VP) I linked them above.

Hm i dont think so. I used this pack:  
curl [https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/rgb-matrix.sh](https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/rgb-matrix.sh) \>rgb-matrix.sh

sudo bash rgb-matrix.sh

---

<div class="post-metadata">

**Author:** ![zenoshrdlu](https://avatars.discourse-cdn.com/v4/letter/z/0ea827/32.png) [@zenoshrdlu](https://rpi-rgb-led-matrix.discourse.group/u/zenoshrdlu)\
**Post date:** [March 11, 2021, 1:16pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/no-function-with-rpi-2b-adafruit-bonnet/161/8 "2021-03-11T13:16:18Z")

</div>

Well that’s what I did (though I also downloaded the rpi-fb-matrix stuff too since I wanted to be able to copy anything displayed via HDMI to the panels.

I also did the following:  
sudo apt-get install -y build-essential libconfig+±dev  
make  
then ran the display-test app and built the rgb utils

then I installed graphixMagic  
sudo apt-get install libgraphicsmagick+±dev

---

<div class="post-metadata">

**Author:** ![Sle77en](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/sle77en/32/71_2.png) [@Sle77en](https://rpi-rgb-led-matrix.discourse.group/u/Sle77en)\
**Post date:** [March 11, 2021, 1:36pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/no-function-with-rpi-2b-adafruit-bonnet/161/9 "2021-03-11T13:36:24Z")

</div>

Hmm ok. I dont think that could help me. Because i want to dosomething different with it, but first, i need to get run the demo 😃

---

<div class="post-metadata">

**Author:** ![Sle77en](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/sle77en/32/71_2.png) [@Sle77en](https://rpi-rgb-led-matrix.discourse.group/u/Sle77en)\
**Post date:** [March 12, 2021, 1:57pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/no-function-with-rpi-2b-adafruit-bonnet/161/10 "2021-03-12T13:57:26Z")

</div>

I have got a PDF from the manufacture: [FM6124(英文版）.pdf | DocDroid](https://www.docdroid.net/Oy5GKYW/fm6124-pdf)  
Maybe this could help ?? xD

---

<div class="post-metadata">

**Author:** ![Sle77en](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/sle77en/32/71_2.png) [@Sle77en](https://rpi-rgb-led-matrix.discourse.group/u/Sle77en)\
**Post date:** [March 15, 2021, 12:03pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/no-function-with-rpi-2b-adafruit-bonnet/161/11 "2021-03-15T12:03:57Z")

</div>

I know now, that the ICs on the panel maybe not work without a a implementation of the initialization of FM6124 in the matrix framebuffer.cc and wire it up. But i couldn´t do this with my knowledge.

---

<div class="post-metadata">

**Author:** ![Sle77en](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/sle77en/32/71_2.png) [@Sle77en](https://rpi-rgb-led-matrix.discourse.group/u/Sle77en)\
**Post date:** [March 18, 2021, 10:18am UTC](https://rpi-rgb-led-matrix.discourse.group/t/no-function-with-rpi-2b-adafruit-bonnet/161/12 "2021-03-18T10:18:35Z")

</div>

Which panels have been tested and recommended? I need 3 pieces of P2 64x64 panels.

---

<div class="post-metadata">

**Author:** ![marcmerlin](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/marcmerlin/32/40_2.png) [@marcmerlin](https://rpi-rgb-led-matrix.discourse.group/u/marcmerlin)\
**Post date:** [March 20, 2021, 9:00pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/no-function-with-rpi-2b-adafruit-bonnet/161/13 "2021-03-20T21:00:10Z")

</div>

I use FM6126 and FM6127 128x64 P2 panels from azerone, they work fine for me.
