This weekend I started on my newest project using a RaspberryPI. It will involve my garage door and a notification system to notify when the door is open. I have seen many impressive systems on the Internet that already do this using different setups usually with relays. With my new knowledge of transistor circuits, I have decided that this is how I am going to implement my solution.
The background on this is that I often find our garage door open. Often a door is left open by accident, or during the winter one of the doors bind and re-open as my wife or I unknowingly drive away. So this system will have to have a way to view the current position of the doors as well as be able to control their state.
I did pick up a PI-Face last week which is really cool, and it ties to the GPIO pins and exposes a set of relays and other control elements. I could use this for the project but decided that I would rather save that for when I get back to my robot (which is turning into a long drawn out project 😉 too many cool technology things these last couple of years – it’s amazing…)
Tonight I took the controller box apart to see if I could reverse engineer the circuitry that controls the garage door. Not much to it in fact: 3 switches, a couple of capacitors and one resistor (plus a power LED). The circuit controls the door, a light and also has a lock function which (I found out today) effectively locks out any remote control units.
Initially I decided that I wanted to support the opening of the door, and also the light. I am still undecided if I will support the lockout function, but likely I will include that as well. So step one was to trace the electronics to see if I could reproduce the functionality on a breadboard. Yes, I could have just jumper-ed into the existing board, but I thought that this would be a far better learning tool by reverse engineering and implementing my own switching circuit.
I found that the voltage on the line was 16V, so will definitely have to be careful working with this around the PI. With this kind of voltage, I might be able to power the PI as well so my potential circuit gets more interesting (with voltage regulation; which I will have to learn more about). I should also mention that I have two garage doors with the same control box, so the final circuit will need to support 2 doors, 2 lights, possibly 2 lock options and also a regulator to power the PI.
Next step is to move this to a GPIO controlled circuit that will be linked with the PI.
Allan
February 11, 2021 at 12:49 pm
I have the same switch – I want to add a WIFI dry switch (https://www.itead.cc/sonoff-re5v1c.html) to control. Can you show me which contacts to solder the dry switch contacts to? (I’m not up on electronics) Thanks
Robin Mulloy
February 12, 2021 at 2:57 pm
I found this video which does a good explanation of a similar switch to the one you have.
https://www.youtube.com/watch?v=XfsPXZjrnLo
You have basically removed all of the requirements around what I have done (above) with this one device. Pretty amazing little relay! progress, gotta love it! 🙂
For the one you have, and following the link you included, I see that power is on the left. This would be the 5V required to power the device. The power could come from an old USB adapter since you only need 5V; be aware of positive and negative voltages when connecting.
On the right the pads are where you would connect to the garage opener. If you look at your garage opener, you will see that it probably only has only 2 wires. You could leave that alone and solder on two wires to this device and connect them with the others, one to each side. The relay is just a switch so it will bridge the signal line when triggered (in inching mode that is a short on/off) and it doesn’t really matter which side goes where.
I hope this helps.