I am trying to get an arduino to switch on something on the Raspberry Pi with a Mosfet.
Would this layout work?
I am trying to get an arduino to switch on something on the Raspberry Pi with a Mosfet.
Would this layout work?
Joan is right. If you are trying to have an output on the Arduino trigger an input on the pi, then you merely need to use 2 resistors and create a voltage divider to change the 5V out of the arduino to 3V. The mosfet is unnecessary.
(Alternatively, if you've got more than one pin to connect you could use a buffer IC like the 74HC4050.)