Hello, I’m new to FastLED but not new to programming in general.
For now I’m trying to make one meter of a 5v strip work with Teensy 2.0.
I’m running very simple code, yet no matter what I do in the code, the first LED flashes white very rapidly.
I have a 30W power supply and two 680 OHM resistors in parallel, equating to 340 OHM between the teensy output and the LED strip input. I’m using FastLED 3.1 with Arduino 1.6.5 on Windows 8.
Any advice would be much appreciated, thanks.
Yes, I use the pairs in the network cable as data and ground (to the controller), and then supply the power and ground separately. If the LEDs aren’t grounded to the controller you’ll get data timing issues and unexpected results. Also I only use 100ohm resistors with 3.3v controllers…
when you say network cable, are you sure you are using the right PIN number? not sure about the Teensy 2.0 but on the new Teensys with the network cable adapter, i beleive the first pin is 7 and not 6.
Try reducing the value of the resistor(s). I’m not familiar with the teensy 2, but you can easily power 30 LEDs from the 5v pin on a nano as long as you don’t run them all on full bright white. Try using the 5v and ground pins on the teensy.
I’m powering directly off of teensy now. I’ve taken the resistors out, and I’ve also added another two 680’s in parallel, giving 170OHM. No luck yet. Thanks for your help so far everyone…
yep, no luck… I also uninstalled and reinstalled Teensy/Arduino on my computer. Ever since I did that and switched the power I get no output at all on the LEDs, except when i initially plug them in and they all go white for a split second. I’m just wondering if there is some issue with Teensy 2.0 and FastLED, maybe i should just go grab a Teensy 3.2 tomorrow?
What version of teensyduino are you using? In theory it should work just as well as a leonardo, after all it’s an atmega32u4 under the hood - but I haven’t fired up a teensy 2 in … years at this point.
Ok, i’ll have to see if I have a 2.0 or a ++2.0 anywhere around here that I can try running a test with - also, for laughs, have you tried pins other than pin 6?