Estability of arduino

Hi! I was doing an instalation with arduino nano, a presure sensor MPL3115a2 controling the rpm of a dc or brushless motor and position of a servo and they didn´t give me estability, I mean, it gets stall many times and i have to reset.
I´ve changed the arduino nano for an original arduino nano, using a pressure sensor BMP280, soldering capacitors to dc motor and flyback diode but I need more estability. anybody knows how to get it?
Thank you very much

What is "estability"?

Perhaps you are looking to reduce EMI and interference - which is mainly a question of good
layout and screening.

I would guess that whatever you are using to supply power is not adequate to drive all those components.

Steve

Motors can have very high momentary current which drops the voltage from the battery to levels too low for the Arduino. You might try something like the following to hold up the Arduino voltage. The idea is that capacitor C1 holds up the voltage momentarily even if the voltage a BT1 drops and D1 prevents C1 from discharging through the motor. C1 should be a large value electrolytic capacitor, for example 500 uF or more.

diodePower.PNG

diodePower.PNG

Ok Thank you very much everybody.

MarkT: When I say stability I mean that my instalation often gets blocked and suddenly stop and I have to reset for start again. So I would like improve stability for do not this anytime.

Slipstick: I think the battery is ok, but like say MrMarck maybe the miniservo and the motor drains too much it and it blocked and it stop.

MrMarrk thank you very much. Ok I´ll try it. So I need a uF Capacitor and a Schottky Diode. Where can I get one? It is in Arduino Kit?

Many Thanks everybody

Without a proper diagram and picture of the setup, and the code (with tags), every solutions given sofar could be a wild guess. "A brushless DC motor", "a servo" and "a battery" just isn't good enough.

Please read the "How to post" sticky that you can find on top of every main page.
Leo..

LMSimarroG:
So I need a uF Capacitor and a Schottky Diode. Where can I get one?

I'd grab one from one of my spare parts boxes, if not there order from my favourite parts supplier (one of several Shenzhen based Taobao shops for quick and cheap delivery).

And remember: when you need one, order 10. Or even better: a kit of 10 pcs each of 10, 20 different values - of course 10 years later half those are till in your parts box but the other half is so convenient to just have when you need one!

It may be a SW bug as well as a HW issue.