Introduction: Installing a Garage Door Opener Wired to Motorcycle Hi-Beam
I was tired of having to get on and off my bike to open and close the garage door each time I headed out. While my wife and I were out of town we found a project at a dealer that allowed you to operate the garage door via the hi-beam switch. It was $120 and more than we wanted to spend at the time (times two since we'd each want one on our bike). Recently, however, I decided, "how hard could it be to come up with a simple circuit to trip the garage door opener from an existing circuit on the bike"? The first one took a few hours of research, building, and a bit of trial and error. This instructable includes the step-by-step instructions I used for our second bike to put it together in under an hour for $15 plus a garage door opener.
Step 1: Parts Needed
Here are the parts needed (Radio Shack mode # in parentheses):
- 12VDC/125VAC 10A SPDT Mini Relay (275-248)
- 1000 microfarad 35V 20% Radial-lead Electrolytic Capacitor (272-1032)
- 10K ohm 1/2W 5% Carbon Film Resistor pk/5 (271-1126)
- Project Enclosure - 4x2x1" (270-1802)
In addition, you'll need a garage door opener. I used a Chamberlain Universal Garage Door Opener that I found at Lowes.
For a nice, clean installation, I'd pick up some 18g hook-up wire, heat shrink tubing, and some wire-tap-in's. You'll also need a soldering iron and solder for making the connections.
Step 2: Wire Up the Relay
I originally bought this particular relay so I could mount it to a circuit board, but the board did not fit into the project box along with everything else, so I opted to run the wire directly to the relay. This relay is fairly compact, which helps to fit everything in, so I'd still suggest using it.
To make it easy to keep track of what was what, I used green hookup wire to run leads that would be attached to button on the garage door opener. These are attached to pins #87 and #30 and are about 3" long. The black wire is going to go to the capacitor and resistors (and then on to the headlight common wire). It is attached to pin #85 and is about 3" long. The red wire will run all the way outside of the project box into the hi-beam circuit, so it's about 12" long and it is attached to pin #86. All connections have been soldered and then heat shrink tubing applied.
Step 3: Wire Up the Capacitor and Resistors
The capacitor and resistors are the key to converting the constant power of the hi-beam into a momentary pulse (to simulate a "push" of the button instead of "holding" it down). You will need 3 of the resistors from the 5-pack. Wire the three resistors together in parallel and then add the capacitor to the bundle. I soldered them all together and wrapped it all in heat shrink tubing to keep it clean.
NOTE: Be sure to keep track of which side of the capacitor is positive/negative (the negative side is marked). This is important for the next step as the negative side is to be connected to the relay.
Step 4: Connect Capacitor / Resistor Pack to Relay
Taking care to make sure you have the right end, connect the capacitor / resistor pack to the black wire coming from pin # 85 of the relay. Then, cut another length of wire about 8" long and connect it to the positive side of the pack. This will be the wire that connects to the headlight common wire.
Step 5: Connect Relay to Garage Door Opener
For this project, I used a Chamberlin Universal Garage Door Opener that I had originally picked up from Lowes. I dismantled the opener and discarded everything except the circuit board. Since I was going to install this in the enclosure for the headlight, I installed a new battery to make sure it would be a while before I needed to mess with it again.
On the back of the circuit board, I located the two contacts on the backside of the button that would trigger the opener. You can figure it out by using a short piece of wire to connect the two points. If it's the right pair, the garage door opener will trigger. Make sure you test this before soldering it - as you can see from my image below, I attached to the wrong contact point at first and had to come back and fix it later.
Step 6: Install Into Project Box
Drill a small hole in the end of the project box so that you can run the wires out. After that, *carefully* run the red and black wires through the hole and add the opener, wires, relay, and capacitor / resistor pack to the box. It's a tight fit, but I was able to get it all in there snugly. Be careful not to break any of the wires or solder joints during this step (especially easy to do if using solid-core wire).
When done, add the cover to the project box and you are ready for installation in the motorcycle.
Step 7: Installing the Project Into the Motorcycle
Feel free to wire it up wherever you like, but I chose to go with the hi-beam on mine. You want to find something that has a 12v switched circuit to tap into.
If you go to the hi-beam on the lite, you will need to determine where you want to tap into the circuit. On my Harley Fatboy Lo, the wires run directly from the switch on the handlebar through the forks, right into the headlight enclosure. I found the best place to tap in, was right in the housing, directly behind the light enclosure. I took out the headlight enclosure and accessed the wires the same way you would if you were changing the bulb.
Next you will need to determine which wires you need to tap into. I have an H4 bulb, so the two outside contacts provided me the "common" wire and the "hi-beam" wire. Figure out what kind of bulb you have and head to Google for some help with the wiring diagrams for your particular bulb type.
Using the wire tap-ins, splice the black wire from the project box into the common (white wire in my bike) and the red wire from the project box into the hi-beam (black wire on mine). I had two black wires going into mine, but opening the connector I found they both went to the same contact point, so it did not matter which one I tapped into.
After that, turn on the bike and give it a test. I found that mine would only work if there was a bulb installed. Turn your lights on normal and then flip your hi-beam on and then back off to trigger the garage door opener. You should hear the relay click and ideally the garage door should open.
Once you have everything tested, place the project box into the housing behind the headlight fixture and put it all back together. I'd include photos of the finished product, but the beauty of it is - there is nothing to see :)
NOTE: I was initially wondering how hot it got in there and if that would be a problem, but after careful inspection of the other plastic and wiring exposed in there, I did not see any damage from heat so decided to give it a try. After returning from a 280 mile trip where we used the hi-beam extensively, I'm happy to report that there was no sign of any overheating with the project box or components.

Finalist in the
Wheels Challenge

Participated in the
Remote Control Challenge
30 Comments
Question 3 years ago on Step 7
Working on it for several evenings. Soldered to high beam horn switch and the problem occured that it runs immediately while you turn the keys on. There seems to be some wake up current or so. And if you have your door already open it will close them while you are trying to start and leave home. If I connect it not to switch but a high beam wire right next to the bulb, it will probably be continously working while driving with high beam. That is why I intend to place it on light horn. Any idea how to make this?
4 years ago
Thanks for the design. Just what I was looking for.
I built mine, went well. I needed to cut 2 resistors out of circuit because my remote required button to be held for about 1/2 second. This made the resistance higher and therefore made for a longer ‘pulse’ to the remote. I attached the circuit to the high beam in the head light reflector enclosure. The circuit is under the seat of my Suzuki Boulevard C50. Other than the extra cable hiding from out of the enclosure, you wouldn’t know it was there!
Cost was less than $15. I had to purchase multiples of some of the components, so could have been less.
5 years ago
Whilst this is an older post, I thought I would update it with my own variation. This removes the need to have a battery in the remote, making this a true set and forget system :)
Reply 5 years ago
Hi Chris
Thank you very much for this schematic. I am trying to replicate the same extract thing, but I am having trouble to test this circuit on an online simulator (multisim). Could you please help me with some questions? I apologize in advance because I am a newbie in complex electronics.
- Are you using the same material list as described in the initial post?
- Aren't you missing a diode somewhere in the circuit?
- You are connecting the condenser in a different way from what is described in the initial post, by having the resistances and condenser in parallel with the resistances, as by the initial design, all 3 resistances are to be connected to the negative of the condenser
Could you please help on these topics?
Thanks in advance for your help.
5 years ago
Inspired by this page I made a similar one for my car. I had to alter the resistors a bit because I used a relay with a lower resistance coil. Also I had to add a diode in series with the relay, because apparently on my car the high beam supply, when turned off, was being connected to ground, thus unloading the charged capacitor through the relay and stopping the garage door in its tracks. Took some head scratching to find out why it was doing this :)
Anyway, great idea, very happy with the result.
11 years ago on Introduction
Hi bkrabach, Nice work and good instructable, congratulations.
So, if I understood correctly, you're using the momentary hi-beam switch to activate the opener, right?
I did the same install in my bike but, as I was using an independent button/switch in my DIY dash, I just run the switched power directly to the opener (no capacitor, resistor, relay) and a couple of wires from the opener activate contacts to said button/switch. Done.
Your solution is great, because it avoids the use of extra switches, other than the ones already in the bike... Nice work.
Cheers
Reply 11 years ago on Introduction
Daedalus62 > The hi-beam switch itself is momentary, but the circuit that it turns on (and that I've attached to) is a constant feed. That is what the capacitor and resistors take care of (See: http://www.the12volt.com/relays/page5.asp#ctm).
Without that element, the remote button is constantly "pushed", draining the battery on the remote non-stop whenever the hi-beam is on.
With this solution, there is no power being supplied to the remote, it's simply closing the contact points on the button (via the relay). This way, it does not matter that the bike circuit is supplying 12-volts and the remote operates at 3-volts.
Thanks for the feedback!
Reply 6 years ago
"draining the battery on the remote non-stop whenever the hi-beam is on"
Would this cause a problem as long as it's only happening when cycle is running? Thank you for the info.
Max
7 years ago
I wired this up to my Harley. The opener is 12v so I wired the power supply to the Ignition switch. The trigger is to the high beam. It works great when the bike is not running but when running nothing happens. I am thinking it is too much voltage. 14.5 volts.
Any ideas on the problem
8 years ago
I love this idea! However, since I am experienced at programming microcontrollers, I am going to use an AtTiny85 and a LM2937 3.3v regulator. This will allow me to adjust the button press time with code and power the remote of the same 3.3v related supply. I haven't decided if I want to use a relay for tapping the signal from the high beam though.
Reply 7 years ago
schuitz's post sparked my curiosity enough to finally get around to learning the basics in Arduino, something I've had on my To Do list for a while. From your post I think I won't have major issues with the coding, but I'm having trouble seeing exactly how you went from the 12v on the High Beam to the 3.3v digital input. You mentioned a Schottky Diode, but I'm not sure how you are wiring it in this case. Some clarification on that would definitely help me simplify the project.
Reply 8 years ago on Introduction
I like the adafruit Trinket at $6.95. It can tolerate 12V battery input (plus a TVS for safety in a harsh environment) and if you went so far to barnacle two or three components on it (a cap, zener, diode, and two resistors), it could stay alive long enough to look for pulse sequence inputs.
Not sure if the on-board 3.3V regulator has enough juice to power the opener.
Reply 8 years ago on Introduction
I have successfully done two versions with the Adafruit Trinket without much trouble. The first is a two-wire version that simply requires the high-beam to be on for > 2 seconds, and is kind of overkill compared to the analog method.
The second uses three wires and looks for three high-beam pulses within 2 seconds. It adds the third wire and a single schottky diode.
Both units are tiny and splice easily into the H4 lamp connector, dropping into the bucket. Time to assemble, like always, depends on how nice a job you care to make of it.
Time permitting I will post an alternate instructable and the code.
Reply 8 years ago on Introduction
Actually, I can code the setup() function to "close" an IO pin (I haven't yet checked to see if it needs to be HIGH or LOW), wait for 3 seconds, then "open" it. The loop() function can just sleep forever. You don't need a relay or a transistor. Just sending power to the microcontroller is the signal.
8 years ago on Introduction
Hi, I realize this is 2 years old, but I noticed one of the resistors is turned opposite of the other two. Was this a mistake?
I'm not too smart with this stuff but I can follow directions :-) Just checking to see if direction matters (I thought it did).
Thanks
Reply 8 years ago on Introduction
Good catch, I never noticed that before. Had I been paying better attention, I'd have wired them facing the same direction. Ultimately, however, it works either way. When you build yours, point them all the same direction and make it look cleaner than mine ;)
Reply 8 years ago on Introduction
It doesn't matter which direction resistors are oriented, they are polarity independent.
11 years ago on Introduction
The circuit at http://www.the12volt.com/relays/page5.asp#ctm shows a diode between 85 and 86. Is there a reason you left it out?
I found the same setup on a forum (not as well presented as yours) and someone there mentioned that the remote activated when they switched to the high beam on and again when they switched back to the low. IIRC, someone else replied that theirs did that too until they added the diode.
Also, is there a reason for using 3 x 1K resistor in parallel instead of the single 1K resistor in the original circuit? And why did you use 3 x 1K instead of a 330 ohm resisistor?
BTW: I am intending to build one of these myself tomorrow. I have a Genie opener and the remote runs on a 12V battery so I will be able to power mine from the bike. As a bonus, I think I can fit the relay & other components in the space where the battery used to go so I won't need a project box.
Thanks in advance,
Bob
Reply 8 years ago on Introduction
I plan to replace the 12V battery in the remote with a wired connection to the motorcycle battery (it gets cold here, and I figure the small remote battery would not last past winter). Is there a concern with wiring it directly to bike batter, or is a fuse and direct connection sufficient?
Also, would a 50 Volt 10 Amp Schottky Diode be sufficient to use here?
Reply 8 years ago on Introduction
I know what you mean about cold. My sidecar outfit is my only transportation and it gets down to at least -30c here in winter.
I powered my high beam circuit from the bike but a vehicle's charging system runs at 14V, not the 12V (it has to be higher in order to charge the battery) so I put a green LED in series with the opener to compensate. I have attached the circuit I built (very similar to what is presented in this Instructable).
As I said elsewhere in these comments, I found it to be less reliable than I liked so I changed to a hard wired button. I also got a newer remote that runs on a 3V coin battery, which has lasted over a year so far.
The diode does not need to be very high spec. An ordinary 1N4001 will do and you can get 100 of them for under $1.50 on eBay.