Adafruit_NeoMatrix

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
raceboy
New user
Posts: 9
Joined: 20 Jun 2017, 18:16

Adafruit_NeoMatrix

#1 Post by raceboy » 18 Jul 2019, 22:44

Hello.

I need help for NeoMatrix plugin for Matrix display "flexible led matrix Individually addressable LED Module RGB Digital Pixels Panel" from aliexpress. (https://www.aliexpress.com/item/3295064 ... 4c4dRXR9Uq).
I just need to scroll Open and Closed with variable 0 for closed and variable 1 for open. If it's posible open in green color and closed in red.

Thanks for any help !

Peter

raceboy
New user
Posts: 9
Joined: 20 Jun 2017, 18:16

Re: Adafruit_NeoMatrix

#2 Post by raceboy » 28 Jul 2019, 00:00

nevermind. i use one wemos d1 mini for espeasy and another for neomatrix code :)

Sminter4
Normal user
Posts: 18
Joined: 04 Aug 2021, 23:25

Re: Adafruit_NeoMatrix

#3 Post by Sminter4 » 11 Sep 2022, 21:23

Thanks tonhuisman. According to the plugin list, it now exists as P131! I could use it.
However, I can't find it on my "Neopiel" branch "ESP_Easy_mega_20220809_neopixel_ESP8266_4M1M Aug 9 2022". Or is P131 only for ESP32?
Attachments
2022-09-11 21_22_27-Window.png
2022-09-11 21_22_27-Window.png (24.17 KiB) Viewed 3281 times

User avatar
Ath
Normal user
Posts: 3415
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Adafruit_NeoMatrix

#4 Post by Ath » 11 Sep 2022, 21:34

The plugin was merged on August 10th, so just after that release was made. It will be included in the next release ;)
/Ton (PayPal.me)

Sminter4
Normal user
Posts: 18
Joined: 04 Aug 2021, 23:25

Re: Adafruit_NeoMatrix

#5 Post by Sminter4 » 12 Sep 2022, 11:10

Thanks. I hadn't seen/found this info.

I took a look at the functions:
https://espeasy.readthedocs.io/en/lates ... #p131-page
How can I connect an SD card to my ESP8266? (<trigger>,bmp,<x>,<y>,<filename.bmp>)
Is there a plugin for this?

Or is it possible to load the images from the internal memory?
This is how it was implemented here:
https://nerdiy.de/en/howto-pxlblck-icon ... d-anzeige/

User avatar
Ath
Normal user
Posts: 3415
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Adafruit_NeoMatrix

#6 Post by Ath » 12 Sep 2022, 11:44

The 'bmp' function does support loading the bitmap from SD card if that's included in the build, it will first look for the file on the local file system.
Depending on the build used, you have up to 1 MB of file system flash available (more possible on some ESP32 builds and not accounting for the very rare ESP8266 with 16 MB Flash and 14 MB file system).
To be able to use an SD card on an ESP8266 requires that the functionality is included in the build, you can see that by checking for the SD card CS pin configuration option, just below the SPI configuration. AFAIR, I have enabled SD card support for the ESP32 NeoPixel builds, but because of .bin size limitations not for the ESP8266.

You can create a Custom build including any feature you need, though.
/Ton (PayPal.me)

Sminter4
Normal user
Posts: 18
Joined: 04 Aug 2021, 23:25

Re: Adafruit_NeoMatrix

#7 Post by Sminter4 » 14 Sep 2022, 15:36

All right. I'll wait for the next release then...

Did I understand you correctly that the bmp is first searched for in the internal flash and then on an SD card that may be present. Since I don't need much memory, my project could work then.

User avatar
Ath
Normal user
Posts: 3415
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Adafruit_NeoMatrix

#8 Post by Ath » 14 Sep 2022, 16:16

BMP files for use on the NeoPixel matrix displays are generally quite small, so that should fit on internal storage.
Be aware that some free space is required to be able to save settings and rules changes, this recent GH comment is quite relevant in that context.
/Ton (PayPal.me)

raceboy
New user
Posts: 9
Joined: 20 Jun 2017, 18:16

Re: Adafruit_NeoMatrix

#9 Post by raceboy » 05 Nov 2022, 18:33

well well :) thank you very much !!! my configuration with two esp modules works but this is what i needed ! :)

question. can i combine one neomatrix 8*8 and 32*8 in a row ?

thank you

User avatar
Ath
Normal user
Posts: 3415
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Adafruit_NeoMatrix

#10 Post by Ath » 05 Nov 2022, 19:20

raceboy wrote: 05 Nov 2022, 18:33 question. can i combine one neomatrix 8*8 and 32*8 in a row ?
That'll only work if the 32*8 is in fact 4x 8*8 modules, if it is 32 pixels long and 8 wide you can't combine that with 1x 8*8 module, as explained in the documentation (it's just not supported by the used library, and would be quite hard to implement as well).
/Ton (PayPal.me)

raceboy
New user
Posts: 9
Joined: 20 Jun 2017, 18:16

Re: Adafruit_NeoMatrix

#11 Post by raceboy » 07 Nov 2022, 11:39

Ath wrote: 05 Nov 2022, 19:20
raceboy wrote: 05 Nov 2022, 18:33 question. can i combine one neomatrix 8*8 and 32*8 in a row ?
That'll only work if the 32*8 is in fact 4x 8*8 modules, if it is 32 pixels long and 8 wide you can't combine that with 1x 8*8 module, as explained in the documentation (it's just not supported by the used library, and would be quite hard to implement as well).
yeah. i thought so. well...i will'll just order 5 matrix 8*8 instead ....thanks for the info

raceboy
New user
Posts: 9
Joined: 20 Jun 2017, 18:16

Re: Adafruit_NeoMatrix

#12 Post by raceboy » 21 Nov 2022, 22:46

hmm...what i am doing wrong?... i tested just one 8x8 neopixel matrix and had nothing... not single led. i connected all on wright gpios...

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Adafruit_NeoMatrix

#13 Post by TD-er » 21 Nov 2022, 22:50

How is it powered?
64 LEDs can take quite some power.

raceboy
New user
Posts: 9
Joined: 20 Jun 2017, 18:16

Re: Adafruit_NeoMatrix

#14 Post by raceboy » 21 Nov 2022, 22:54

i tested in tasmota ...well some kind of w2812 led strip script and i can controled brightness, colour ,...so powered it ok (5v 2a)

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests