Driving a brushless motor with an ESC from a ESP32

markxr
Posts: 15
Joined: Sun Aug 16, 2020 7:32 pm

Re: Driving a brushless motor with an ESC from a ESP32

Postby markxr » Thu Apr 29, 2021 7:01 pm

If you can get the configuration program working, then you can program the ESC to go permanently into 3d mode.

Otherwise, it should work. I'm also using blheli-32 35A ESCs. ("HAKRC 35A").

joelmate
Posts: 1
Joined: Fri Apr 01, 2022 7:41 am

Re: Driving a brushless motor with an ESC from a ESP32

Postby joelmate » Fri Apr 01, 2022 8:20 am

Hi Jack, I´ve implemented your code but my motor is 4300KV and 60A and something goes wrong (the ESC that I´d used is the Gool RC WATERPROOF, 2-3S lipo BEC 5.8V/3A (60A)). I don´t know if I should change some parameters such as the Max_speed and Min_speed and the arm value of the ESC myESC (...,...,...,500). However, what did you took as reference to select the values that I´ve mentioned (Max_speed and Min_speed, Arm value). Apart from this, I would like to know about de for that appears before the void loop. Why have you decide tu put that 'i' has to incremente till 350, and why this "(MIN_SPEED-200+i)". Thanks for your time.

Who is online

Users browsing this forum: No registered users and 72 guests