Hello Everyone! Anyone would like to tell me a easy way to control a solenoid valve by a microprocessor? This solenid valve need to connect the leads to a power source(24VDC). It is not polarity sensitive. Switch on for a minimum of 20ms and the solenoid will rotate 35 degrees. Switch off and the return spring will rotate the output shaft back to the start position. Thanks
oh? :) I am a beginer. I wanna some detailed help.
Then start by just switching a LED on & off, and work up from there!
If you don't have experiences in using "normal" transistors take an "intelligent" transistor (for example Philips: TOPFET, Infineon: TEMPFET or PROFET, International Rectifier: Smart Power MOSFETs) which can switch the current (see the valve's datasheet or use an ampmeter). You can control it direct by your micro's port. See http://www.aufzu.de for links to manufacturers and distributors. Good luck!
You may also want to take into account that most 8051 uC's have I/O ports set to HIGH upon powering up, which may turn on the transistor for a brief moment before you get a chance to write a zero to the port.