Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4636

Other projects • Can I use relay to send signal to RPi?

$
0
0
Hello everyone,

I have a silly question, but thought might be better to ask experts before I do :D.
I want to use relays as a button for different RPIs. So let's say realy1 is connected to GND and GPIOx in RPI1 and relay2 is connected to GND and GPIOx in RPI2. So, whenever the Relay1 is on then I can receive a signal (e.g. "button pressed"). So, I think I need to do everything same as I do to connect a button to RPI (coding, connections, etc). Is that correct? and Is this possible?

Note:
- The relays will not be connected to any input voltage.
- The relays will be a 5V/12V relay module which is operated by an Arduino.

Thanks a lot

Statistics: Posted by miladb — Sat Feb 15, 2025 6:03 am — Replies 0 — Views 28



Viewing all articles
Browse latest Browse all 4636

Trending Articles