Make Your Own Sensored ESC

Introduction: Make Your Own Sensored ESC

About: Awesome Electronics Tutorials, Projects and How To´s

In this project I will show you how a sensored BLDC Motor from an electric bike works and how we can create our own sensored ESC in order to let it rotate. Let's get started!

Step 1: Watch the Video!

The video gives you all the information you need to create your own sensored ESC. But you can get some additional information in the next steps.

Step 2: Order Your Components!

Here you can find a parts list with example seller (affiliate links):

Aliexpress:

1x Arduino Nano: https://s.click.aliexpress.com/e/_dULoNXh

1x 10k Potentiometer: https://s.click.aliexpress.com/e/_dX83GAF

1x 74HC14 Hex Inverter Schmitt Trigger: https://s.click.aliexpress.com/e/_d6IDxPM

3x TC4427 MOSFET Driver: https://s.click.aliexpress.com/e/_dVFrEdk

3x IRF5305 P-Channel MOSFET: https://s.click.aliexpress.com/e/_dUY618W

3x IRFZ44N N-Channel MOSFET: https://s.click.aliexpress.com/e/_d69Oaj0

6x MUR460 Diode: https://s.click.aliexpress.com/e/_dZ1g8Fs

1x LM7805 5V Regulator: https://s.click.aliexpress.com/e/_dXSrfiP

1x LM7815 15V Regulator: https://s.click.aliexpress.com/e/_dVkFvGO

Ebay:

1x Arduino Nano: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x 10k Potentiometer: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x 74HC14 Hex Inverter Schmitt Trigger: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

3x TC4427 MOSFET Driver: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

3x IRF5305 P-Channel MOSFET: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

3x IRFZ44N N-Channel MOSFET: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

6x MUR460 Diode: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x LM7805 5V Regulator: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x LM7815 15V Regulator: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

Amazon.de:

1x Arduino Nano: https://amzn.to/2qvAplS

1x 10k Potentiometer: https://amzn.to/2GWYKvL

1x 74HC14 Hex Inverter Schmitt Trigger: https://amzn.to/2qzbca2

3x TC4427 MOSFET Driver: -

3x IRF5305 P-Channel MOSFET: https://amzn.to/2qy6bPg

3x IRFZ44N N-Channel MOSFET: https://amzn.to/2qxWrEJ

6x MUR460 Diode: https://amzn.to/2IUqOMT

1x LM7805 5V Regulator: https://amzn.to/2HCgM3S

1x LM7815 15V Regulator: https://amzn.to/2HzRuTK

Step 3: Create the Circuit!

Here you can find the schematic and pictures of my completed circuit. Feel free to use them as a reference.

Step 4: Upload the Code!

Here you can download the code for the sensored ESC. Make sure to upload it before attaching the motor wires.

Step 5: Success!

You did it! You just created your own Sensored ESC!

Feel free to check out my YouTube channel for more awesome projects:

http://www.youtube.com/user/greatscottlab

You can also follow me on Facebook, Twitter and Google+ for news about upcoming projects and behind the scenes information:

https://twitter.com/GreatScottLab

https://www.facebook.com/greatscottlab

Be the First to Share

    Recommendations

    • Backyard Contest

      Backyard Contest
    • Remote Control Contest

      Remote Control Contest
    • Meatless Challenge

      Meatless Challenge

    22 Comments

    0
    TDHofstetter
    TDHofstetter

    4 days ago

    I see no motor connections on this schematic.

    0
    TDHofstetter
    TDHofstetter

    Question 4 days ago

    Did you ever bother to tell us what VCC is? It can't be much higher than 18V, since you'd never get your high-side MOSFETs to turn off if it's much higher, so all your MOSFETs would overheat.

    0
    mmkumr
    mmkumr

    8 weeks ago

    How can I get the EasyEDA circuit file?

    0
    Prabhas7
    Prabhas7

    2 months ago

    how you used the 6 and 7 bit of PORT B , because it is dedicated for crystall oscillator

    0
    lucasbaumeier
    lucasbaumeier

    Question 7 months ago on Step 4

    hello, you are helping me a lot with this project. But the code doesn't have the potentiometer input and doesn't regulate the duty cycle, if you can send the code with these functions it would help.

    0
    miskooo
    miskooo

    Answer 3 months ago

    it has potentiometer input, by setting ADC to free run, it measure analog input independently

    0
    yogits
    yogits

    Question 1 year ago

    With 12v DC supply. I made above circuit how and hub motor is not running. How much current and voltage I will get on output? How do I check.

    0
    ahmadnomi52
    ahmadnomi52

    Answer 3 months ago

    hy, have you sort out your problem with hub motor. i am also working on that.reply

    0
    dominikbukovcak9
    dominikbukovcak9

    Question 1 year ago

    Hi i would like to use this esc to drive bldc motor for eskate. Is it possible or do I need change some parts?

    0
    NormanA6
    NormanA6

    Question 2 years ago on Step 5

    How can the IRF5305 ever switch off? Surely the gate needs to be connected to Vcc to switch it off, but the driver can only supply 15 volts, which is less than Vcc.
    And when the driver switches the IRF5305 on, the whole of Vcc is applied to the gate/source and may exceed the maximum gate voltage allowed.

    0
    forroman_88
    forroman_88

    2 years ago

    Hi! Can you tell me what's de purpose of the 74hc14?

    0
    3d-X-Ray
    3d-X-Ray

    3 years ago

    hello i made this circuit its wit emf detection and all N-mosfets
    (https://simple-circuit.com/wp-content/uploads/2018...
    but i dont like it. i like your project more because it use the hall censors. but i want to use all N-mosfets i am using LM5109 hi low fet driver instead of the drives in the link. can i use your adruino code to drive my all N-mosfets?

    0
    sharjeelz
    sharjeelz

    3 years ago

    Greetings to All my friends!

    Hardware:
    I used Ir2110 High-low side mosfet Driver for irf3205 Mosfet, Used 6 irf3205 on highside and lowside to make "3ph- H-bridge".

    Code:
    Used 32khz pwm on lower side mosfets for current chopping and digitalWrite command for high side. digitalRead command hall sensors and call sequenced function for rotation.
    Motor is not rotating smooth at low speed. Please Help



    20190121_190043.jpg20181122_171807.jpg
    0
    AndersonL9
    AndersonL9

    3 years ago

    I think it would be best for you to use the Ir2110 high-low side Mosfet drivers and use N Channel transistors.

    0
    sharjeelz
    sharjeelz

    Reply 3 years ago

    Did you work on it?
    Can you plz share.?

    0
    Abhijithekv
    Abhijithekv

    3 years ago

    What changes should I make so that I can adapt this to a In-hub BLDC 48V 500W motor?
    It is powered using Samsung ICR18650-26J cells which is in 13S4P configuration.

    0
    enoch kranthi
    enoch kranthi

    3 years ago

    What is the power rating that your circuit can handle, because I have a 250W BLDC motor and planning to build an ESC for my motor.

    0
    MohdK19
    MohdK19

    4 years ago

    How can i change the direction of motor in this esc