Announcements

Help us improve the Power & Sensing Selection Guide. Share feedback

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Ignacio
Level 2
Level 2
First like received 5 questions asked 25 sign-ins

¡Hola Comunidad! me podría ayudar en lo siguiente. Tengo un servomotor MG90S con giro de 360° y no puedo hacerlo girar completamente, solamente 180° y quizás un poco más de un 10% que corresponde a los 2ms. Lo máximo de giro en % es de un 13.5% y de ahí comienza a girar solo sin tener control sobre la misma. Por otra parte no me lee valores de 0.5% por ejemplo ¿Qué debo configurar para poder lograr tener un control y un giro de 360° sobre mi servomotor? ¿O que me recomiendan hacer?. Utilice la placa  CY8CPROTO-062-4343W y Eclipse IDE Modustoolbox. ¡¡Muchas gracias!!

0 Likes
1 Solution
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hi @Ignacio 

We have the following code example for using a servo motor, the example uses XMC micocontroller. This can give you an idea of how the servo motor can be controlled: https://github.com/techpaul/xmc_servo

I also found a servoC library from Infineon which could be helpful: https://github.com/Infineon/ServoC

Best Regards
Ekta

View solution in original post

0 Likes
1 Reply
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hi @Ignacio 

We have the following code example for using a servo motor, the example uses XMC micocontroller. This can give you an idea of how the servo motor can be controlled: https://github.com/techpaul/xmc_servo

I also found a servoC library from Infineon which could be helpful: https://github.com/Infineon/ServoC

Best Regards
Ekta

0 Likes