I want to control a 5V valve from my BeagleBone Black.
As a single GPIO port only has 3.3V with 8mA I cannot use common relays.
I found this thread: how to use a 3v output to control a 5v relay which covers the same issue. However I do not understand the result.
Does a single N-Mosfet enough to let this work or do I need all components shown in the circuit?
How do I calculate the values and type of the resistors, diode and N-MOSFET in that type of circuit?