Controlling high power DC load using MOSFETs

For scenarios where you need to handle a lot of DC power and current, MOSFETs are a great solid-state alternative to mechanical relays. With proper power and heat-sinking, many common power MOSFETs can power over 1000 LEDs!

Note

AC or DC power are both dangerous! Just like the previous recipe, use extreme caution when using high-power loads. In this case, we will be using a 9V DC load--not too dangerous, but many MOSFET circuits can handle high-voltage and amperage solutions.

Getting ready

For this recipe, we will need the following equipment:

Get Raspberry Pi Zero Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.