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

third servo #23

Open
gortador opened this issue Oct 5, 2022 · 14 comments
Open

third servo #23

gortador opened this issue Oct 5, 2022 · 14 comments

Comments

@gortador
Copy link

gortador commented Oct 5, 2022

Hello,
I use your plugin which I find great, however I use a third servo to control a third position possibility to move the camera on a y axis. So a third servo. Is it possible to add an option to your plugin to order an additional servo?

Thanks a lot

@iFrostizz
Copy link
Collaborator

Hey,
Thanks! And no, using more than 2 servos cannot be done at the moment, it was planned to be able to add as much servos as we want but I'm not currently maintaining the plugin.
Have a nice day!

@gortador
Copy link
Author

gortador commented Oct 5, 2022

Hey, Thanks! And no, using more than 2 servos cannot be done at the moment, it was planned to be able to add as much servos as we want but I'm not currently maintaining the plugin. Have a nice day!

ok, too bad, thank you very much for answering!
and there would not be to your knowledge a plugin that will allow me to control a servo directly from octoprint

@iFrostizz
Copy link
Collaborator

Hey, Thanks! And no, using more than 2 servos cannot be done at the moment, it was planned to be able to add as much servos as we want but I'm not currently maintaining the plugin. Have a nice day!

ok, too bad, thank you very much for answering! and there would not be to your knowledge a plugin that will allow me to control a servo directly from octoprint

Sorry,
Not to my knowledge: https://plugins.octoprint.org/search/?q=servo

@mledan
Copy link
Owner

mledan commented Dec 22, 2022

@gortador what kind of servo control hardware are you using, if any?

@gortador
Copy link
Author

@gortador what kind of servo control hardware are you using, if any?

@mledan : hello, i am using two sg90 servos

@mledan
Copy link
Owner

mledan commented Dec 22, 2022

two sg90 servos
👍

Are they connected directly to your pi or are you using something like: https://www.sparkfun.com/products/15316
to control the servos

@mledan
Copy link
Owner

mledan commented Dec 22, 2022

@gortador I'm working on adding support for up to 16 servos via the sparkfun board ^^, I'll let you know when complete

@gortador
Copy link
Author

@gortador I'm working on adding support for up to 16 servos via the sparkfun board ^^, I'll let you know when complete

@mledan no, directly 😊

@oldmanbluntz
Copy link

Have you seen this plugin? It may work for you.

https://plugins.octoprint.org/plugins/robotcontrol/

@oldmanbluntz
Copy link

@gortador I'm working on adding support for up to 16 servos via the sparkfun board ^^, I'll let you know when complete

What if you wanted 196 servos?

Just kidding around, but i'm also working on something like this, but based on the PCA9685 from adafruit. 12 bit 16 channel I2C PWM controller, with the max capibility of running 196 servos in total when you hook up the max 62 PCA9685's you can daisychain.

@gortador
Copy link
Author

gortador commented Apr 5, 2023 via email

@mledan
Copy link
Owner

mledan commented Apr 7, 2023

@gortador I'm working on adding support for up to 16 servos via the sparkfun board ^^, I'll let you know when complete

What if you wanted 196 servos?

Just kidding around, but i'm also working on something like this, but based on the PCA9685 from adafruit. 12 bit 16 channel I2C PWM controller, with the max capibility of running 196 servos in total when you hook up the max 62 PCA9685's you can daisychain.

Love it! Would absolutely love to support an arbitrary amount of servos (imagine the UI/UX for that 😃), I'll grab that board this summer. I am currently refactoring the plugin to support the strategy pattern which should enable setting up individual motors on specific libraries and yes, ideally will not care about a max number of motors or even pi hats (eg. for purposes of testing all this; I'm setting my pi up to use both the pan/tilt with the pimoroni library +pi-hat and hooking into unused gpio pins to control additional motors to wipe my hot-end (pun not intended)

@gortador
Copy link
Author

gortador commented Apr 7, 2023 via email

@mledan
Copy link
Owner

mledan commented Apr 10, 2023

All great suggestions! I will definitely take note to consider these as I'm updating the settings UI to accommodate a larger number of motors.

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

4 participants