Introduction: Make Your Own ESC

Picture of Make Your Own ESC

In this project I will firstly demonstrate how a common ESC works and afterwards create a circuit consisting of an Arduino Nano, an L6234 motor driver IC and a couple of complementary components in order to build a DIY ESC. Let's get started!

Step 1: Watch the Videos!

The two videos give you a good idea of what is necessary to do to create your own ESC. In the following steps I will present you some additional information.

Step 2: Order Your Components!

Picture of Order Your Components!

Here you can find a parts list with example seller:

Amazon.com:

1x Arduino Nano: http://amzn.to/2fCdkMl

2x LM393 Comparator: http://amzn.to/2wUuM25

1x L6234 IC: http://amzn.to/2wG6WHY

4x 470nF, 1x 100nF, 1x 10nF, 1x 220nF Capacitor: http://amzn.to/2uA0eWA

2x 1µF Capacitor: http://amzn.to/2vRNvi1

4x 1kΩ, 3x 10kΩ Resistor: http://amzn.to/2wG9Cpk

5x 1Ω Resistor: http://amzn.to/2fCjiNi

2x 10kΩ Potentiometer: http://amzn.to/2vRZZGf

2x 1N4148 Diode: http://amzn.to/2vyFPhT

Ebay:

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

2x LM393 Comparator: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x L6234 IC: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

4x 470nF, 1x 100nF, 1x 10nF, 1x 220nF Capacitor: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

2x 1µF Capacitor: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

4x 1kΩ, 3x 10kΩ Resistor: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

5x 1Ω Resistor: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

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

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

Amazon.de:

1x Arduino Nano: http://amzn.to/2w0QQLZ

2x LM393 Comparator: http://amzn.to/2uRTgaM

1x L6234 IC: http://amzn.to/2w2M2VK

4x 470nF, 1x 100nF, 1x 10nF, 1x 220nF Capacitor: http://amzn.to/2wUe03i

2x 1µF Capacitor: http://amzn.to/2wUyby6

4x 1kΩ, 3x 10kΩ Resistor: http://amzn.to/2vujMKZ

5x 1Ω Resistor: http://amzn.to/2vzjBwc

2x 10kΩ Potentiometer: http://amzn.to/2uRZveE

2x 1N4148 Diode: http://amzn.to/2fCTO2E

Step 3: Create the Circuit!

Picture of Create the Circuit!

Here you can find the schematic along with reference pictures of my board layout.

Step 4: Upload the Code!

Here you can download the code that I created for the project. Since I created quite a few of them you can download them all.

Sketch 1: Uses the analogRead function to measure the current

Sketch 2: Uses the external interrupt on pin 3 to measure the current

Sketch 3: Uses timer 2 to control the current chopping

Sketch 4: Uses the interrupts on pin 10,11,12 to switch to the next step

Step 5: Success!

You did it! You just created your own 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

Comments

Ivan4567 (author)2017-10-23

Hello! Is it possible to implement a digital speed reference? Without using a potentiometer.

AllexandruP (author)2017-10-23

make a video ; comparators vs opamp

ahmet_024102 (author)2017-09-21

can you add good schematic photo.
can you share good ? because not sure names

mikeanton (author)2017-09-16

Great instructable, but I think there are a few errors in your schematic. The RC filters you have on the comparator inputs look to be drawn incorrectly. The capacitor should be located directly on the comparator pin, so that the capacitor forms a voltage divider along with the resistor, to form a lowpass filter. As drawn, the capacitor is right across a low impedance source, so it will have little to no effect.

JaccoV (author)2017-09-08

Awesome project! We made it exacatly like you.. The only problem is that the motor isn't spinning fast enough. Do you have any idea why this is happening? We using the software 4.ino

kevinmaker2018 (author)2017-08-17

Very good project.I had bought some parts form Makerfabs. Hope every thing is OK. Could you please sharing the eagle files? Thanks!

doctek (author)2017-08-15

Very nice! How about a high res version of the schematic that I could actually read? That would be much appreciated.

GreatScottLab (author)doctek2017-08-16

Left click on the image, left click again and select the resolution on the left side. You can even print it as a poster.

doctek (author)GreatScottLab2017-08-16

Perfect. Thanks!

samayaraj (author)2017-08-16

osm man!

Hamids (author)2017-08-15

nice job without Fet module , however I was wondering if you've had any research for using the high power IGBT module and its pre driver to control large BLDC motor using in electric car, any advise really appreciated

LesB (author)2017-08-15

What kinds of motors will this work with?

Jonathanrjpereira (author)2017-08-15

This guy is a Genius!

R Carroll (author)2017-08-15

Is there a motor wattage limit this controller can handle?

AraC3 (author)2017-08-15

Yah'll catch all that? Good? Good!

About This Instructable

20,122views

252favorites

License:

Bio: Awesome Electronics Tutorials, Projects and How To´s
More by GreatScottLab:Make Your Own Solid State RelayMake Your Own Simple ThereminDIY WiFi RGB LED Lamp
Add instructable to: