@tutorial: Homemade ESC for E-Bike with regen and ESP32

I'm starting a new tutorial where I make a fully homemade ebike from scratch. Homemade motor from a car alterantor, homemade battery and homemade ESC with regenerative braking. That's what we will make today!

by: ELECTRONOOBS on 2026-08-30

~Tutorial Video
~Schematic
Homemade ESC schematic regenerative braking
Homemade ESC schematic regenerative braking
~The PCB

[ESPERANDO CARGA...]

[3D_READY]
Download: ESC GERBERs
~Assemble

To solder the buck converter we first need to fill the exposed tracks below with solder because we can't do it later. I will eventually fill all exposed tracks with solder. 

 

Then add the current sensor. I’m using the ACS758 bidirectional 50A sensor. Also solder the fuse clips and the input connectors. I’ve also added the first input capacitor of 1000uF and 50V together with the TVS diode. This diode will protect the circuit from voltage peaks, because we have a lot of those. 


Add the voltage regulators for 12 and 3.3V. Once power is ready we add the MOSFETs, drivers, small pins, ESP32 and the rest. Check schematic for the values!

Crafting a DIY e?bike: custom car alternator motor, hand?built battery and regenerative ESC assembled.
Crafting a DIY e?bike: custom car alternator motor, hand?built battery and regenerative ESC assembled.
~Test Code

Leave a comment

Please login in order to comment.

Comments

ADVERTISERS
ADVERTISERS
PCBWAY