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
9868 Discussions

brushless motor (servo) control using mraa_pwm

TKirv1
New Contributor II
1,231 Views

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
idata
Community Manager
77 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
Reply