Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
1,303 Views

Can servo motor be controlled without grove module?

Jump to solution

If yes, how can I program it. What should I import? Can you please paste the code. Thank you!

Tags (1)
0 Kudos
1 Solution
idata
Community Manager
107 Views

Hi R@niel,

 

 

Yes, you can control servo motors using the PWM pins directly. The Arduino IDE has a couple of example codes about this. You can find them under File>Examples>Servo

 

 

Regards,

 

Diego

View solution in original post

2 Replies
FTinetti
Honored Contributor I
107 Views

Hi R@niel,

You can use the example at

https://www.arduino.cc/en/Tutorial/Sweep Arduino - Sweep

and be careful: use only pwm pins for the servo motor in Galileo.

There are several useful comments about servos in Galileo at

HTH,

Fernando.

idata
Community Manager
108 Views

Hi R@niel,

 

 

Yes, you can control servo motors using the PWM pins directly. The Arduino IDE has a couple of example codes about this. You can find them under File>Examples>Servo

 

 

Regards,

 

Diego

View solution in original post

Reply