Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9881 Discussions

Any examples to control servomotor?

JVarg8
Beginner
1,248 Views

Hello everyone, I'm looking for some way to control a servo motor, using Intel Quark D2000. Is there a library? Greetings.

0 Kudos
1 Solution
idata
Community Manager
338 Views

Hello eagvr,

Thank you for interest in the Intel® Quark™ D2000.

I checked the official examples and couldn't find a dedicated servo motor library (https://github.com/quark-mcu/qmsi/tree/master/examples https://github.com/quark-mcu/qmsi/tree/master/examples), although, there is a PWM folder.

And as you probably know, servo motors can be controlled with a PWM signal.

I'll suggest you to check the following example: https://www.allaboutcircuits.com/projects/the-quark-d2000-development-board-moving-beyond-hello-worl... https://www.allaboutcircuits.com/projects/the-quark-d2000-development-board-moving-beyond-hello-worl..., it uses an LED to show the PWM capabilities of the board, but the example can be adapted to control a servo motor.

Please let me know if you find the previous information useful.

If you need further assistance, don't hesitate to contact us.

Regards,

 

Andres V.

View solution in original post

3 Replies
idata
Community Manager
339 Views

Hello eagvr,

Thank you for interest in the Intel® Quark™ D2000.

I checked the official examples and couldn't find a dedicated servo motor library (https://github.com/quark-mcu/qmsi/tree/master/examples https://github.com/quark-mcu/qmsi/tree/master/examples), although, there is a PWM folder.

And as you probably know, servo motors can be controlled with a PWM signal.

I'll suggest you to check the following example: https://www.allaboutcircuits.com/projects/the-quark-d2000-development-board-moving-beyond-hello-worl... https://www.allaboutcircuits.com/projects/the-quark-d2000-development-board-moving-beyond-hello-worl..., it uses an LED to show the PWM capabilities of the board, but the example can be adapted to control a servo motor.

Please let me know if you find the previous information useful.

If you need further assistance, don't hesitate to contact us.

Regards,

 

Andres V.
JVarg8
Beginner
338 Views

thanks!!, finally adjusting the working frequency of the servomotor works well, between 1ms - 2ms with a period of 20ms

idata
Community Manager
338 Views

Hello eagvr,

 

 

I'm glad to hear that you found the information useful and that your servo motor project is going well.

 

 

Thank you for sharing your experience with the community, we really appreciate it.

 

 

Have a nice day.

 

 

Regards,

 

Andres V.
Reply