Can I command SG90 servo? #294

Open
opened 2020-02-29 21:26:43 +00:00 by GpMissi · 3 comments
GpMissi commented 2020-02-29 21:26:43 +00:00 (Migrated from github.com)

Is your feature request related to a problem? Please describe.
I would like to use servo to move the camera (Tilt/Pam) and focus on different printing areas,

Describe the solution you'd like
is it possible to do this with the current program? how you do it?

tks

(Scusate per il pessimo inglese, uso il traduttore di Google)

**Is your feature request related to a problem? Please describe.** I would like to use servo to move the camera (Tilt/Pam) and focus on different printing areas, **Describe the solution you'd like** is it possible to do this with the current program? how you do it? tks (Scusate per il pessimo inglese, uso il traduttore di Google)
GpMissi commented 2020-03-01 08:28:17 +00:00 (Migrated from github.com)

Similarly, can I create a button to turn on / off or reset the printer by closing a relay for a few seconds?

Similarly, can I create a button to turn on / off or reset the printer by closing a relay for a few seconds?
Tobi0892 commented 2020-04-05 20:32:09 +01:00 (Migrated from github.com)

I am also very keen on controlling an SG90 servo via PWM.

Here, someone reported that he was unsuccessful due to unprecise movement. Is there someone else who tried it?

I am also very keen on controlling an SG90 servo via PWM. [Here](https://www.reddit.com/r/3Dprinting/comments/a3r619/octoprint_controlling_a_servo_via_gpio/), someone reported that he was unsuccessful due to unprecise movement. Is there someone else who tried it?
vitormhenrique commented 2020-04-05 21:02:24 +01:00 (Migrated from github.com)

I might have an idea on how to implement, but for now, a work around would be have two PWM outputs on the two servos, and using the city cycle to change the servo position.

1.5 milliseconds (ms) pulse width should center the servo, 2.0, should move it all the way to one side and 1.0 to the other.

I might have an idea on how to implement, but for now, a work around would be have two PWM outputs on the two servos, and using the city cycle to change the servo position. 1.5 milliseconds (ms) pulse width should center the servo, 2.0, should move it all the way to one side and 1.0 to the other.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Gandalf/OctoPrint-Enclosure#294