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
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.