I'm new to working with RPi GPIOs, and I never studied electronics so bear with me on this newbie question.
I have an RPi 2 Model B, and I'm tasked with detecting a motion detector alarm going off.
The detector signals an alarm going off with opening the circuit on RELAY pins. AFAIK it works like a push button (opens the circuit for 4 seconds if it detects motion).
The question is how do I use GPIO pins to detect the alarm.
Do I connect an output GPIO to an input GPIO through the RELAY? Can I even do so?
Do I connect 3.3v VDC power pin to an input GPIO pin through RELAY?
Any other ways?
I do not have access to a breadboard, I basically connect everything directly with wires.
Please remember that I'm a newbie so technical answers with schematics are not gonna help too much, unless they're accompanied with an explanation for 5 year olds.
Thanks in advance!