I have a circuit with two supplies. A 19v supply for stepper motors, and a 5v supply for driving the ATMEGA644, 3 stepper motor driver daughter boards, a bluetooth LE daughter board, and 2 ws2812b rgb leds.

With two supplies everything worked, but I really wanted to get it down to just one supply. So I did another version of the board using just the 19v supply and a VX78-500 switching regulator. I used their recommended input and output caps. (But not the low noise version that include some extra inductors) .

I have a 100uf electrolytic on the 5v rail. Not 100% sure if that's a good idea but it's well below the max capacitive load for the VX78-500 which is 680uf and I thought it might help with noise.

I also have 3 100uf electrolytic on the 19v line next to the stepper driver boards for the same reason.

When I first turned things on I noticed the WS2812b'd flashed slightly but everything was fine. That didn't happen on the 2 supply version of the board. However on maybe the 3 or 4th time I turned it on the bluetooth LE daughter board died. Which is kind of surprising because it's got its own on board 3.3v LDO regulator.

I don't know that much about supply best practices/inrush current, etc. I knew my new setup would be noisier using a switching supply/being down stream from the same supply as the steppers. Any ideas what is going on? That flashing makes me think there's a bad spike happening at switch on time. It seems weird that the atmega644 is still ticking but the BTLE daughter board died. How do I trouble shoot this?

Are those 100uf caps just a bad idea in general? Does my circuit need some other form of protection?

Those daughter boards are $19 so I don't want to blow out too many of them in a search for the solution. Here is a pic of the PCB. I'm sure I'm just making some noob mistake, but I'd really like this 1 supply version to work.

PCB With One Supply

Oh ignore where that says 12v, it's really 19v. blush Thank you for your time.

Here are the two sheets of schematic as well.

The first sheet of schematic

Second sheet of schematic

  • 4
    \$\begingroup\$ Welcome to EE.SE! Please add the schematic, as this is more helpful than the PCB screenshot. \$\endgroup\$ – Daniel Mar 4 '19 at 17:53
  • \$\begingroup\$ You PCB picture isn't very helpful here. As Daniel said, please, provide the schematic. 100 uF capacitor is ok, nothing wrong, I would add more closer to the logic ICs. Also did you use decoupling capacitors (about 0.1 uF)? What is the powers consumption on 5V line? Don't you think tat 500 mA from DC-DC converter could be not enough for such kind of schematics (only RGB leds need at least 50 mA each; may be even more)? What is you 19V supply output power? Is is possible, that it has bad ripples itself, which you didn't see, when used second power supply? \$\endgroup\$ – cyclone125 Mar 4 '19 at 18:51
  • \$\begingroup\$ "bluetooth LE daughter board" died - What is this card exactly? What is its power requirement, especially max input voltage? Did you check transient voltages on all rails (+5V most suspect) upon power-on process? \$\endgroup\$ – Ale..chenski Mar 4 '19 at 20:09
  • \$\begingroup\$ It's this adafruit bluetooth LE board: learn.adafruit.com/… \$\endgroup\$ – Kurt Schaefer Mar 4 '19 at 20:36
  • \$\begingroup\$ Which seems to be using the MIC5225 as a regulator that says it's ok up to 16v. Of course something else may have been killed like the level shifting chip, etc. \$\endgroup\$ – Kurt Schaefer Mar 4 '19 at 20:43

That flashing makes me think there's a bad spike happening at switch on time.

I think you are on right track. The problem is likely in start-up transients.

From the PCB layout: it is customary to place a de-coupling capacitor in close proximity to every Vin entry point to any sub-block, be it a IC or an external module. There is no cap at the entry to NRF8001, the module which has died.

I also tried to imagine the shape of bottom ground plane (I assume it is there). It looks like it is badly traversed by many signal traces, so the actual ground integrity looks very questionable.

So I am afraid this board has strong transients that killed your NRF module. Try to put a 10-uF ceramic 0805 capacitor between Vin and GND pins on the NRF connector, and maybe put some 5-V voltage suppressor.

  • \$\begingroup\$ I guess it's true I have caps by all the other daughter boards, but not that one. I always do that for chips, but I kind of assumed that since boards like that have their own local caps it would be ok. Good to know I shouldn't assume that. So you think the spike is on the 5v rail? What sort of 5v suppressor. Like a zener on the 5v rail? Sorry I'm just clue less about power rail protection stuff. Do I put that near the regulator, or down stream near the components? I guess I'll have to read up on those. Thanks! \$\endgroup\$ – Kurt Schaefer Mar 4 '19 at 21:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.