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

Would it be possible to get this working with adafruit pca9685 16 servo? #3

Open
petrella56 opened this issue Dec 18, 2020 · 5 comments

Comments

@petrella56
Copy link

Hey I've been looking all over to get face tracking servos on pca9865 16 servo driver but can't seem to find any projects that work is there any way that I can modify this one or can anyone help me??

@pageauc
Copy link
Owner

pageauc commented Dec 18, 2020

I took a look at the pca9865 python library https://learn.adafruit.com/16-channel-pwm-servo-driver?view=all#python-circuitpython and https://circuitpython.readthedocs.io/projects/servokit/en/latest/

It is possible to add the pca9865 servo control to the code. I did modify to use GPIOZero and you can see separate implementations for openelectrons and gpiozero servo libraries. Could also add pimoroni and waveshare pantilt per https://github.com/pageauc/waveshare.pantilthat .
pac9865 python library must use python3 and you will need opencv3 as well. The face tracking demo has not been touched for quite a while and like anything the code is a snapshot in my programming skill timeline.

This code looks like it would need a good overhaul and I will think about visiting it in the future. I do not have a pca9865 board as well.
Depending on your skill level you should be able to add pca9685 support.
Claude ...

@petrella56
Copy link
Author

Hey thanks for the quick reply! Honestly I'm pretty new with python I mean I have a basic understanding but this is a tough one for me is there any way u can help me out? Or reference me to someone that has done this ? Thanks for taking the time to read this :)

@pageauc
Copy link
Owner

pageauc commented Dec 18, 2020 via email

@petrella56
Copy link
Author

Thank you pageauc for the quick reply i really appreciate it and just wanna say your awesome, also I'm gonna try making it work in the mean time but definitely interested in seeing the project 😃

@pageauc
Copy link
Owner

pageauc commented Dec 29, 2020

FYI. I found this github project that might be of interest to you
https://github.com/allmyservos/allmyservos
BTW
I am still looking at rewriting face tracking demo so it can use dagu, pimoroni, waveshare, gpiozero or PCA9685 pantilt servo control. It will take a while.
Regards Claude ...

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