Sorry I did not make it clear, I have decided to revert to the image I provided above as my circuit instead of the hand drawn one i had before, and I am not having any success.
I want to also note that from the advice from some others I am using a diagram almost identical to this, with the exception of removing the 4N35 in place of my NPN BJT
http://forum.allaboutcircuits.com/attachment.php?attachmentid=68823&d=1400757981
Thank you for the reply,
Sorry for the confusion, I did connect the pin labeled GND on the Ardunio to a common ground with the base of the NPN, and the ground on the bottom right.
Would there be another explanation for why my outputs remain high all the time?
edit: in regards for the flyback...
Hello,
I am working on a project which involves using an Arduino Mega, and I am trying to use an NMOSFET (BUZ101S) and an NPN BJT(2N3904) to drive the 5V output from the MCU back and forth between 0V and 12V across "SOL".
At the moment, the problem I have is that Vgs always stays high, thus...