u/mikeyciccarelli

▲ 2 r/Motors

esp32 driving motors that can spike to 20+ amps

For my hobby I decided to maybe dive in the deep end (to see if my end goal is even possible). Wanted to use esp32 to send signals to some sort of combination of mosfets or whatever to control both brushed and brushless motors (brushless would have an ESC in front of it). 1 issue is the motors are off and on a lot with addition braking added to slow it quicker.

Is it really that involved to have an ESP32 control mosfets that power/control 12v motors that can spike to 20 amps? If it is then it is, but I'm just trying to wrap my head around the project at a very high level.

things I've tried

  1. IRF9540N and IRLB3034 on a single control wire.. Ended up with issues if the ESP32 is "off" the IRLB3034 would end up drawing power and getting hot, couldn't find a reasonable way around this and I guess this setup is just bad (I learned).
  2. used opticouplers to try to avoid blowing out my esp32. This worked well but still ran into an issue with #1
  3. yes I'm looking at premade driver boards that can handle up to 30A continuous (MD30C on order)...
  4. but curiosity is still making me dove back in and looked at using 2 n channel mosfets for throttle... this ended up getting complex because apparently EMF of wires and capacitors is a real problem?

long story short and I appreciate honest answers.... is this just a waste of time for me to try to come up with some sort of 4 n channel mosfets in a high/low config? (2 for throttle and 2 for brake). And yes, if you made it this far, I am a newb but wanted to at least look into this.

thanks!

reddit.com
u/mikeyciccarelli — 9 days ago