I'm working on a program on Arduino to control the Raspberry. My plan is using a button to make Raspberry Pi 4 switch on by pressed button (if i pressed a button for 3 seconds, raspberry will switch on). I want to use a Python script and use GPIO's to send status signals to Arduino, but when I was reading the GPIO signal from Raspberry on Serial Monitor on Arduino I have been able to see this:
A 0 and 1 party, how can i use a 0 or 1 stable signal from Raspberry? GPIO is imposible?
Thank you so much!
-
\$\begingroup\$ I don't follow. How will the Pi send signals to the Arduino if it is not even on? \$\endgroup\$Swedgin– Swedgin2021年05月19日 11:50:57 +00:00Commented May 19, 2021 at 11:50
-
\$\begingroup\$ And it seems the state of the pin is not defined and is HighZ. \$\endgroup\$Swedgin– Swedgin2021年05月19日 12:08:17 +00:00Commented May 19, 2021 at 12:08
-
\$\begingroup\$ Once Raspberry is switch on, it send a signal to Arduino (to take the control of a led). That pin is used as High, declare on config.txt. \$\endgroup\$Juanma– Juanma2021年05月19日 12:18:54 +00:00Commented May 19, 2021 at 12:18
-
1\$\begingroup\$ I have found the problem, the GND wasn't connected between them. Thank you so much for your answers. \$\endgroup\$Juanma– Juanma2021年05月19日 12:23:46 +00:00Commented May 19, 2021 at 12:23
1 Answer 1
Maybe it is useful for someone: Important note, it is neccesary the GND of both devices been connected between then, that was my mistake.