Separated or joined grounds?


I have a circuit that takes 12-15v input from a motorcycle and outputs to a WS8211 LED strip. I have four strips, two long (about 3 ft) and two short (about 1 ft). I want to isolate the strips from the Arduino nano but still be able to send data to them. The strips have could draw up to 3A, and so obviously I don't want to send that through the arduino.

The question I have is, should I connect the data ground and power grounds together, or keep them separate. My wiring diagram currently has the grounds isolated. Otherwise, what's the best practice to protect the arduino? Should I put a diode in somewhere, and if so, where?

EDIT: It's occurred to me that this might belong in General Electronics, as this is more about electronic theory as opposed to Arduino Nano.

What makes you say that?
Anyway you need the grounds common to make them work. You do not need a common on the positive.

The two grounds on the Nano are exactly the same, they are not separate.

I'm aware that they are common, but I'm talking about the connection itself. The grounds are already common by nature of the connection to the vehicle. There is a ground for power and a ground for signals/brake. But should they be common on the circuit side as well?

Not sure I understand what you are saying here.

You can't isolate the strips from the Nano and still have the nano send it data.

There are many techniques to protect input signals, it depends what you want to protect them from.
http://www.thebox.myzen.co.uk/Tutorial/Protection.html
Protecting Inputs in Digital Electronics | DigiKey.

Your power feed looks completely wrong to me. First, R7-R8-D7 is not going to support enough current to power the Nano. Why didn't you just use a standard voltage regulator? Second, 5V isn't enough voltage to apply to Vin, you need at least 7V there. If you want to bypass the Nano onboard voltage regulator and run it from 5V, you should apply 5V to the Nano 5V pin.

Glad you mentioned that. I switched to a buck module for VIN. As far as the grounds go, I've decided to leave the grounds separate from each other on this circuit side. The grounds are common on the vehicle side, so no worries there. Thanks for the help!

What output voltage from the buck converter?

It's adjustable, so I'm going to play with it to get the right voltage.

What right voltage? For maximum efficiency, if it's variable you should set it to 5V and apply that to the 5V pin instead of Vin.

I want to use the onboard regulator, but keep a constant voltage for redundancy. I could just wire 12-14V straight to Vin, but I don't want to wear down the regulator. I'll be running a LM2596-ADJ at 6-9V. On the off chance that a component fails and sends 12V straight to the arduino, I want it going through the regulator.

Normally the regulator can't support external circuitry running from the Arduino 5V. But in this case, you don't have much current draw, just the digital drive lines to the strips. I would wonder if the step down is really necessary in this case. Although it does add a layer of protection, it also adds an additional link that can fail.

Unless, there is additional stuff connected on J1 that uses significant power.

There is indeed. I'm also trying to protect it against transient voltages from the vehicle.

Assuming that the converter is comfortable with the vehicle power, that's reasonable.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.