Is the SERVOS HAT (8 Servos) able to control 360 Servos ?
-
Hello, I have SERVOS HAT for my M5StickCPlus but I'm wondering if I can control also 360 Servos, with 180 it works but the 360 are always running regardless what code I enter.
-
@mikemuc68 yes, it works with 360. Set the angle to 90 for the servos to stop. Everything from 90 to 180 is forward. Everything from 90 to 0 is backward. Try slowly increasing the value to see how the speed changes.
-
Thank you so much, it works as you have described - that is something which should definitely be part of the M5Stack documentation for this product.
-
Glad I could help. :)
This is actually not specific to the 8Servos hat as it doesn't even know what kind of servo you connect. It is the normal behavior of most 360 (aka continuous rotation) servos. See for example https://www.arduino.cc/en/Reference/ServoWrite :
"On a continuous rotation servo, this will set the speed of the servo (with 0 being full-speed in one direction, 180 being full speed in the other, and a value near 90 being no movement)."
-
@sodoku
I have to admit that I'm an absolutely newbie so I was not aware of this standard behavior for all 360s but really helpful to know :-)