Hi! Has anyone tried using FRAM storage for the FastLed data structures? I’m getting dangerously close to running out of memory. I’m already planning to use the FRAM chip for strings.
Which platform do you use? If you use Arduino, it might be better to switch to something like a Teensy 3, Particle Photon or even an RFDuino which have really a lot of memory compared to a standard Arduino Uno/Leonardo.
I’m presently using the Adafruit Pro Trinket because of its physical size. It’s going to eventually go into an enclosure with not a lot of room.
I’m looking into the boards you mentioned. I’m using a bluetooth programmer that auto-resets the pro trinket when I need to upload a new sketch. The Adafruit breakout for the ATMega32u4 doesn’t have this feature. I’ll have to push the reset button to initiate an upload. Can you recommend a board with the same approximate physical footprint but would have the auto-reset feature? I’m using almost all of the pins on the pro trinket, so I’d need something that’s pin-compatible as well.
Thanks!
Well a barebone RFDuino is a bit smaller I think. However it only has 7 I/O pins. The Teensy LC or 3 are the same size as the Trinket and have a lot more power (even the LC). The Photon is a bit bigger and you can upload everything over WiFi without connections.
I love this one:
That’s a nice board, but I need 5v logic with the 16Mhz clock. I’m looking at the arduino micro with the atmega32u4 chip.
five volt logic can be added with a level shifter… why do you need a 16mhz clock?
Perhaps it’s my nube-ness!
I’m running a lot of components in addition to doing audio processing so I figured 16Mhz would give me more “headroom.” I’m almost done with new code so the extra 500bytes I get from the micro should get me what I need. I can store the byte-palette data and lcd menu text in the fram. I was just hoping to store the crgb array there as well since I’m driving 114 leds.
teensy can get you up to 96mhz, but I found that a really long strips, if you run it higher than 48mhz the led shimmers
Photon runs 120Mhz, RFduino 24Mhz. So all have enough headroom I think.
cool. Must have missed those specs, or the boards didn’t have enough pins for my project. I ordered a micro. We’ll see how it does. Thanks for your input!
@Mr_Happy That shimmer is likely to have been caused by dithering if you didn’t disable it when reducing brightness. I’ve run over 3500 WS2812 leds on a Teensy at 120mhz.