I am trying to get an arduino to switch on something on the Raspberry Pi with a Mosfet.
Would this layout work?
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.
Sign up to join this communityI 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.)