I am fairly new to Arduino, especially the circuitry part of it, so please forgive me if my question is stupid.
What I want to do is have my Arduino Pro Micro act as a push button for my pi in order to run a script on it under certain conditions.
It has come to my understanding that my Arduino operates exclusively on a 5V logic level, whereas the GPIO pins on the Pi operate on 3.3v. But I have seen very different approaches for solving that problem. Most people use logic shifters, but I have also seen the use of Resistors, which makes alot more sense to me for my use case, as I don't really want to send any real information.
The configuration I have seen is having a digital pin of the arduino connect to a "normal" digital pin of the pi, for example Pin40(GPIO21) through a 300Ohm Resistor, connect the Pin on the Pi to ground through a 1K Ohm resistor and the Grounds of the pi and arduino connected as well.
Then I would only have the Pin on the Arduino have set to HIGH for the Pi to trigger.
Is that accurate?
Thank you for your help.