G+_Jim Hofmann Posted October 3, 2017 Share Posted October 3, 2017 Fr. Robert Ballecer, SJ I watched show 349, MAD SCIENTIST BUBBLER, today. I noted your use of two diodes for power isolation for both the positive and ground leads. I've always held that ground is ground. By putting a diode in the ground lead raised the Ardunio ground by +0.6 volts above the UBec ground. It probably doesn't make a difference and is just overkill in this case but I've always had issues with grounds with different potentials. Is there another reason for using an additional diode in the Ardunio ground lead? Thanks, Jim Link to comment Share on other sites More sharing options...
G+_Telford Dorr Posted October 3, 2017 Share Posted October 3, 2017 X2 on that. Except under special circumstances, ground should always be ground, as all digital / analog signals are referenced to it. In this case, the signals to the LED ring are offset 0.6 volts by the diode in the ground lead, which can lead to signal integrity issues. The diode in the positive supply lead to the Nano provides adequate power isolation. Link to comment Share on other sites More sharing options...
G+_Fr. Robert Ballecer, SJ Posted October 4, 2017 Share Posted October 4, 2017 You're both right... I'm just a "belt and suspenders" kinda guy. :) Link to comment Share on other sites More sharing options...
G+_Jim Hofmann Posted October 4, 2017 Author Share Posted October 4, 2017 10-4. Just checking. I've seen separate grounds. Commercial products the analog ground is often isolated from the digital for noise immunity. And there is nothing wrong with suspenders. Link to comment Share on other sites More sharing options...
G+_Telford Dorr Posted October 4, 2017 Share Posted October 4, 2017 That's true. It's considered good practice to have 'analog ground' connect to digital ground at only one point. This avoids ground loops (small voltage drops caused by other signal current flowing to ground via multiple paths), and the resulting noise thus introduced. This is especially important if you have any circuitry (op-amps, filters, attenuators etc.) between your analog signal source and the A/D converter. Now for serious analog accuracy, you use differential techniques: two A/D inputs - one measuring the signal, and one measuring the 'ground' at the signal source. The true signal reading is the difference between the two, as the common mode voltage tends to cancel out. Link to comment Share on other sites More sharing options...
G+_Kevin Marr Posted October 4, 2017 Share Posted October 4, 2017 Technically, there should be a diode in the usb power path to prevent the UBEC from driving current into the usb port, but I'm guessing the usb port has enough over voltage protection. With the UBEC and usb connected, there are two supplies trying to drive the nano and they should both be diode or'd into the nano. From wikipedia Diode-or_circuit Diode-OR.png: > Link to comment Share on other sites More sharing options...
G+_Telford Dorr Posted October 4, 2017 Share Posted October 4, 2017 According to my Nano schematic, they have a diode (D1, a MBR0520 schottky diode) on the board to keep any voltage from either Vin or +5v out of VUSB. So the Arduino designers agree with you. I guess great minds think alike... ;-) That said, there is an issue with the Vin pin and the UA78M05 regulator chip: you do not want a load of any kind (like an unplugged wall wart) connected to Vin while power is supplied to the board from either +5v or VUSB, as this will cause the UA78M05 to be reverse biased (Vout > Vin), and that's 'no bueno'... Link to comment Share on other sites More sharing options...
G+_Fr. Robert Ballecer, SJ Posted October 4, 2017 Share Posted October 4, 2017 Power isn't driven into the USB port, but it WOULD be driven from the USB port into the UBEC (no on-board diode) AND the LEDs. That's way more load than the on-board regulator can handle safely. Link to comment Share on other sites More sharing options...
G+_Telford Dorr Posted October 4, 2017 Share Posted October 4, 2017 You're correct - the LEDs would be more than the regulator could take - BUT (according to the datasheet), a (real) UA78M05 is supposed to be overload protected. So, while it may get absurdly hot, you shouldn't be able to cook it. Now the datasheet also says that there's supposed to be a 330nf capacitor from the regulator Vin to ground for "stability", and the Nano board doesn't have one. Since you've apparently experienced regulator failures, I wonder if the lack of a five cent capacitor leads to regulator failure? Curious... Link to comment Share on other sites More sharing options...
G+_Kevin Marr Posted October 4, 2017 Share Posted October 4, 2017 Guess I should check the schematic before commenting... Link to comment Share on other sites More sharing options...
G+_Telford Dorr Posted October 4, 2017 Share Posted October 4, 2017 Not to worry. You asked a question that other people would likely like to (or should want to) know the answer to, but didn't ask. Saves the trouble of everyone having to look it up. I, frankly, didn't remember myself - had to look it up. .[No such thing as a 'dumb' question....] Link to comment Share on other sites More sharing options...
Recommended Posts