This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Current or voltage problem

Hello everyone,

I am having a problem with powering my nrf51822, I have 2 Li ion batteries to power my nrf51822 and a stepper motor, I put the batteries in series to have more power, this way I reache 8.4V in total, that is good, I also know that I can't give 8.4V to my nrf51822, I would destroy it, that is why I use a voltage regulator (https://nl.farnell.com/rohm/ba33dd0t/ldo-fixed-3-3v-2a-to-220fp-3/dp/2342847?ost=BA33DD0T&scope=partnumberlookahead&searchref=searchlookahead&krypto=B%2Bw6trfVJ2dPy0i%2BfgvVpPNNDjQ5GUbVOE1577D2pXPRdc4fYMoJeZKoLSZUPfZwVkhKpDTJ7mPe25JpWIoTic%2FWd7836MhN03vOmRUguobXFuQsMvX3w4zBC8hWIAB3sK6pN%2FMA7mEfbo0W4Jcyv5Z%2F9tdqzOYKtPt2Iz2VLnUSxL%2B1xTNAYEE1LZUAaQAfzx4URrYIaCIk7qjr4X9oiVaSYdP%2BS57MvCc%2BIJwv76zpiYDGMa22SjlyQRFnwWnOcc%2FNZl2IBGNfNItoMcY4fXbMqtomq%2B2%2BeU0Y2hd0dn1i7Dr65HsK6guRm5REUma%2BKFbvAdLYE%2FxublbPrn1qZ78Xey0WeNr%2FriAtK8F5DEl1qz%2F33ynSAUZDRah3N4cgjSalaIgC2AJzFImZj%2BGy36aAJkiEVdOOx2F6iax2R5Exd%2FB1XyT55VOGd0tPe1SeRxSeD96MOkLK7Dql40pqPHkTsOMhjWDeI62nUSTXcM4Nj1BGDCSBu%2FpIxxBj1wUNLHnztLMqHHcznJ%2FdLu%2Bc%2FPG%2Bt%2FT5chCxGkQCULzmqhhLm54hqfqXOO7YOVNwHy3HEL0EITqYdcGZ7yPnkgAc4ckmUCIzUuIIM97TKAzCd1U%3D&ddkey=https%3Anl-NL%2FElement14_Netherlands%2Fw%2Fsearch) I am using this one.

In output i have a stable 3.3V (I measured it with my multimeter) and I have 1.4Amp of current, when I plug the nrf51822, it turns on, it is visible as a peripheral in nrfToolbox and when I try to connect I can't, I have "Error on connection state change (133), I tried to power the nrf51822 with only one batterie that has 3.6V and 2.6Amp of output current and with this I can connect to the nrf51822, I even tried to power it with 2 AAA batteries that have 3.0V and 1Amp of output current and it works.

So I think the problem comes from the voltage regulator, I tried with a different one, even changing the capacitors, but still doesn't work. If someone has an idea of what could be the problem, it would be really helpfull, because I have no idea at this point.

Thank you very much.

Best regards.

  • Do you think it will work if I use a voltage divider

    No.

    Remember Ohm's law:  the voltage dropped by the resistor is going to vary with the current through it. Because your stepper motor draws a large current, that will be a large voltage!

    This is all basic electronics - nothing specific to Nordic.

    You need to understand voltage, current, resistance, and power.

    The thing to do in cases like this is to separate your low-voltage, low-power supply (for the microcontroller) from your high-power supply (for the motor) - something like this:

                                            +-----------+
                                            |           |
     high voltage supply ------+----------->+ regulator +-----------+-------------
                               |            |           |           |
                               |            +-----------+           |
                               |                                    |
                        +------+------+                      +------+------+
                        |    high     |       controls       |     low     |
                        |    power    +<---------------------+    power    |
                        |   load(s)   |                      |   load(s)   |
                        +------+------+                      +------+------+
                               |                                    |
                               |                                    |
                               |                                    |
    GND -----------------------+------------------------------------+--------------

  • reduce the current consumption from 1.4A

    As shown in my other post, the way to do that is to not supply the motor through the regulator!

    It is highly unlikely that a motor requires a regulated supply.

    I put the batteries in series to have more power

    But you totally defeat that by putting it through a series regulator!

  • Thanks for reply, I already know this, this is actually what I am doing, and this is not the problem, the problem is that I can't connect to the Bluetooth chip when it is powered via the LDO if I use the 2 batteries in series, of course the motor is not powered via the LDO it would have no sense to do this. And I think haakonsh is right, and my LDO has thermal shutdown and it shutdown because I provide him too much power, I looked for a new LDO that should be able to do the job

Related