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

PCA9685 Support? #582

Open
johnyradio opened this Issue Mar 22, 2018 · 8 comments

Comments

Projects
None yet
4 participants
@johnyradio

johnyradio commented Mar 22, 2018

hi

can i control the PCA9685 from FastLED running on Arduino Uno or duemilanove?

thx

@tonton81

This comment has been minimized.

tonton81 commented Mar 22, 2018

its a free running i2c pwm device, short answer is no. i2c is too slow and you dont control fastled with a consistant pwn

@tonton81

This comment has been minimized.

tonton81 commented Mar 22, 2018

unless its normal RGB strip that dont have any chips inside them

@johnyradio

This comment has been minimized.

johnyradio commented Mar 22, 2018

I understand that. My thought is not to send PWM over the I2C, but rather to use FastLED for higher level pattern generation, but send control codes over i2c expected by the PCA.

Ie, I'm thinking to exploit FastLED's higher level pattern optimizations, not it's PWM.

@focalintent

This comment has been minimized.

Member

focalintent commented Mar 22, 2018

The PCA9685 isn’t currently supported in FastLED. You can use fastled’s color code to set up your led data, and then use your own code to write it out to the 9685, though.

@johnyradio

This comment has been minimized.

johnyradio commented Mar 22, 2018

That's what I have in mind.

But is that the best way to generate color patterns for the PCA9685?

Are there any other color pattern libs?

@demlak

This comment has been minimized.

demlak commented Oct 16, 2018

I also want to use a PCA9685. Any progress on this?

@focalintent

This comment has been minimized.

Member

focalintent commented Oct 25, 2018

Again - you can use FastLED to populate your CRGB array, and then write out your own RGB values to the PCA9685 using one of the PCA9685 libraries out there. I'm unlikely to add support for the PCA9685 into FastLED until after the RGBW/RGB16 rewrite is finished (in part because the PCA9685 would want 12-bit color data).

@johnyradio

This comment has been minimized.

johnyradio commented Oct 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment