Second Generation Nissan Xterra Forums banner
1 - 20 of 63 Posts

· on line
Joined
·
3,171 Posts
Discussion Starter · #1 · (Edited)
This write up is intended to explain everything as a whole when it comes to adding lights or other aux devices to your Xterra by using fuses and/or breaker boxes, distribution boxes and relays.


RELAYS:


A relay is basically a switch that is activated remotely. The reason you want to use relays is because most switches out there aren't designed to carry a lot of current that is needed for things like roof lights.

So, instead of putting all the power through the switch itself, only a small amount of current is sent from the switch to the relay. The relay itself will turn on, and will handle all the load for the circuit going to the lights. This method is preferred because relays are designed to handle such loads.

But the switch and relay are both getting 12 volts so what's the difference? And what do you mean by "current"?
This is a common question and is confusing to those who don't understand volts and current. Volts are, well, volts, voltage. Current is measured in Amperes, or, Amps. Think of a water pipe; The pressure in the pipe is Volts, and the water flow rate is Amps. Big lights and winches etc need lots of current (Amps). So even though a circuit is still 12v, there's much more current required and the water is flowing faster in that pipe. The current needs to be flowing fast to turn that winch or power that light. And this current (Amps) is the dangerous part which causes sparks, heat, can burn your skin and can even cause your heart to stop if it flows through your chest. This is why you want as little current going through a switch as possible, and why we use relays!

Here's a basic breakdown of how a relay works. This animation was stolen from another site...


So you can see in the picture above, there's an electromagnet inside the relay that will throw a switch inside. This switch is the part of the relay can CAN handle a high amount of current. The current required from the toggle switch to activate this magnet is very very low.

I would just like to throw in as well, that if you happen to be all wet from rain, or out mudding and your hands are wet, you may get a big shock from your switch if you touch it with wet hands and you're NOT using a relay because all that current is running through it.

Below is what I made up to run my roof lights. I wanted to control the inner and outer lights separately, so I used 2 switches. Each switch controls a separate relay which will each power a pair of lights:

More on that at the end.


Fuses, breaker/distribution boxes:
First rule is, always fuse as close to the battery as possible using an inline fuse. I could have made mine closer to the battery but it will be fixed one day. Here is mine:


I screwed it onto one of the plastic covers. you can put it wherever you want as long as it's close to the battery:


The reason you want it close to the battery is because if there is a short somewhere, the fuse will blow, but not if the short is between the fuse and the battery.

See this diagram that shows you that by using a fuse at the battery as well as fuse/breaker boxes, you create layers of protection:


Now you can see in the above pic that anything between the battery's positive terminal and the battery fuse is unprotected, which is why it has to be as close as possible. Otherwise, a short there could cause your battery to melt/explode/catch fire, or that length of wire could melt or catch fire.

Everything from the battery fuse, through the firewall and to your fuse/breaker box is protected against anything over 60-AMPS. You can increase or decrease this fuse's rating according to how many things you are powering (Total of all the amp draw with everything on). You can also alternatively have a fuse box under the hood, depends on your setup.

The remaining circuit from the fuse/breaker box to your light (or whatever you're powering) is then protected with 30-AMP. Again, use the appropriate rating. As you can see in this diagram, I have a 40AMP relay being protected by the 30AMP breaker. Doing this will ensure that the relay will never get over 30AMPs running through it, and neither will any of the wiring, the switch or the lights.

Alternatively, you could put the relay before the breaker box, but depending on your setup, it might not work for you, especially if you're using a fused distribution/breaker box.

With layers of protection like this, and having the battery fuse at a higher rating than the fuse/breaker boxes, this will allow a single circuit to blow it's own fuse, while not affecting everything else. This is especially handy if you have several circuits hooked up such as front lights, rear lights, compressor, winch etc etc. For example, if your compressor blows it's fuse/breaker, your lights will still work.


Breaker/distribution boxes:
You can think of these as splitters. You have your one big gauge wire coming from your battery into the cab, but you have multiple things to wire up, roof lights up front and in back, an amp, a compressor etc etc

You can get a plain old distribution box like this:


The above pic is a distribution box I had installed in the rear cargo area. But I didn't like that it had no protection, EVEN THOUGH I have a fuse at the battery, I wanted the extra protection.

So I switched to a breaker box like so:


Basically the same idea as a distribution block, but with breakers for each split. You can get similar boxes with fuses as well, but I prefer the breakers. You can get all these boxes at your local car stereo or electronics store, there's tons of different brands. The ones I use have multiple un-fused 4-gauge connections for my main power cable, and multiple fused 8-gauge outputs. This allows me to daisy chain my breaker boxes with 4-gauge, more on that later.

This(below) is a picture of my driver's side footwell. You can see the big red 4-gauge power cable coming in through the firewall (from the battery) on the right side of the pic and going up to the breaker box. From there, I have another red 4-gauge coming back down into the trim, and running down the side of the truck towards the rear cargo area, and to my 2nd breaker box for my rear power. Also pictured just to the bottom left of the breaker box are my 2 relays for my roof lights which get power via the smaller red 8-gauge power wire coming from the breaker box. I've since re-wired this so that each relay has it's own breaker.



PUT IT ALL TOGETHER!

I'm not going to get into where you run your wires, or how big of a gauge you need, it's all up to you. As far as I'm concerned, the bigger the better. For my main power running from battery to the rear cargo area, I used a 4-gauge cable. For my lights, I run 8-gauge from the breaker boxes to the lights. But always ask or google it, you don't want to run ten 130W lights off of a single 8-gauge wire...

I also recommend at least 30-AMP relays, if you can get 40, then get those. You can't get relays that handle TOO much power, so be on the safe side and go big.

Don't twist and tape your wires! I know it's easier, but, you should always get the proper connectors, or solder your wires together. When using breaker/distribution boxes, it's less likely that you have to join 2 wires together because you just secure it into the box. If you solder, or whatever you do, use either shrink wrap or electrical tape to cover any bare copper. If that +12v bare copper touches any metal of the Xterra's body, it will short out, hopefully blowing your fuse/breaker and not setting your truck on fire.

Grounding wire is just as important as running your positive power wires. You can combine grounds with no issue, provided the grounding wire is of a big enough gauge. Just remember, power going into the lights = power leaving the lights to ground. Try to keep your ground wires as short as possible for best results. Find a bolt or nut, remove, sand the paint down to bare metal, and attach your ground, and replace the nut/bolt. Seat bolts are good spots for hooking up grounds to amps under the front seats. Using a multimeter between where you want to ground and the outer ring of one of your cig lighters is a good way to tell if you have a good ground. There should be little to no resistance between the cig lighter, and where you want to ground. Make sure if you use this method that you don't stick the probe right into the lighter socket or you might touch the +12v terminal in the bottom of it. If this freaks you out, then don't bother. Most of the metal INSIDE the truck will make a good ground. The only sketchy ground points are the bolts for the roof rack, I wouldn't trust those for a good ground...

Here is a diagram that I made up of everything that's wired into my truck. Sorry it's crappy, I made it with Paint... You can see how I have a main wire trunk running from my battery's positive terminal, to my first breaker box, to the second breaker box, and then to my sub's amp in the cargo area. That's all the 4-gauge wiring. My amp isn't on a breaker because it has it's own fuse. Everything else that is wired up is on a breaker and running on 8-gauge wires.



You'll notice with my rear lights, I also added a relay that is connected to my reverse lights. When my reverse lights come on, it triggers the relay and turns on my rear-facing roof lights.

I think that pretty much covers it. As I mentioned before, this is not how to mount lights or where to run wires or anything like that. This is just how to wire it all together logically. If you want to know where to run your wires, there's TONS of threads on this. But really, if you have a good look at where the wire would run, and what parts of trim or dash need to be removed, it gets pretty easy. Just look for screws or give a tug if there aren't any as some parts are just snapped on. Take your time and be gentle and you'll get there.

If anyone has anything else to add, please post up and I'll add it.

Cheers! :eek:ccasion5:
 

· on line
Joined
·
1,683 Posts
That is awesome! I know jack about electrical crap, and now, Im not as terrified! Thanks! Ive seen other electrical info threads, but this is great for someone who likes instructions drawn out in crayons!
 

· Registered
Joined
·
135 Posts
I agree, this is a great writeup. Thanks for taking the time.

One thing I think worth adding is that when using fuses and/or breakers, it's a good idea to have them close to the load (electrically, not necessarily physically), so that if a load (e.g. roof lights) short out, it will blow only the fuse (or trip the breaker) for that load, and not affect everything else that may be on that circuit. How bad would it suck to have you roof lights burn out and not be able to use your winch because they are on the same circuit! Now you are in the dark AND stuck! (The caveat being you may want to put the fuse before the relay, so you don't burn up the relay...kind of depends on the type of load)

Obviously, in a car, there isn't a lot of room for fuses and breakers, so you have to compromise a little. That's where that distro box with the breakers would be pretty awesome! Keeps it simple and professional looking, instead of a bunch of in-line fuses. And, the advantage of breakers is that they can be reset.

Hope that adds a little something to the discussion.

Now, if they would only make wiring in vehicles easier to get to physically! I always cut my hands at least three of four times trying to get to the stupid wires!
 

· on line
Joined
·
3,171 Posts
Discussion Starter · #9 ·
Thanks for all the comments guys! I figured that there was enough questions about relays and whatnot that something that lays it all out simply needed to be written up :)

Thanks for the sticky vote equinox :) I'd also be happy if it was added to the how-to in an organized fashion list...

One thing I think worth adding is that when using fuses and/or breakers, it's a good idea to have them close to the load (electrically, not necessarily physically), so that if a load (e.g. roof lights) short out, it will blow only the fuse (or trip the breaker) for that load, and not affect everything else that may be on that circuit. How bad would it suck to have you roof lights burn out and not be able to use your winch because they are on the same circuit! Now you are in the dark AND stuck! (The caveat being you may want to put the fuse before the relay, so you don't burn up the relay...kind of depends on the type of load)

Obviously, in a car, there isn't a lot of room for fuses and breakers, so you have to compromise a little. That's where that distro box with the breakers would be pretty awesome! Keeps it simple and professional looking, instead of a bunch of in-line fuses. And, the advantage of breakers is that they can be reset.

Hope that adds a little something to the discussion.

Now, if they would only make wiring in vehicles easier to get to physically! I always cut my hands at least three of four times trying to get to the stupid wires!
If you look at the diagram of how my truck is set up, any of those lights/accessories could short out and blow a breaker without affecting anything else. That's why I designed it like that. Each circuit has it's own individual breaker. My inner roof lights could blow for some reason and my outers will still work along with everything else I've wired up.

The ONLY way something can blow and kill EVERYTHING is if for some reason the main 4-gauge wire shorts out, in which case it will blow the 60AMP fuse at the battery. But that's very unlikely because it's well protected and has a heavy thick sheath.

I'm not too worried about where the fuse/breaker and relays are because my breakers are 30AMP and my relays are 40AMP so the breaker will blow before the relay is overloaded. Even if for some reason the relays hit over 40AMPs, they only cost $5 to replace and I have a spare in my glove box.

I'm not sure if you just misunderstood how my breaker boxes are set up. But, the main 4-gauge line does not pass through a fuse or breaker when it goes through the boxes. Only the smaller 8-gauge connections for accessories are fused.

So for the first box on top of my diagram, the one in the driver's footwell, everything hooked up to that box could short out and throw all the breakers, and there will still be power going to the rear breaker box. In fact, ALL the breakers in BOTH breaker boxes could blow, and I'll still have power going to my amp...

And yes I agree with the cut up hands and fingers, it sucks! lol
 

· Registered
Joined
·
135 Posts
For the record, I wasn't trying to point out errors in your setup, I just wanted to clarify the concept of where to put fuses and breakers. You didn't specifically mention it in your writeup, so I wanted to add some detail. Good point about the fuse-relay relationship. It would be pretty tough to burn out a relay, and they are fairly cheap.

I really like what you've done. I need to work on doing something like that in my X. My projects at the moment are the built-in garage door opener using an OTRATTW momentary switch and the permanent installation of a 400W inverter. Gotta be able to blend margaritas on the trail! :)

On an unrelated note, I used to have a 1986 S-10 blazer, and it had a +12V "rail" under the hood that made it really easy to hook up accessories without having to connect stuff directly to the battery. Wonder why no one does that anymore?

As it turns out, that's about the only thing I miss about that Blazer! :)
 

· on line
Joined
·
3,171 Posts
Discussion Starter · #12 ·
For the record, I wasn't trying to point out errors in your setup, I just wanted to clarify the concept of where to put fuses and breakers. You didn't specifically mention it in your writeup, so I wanted to add some detail.
It's all good, I was just clarifying more. And you're right, I didn't really make mention of fuses and breakers and where to wire them but I will add that to the write up later, thanks!

As for the +12v rail or trunks or whatever you want to call them, I don't know why more vehicles don't have them. But, even if they did, I'm sure it wouldn't take long (especially for most of us on this thread) to overload them by having too many things hooked up to them lol They would have to come from the factory with a huge gauge running front to back.

Manufacturers of off-road vehicles should really consider making something like that an option knowing that a lot of people will add lights, amps, winches etc to their vehicles. It would be sweet if the X had come with a big 4-gauge running down both sides of the truck to the rear with distribution boxes along the way ready to have stuff hooked up to them!

Are you listening Nissan? ;)
 

· on line
Joined
·
1,231 Posts
Wow...awesome write up! I just decided to look up some more wiring info to reinforce the diagram I drew out for installing my roof lights and found this! Perfect. I printed out your diagrams as a good reference when wiring everything together.

Quick question....on the relays, I'm assuming it doesn't matter whether terminal 85 or 86 is connected to ground and which is connected to power? Just important that one is power and one is ground right?
 

· on line
Joined
·
3,171 Posts
Discussion Starter · #17 ·
Wow...awesome write up! I just decided to look up some more wiring info to reinforce the diagram I drew out for installing my roof lights and found this! Perfect. I printed out your diagrams as a good reference when wiring everything together.

Quick question....on the relays, I'm assuming it doesn't matter whether terminal 85 or 86 is connected to ground and which is connected to power? Just important that one is power and one is ground right?
Thanks. And no, it doesn't matter which is which between 85 and 86. Also doesn't matter between 30 and 87 either.

Good luck with your install and post some pics!
 

· on line
Joined
·
3,171 Posts
Discussion Starter · #19 ·
Kinda let this float away there for a bit....

This is really, really well explained !
The only thing I would add, but is not related to those explanations, is that it is a good practice to have the wire to go lower between any two connections, so if water gets on the wire it will not follow it and enter the connector, or fuse, or battery terminal.
That's a good point. On my setup, unfortunately, it would be kind of hard to do for my roof light wiring as it comes from the lights, down the A pillar, and into the driver's footwell to my relays.

I could have left the wire coming down from the A pillar a little longer and let it droop before connecting to the relay, but I don't know if I would want some loose wiring in that area, especially so close to my clutch. The last thing I'd want to happen is to catch that +12v wire and rip it out with my foot or leg...

As for everything else, it's all sitting up high compared to the wiring it's connected to (see driver's footwell breaker box and cargo box).

Very good point though and a good idea to consider when running wires. Especially if you like to play in puddles! :D
 
1 - 20 of 63 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top