Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor II
1,167 Views

brushless motor (servo) control using mraa_pwm

Hello,

I'm wondering if anyone has been able control a brushless motor via speed controller with the mraa pwm functions on the Edison. I am able to do this easily with an arduino using the servo class, but for some reason sending the same signal from Edison using mraa pwm functions results in nothing happening.

I have looked at the signals with an oscilloscope and they are virtually Identical. However the Edison pwm signal is level shifted to 5V and the arduino pwm signal comes directly from the board (already 5V). Not convinced the level shifting is the cause of error, but I can't think of anything else.

I appreciate any help/suggestions anyone is willing to give!

Thanks,

Thomas

0 Kudos
1 Reply
Highlighted
Community Manager
13 Views

Hi Thomas,

 

 

It seems that you are using the Arduino IDE, I recommend you to look at this thread: https://communities.intel.com/thread/60294 https://communities.intel.com/thread/60294. You will find in the answer that the examples of the Arduino IDE should work, and there is another recommendation using Python and the MRAA library.

 

 

I hope you find this information helpful.

 

 

Regards,

 

-Leonardo
0 Kudos