Post Profile






Driving 16 WS2812B Strips with GPIOs and DMA

[Martin Hubá?ek] wrote in with his WS2812 LED library for the STM32F3 series processors. [Martin]’s library takes the same approach as [Paul Stoffregen]’s OctoWS2811 for the Teensy, and [Erich Styger]’s for the Freescale FRDM-K64F board. That is, it uses three DMA channels to get the signal out as fast as possible. He has a good overview of the method that you can check out for details, but it goes something like this.
read more

share

Related Posts


The Teensy Audio Library

Technology / Gadgets : Hack a Day

There are a few ways of playing.WAV files with a microcontroller, but other than that, doing any sort of serious audio processing has required a significantly beefier processor. This isn’t the case anymore: [Paul Stoffregen] has jus...

Using DMA to Drive WS2812 LED Pixels

Technology / Gadgets : Hack a Day

It’s pretty well known by now that the LED pixel hardware which is starting to be commonplace, both WS2811 and WS2812, needs pretty strict timing in order to address them. There are libraries out there which mean almost no work on y...

Optimizing AVR LCD Libraries

Technology / Gadgets : Hack a Day

A while ago, [Paul Stoffregen], the creator of the Teensy family of microcontrollers dug into the most popular Arduino library for driving TFT LCDs. The Teensy isn’t an Arduino – it’s much faster – but [Paul]’s library does everythi...

Teensy Adds S/PDIF to Library

Technology / Gadgets : Hack a Day

With Arduino library support on an ARM Cortex M4 processor, it’s no surprise that we’re fans of the Teensy 3.1. And lately, [Paul Stoffregen] has been building out the Audio Library for this platform, making it even more appealing t...

Driving WS2812B Pixels, With DMA Based SPI

Technology / Gadgets : Hack a Day

Typically bit-banging an I/O line is the common method of driving the WS2812B (WS2811) RGB LEDs. However, this ties up precious microcontroller cycles while it waits around to flip a bit. A less processor intensive method is to use ...

Comments


Copyright © 2016 Regator, LLC