how do i command fan ESC from M7?

Discussion related to "under the hood" OpenMV topics.
Posts: 14
Joined: Sun Jun 19, 2016 6:20 pm

how do i command fan ESC from M7?

Postby trevorb » Sun Feb 11, 2018 9:28 pm

I have an m7 and hope to do use it to operate a brushless fan ESC. Arduino has an ESC library that allows pin, min, max, and arming values to be input to a fan esc. Anyone have advice how to pull this off on the m7 board? Trying to inflate a bellows to raise a standing desk converter when person stands in front of desk then lower when he sits. I would like to eliminate the arduino and go directly from the m7 to an inexpensive ESC. I did an analog write with the arduino to do a 0-255 output to the esc. it did not work (just beeped and twitched the motor a little) so i installed the ESC library to arduino and it worked fine. I don't think that pyb.servo will do it(honestly haven't tried yet), so hopefully someone smarter than i Can provide an example of how to command an esc fan from M7 to esc.

Thanks in advance.
User avatar
Posts: 1401
Joined: Sun May 24, 2015 2:10 pm

Re: how do i command fan ESC from M7?

Postby kwagyeman » Sun Feb 11, 2018 10:01 pm

Hi, so, the third party external library support for the OpenMV Cam is kinda thin... But, you have to start somewhere. Um, if you can find a MicroPython library for what you need we can run it.

Anyway, how is the ESC controlled? Can you send me a link to the product? If it's controllable like a servo the OpenMV Cam can handle driving it easily.

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 6 guests