I'm experiencing problems when trying to use my arduino to operate a transistor...
I'm using the transistor to allow my 24V DC power supply to turn on/off a 24V DC solenoid. I have a positive and a ground wire from the power supply. I also have a positive and a ground to connect to the solenoid.
What i need help with is how to wire these two elements with the transistor to allow the power to be supplied to the solenoid only when i send it a signal from arduino.
The code i want to takle myself.
To my knowlage the three legs of the transistor from left to right are: base, collector and emitter. I'm using a MOSFET.
My knowlage of wireing is still growing. Any help would be greatly recived. :)