Author: Quinn Dunki

Garage Door Opener

Breathing new life into (not-so-)old crap.

 

You know, I feel like I could write a whole other blog entitled Making Crap Last a Little Longer. It seems like our world is increasingly surrounded with disposable stuff that isn’t meant to last very long. I don’t know if that’s actually true- it’s possible that our parents’ generation’s stuff just seems more durable because only the durable stuff survived for us to admire. It’s also possible that disposable stuff isn’t a bad thing- if production and recycling are now so efficient that it’s cheaper to replace things, maybe that’s good?

All I know for sure is that I hate it when something that’s only a few years old fails for no good reason. The good news is, most stuff can be brought back to life relatively easily. Modern technology works in our favor here- basic electronics like ICs, PCBs, and so forth are very close to bulletproof. If a gadget breaks, it’s almost certainly because of something trivial that’s easy to fix. Common suspects are anything that can move. Switches, and battery terminals, for example. If something is really old, electrolytic capacitors are a common failure point. Every one of those is an easy repair with off-the-shelf parts, and it usually only takes a few minutes. Furthermore, a device often has a single point of weakness that, when addressed, can double the life of it.

My garage door opener has been acting increasingly flaky over the past couple of months. The door would open partway and stop. Or it would take a couple of presses to get the door to move at all. Finally, last night, it died completely. The opener motor works fine from the hardwired button inside the garage, so clearly the transmitter is at fault. It’s only about six years old, so the failure is very premature, in my book. Time for exploratory surgery!

 

As is often the case, I was surprised to find how simple this thing actually is. A single screw under the belt clip held the case together. Inside is a single-layer PCB with hardly any components on it. Although my opener was installed about six years ago, it's clearly an old model that they pulled off the shelf for me. This PCB dates to the mid-nineties at the latest. Could be 1980s, even. Frankly, I've etched more sophisticated ones than this on my kitchen table.

 

It’s interesting that there’s room for a bunch of parts that aren’t installed. Looking on the web, there were two levels of upgrade available for this transmitter, which cost $10 or $15 extra. There’s only about 45 cents worth of missing parts here. There’s a moral lesson in that somewhere, but I’m not sure what it is. It’s also interesting that this transmitter could be much, much smaller than it is. The components are hobbyist-size through-hole, the chip is a DIP package, and the PCB is wasting space like it’s going out of style. This could be hacked into a keychain version with surprisingly little effort. I think I’ll add that to the project queue. For the moment, I just need it to work again.

Anyways, since I’m in here, I might as well try to learn something. The section in the upper left is clearly the transmitter. What I don’t know about RF electronics would fill a warehouse, so I’ll leave it at that. If someone would like to chime in on how this works, please do so in the comments. Aside from the transmitter, that 8-pin chip is clearly doing the heavy lifting, so what is it?

 

This extreme closeup is brought to you by Olloclip. Yup, I'm plugging the Olloclip again, because my friend owns the company and it's a fun photo toy. Get used to it. If WordPress would let me put hyperlinks in photo captions, there would be a shameless link here, too.

 

It’s from Microchip, purveyors of such fine products as the hobbyist-friendly PIC microcontrollers. This chip is at least ten years old, so identifying it proved challenging. It likely dates to before datasheets were available online, but I did find something that appears to be a newer version of the same thing:

http://ww1.microchip.com/downloads/en/devicedoc/21143b.pdf

The pinouts look like they match my chip (based on Vss, Vdd, the antenna connection, and the connection to the Open/Close button) and the specs match (based 12V supply, and recommended configuration). My opener is supposed to have some sort of rolling code security system, so it all adds up. Clearly this chip is doing the encoding. Methinks there’s an opportunity to hack this into a home automation system or something similar. So many projects, so little time.

Anyways, back to business. Why isn’t this thing working? Well, a quick visual inspection of the circuit revealed the problem.

That can't be good. The negative battery terminal is completely caked up with corrosion. A quick test with the ohmmeter verified that it's not conducting jack squat. It's conducting less than Otto Klemperer, and he's dead. That would certainly explain both the intermittent operation and eventual complete failure of the unit.

 

A quick hit with a small file, and it's shiny and good as new.

 

The battery itself was fine, and still had full voltage output despite being original to the device. That’s pretty remarkable in itself, since I use it every day. After cleaning up the terminal, the device now works perfectly. Huzzah!

 

My purpose for writing this article is to encourage people to crack open broken stuff. I’m no electrical engineer, but as I’ve demonstrated here, most of the time points of failure are very simple and quite obvious. Even if you’re not sure what’s wrong and aren’t able to fix it, there’s always a chance to learn something about how it works. Googling a few part numbers is often very educational! It’s also possible I wrote this article entirely so that I could make a joke about a dead German conductor from the early 1970s. I leave that determination as an exercise to the reader.

 

 

 

Hacks