Make your own Sensored ESC || Electric Bike Conversion (Part 1)

  Переглядів 383,238

GreatScott!

GreatScott!

6 років тому

Best price in 2-layer prototype & volume PCBs: jlcpcb.com
Previous video: • LoRa Module VS nRF24 V...
Make your own ESC videos: • Make your own ESC || B... • Make your own ESC || B...
Arduino Basics videos: • Arduino Basics 101: Ha... • Arduino Basics 102: Co... • Arduino Basics 103: Li...
Facebook: / greatscottlab
Twitter: / greatscottlab
More project information (schematic, code, pictures,...) on Instructables: www.instructables.com/id/Make...
You can get a e-bike conversion kit here: (affiliate links)
Aliexpress: s.click.aliexpress.com/e/_dYx...
Ebay: rover.ebay.com/rover/1/711-532...
Parts list (incomplete, see Instructables for more, affiliate links):
Aliexpress:
1x Arduino Nano: s.click.aliexpress.com/e/_dUL...
1x 10k Potentiometer: s.click.aliexpress.com/e/_dX8...
1x 74HC14 Hex Inverter Schmitt Trigger: s.click.aliexpress.com/e/_d6I...
3x TC4427 MOSFET Driver: s.click.aliexpress.com/e/_dVF...
3x IRF5305 P-Channel MOSFET: s.click.aliexpress.com/e/_dUY...
3x IRFZ44N N-Channel MOSFET: s.click.aliexpress.com/e/_d69...
6x MUR460 Diode: s.click.aliexpress.com/e/_dZ1...
1x LM7805 5V Regulator: s.click.aliexpress.com/e/_dXS...
1x LM7815 15V Regulator: s.click.aliexpress.com/e/_dVk...
Ebay:
1x Arduino Nano: rover.ebay.com/rover/1/711-532...
1x 10k Potentiometer: rover.ebay.com/rover/1/711-532...
1x 74HC14 Hex Inverter Schmitt Trigger: rover.ebay.com/rover/1/711-532...
3x TC4427 MOSFET Driver: rover.ebay.com/rover/1/711-532...
3x IRF5305 P-Channel MOSFET: rover.ebay.com/rover/1/711-532...
3x IRFZ44N N-Channel MOSFET: rover.ebay.com/rover/1/711-532...
6x MUR460 Diode: rover.ebay.com/rover/1/711-532...
1x LM7805 5V Regulator: rover.ebay.com/rover/1/711-532...
1x LM7815 15V Regulator: rover.ebay.com/rover/1/711-532...
In this video 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.
Thanks to JLCPCB for sponsoring this video
Visit jlcpcb.com to get professional PCBs for low prices
Music:
2011 Lookalike by Bartlebeats
Killing Time, Kevin MacLeod
(incompetech.com)

КОМЕНТАРІ: 490
@northshorepx
@northshorepx 6 років тому
What a great project. I love how your earlier videos are now making it easier for me to follow your block diagram with a a minimum of explanation. Normally I'd think - why an inverting Schmidt Trigger? But now I see oh the P channels can be driven with it and no further explanation. Thanks for such great content.
@hjw5774
@hjw5774 3 роки тому
I appreciate that you'll probably never see this comment - however I just wanted to thank you for this video and all your other videos. I'm in great awe of your electrical abilities as well as your language skills. Keep it up!
@ericviger4984
@ericviger4984 6 років тому
I gotta say man, your solder joints are top notch!!!
@aliasgar1162
@aliasgar1162 6 років тому
Wooow who else never saw that awesome cycle before ? Awesome great Scott. Cycling itself is ecofriendly and this awesome project made it even awesome.
@jarenhudson9794
@jarenhudson9794 4 роки тому
The whisper... And I love your Videos. Great work Great Scott. I'm sure you get that way too much. I appreciate your thorough explanations and "rebuilding the wheel" approach to help yourself and others understand.
@rodrigo_dm
@rodrigo_dm 6 років тому
My week wont start till i get a new GreatScott video. Nice as always
@wi_zeus6798
@wi_zeus6798 6 років тому
Should you ever want to use the full potential of such a motor, I'd definitely recommend torque-arms! I built something similar with a VESC and the steel of my bike was deformed rather drastically (after about one month of driving around). Please add regenerative braking too, it would be extremely interesting to see that implemented. Since I'm already asking, some current shunts for power measurements would be a nice touch too ;)
@LoganT547
@LoganT547 6 років тому
Manuauto another idea is recycle a Fisher and Paykel washer motor.
@KerbalLauncher
@KerbalLauncher 6 років тому
It already has regenerative braking, if the motor is running at say 20% max speed and you feed 10% duty cycle, current will backfeed into the supply because of the inductance of the motor windings.
@DonPavardenis
@DonPavardenis 6 років тому
My favourite electronics diy UKpostsr!! Scott i learned so much from you, keep up good work brother.
@terminashunator
@terminashunator 6 років тому
As an avid eBike cyclist, I really enjoyed your video! Just so you know, you can remove the disc from your old wheel and use it with the eBike hub if your alignment is correct. The six hex screws on the side of the motor should align with the holes on the disc rotor from your stock bike wheel. This project is really interesting to me, since I play with RC rock crawlers (that use brushless sensored motors) and eBikes (also use sensored motor). Keep up the great work!
@MC-01
@MC-01 6 років тому
Your english is getting even better when ever you make a video keep up the good work hope you get a 1Million Subscribers 👍👍👍
@JOELwindows7
@JOELwindows7 6 років тому
0:05 Yes, my region is *burning hot* since April. 1:01 long intro *world record?!* 1:46 long intro ends! *Lets get started!!* 7:56 Duper Awesome!!!!
@anycatdessai
@anycatdessai 6 років тому
Again you deliver a video about something I was researching about. Great job! I'll be working on this too in some months hopefully.
@Lagggerengineering
@Lagggerengineering 6 років тому
I am sitting here like... try a 48V power supply maybe? :D
@rexczi6299
@rexczi6299 6 років тому
Was just about to build one too!! Now you started a series! Yess!!
@KnightsWithoutATable
@KnightsWithoutATable 6 років тому
Getting an e-bike is on my to do list, so this is going to be helpful for me.
@RoamingAdhocrat
@RoamingAdhocrat 4 роки тому
Great videos! Now the series is complete it'd be pretty helpful to have links to part 2 and 3 in the description here.
@cameron20020
@cameron20020 6 років тому
Once again, excellent work. Love the level of detail!
@Cambpictures
@Cambpictures 6 років тому
Hope you get it working! I bought a 1.5kw version and they are loads of fun! I would recommend though if you get a motor larger than 1kw that you get a sturdy bike like a Mountain bike or a fat bike. City bikes simply just won't do.
@Liamtronix
@Liamtronix 6 років тому
I have a feeling this is why you've been experimenting with building 18650 packs recently...
@greatscottlab
@greatscottlab 6 років тому
Possible...
@LoganT547
@LoganT547 6 років тому
GreatScott! I was just wondering if you will be comparing the new raspberry pi 3b+ with another board???
@RomanoPRODUCTION
@RomanoPRODUCTION 6 років тому
+Logan, probably pointless RPi 3B+ is behind many existing boards in regard of tech features but it has great software support and community
@kedarprabhudessai
@kedarprabhudessai 6 років тому
Great Scott and electronoobs are going hand in hand. Great keep it up👍
@HaLo2FrEeEk
@HaLo2FrEeEk 6 років тому
This is great! I've been thinking about getting a bike and converting it to an electric bike for commuting to and from work once it gets into the warmer months.
@svg98
@svg98 6 років тому
I am so happy that you keep uploading, thank you! Have fun with your bike ;)
@yuzhang3243
@yuzhang3243 6 років тому
It's amazing. I always enjoy watching your videos.
@cyrustakem7993
@cyrustakem7993 6 років тому
your perf board skills are on point, nice
@greatscottlab
@greatscottlab 6 років тому
Thanks
@mattiapassera5084
@mattiapassera5084 6 років тому
Very cool, I'm working on a PIC based one, it is very time consuming but also a lot of fun!
@93matarl
@93matarl 6 років тому
great video, tanks for explaining the hall effect sensor in a good practical way, keep up the great work.
@apurvsharma1261
@apurvsharma1261 6 років тому
Finally After a Long Time New Series Like electric Skateboard TY GREAT :)
@thecubinggamer2191
@thecubinggamer2191 6 років тому
Great video. I built a similar ebike but with a rear hub motor. I think with the front hub motors you have to be carful to make sure that the front forks can take the force. I’m just using stock ESC for mine, I’m interested to how yours will turn out.
@officializm4171
@officializm4171 6 років тому
What kind of king you are GreatScott. :)
@rizkyp
@rizkyp 6 років тому
why would anyone dislike a project video like this?
@Vindix007
@Vindix007 6 років тому
I like your channel. Greetings from Brazil.
@jeremyseelig2432
@jeremyseelig2432 3 роки тому
Holy shit, i dont understand a thing what he talks about but everything he says sounds just to confident and good
@venuji1
@venuji1 6 років тому
An awesome project to get inspired thank you great scott sir for inspiring me you are my teacher i regard as like that
@uday88121
@uday88121 6 років тому
Best project. I just love your videos. I am too electronic enthusiast. Keep it up
@Pneumaticcannon
@Pneumaticcannon 6 років тому
You might need torque arms !! Otherwise the axle will spin in your dropouts. Also the speed co troller that comes with the kit has a low voltage cutoff to protect a battery! Awesome build :)
@Elisworkshop
@Elisworkshop 6 років тому
Hi great Scott! This was a great video, you are a genius! There is one thing I really want to point out to you for your own good. I have made many ebikes, I purchased a hub motor for the front just like you. When I put it on my bike the hub motor the second I put power to it on the ground the mounting taps broke on the forks. I don’t know what it is but the magnesium alloy is very brittle to the motors torque. I really hope you see this because I have broken 3 forks like that and had to get steel ones. I think it’s a huge safety hazard and don’t want it to happen to you!!!
@reinveenstra1
@reinveenstra1 5 років тому
Great video! What is going on with the diy jbc soldering station? Are you still using it? If you don’t, what are you using as your main soldering station at this moment
@praveenelumalai7624
@praveenelumalai7624 6 років тому
Awesome!I love your project and likes to watch in the next few of upload
@xxmountaindewxx7893
@xxmountaindewxx7893 6 років тому
Morgen in der Bild: Student fährt mit Fahrrad auf die Autobahn!
@satriorudi7940
@satriorudi7940 6 років тому
You great can create your own circuit i admire you job
@ELECTRONOOBS
@ELECTRONOOBS 6 років тому
Very nice job as always. Fella UKpostsr here, working on same project. Already have a few prototypes. How much power will draw that huge motor? Can't wait to see second video where I guess you'll test the bike around using your ESC. Keep up good work!
@greatscottlab
@greatscottlab 6 років тому
Well, I will probably not use my own ESC for the second part of the video series. But I think a test run with it will follow.
@northshorepx
@northshorepx 6 років тому
@electroboobs I love your channel too!
@abbasmaghazehi8630
@abbasmaghazehi8630 6 років тому
Hi Andrei!, from my own project, those hub motors usually consume about 16-20Amps of current at initial start, then when the speed rises, it drops to around 10Amps
@anycatdessai
@anycatdessai 6 років тому
You've been of great help regarding quad-0copter construction.
@TheIdiotPlays
@TheIdiotPlays 6 років тому
northshorepx electroboobs lol
@Michael_Michaels
@Michael_Michaels 5 років тому
This is a great project!! Really nice one!
@LeonardoHSilva
@LeonardoHSilva 4 роки тому
Omg. You have videos for everything
@sidneymuli8560
@sidneymuli8560 6 років тому
I just love your creativity
@KerbalLauncher
@KerbalLauncher 6 років тому
Really cool video! I have one question though, I noticed you did not use any dead-time control, how did you manage avoiding shoot-through? Since International Rectifier MOSFETs have pretty bad gate charge characteristics.
@jensk3767
@jensk3767 3 роки тому
Love seeing a Geodreieck in action :D
@evertonbarnes3780
@evertonbarnes3780 5 років тому
Nice work I watch your video a lot however my question is can this ESC works on a IGBT at 220v dc also is the 15 volt that drives the IC has to be isolated Thank you
@anlpereira
@anlpereira 6 років тому
Hi Scott, another thing I would like to see. Could you make some deep approach showing the relationship between number of poles of stator and rotor. Where to place the magnets and when to commute phases. I don't see, for example, a motor with same number of poles in stator and rotor. Thanks a million
@CSparzo
@CSparzo 5 років тому
Hey Scott, I think I found an error in your code and a reason why the motor wouldn't spin very fast. In your switch cases I think you have your ports D and B backwards for case 3, 4, and 5. If you look at the direction (DDRD) registers in setup() you are manipulating registers that you haven't declared as output, which also happens to be exactly flipped between D and B. I think the only thing you'll need to do is flip them back. Another reason the wheel won't spin quickly is because you only had it hooked to 15 volts. From the looks of it you'll need at least 36.
@CSparzo
@CSparzo 5 років тому
Where do those two electrolytic capacitors go in the schematic? I notice they are in a few of the images but not in the schematic.
@MrNigel1340
@MrNigel1340 6 років тому
Have just been working on my electric bike today so your video ties in nicely thank you Scott, will you be making a homemade BMS ? this would be of great interest to me, regards Doc Cox.
@TECHWITHGAYAN
@TECHWITHGAYAN 5 років тому
GreatScott! Can i konow something.😇 what is your voice recording equipment?
@elii__.1232
@elii__.1232 6 років тому
Really well done....a Project for the future you could build youre own racing drone
@Andrey43915
@Andrey43915 5 років тому
Nice sponsor! Thank you! :D
@harshsrivastava264
@harshsrivastava264 5 років тому
Hey Great Scott! Why did you use Mosfets? Any specific reasons or are there any alternatives to there use here?
@adithyapillai4259
@adithyapillai4259 6 років тому
Awesome Video as always. Keep up the Good Work :D
@paulmacgiollacaoine8619
@paulmacgiollacaoine8619 6 років тому
Super video. What pitch are your perfboards?
@giannebaron6139
@giannebaron6139 6 років тому
Can't wait for the next part!
@thokankit007
@thokankit007 5 років тому
Great video and clarity in explanation. it is good for rotating the wheel with no load but if will burn out if u use it for the eBike. i would be great to see a real 48v version of this. i have been trying my own but current level is too high.
@anlpereira
@anlpereira 6 років тому
Waiting anxiously for the second video. I hope you find out why it is to slow. Thanks
@H3liosphan
@H3liosphan 6 років тому
Is this same circuit going to be able to practically drive the hub motor powerfully? I feel like it'll take the volts, but not the required amps for actual use. Would be great if the next video accounts for this, as I'm also really interested in building ESCs.
@redhalahlouhi9033
@redhalahlouhi9033 5 років тому
Such a professional Work from you keep on :)
@lennox1558
@lennox1558 6 років тому
At first I read '' how to make your own censored esc'' 😂😂 But as always great video!
@MCsCreations
@MCsCreations 6 років тому
Really awesome work, man! Really nice! 😀
@bobalong131
@bobalong131 6 років тому
Heads up if you haven't looked into it already. The front wheel electric motors will often turn inside the front fork either cracking it or rounding out the section and subsequently winding up all the wire and possibly losing the wheel. been there done that lol
@MarkABorkowski
@MarkABorkowski 6 років тому
Have you ever given any thought to making a video on a diy smps to turn mains power into 5vdc, so it can be used to power a micro controller. I've looked all over but I can't seem to find a decent video or tutorial on the subject.
@R3MIXMODZ
@R3MIXMODZ 6 років тому
A couple years ago, my parents had a motorized bike that the base was a cooler so it was a motorized cooler to hold drinks and stiff. It ended up breaking(which was probably a simple fix) and they sold it at a sale for $50. Sadly I wish we still had it because I love to work on that stuff and I would have had a great time with it.
@jotarolevagabon8030
@jotarolevagabon8030 6 років тому
I would love to make an electric bmx but I dont know how to do that :( Great video btw keep doin it man that's dope
@TheLordbruh
@TheLordbruh 2 роки тому
@GreatScott, is it capable to control the position with a close loop?
@Ultralordbro
@Ultralordbro 6 років тому
i am wanting to look into some electronics engineering and i was wondering if you or anyone else could recommend a good place to start with it. i thought about find schematics online and learning how they work then build them or if buying a kit would be a better route?
@elijahschow6672
@elijahschow6672 6 років тому
Have you considered using JLBPCB for any of your projects? I'd love to see their work in action.
@MoraFratel
@MoraFratel 6 років тому
Very nice Video Scott. Is possible use this project to control smart balance scooter wheels ? This wheels are cheep, powerful and silent for robots.
@joaozitoization
@joaozitoization 5 років тому
Wonderbar. I would like to add more power to the project. What would be the recommended MOSFETs for 48V, 100A or near to that. Danke !
@Twometer
@Twometer 4 роки тому
Hey GreatScott I have a question: Is it possible to build this with regenerative braking, and a higher supply voltage?
@frodosleman7269
@frodosleman7269 Рік тому
Hello GreatScotts! your video is amazing and easy to understand, i love it! But i have a question, i made myself a custom controller for my final project, i'm having a problem with my MOSFET because it's easily overheat and then broke, i'm using MOSFET type IRF540N and i draw the power from Li-Ion Battery with 36V and 10Ah capacity. I added heatsink to each MOSFET, also i added RC snubber and Diode Flywheel to each one of them, but then it still easily overheat, what do you think i'm lacking of? how to make MOSFET temperature stable so that my controller can run normally and never broke? thank you very much...
@Kapalek84
@Kapalek84 6 років тому
Great project! I wonder if it would make sense to put such motor on both wheels and perhaps use some regenarative breaking? :)
@hotel-california
@hotel-california 6 років тому
Is there a benefit to using a hub motor instead of driving the chain directly?
@GuilhermeGumerato
@GuilhermeGumerato 5 років тому
Hi, first of all, i whould like to say congratulations! Your channel is amazing and helpfull a lot on my projects. What about to create a serie, in which you analyze the projects of the followers, giving suggestions and tips to improve them?
@mohamednaceurhammami6379
@mohamednaceurhammami6379 6 років тому
Hey Scott , can you do a video about the basics of the nodemcu card , it's like an arduino board but with built in wifi Module , it'd be great !
@surajjr7235
@surajjr7235 5 років тому
Thank you! @Greatscott! Great job as always... I am also working on a similar project. Can this circuit be used with a input supply voltage of 48V?
@Edainboy
@Edainboy 4 роки тому
@Greatscott, what happens when we increase the voltage?
@mustardroshi418
@mustardroshi418 6 років тому
This some tony stark tech right there zer good
@maxmick1376
@maxmick1376 6 років тому
Hey, i have a project i'd like your help in, I need an audio amplifier with 100w on one mono channel, but i need to be able to mount the volume knob through an enclosure. I have not been able to find an off the shelf amp that lets me do these things, is there any service i could use to have one custom made? or even have you design a circuit that i could assemble?? or is there a two channel amplifier that i could bridge??
@ryanbrooks1671
@ryanbrooks1671 6 років тому
do the windings on these bike motors have iron cores? Is there a significant cogging force?
@mtalhakhalid1679
@mtalhakhalid1679 6 років тому
Great videos you are like Linux user find the solution of problems by yourself
@EngineeringNS
@EngineeringNS 6 років тому
You better finish this project!
@Rajkumar-kn1uv
@Rajkumar-kn1uv 6 років тому
Keep it up,You are doing great🙂
@OliverHynds
@OliverHynds 6 років тому
scott
@rajeshkanna6596
@rajeshkanna6596 6 років тому
Thank God you made a video on this
@ridewithserhat
@ridewithserhat 5 років тому
Thanks a lot for this awesome project but ı dont understand why you are using extra 15V voltage regulator to supply mosfet driver ? Drivers also work between 4,5 - 18 V
@albertox0404
@albertox0404 6 років тому
Hi, nice video, I recommend you to use the irfs7530 mosfet for this kind is currents. See the Vesc project of Benjamin Vedder, it can be very useful for your esc. Hello from Salamanca (Spain)
@thokankit007
@thokankit007 5 років тому
How about IRF3710. will it work with it?
@thokankit007
@thokankit007 5 років тому
great tip on mosfet . thanks
@POTATOEMPN
@POTATOEMPN 6 років тому
I have no idea wtf any of this is, but I keep watching your videos because I feel like I am learning something, even if its just a little bit lol
@claudiopizzi3901
@claudiopizzi3901 6 років тому
Hi great Scott, is it possible to increase the rotation speed of the engine? I have an electric bike and I would like to make it go faster.
@yakine13
@yakine13 6 років тому
Scott hi! Could you please tell me how much time it took for you to get such a nice level for electrical engineering?
@victoraranzazu3903
@victoraranzazu3903 6 років тому
I dont understand a heck about what you are talking about, but i like your videos, what is this called (the carrer)?
@rohan3_official
@rohan3_official Рік тому
Hey Great work, I just wanted to know that will this controller and the code work for my "DIY Electric Skateboard Hub Motor Longboard PU Wheel Built-in W/Brushless Sensored Motor 75mm dia 83mm height 24V-36V 110KV"
@andycapo9you
@andycapo9you 5 років тому
The best conversion is the Tongsheng Or Bafang BBS02/ HD. Mid drive has the controller inside and looks much better on a bike. Yo also keep both original wheels that are most of the times better than the one that comes with the motor. You can also use your rear gears to get a more efficient ride. The screen on those mid drive motors are nicer too
@dewandydesramadhana4877
@dewandydesramadhana4877 2 роки тому
@greatscott! Can this circuit be used to supply of 48 volt?
@TechniWorld
@TechniWorld 6 років тому
I have a question, is it possible to build a Master/Slave Switch like the one from amazon by your own?
@brice9613
@brice9613 6 років тому
Yes yes yes ! Thankyou I need help with this project !
@notsoren665
@notsoren665 6 років тому
Is it possible to create a sine wave controller with regen braking that can handle high voltage and output high amount of watts?
@maasteeve
@maasteeve 5 років тому
Hey scott where can I buy these big perfboards cant find them anywhere(Online german stores are fine to)
EBike Battery Pack || DIY or Buy || Electric Bike Conversion (Part 2)
11:02
Make your own ESC || BLDC Motor Driver (Part 2)
9:47
GreatScott!
Переглядів 706 тис.
Малышка Поняла, что Её Папа Ушёл... 💔
00:31
Глеб Рандалайнен
Переглядів 5 млн
Electric Bike Conversion (Part 3) ||  Final Assembly & Test Ride
7:55
GreatScott!
Переглядів 343 тис.
Building an Electric Bike
14:08
Tom Stanton
Переглядів 7 млн
Brushless DC Speed Controller
15:11
Hyperspace Pirate
Переглядів 322 тис.
Tiny 1kW Electric Bike Motor
10:37
Tom Stanton
Переглядів 5 млн
Pulse Tube Cryocooler - Part 2 (-75C)
19:06
Hyperspace Pirate
Переглядів 895 тис.
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
GreatScott!
Переглядів 380 тис.
ESC electronic speed controller with arduino ALL EXPLAINED
19:31
Electronoobs
Переглядів 803 тис.
❌ НЕ ПОКУПАЙ фен #Dyson… ПОЖАЛЕЕШЬ!
0:43
Яблочный Маньяк
Переглядів 3,5 млн
Это УНИЖЕНИЕ: Самсунг сделал ступеньки из АЙФОНОВ
0:14
Собиратель новостей
Переглядів 149 тис.
ИГРОВОЙ КОНСОЛЬ от LENOVO за 65000 рублей.
26:49
Ремонтяш
Переглядів 274 тис.
Central network installation Part 2
0:20
Bilochpuratips Automobile
Переглядів 4,4 млн
Cincin ponsel dengan fitur pembayaran 💸
0:51
Rasa Kayu
Переглядів 2,9 млн