Login | Register

Workbench Creations

Workbench Creations is the place for conversation and discussion about do-it-yourself (DIY) projects. This DIY blog will feature projects completed by its owner as well as projects completed by other do-it-yourselfers. Workbench Creations is the place where DIYers can discuss ideas, learn about what others have done, and share their expertise.

Previous in Blog: DIY Trailer Hitch Wiring Challenge   Next in Blog: Build Your Own Computer - Picking Parts (Part 1)
Close

Comments Format:






Close

Subscribe to Discussion:

CR4 allows you to "subscribe" to a discussion
so that you can be notified of new comments to
the discussion via email.

Close

Rating Vote:







18 comments

DIY Trailer Hitch Wiring Solutions (Part 2)

Posted July 01, 2009 11:15 AM by frankd20

I discussed the problem with wiring trailer hitch lights in my last post. The main issue being my car has separate bulbs for the brake and the blinker, where the trailer uses the same bulb.

The solution requires first thinking about the logic of how the lights work. When the brake is on both lights are on, but when you turn the blinker on you need to detect that the light is now in blinker mode so it will turn off a light that is already on. In addition to this you then need to realize when the blinker is off so that it returns it to brake mode. While this could be done with logic circuits or a micontroller that is way too complicated, and I didn't even explore it.

The first thing you need to realize is that the easiest way to make the lights blink when the brake is on is that you need to reverse the blinker function when the brake is on. That is if the brake is on and the blinker is on, the blinker light on the trailer will be opposite what the car is. The reason for this is simple, it's easy to detect when the blinker light is on and shut off a light so it blinks, then it is to actually change functions.

Once you realize the logic of the lights you will see what you are looking for is the function of an XOR logic gate. That is if the brake is on the trailer light is on, if the blinker is on the light is on, if the blinker and brake light are on the light is off, and if both are off the light is off. Which brings me to the first solution which uses an xor logic chip and output transistors which someone has a patent on, although it can get a lot simpler than that.

The goal now is to make an XOR logic gate with transistor logic and a decent power transistor in the final stage. This leads us to our second design which I am sure we can find many which all basically do the same thing.

The above solutions work and aren't all that costly but there is a reduction in part count and cost that can be made if you realize a little trick about how the car is wired

If by some miracle the car wiring put voltage when it was on and connected to ground when off, then the circuit would include no parts. We could simply connect the trailer bulb between the two positive sides of the brake and blinker light and it would work. The problem is most cars I know of don't pull the high side to ground when off, but they do pull to ground sort of. The high side isn't really pulled to ground when off but it is connected to ground through a resistance, and that resistance is the bulb in the car. If you were to connect a light between the high sides of the brake and blinker, you would get the desired function from the trailer light, but it would also light the car blinker light when you put the brakes on and visa versa, which is no good at all. While this isn't good, it does provide us with something useful, and that is it pulls to ground, just that we can't put much current through that or we will light a bulb we don't want lit.

So now we come to the final solutions, the first of which uses a relay and some resistors in between both bulbs. These solutions may not work with a car that has LED bulbs, but a little resistance in the circuit could fix that. To me using a relay isn't desirable, they aren't that cheap, and I don't like having moving parts when I don't need them, but it works and is used.

The last solutions I have both use PNP transistors or in practice a PNP Darlington transistor. In a PNP transistor if the base is lower than the emitter voltage then voltage will flow from the emitter to the collector. If the base is equal to or above the emitter voltage, then nothing will flow between the emitter and collector.

This is useful because we can use the ground through the bulb at the base and the positive voltage output at the emitter to form a voltage difference. When the bulb is on however it is at the same voltage and the output is off. Based on this I have a couple circuit designs, which I think are fairly simple.

I guess you have to deicide what you think the best design is, for me I prefer either of the PNP transistor solution, this is based on the price of components and the simplicity of the design.

Some of the images (the ones with numbers) come from patents so I am refrenceing them here if you want more info 5701116, 3970860, 5030938, 4751431, 6177865 B1 The other images are from coworkers and myself.


Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing. Kettle's on.
Posts: 8640
Good Answers: 163
#1

Re: DIY Trailer Hitch wiring solutions (part 2)

07/01/2009 11:26 AM

...or one could add supplementary turn lamps to the trailer, two additional wires, and "robert is your mother's brother".

__________________
The elephant is a funny bird. It flits from bough to bough. It lays its eggs in a rhubarb tree and whistles, like a cow - Spike Milligan.
Power-User
Hobbies - HAM Radio - New Member Hobbies - Model Rocketry - New Member

Join Date: Jan 2007
Posts: 420
Good Answers: 17
#2
In reply to #1

Re: DIY Trailer Hitch wiring solutions (part 2)

07/01/2009 11:38 AM

While one could run extra wires and lights, it would only work if you were only towing your own trailer and never planned to tow anyone else's.

The 4 wire system and the connector is a standard in the USA. Almost all boat and utility trailers here use it.

So if you want your vehicle to be able to link up to any other trailer other than your own modified one, your going to need one of these circuits.

Guru

Join Date: Sep 2007
Location: Defreestville, NY
Posts: 642
Good Answers: 48
#3
In reply to #2

Re: DIY Trailer Hitch wiring solutions (part 2)

07/01/2009 12:12 PM

fyi, it's 'brake'. just sayin.

__________________
Enjoy every sandwich - Warren Zevon
Power-User
Hobbies - HAM Radio - New Member Hobbies - Model Rocketry - New Member

Join Date: Jan 2007
Posts: 420
Good Answers: 17
#4
In reply to #3

Re: DIY Trailer Hitch wiring solutions (part 2)

07/01/2009 12:22 PM

Thanks for catching that, I fixed them. Also thanks for the schematic/mental contribution.

Guest
#5

Re: DIY Trailer Hitch Wiring Solutions (Part 2)

07/01/2009 11:00 PM

even easier, change the trailer lights to a 2 bulb setup.....

Guest
#6

Re: DIY Trailer Hitch Wiring Solutions (Part 2)

07/02/2009 12:29 AM

In the U.S. the turn signals are controlled by a blinker unit that is basically a bi-metallic spring and a contact that is cut into the brake circuit with the turn signal selector switch. The current draw of the brake light heats the bi-metallic spring causing it to deflect and break the circuit. It then cools off and closes the circuit - repeat cycle until the turn signal switch is turned off. The signal blinker is usually a small aluminum or plastic cylinder with two external blades for insertion into the fuse block. Cost at an auto parts store is usually less than $10 US. Should be easier and less expensive than building an electronic circuit to control the blinking.

Power-User
Hobbies - HAM Radio - New Member Hobbies - Model Rocketry - New Member

Join Date: Jan 2007
Posts: 420
Good Answers: 17
#11
In reply to #6

Re: DIY Trailer Hitch Wiring Solutions (Part 2)

07/02/2009 9:47 AM

I am not sure how the bi-metallic relay is going to help you with this issue. The problem is not how to get a signal that blinks, its how to combine the function of lights. If you have a circuit design in mind please post it.

Your say the relay is $10, the cost to build one of the last two circuits is less than $2 and wouldn't be any more difficult to wire.

Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 7942
Good Answers: 61
#7

Re: DIY Trailer Hitch Wiring Solutions (Part 2)

07/02/2009 3:19 AM

You need snubbing (Flyback?) diodes across each transistor, or you will be forever replacing transistors...

They should be reversed to the direction of normal current flow, some FETs have them already installed.......

There is a likelihood of spikes in most cars and this needs to be fully catered for.

For this reason alone, I would personally never use logic chips or transistors in a car environment unless there was no other way. Then I would make sure that the electronics are fully shielded from any "nasty" signals or spikes......

This is basically why my method did not use any of these components....

Car relays are actually very cheap and very robust and if price is an issue, I would strip out a relay box from a scrapped car, with relay sockets, so that if one relay proved defective, i could unplug it and replace it with another in a few seconds on the road at day, night fog or rain........replacing transistors or chips is quite another deal.....

But each to his own poison!!!

Have a great day and thanks for taking the time and troble to post such an interesting subject.

Sadly, I appear to have been the only one (other than your good self of course) who was at all interested in designing something, very poor showing.......

__________________
"A lie or untruth is halfway round the world before the truth has got its trousers on" Sir Winston Churchill
Power-User
Hobbies - HAM Radio - New Member Hobbies - Model Rocketry - New Member

Join Date: Jan 2007
Posts: 420
Good Answers: 17
#12
In reply to #7

Re: DIY Trailer Hitch Wiring Solutions (Part 2)

07/02/2009 3:42 PM

I appreciate your work, as this was more a mental challenge, you were the only one to post any design, and yours was not a bad one at all.

I am not so sure that the back EMF from the car wires would be so much that it would cause a transistor to blow. Your right that it is internal in many Darlington and FET devices so it wouldn't be an issue anyhow.

Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 7942
Good Answers: 61
#13
In reply to #12

Re: DIY Trailer Hitch Wiring Solutions (Part 2)

07/03/2009 3:15 AM

Its not an issue with certain FETs and Darlingtons provided the fet is used correctly to allow the reversed diode to work correctly, otherwise an external diode will be needed...

Put another way, the internal diode needs to have correct external circuitry designed for it to be able to work as required.

It is possible to use the FET correctly and to design the circuit so that the internal diode cannot "shield" the FET from spikes - Be warned!......

__________________
"A lie or untruth is halfway round the world before the truth has got its trousers on" Sir Winston Churchill
Guru
Engineering Fields - Software Engineering - New Member Popular Science - Weaponology - New Member

Join Date: Jun 2006
Location: San Diego
Posts: 2334
Good Answers: 48
#14
In reply to #12

Re: DIY Trailer Hitch Wiring Solutions (Part 2)

07/19/2009 6:53 PM

Hey now, I was here to get edjumacated and I was.

I appreciated both your efforts, especially comments about keeping the trailer isolated from my truck's wiring.

I'm headed to the garage as soon as I unpack!

I'd long ago decided between trips that I needed a remote *tap* for these purposes both isolating the truck as well as providing multiple outputs and fusing.

Now I know how to go about it.

__________________
Insert pithy quothe here - Emmett
Off Topic (Score 5)
Active Contributor

Join Date: Apr 2009
Posts: 18
#8

Re: DIY Trailer Hitch Wiring Solutions (Part 2)

07/02/2009 6:38 AM

You could do it the right way...

Most vehicle manufacturers do not recommend direct wiring your trailer lights directly to the vehicle. They recommend an interface module available at all parts stores and Wal-Mart. Just do it right and purchase the interface designed for your vehicle / trailer arrangement.

Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 7942
Good Answers: 61
#9
In reply to #8

Re: DIY Trailer Hitch Wiring Solutions (Part 2)

07/02/2009 8:21 AM

You have a good point as quite often trailers have faulty wiring, so there should be a way (extra fuses would do it with audible blown fuse warning) to save the car's wiring from being damaged as even changing fuses at night can be fraught!!!!

__________________
"A lie or untruth is halfway round the world before the truth has got its trousers on" Sir Winston Churchill
Power-User
Hobbies - HAM Radio - New Member Hobbies - Model Rocketry - New Member

Join Date: Jan 2007
Posts: 420
Good Answers: 17
#10
In reply to #9

Re: DIY Trailer Hitch Wiring Solutions (Part 2)

07/02/2009 9:41 AM

While I agree in doing it the right way, we have become so afraid to do things the wrong way, we don't even try anymore.

I will bet you money, that if you buy the circuit adapter in walmart today, and were to take it apart, you will not find fuses.

What you will find are some PNP Darlington transistors and a few other components, in an arrangement strikingly similar to one of the ones I presented above.

Anyone want to prove me wrong?

Guest
#15
In reply to #10

Re: DIY Trailer Hitch Wiring Solutions (Part 2)

09/15/2009 11:32 PM

I try not to shop at wallmart... too many slaves already.

I think and therefore I am.

juliusz_22(at)hotmail.com

Guest
#16
In reply to #15

Re: DIY Trailer Hitch Wiring Solutions (Part 2)

09/16/2009 12:51 AM

http://www.facebook.com/photo.php?pid=8674391&l=09ce8a468d&id=590975323

that is a facebook link to my schematic as I can't paste a drawing here.

juliusz_22(at)hotmail.com

Power-User

Join Date: Jul 2008
Location: Mallorca, Spain
Posts: 458
Good Answers: 12
#17
In reply to #16

Re: DIY Trailer Hitch Wiring Solutions (Part 2)

09/16/2009 3:00 PM

Hi Juliusz,

I have posted your drawing for you, however it will not work! The brake signal will simply disconnect both brake lights. The number plate light will be in series with both stop lamps in parallel. Try again!

__________________
En la casa del herrero, cuchillos de palo!
Guest
#18
In reply to #17

Re: DIY Trailer Hitch Wiring Solutions (Part 2)

09/16/2009 10:27 PM

ok I fixed it... and simplyfied.

even better!

oh and no camera icon to paste the jpg.

re-did the facebook pic.

cheers

Juliusz

http://www.facebook.com/album.php?aid=308616&id=590975323&saved

18 comments
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Copy to Clipboard

Users who posted comments:

Andy Germany (3), capblanc (1), edignan (1), frankd20 (5), Guest (5), millerwm2002 (1), PWSlack (1), stevem (1)

Previous in Blog: DIY Trailer Hitch Wiring Challenge   Next in Blog: Build Your Own Computer - Picking Parts (Part 1)
You might be interested in: Handheld and Portable Computers, Computer Workstations, Desktop Personal Computers