I want to Attach 3 LED Panels to My Cheesehead and I need so

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Don00_7
 
Posts: 2
Joined: Sun Sep 12, 2021 6:25 pm

I want to Attach 3 LED Panels to My Cheesehead and I need so

Post by Don00_7 »

Hi everyone i am new and was wondering if you all could give me some suggestions on how i could go about making this project into a reality. I made this cheese head for my daughter as she plays hockey in college and would like to put 3 LED panels on the cheese head. I would like to find a controller where i can have pre programmed messages either static or scrolling going through the three panels that can be accessed easily through a press of a button.

If you have any suggestions on controllers, power supplies, and flexible panels that would be much appreciated.
Thank you and ill share updates with photos
(The C

User avatar
adafruit_support_mike
 
Posts: 67391
Joined: Thu Feb 11, 2010 2:51 pm

Re: I want to Attach 3 LED Panels to My Cheesehead and I nee

Post by adafruit_support_mike »

I'm afraid we don't have anything preassembled and preprogrammed. We have the pieces to make something like that, but working with them is a hands-on process.

For a wearable project, I'd suggest using NeoPixel matrices instead of standard RGB matrices. They're lighter and will use less power:

https://www.adafruit.com/?q=neomatrix&sort=BestMatch

The 8x32 flexible NeoMatrix would be lightest and easiest to install:

https://www.adafruit.com/product/2294

You could control that with a board as small as the Trinket M0:

https://www.adafruit.com/product/3500

User avatar
Don00_7
 
Posts: 2
Joined: Sun Sep 12, 2021 6:25 pm

Re: I want to Attach 3 LED Panels to My Cheesehead and I nee

Post by Don00_7 »

Hey,

I am getting this error when using the parts listed above -
Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
main.py output:
Traceback (most recent call last):
File "main.py", line 3, in <module>
File "adafruit_pixel_framebuf.py", line 43, in <module>
File "adafruit_framebuf.py", line 84, in <module>
MemoryError: memory allocation failed, allocating 136 bytes

My code so far is :
import board
import neopixel
from adafruit_pixel_framebuf import PixelFramebuffer

pixel_pin = board.D4
pixel_width = 32
pixel_height = 8

pixels = neopixel.NeoPixel(
pixel_pin,
pixel_width * pixel_height,
brightness=0.1,
auto_write=False,
)

pixel_framebuf = PixelFramebuffer(
pixels,
32,
8
)

pixel_framebuf.fill(0x0000FF)
pixel_framebuf.display()

What does this error mean? I have 5KB free so 136 bytes shouldn't be a problem...? I am thinking however the trinket m0 might be too small for the recommended parts. I am using the set up procedure - https://learn.adafruit.com/easy-neopixe ... uf-library listed on adafruit(your?) website. This set up doc does recommend the M4 processor i believe.

Lastly for convenience these are the libraries I am using based on my understanding of the set up procedure.

adafruit_pixel_framebuf.mpy
adafruit_framebuf.mpy
adafruit_led_animation

neopixel.mpy

However I also added adafruit_pypixelbuf.mpy because I was getting an import error without it.

Thanks,

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”