This is part of a project I started a few years ago. The breadboarded circuit survived but if I had any notes, etc I can't find them. I am eventually going to try to have a Raspberry Pi start a generator via relays on the fuel and starter solenoids. As I recall I had POC at least with the Pi sitting on my desk controlling some LED lights. Below is the circuit. For the MOSFET, the sink goes to the ground on the relay coil. The 5V on the coil has a wire attached that is not connected to anything. The wire on the relay coil control is not either, my assumption is that went to a pin on the Pi. Ignore the color values on the resistors, I just picked some to represent the circuit. The resistor in line with the LED through the relay I understand. It is limiting current through the LED. I am trying to figure out why I wanted the relay running through the MOSFET. My understanding is the MOSFET would allow me to control whether the relay coil had power unless there is another purpose for it such as cleaning up power or protection.
![Image]()
Statistics: Posted by crokett — Tue Nov 26, 2024 3:13 pm