-1

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.

2
  • Try writing in paragraphs (spell check would help too). You NEED to add detail of what you propose.
    – Milliways
    Commented Jun 28, 2023 at 0:43
  • if the UNO uses 5v GPIO, then, yes, you do NOT want to connect it directly. use a "logic level shifter" between them Commented Jun 28, 2023 at 1:34

1 Answer 1

0

For me the safest/easiest/cheaper/quicker way to do it is with a level shifter like this: https://thepihut.com/products/pololu-logic-level-shifter-4-channel-bidirectional If you look in there you can find shifters with more channels.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.