I want my Raspberry Pi4 to give 4 unique outputs, not necessarily at the same time, which will be four different inputs to the Arduino Uno.
I want to know how to proceed as I think by connecting them directly will result in one of my devices to blow up or be damaged. Do I need to add some resistance circuit in between and if yes, then what resistance should I use.
I am working on a machine learning model which I hope generates an interrupt when a detection is made and sends it to the Arduino Uno which performs further actions.
Please help.