Skip to content
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

How to use with PCA9685 #2

Open
Linkdudu opened this issue Nov 27, 2021 · 3 comments
Open

How to use with PCA9685 #2

Linkdudu opened this issue Nov 27, 2021 · 3 comments

Comments

@Linkdudu
Copy link

Hey, first of all, thanks for putting this in place, amazing work!

I would like to know how I can use this with PCA9685, my idea is to use the PCA9685 to control 8 relays and 8 led strings using a mosfet, so for the realys basically I need ON and OFF but for the LED the idea is to be able to have them ramp up and down on pragramable time (small reef aquarium projetc).

Thank you!

@mheidenreich
Copy link
Owner

mheidenreich commented Nov 27, 2021 via email

@Linkdudu
Copy link
Author

The electronic is already working at some level, the challenge that I was not able to overcome is that for the pca9685 python driver, you have to specify the pulse length in hex going from 0 to 0xffff and I was not able to translate your 100 values table or function to match that. As for the relays, I'm using the 8 relays model that is already protected, so is working fine so far.

@mheidenreich
Copy link
Owner

mheidenreich commented Nov 27, 2021 via email

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

2 participants