Arduino regen messes - drawing power from the same source (help)

I’m having a bit of an issue with the ardunio nano freezing up when regen current is applied to the battery pack. I have a buck converting kicking out 7.5v, pulling from the same battery as my VESCs.

Anyone have ideas as to what could cause this? Do I need a separate battery?

You can maybe hookup a diode between the buck converter and the batteries so no reversed voltage can occur, furthermore you can try hooking up the arduino to the ubec + - of the vescs if it doesnt draw too much amps

there are probably much more options but I can’t think of one, hope this helped you! :smile:

Lc filter before the buck.

Inductor & capacitor in series, likely transients are over volting your switching buck, limit it with an LC

so something like this?

1 Like

Yea…but you’ll need to make one probably. The voltage on quad lc filters is typically only up to 25 or 32v…

Just grab a cap and inductor for your board voltage and make one for a few pennies…

Do you mean stealing power from the ppm port?

I don’t realy know vescs but you always have a ubec port nowadays on an esc which delivers 5v’s for the reciever, maybe you could tap that a bit. But @Deckoz has the best solution i think

No eliminator BEC on vesc :frowning:

THe issue seems to actually not be the arduino. Cause I get good values. But I’m powering the screen from the arduino. So I’m thinking if I use the ubec on the vesc to power the oled screen, my issues might go away.

Well I have 60v caps from old vescs. However, I don’t have an inductors, so I guess It’ll mean I need to wait a bit to get this going.

@Deckoz Sorry, I’m kinda a n00b when it comes to electronic component ratings. What am I looking for in an inductor? I have extra 60v caps, in many different lengths. I run 12s btw.

Inductor is just wound wire. You can get some smd conductors off of digikey, pick one double the mA you are trying to.push through it… Your voltage is small so don’t worry to much about the rest, you are just trying to bring down noise on the line, before it goes to your switching ubec, as the Bec will reintroduce noise, the noisier the input to the Bec, the noisier it’s switching. Lc helps smooth the input so the Bec switching frequency is constant…

Inductor helps keep the current from fast change, while the cap helps keep the voltage from fast change.

So wire them in series before the buck, on the + wire, correct?

Would it be hard to make my own inductor? I have tons of motor wire, which is what it seems they use…


Sorry when I said series earlier I mean in the Daisy chain

Battery - > lc filter - > Bec -> Arduino

Yea you could if you wrap extremely thin wire around a ferrite toroid or conductive metal. Not sure how well it would perform though as it’s super high frequency noise from the motors you are trying to filter out…

Ok, just trying to find the quickest solution, since I don’t think I can find these anywheres locally anymore. All the local electronic places got pushed out from high rent. And mouser would be at least a week. Is it possible I’m blowing out arduinos or oled displaysAfter a bunch of testing today, the screen won’t light up anymore and I had this happen once before a few days ago in testing. Replaced the screen and mega and now I seem to have the same issue again.

Since I need less than 2 amps, would this work?

1 Like

Yea…either that or buy the one on Amazon you linked before. And replace the cap(25v)… I believe the one was 2A as well…

Is the Arduino drawing power from the vesc and stepdown or just stepdown?

just step down. Step down is in parallel with vescs.

I just bought those so I have more for the future. I’m just wondering why my nano doesn’t have this issue. I use 2 buck converters, one for a nano (lighting system) and one for a mega (speedometer). The nano has no issues, pwm from receiver for brake lights and turn signals work. No glitchs or anything. But the oled display has consistently been an issue. I had it working the other day with out any glitching. and then today, it started glitching after modifying the nano for turn signals.

Maybe not enough power?