Is it ok to connect Raspberry Pi's GPIOs to Arduino's digital pins?

Joson asked Jul 23,2020
0

I have a little setup in which I want to trigger certain events on the Arduino using Raspberry Pi's GPIOs. Therefor, I connected GPIO 21 to Arduino's digital Pin 5 and Pi's GND to Arduino's GND. Pin 5 is defined as input and triggers my code if it reads a HIGH. Since Arduino considers any voltage greater than 3V as HIGH, it works just fine if I set my Pi's GPIO to HIGH.

I wondered if this setup could possibly destroy my Pi (since its GPIOs can only handle 3,3V). Thanks.


  • Your Answer(3)
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP
0 / 10000
    Browse other questions tagged or ask your own question.