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!
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
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.
@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.
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.
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.