Smart Home Automation Forum

Full Version: How to use D1 and D2 dry contacts ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

Sorry for the stupid question, 

What is the purpose and way to use (in esphome) the D1 and D2 dry contacts ? 

thank you 
[Image: KC868-A2-1_05.jpg]
see here: https://www.kincony.com/forum/showthread.php?tid=2692
that is esphome config file for KC868-A2
(04-30-2023, 01:38 AM)admin Wrote: [ -> ]see here: https://www.kincony.com/forum/showthread.php?tid=2692
that is esphome config file for KC868-A2

Can I use D1 and D2 socket for input or output.(Wiegand reader)
D1 , D2 only use for INPUT.
you can use GPIO-1 and GPIO-2 on the image for wiegand.
(12-23-2024, 10:54 AM)admin Wrote: [ -> ]D1 , D2 only use for INPUT.
you can use GPIO-1 and GPIO-2 on the image for wiegand.

I already use.I have 2 Wiegand readers. So if D1 and D2 are inputs, I use them for the Wiegand reader, right?
yes, wiegand signal is mono direction, now i remember it.
But we added an optocoupler at the digital input circuit, it needs to be tested whether the speed is appropriate.
GOOD MORNING 

YOU CAN CONECT AN ARDUINO AND D1 DO SERIAL COMUNICATION , EXAMPLE PLEASE