Skip to content

Support other color orders like NeoPixel #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
RedAnon opened this issue May 1, 2018 · 12 comments
Closed

Support other color orders like NeoPixel #15

RedAnon opened this issue May 1, 2018 · 12 comments

Comments

@RedAnon
Copy link

RedAnon commented May 1, 2018

APA Electronic has a new 13-bit version of the APA-102 LEDs which have a lower refresh rate (approximately 700MHz) but smoother colours.
As far as I can tell there is currently no way of controlling these chips. And it would be extremely awesome if we could control them.

@tannewt
Copy link
Member

tannewt commented May 2, 2018

I'm not sure these will need any changes. A forum user (may be @RedAnon ) is going to test next week and get back to me.

https://forums.adafruit.com/viewtopic.php?f=60&t=135009

@tannewt tannewt changed the title Add support for the 13-bit APA-102-8192 LEDs. Support other color orders like NeoPixel May 14, 2018
@tannewt
Copy link
Member

tannewt commented May 14, 2018

@RedAnon
Copy link
Author

RedAnon commented May 14, 2018

Thanks. I've already forwarded this to our company's developer and he will try to implement it.

@mcscope
Copy link
Contributor

mcscope commented May 14, 2018

Mine! Working on this @ pycon sprints

@RedAnon
Copy link
Author

RedAnon commented May 14, 2018

What's your ETA @mcscope? I can't promise you we won't be faster. :P

@mcscope
Copy link
Contributor

mcscope commented May 14, 2018

@RedAnon I'm working on it now @ the pycon sprints.
I am wondering if your initial message (about 13 bits) was referring to the 5 bit brightness value per-pixel? I noticed this library doesn't support using it, but it's part of the spec. I'm opening another issue for that because this one is about color order now.

@mcscope
Copy link
Contributor

mcscope commented May 14, 2018

other issue about pixel brightness value: #16

@RedAnon
Copy link
Author

RedAnon commented May 14, 2018

@mcscope Yes it was. AFAIK the driver right now simply sends a fixed value but people from APA USA told me that this should only work for their 8-bit LEDs (even tho it plainly works for the 13-bit ones as well as I've demonstrated on the Adafruit forums).
The plan right now for us is to tackle that (#16) issue as well and our in-house developer is investigating it as we speak. It's just that we've wanted to start with something easier but it seems you've already solved that. :)

@mcscope
Copy link
Contributor

mcscope commented May 14, 2018

@RedAnon I'm not seeing anything about a 13 bit version of this strip anywhere. Are you adding the 5 bit brightness value to one of the 8 bit color values to get 13?

@mcscope
Copy link
Contributor

mcscope commented May 14, 2018

PR: #18

@RedAnon
Copy link
Author

RedAnon commented May 14, 2018

@mcscope
APA-102-2020 (8-Bit version, same page for both the 6 and the 8 pad chips) - Genuine part
APA-102-2020-8192-8 (13-Bit version, 8 pad chips) - Genuine part
Forum thread where I've tested the 13-Bit strips with 8-Bit code.

And yes, as far as I know the 5-Bit value added to the 8-Bit colour plays an important role in fully utilizing the 13-Bit chips. Problem is the data from the manufacturer are a bit sketchy. For example they were adamant that sending 8-Bit code to 13-Bit LEDs would never ever work but it does...

@tannewt
Copy link
Member

tannewt commented May 14, 2018

Fixed by #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants