My garage door has a pair of LEDs, one for when it is open, one for when it is closed. I will be using an ESP8266 to control the door, and also wondered if it is possible to also monitor the status of the 2 LEDs, how would I get that into an GPIO input?
I would consider using a reed switch or an LDR placed over the leds and not mess running the led voltage through a gpio pin.
It depends on your garage door motor / controller - mine has pins which tie up to the open and close status as well as flashing opening or closing. You need to look up the model and see what is available. I have used esp32 with esphome to control and also to indicate if open or closed. No reed switch required.
The OP has said he wants to monitor the LEDs.
Sure. My specific controller has a pin exposed for each LED.
Mine is an Automatic Technology GDO-9 Dynamo, and the manual doesnt mention they LEDs being exposed on any pins, what is your brand/model.
Mine is an ATA Securalift.
Look at the manual for yours on page 8 - terminal block 01 with
24V PWR is used to power devices such as:
PE (Input) for photo electric beam for safety and Auto-Close function.
LGT (Input) allow hard wired external trigger for the opener’s courtesy light.
O/S/C INPUT is used for the connection of a wired switch (momentary contact). This switch
can then be used to open, stop or close the door.
If you put a voltmeter probe on the LGT / Light pins (ground the other probe), while you are opening or closing the door, you will see that there is a fluctuating current on the relevant pin, depending on whether opening or closing. - Correction - use the LGT pins, not the OCS pins to monitor status.
Mine is a GDO-11, It has O/S/C but as far as I know it is an input only - a momentary switch connected will trigger cycling between open/stop/close.
Also the LGT button on the GDO-9 says it is for the courtesy light. According to the manual I can find anyway. But there is more than one model. And the manual doesn’t refer to OSC having some form of output, if it does that might indeed be useful. I am reading this https://www.ata-aust.com.au/AtaAust/media/Manuals/GDO-9v2-Enduro-GDO-9v3-Manual-v1-01.pdf
Both the GDO-11 and GDO-9 refer to connector on the main board
PROG INPUT is used to connect the Automatic Technology Handheld Programmer “PG-3” for editing control and receiver functions, accessing diagnostic tools, and activating special features and operating
While I can find a PG-3 manual online, it doesn’t say much. Chances are it is a serial protocol.
modes. https://www.retro-remotes.com/PDFs/ATA%20PG-3%20Programmer.pdf
Yes I was about to say the same thing, that it is an input not an output. The Securalift manual says the same thing. If I measure voltage on it, how does it differentiate between open and closed on a single pin?
Could you clarify for me which pins they are. The manual for ATA Securalift list exactly the same pins as the Dynamo I have.
Having a look now, I am not sure if you have all the pins exposed. Best bet is to connect voltmeter to each pin while opening and closing. On the securalift there are 5 pins on the light/LGT block, the 3rd and 4th are open and closed.
You are correct, The OCS pins can be used to open / close, not monitor the status.
Yep, this is the pinout for that block
What pins does the Securalift have? Its manual seems to be the same
Securalight block:
OSC input (directly tied to middle pin of the OSC trio)
Status output – equivalent to yellow “door status” LED
Open output – equivalent to green “open” LED
Close output – equivalent to red “close” LED
Ground/common
PE Block:
- Pin 1: COM (Ground)
- Pin 2: Normally closed PE switch
- Pin 3: 24V DC
O/S/C Block:
- Pin 1: COM (Ground)
- Pin 2: O/S/C toggle, momentary switch
- Pin 3: Light toggle, momentary switch
Ok thanks. There is a 5 pin connector, (not mentioned in the manual at all) next to the right hand globe, I will check it out
That looks like the “oh s**t now I have to explain to the wife why the garage door is stuck” connector
Tell me more?