Skip to main content

Timeline for Detecting cable is connected

Current License: CC BY-SA 4.0

6 events
when toggle format what by license comment
Jan 22, 2023 at 2:31 comment added Gil Use pull up resistors on each button. On the receiving side you need to measure the voltage and see if you have several volts available. If all 4 buttons could be maintained then you need some delay. The other option is use one of the power leads as a return to your module. If using + add a pull down resistor and in hour controler measure the voltage. It could be conditioned and become a logic input.
Jun 5, 2021 at 11:30 comment added ErikR Answer updated with transistor circuit.
Jun 5, 2021 at 11:30 history edited ErikR CC BY-SA 4.0
added 181 characters in body
Jun 5, 2021 at 7:26 comment added bedrock But my ground is shared so a transistor might be the way
Jun 5, 2021 at 7:22 comment added bedrock So it should work with a mcp23017 too ,by default im using external pullups so my butons pull down to ground
Jun 5, 2021 at 4:53 history answered ErikR CC BY-SA 4.0