Just purchased a Teensy 3.2, and excited to start playing around with it.

Just purchased a Teensy 3.2, and excited to start playing around with it. However, I’m running into some wiring problems with my WS2812B 240 LED strip. Using an identical setup to how I had it working on my Uno, I’m using pin 3 for data and I also have the extra ground running into the GND. However, the lights display very erratically (when at all), and it seems like the data signal randomly cuts off and glitches out. The only success I’ve had was having the ground going into a powered Arduino on the side, but even then the lights flicker different colors. Does anyone know what I’m doing wrong?

The output voltage on the UNO is 5V, but Teensy 3.2 is 3.3V, so you might need to use a level shifter since these LED strips really want 5V input. One that works well is the 74HCT245. Wiring would be like this:

Also, for the Teensy, use pin 11 for Data if possible so you can take advantage of hardware SPI.

Pins are listed here for different MCUs:

@Austin_Berke A couple of pointers:

  1. use the 5V output for your LED strip on the Teensy 3.2 board.
  2. As @marmil pointed out, try using pin 11.
  3. Try a lower data rate in the FastLED.addLeds: FastLED.addLeds<YOURLEDTYPEHERE_WS2812B, DATA_PIN, CLOCK_PIN, BGR, DATA_RATE_MHZ(1)>(leds, NUM_LEDS).setCorrection( TypicalLEDStrip );

@Matthijs_Neppelenbro Does the 3.2 have a 5V output? It appears that it only outputs 3.3V.

The Teensy LC has a 5V output for a LED strip, but Teensy 3.2 is 3.3V.

@Austin_Berke Can output both 5v and 3.3v. Have a look at https://www.pjrc.com/teensy/teensy32_front_pinout.png
Top row, 1st pin = 5v, 3rd pin = 3.3v.

5v: http://www.mgneppelenbroek.nl/fastled/20160515_130308.jpg
3.3v: http://www.mgneppelenbroek.nl/fastled/20160515_130338.jpg

@Matthijs_Neppelenbro But isn’t that strictly for power? It was my understanding that the LEDS require a 5V data signal.

@Austin_Berke ​ Forget my replies, I didn’t know about the data voltage output requirement. That might explain the earlier flickering in my APA102/Teensy setup when over 1mhz. The replies of @marmil ​ are correct, not mine. Comparison of the boards: https://www.pjrc.com/teensy/teensyLC.html