• Thanks Akos !

    I connected battery to the 3.3 pin and it seems to be better indeed, 100uF capacitors is now enough to prevent crashing.

    Any idea to improve this ? And why the puck doesn't have this issue ?

    And yes you are right about the CR2032 max drain. Actually it drains 10-20mA just during 2 seconds and a very very few times. I will change battery to a special one allowing high drain but first I really would like to make the MDBT42 as stable as the Puck. I need the circuit to hold as much as possible with end-of-life batteries.

  • That's better. I can only guess, but you are abusing that poor CR2032 battery, a couple of things come to my mind:
    Battery itself. Do you test with the same battery? Or at least same brand, same state of charge? Might be simply the one with the MDBT42 breakout has less capacity, higher internal resistance, etc. Check the no-load battery voltage at least.
    Battery holder and leads: Lead length can affect resistance and inductance. Might be enough for different behavior. Lead length from battery to the uC in case of the Puck is minimal, in case of the MDBT breakout I guess it's longer.

    Do you have an oscilloscope to check voltages? Or if you don't have anything better, just sampling the voltage with any uC might help to get more info...

    Edit: a capacitor with smaller voltage rating, that would be physically smaller. And maybe even a low-ESR small-ish capacity one could help...

About

Avatar for AkosLukacs @AkosLukacs started