Using an APA102 LED string (DotStar)

Questions and discussion about running MicroPython on a micro:bit board.
Target audience: MicroPython users with a micro:bit.
BruinBear
Posts: 19
Joined: Sat Jan 14, 2017 11:59 am

Using an APA102 LED string (DotStar)

Postby BruinBear » Sat Mar 18, 2017 9:40 pm

In case anybody finds it useful, I have written a guide to using APA102 devices (including DotStar, Blinkt etc.) with MicroPython on the micro:bit on http://www.smythe-consulting.com/2017/03/driving-dotstar-apa102-led-strings-with.html.
Last edited by BruinBear on Sat Mar 18, 2017 10:59 pm, edited 1 time in total.

User avatar
deshipu
Posts: 972
Joined: Thu May 28, 2015 5:54 pm

Re: Using an APA102 LED string (DotStar)

Postby deshipu » Sat Mar 18, 2017 10:03 pm

Could you link to the article directly? The link you pasted will probably become outdated as soon as you write a new article...

BruinBear
Posts: 19
Joined: Sat Jan 14, 2017 11:59 am

Re: Using an APA102 LED string (DotStar)

Postby BruinBear » Sat Mar 18, 2017 11:00 pm

Good point. I've updated post #1 with the URL of the article.

User avatar
deshipu
Posts: 972
Joined: Thu May 28, 2015 5:54 pm

Re: Using an APA102 LED string (DotStar)

Postby deshipu » Sun Mar 19, 2017 9:49 am

Thank you. That's a really nice introduction to using the SPI peripheral. One note: I think that you can remap the SPI to use pins 0 and 1 (or 1 and 2), and then you don't need all those connectors -- you can connect the cables with crocodiles or bananas, or just wrap the wires around the holes and have the whole thing really compact.

BruinBear
Posts: 19
Joined: Sat Jan 14, 2017 11:59 am

Re: Using an APA102 LED string (DotStar)

Postby BruinBear » Sun Mar 19, 2017 1:42 pm

Thank you deshipu. I have updated the blog post to incorporate your helpful suggestion.


Return to “The micro:bit”

Who is online

Users browsing this forum: No registered users and 1 guest