11 Online
0 Member And 11 Guest
Today Visits : 1980
Yesterday Visits : 5452
All Visits : 516894

Welcome to Electronoobs Q&A, where you can ask questions and receive answers from other members of the community.


1 like 0 dislike

How to build an electronic speed controller step by step. All the info on:


in Circuit basics by (34.7k points)

9 Answers

0 like 0 dislike
if I want to change the motor with BLDC Motor 24 Volt with nominal RPM is 16000. which part of codes that I have to replace.?
by (140 points)
Also answered to you on Youtube. You don't need to change the code. Just the voltage dividers in order to reduce the voltage that goes to the analog input of the arduino from 24V to under 5 volts. Also chech the datasheed of each component to se how they work on that voltage.
0 like 0 dislike


Want to ask about (ESC with Arduino) project.

As I understand we change the speed of rotation by potentiomentor. This potentiomet analog signal converted to delay time. (please tell if it is right)

But . As I can see each phase connected to PWM pin.How do we manage PWM duty ratio?

I mean in other projects I saw some  current sensor.

If the DC motor works without load -  PWM duty ratio is low. But the speed is high.

If dc motor works under load PWM duty ratio is high, and the speed is also high.

By this way I think we can save some battery power if the load is changeble.

What do You think aout this ?

by (140 points)
Let me clear up. Now Im talking to who? I can see that the answers from ananimus.

There are up and down mosfets for each phase. If manualy open for example A-up and B-down , a bulb have to light betwin A and B phase. The sequency of switchig each mosfet can see from the famous piture.( from other sources too.

Anothr thing is how to build the device. My project is just a little differnt from this one.

My dc motor will work from 40V DC. My mosfets and drivers will cosump 20V DC.

5 V DC from arduino will sent the signaling. I checked datasheets of drivers and mosfets. It should work. Now need to finish the code. Some moments are not very clear to me. In addition to that I would like to modify code a little. I want to add PWM to it
Thanks for reply..I checked again with arduino disconected and input 5v on arduino pins.I put a bulb on the output and everithing works acording to code...but my motor stills stalls..it is a 12pole drone motor for testing .The motor is good
You checked the arduino output ?
Yes it outputs the signals.i can write the soft..i cannot understand why its not working
Pls send the soft-programm to my mail. Ivanov.sergey.almaty@mail.ru

Also wnat to know about your ESC device. Have you strictly followed the diagram (Schematic) from the article ? http://electronoobs.com/images/Circuitos/tut_4/full_circuit.png
0 like 0 dislike
I am trying to create an ESC that is rated for about 150A because I want to use a larger brushless motor with a max amperage of 60A and I do not want it to overheat. Would I have to change components such as the transistors or resistors or should this ESC be able to supply this high of an amperage?

You should probably use more powerfull MOSFETS. Also what voltage do you want? If you change the voltage to higher tnag 3S you should change the voltage divider resistors to lower the voltage from your value to under 5V. The PCB should be also VERY thick for that amount of current. But as you know, this project of mine is just a prototype. You will have to make tests in order to achive good final results.
0 like 0 dislike
I was wondering why you needed to step up voltage with the motor drivers all the way to 11 V at the gate. From the data sheet of the irf3205, it seems as though the gate turn on voltage could have been less to still achieve high currents. I guess I'm just nt understanding the theory behind this step. Also what current was your esc able to produce?

Hi. If you look at the datasheed on the drain to source current vs drain to source voltage which in this case is (12V), with a voltage of 5V you can only get 30A of current. If you want more you need a higher gate to source voltage. In this case the only higher voltage is the one of 11-12V of the main input. So we apply that one using the drivers. Arduino only has 5V whic for me was not enough. Keep up!
0 like 0 dislike
Hey I was wondering why you used a voltage divider with 2 k and 1 k resistors for the emf detection. Thanks
Hi. Because you want to lower the voltage from 12V or over to under 5V because the ADC of the arduino works at 5V. so with a voltage divider of 1k adn 2k (1k/2k)*12 = 4V (which is under 5V). In this way you don't burn or saturate the ADC. Keep up!
0 like 0 dislike
Did you change anything in the code to test it with LEDs such as the time? Thanks
0 like 0 dislike
Hi, Im Fade.

I followed everything that you did about the ESC. I have my own diy brushless motor which is made from a VCD brushed motor. I connected the ESC to arduino power supply and also the motor.

The motor buzz and spin juz a few degree and then stays in the same place and buzz forever. Can you tell me wats wrong wit it?
by (200 points)
edited by
0 like 0 dislike
Hey Electronoobs,

I built a similar circuit with larger components to power a 60 A BLDC motor. When testing with the no EMF code, i just got a constant beeping of my motor and no spinning. With the emf code i got nothing. I was wondering if you would know anything about this or have any suggestions. Maybe it is the delay time being an issue but I didn't know if I should map it higher or lower. Anything helps! THANKS!!
That is exactly what my motor is doing,just buzz and then nothing.Now that i saw others having the same problem i know that i built it corect
0 like 0 dislike
Good Afternoon,

Schematic show the use of 6 IRF3205, if i'm not wrong they are N-channel power mosfet.

Shouldn't we use also P-channel for the High-side of the H bridge?
by (140 points)
edited by