Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Community Manager
1,208 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

Accepted Solutions
Highlighted
Community Manager
12 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

0 Kudos
2 Replies
Highlighted
Honored Contributor I
12 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.

0 Kudos
Highlighted
Community Manager
13 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

0 Kudos