Because I also want to use servos in my projects I buy an Adafruit 16-Channel PWM/Servo Bonnet for Raspberry Pi. I opened the sample project "Softmotion Servo Example" and I can see my servo running so far so good. I notice that the move limit of the servo are far under the mechanical limit (see attached file). Is there a way to increase the movement amplitude?
Other question: I had a look into the project and seems to me sooo complicated just to move a model aircraft servo. Is there not a simple FB bloc or something like this ready to use?
Hello,
Nobody use this 16-Channel PWM/Servo from Adafruit?
I tried to change the default value 60 to higer but this has no effects. Also when I try to lower the default value -60 without any effect in the run range.
I also exposed the problem on the Adafruit forum: https://forums.adafruit.com/viewtopic.php?f=50&t=178077
Adafuit told:
"It's working for the standard 90deg servo range, so it generally does work and is supported. But using for angles beyond that is up to the software driver. In this case, you are using a Codesys driver, so the support for extended range use will have to come from there." So I ask here Codesys; is it supported to drive servo over 90Β° ?
In advance many thanks for your reply.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
snippet from there:
because i had some problems with the standard Adafruit PWM and made my own version.
Sometimes i need the PWMs and / or the servo control function.
Use a Array[0..15] to send values from 0 - 100 for PWM function or 101 - 200 for servo control (1.01 to 2.00 ms Pulse)
I added a accessible trim function for servo pulse finetuning.
The State shows if the device is present and accessible.
The IN shows the actual frequency register value.
PCA9685.devdesc.xml [3.2 KiB]
I2C_PCA9685.library [278.88 KiB]
these drivers are open as source library - so you change whatever you need.
Last edit: eschwellinger 2021-04-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Because I also want to use servos in my projects I buy an Adafruit 16-Channel PWM/Servo Bonnet for Raspberry Pi. I opened the sample project "Softmotion Servo Example" and I can see my servo running so far so good. I notice that the move limit of the servo are far under the mechanical limit (see attached file). Is there a way to increase the movement amplitude?
Other question: I had a look into the project and seems to me sooo complicated just to move a model aircraft servo. Is there not a simple FB bloc or something like this ready to use?
In advance many thanks for your replies.
Hello,
Nobody use this 16-Channel PWM/Servo from Adafruit?
I tried to change the default value 60 to higer but this has no effects. Also when I try to lower the default value -60 without any effect in the run range.
I also exposed the problem on the Adafruit forum:
https://forums.adafruit.com/viewtopic.php?f=50&t=178077
Adafuit told:
"It's working for the standard 90deg servo range, so it generally does work and is supported. But using for angles beyond that is up to the software driver. In this case, you are using a Codesys driver, so the support for extended range use will have to come from there."
So I ask here Codesys; is it supported to drive servo over 90Β° ?
In advance many thanks for your reply.
as I remeber the same request have been in the old forum,
I'm pretty sure there was a solution for it.
https://forge.codesys.com/forge/talk/Runtime/thread/8981ce928a/?limit=25#4dfe
snippet from there:
because i had some problems with the standard Adafruit PWM and made my own version.
Sometimes i need the PWMs and / or the servo control function.
Use a Array[0..15] to send values from 0 - 100 for PWM function or 101 - 200 for servo control (1.01 to 2.00 ms Pulse)
I added a accessible trim function for servo pulse finetuning.
The State shows if the device is present and accessible.
The IN shows the actual frequency register value.
PCA9685.devdesc.xml [3.2 KiB]
I2C_PCA9685.library [278.88 KiB]
these drivers are open as source library - so you change whatever you need.
Last edit: eschwellinger 2021-04-16
Hello,
Many thanks. Thanks to this "hidden" parameters explained in this topic: https://forge.codesys.com/forge/talk/Runtime/thread/550a63227b/#261e
Now I see the parameters and I can adjust them!