Hi everyone I am having some trouble getting a solenoid to work.
Below is the schematic I followed.
This is the solenoid.
I am using a tip120 transistor and a 1n4007 diode.
What is weird is that when I first tried the circuit it seemed to work fine, then it stopped as i couldnt here the clicking anymore. One thing I tried was change the where the wires went from the solenoid to the other side of the diode (because both wires are black) which didnt fix anything.
I checked my arduino with another sketch to make sure I didnt fry the board, but the board still works fine.
Any help with this would be great.
Thanks in advance.