16f628a sending pulse to L293D (by gomes)
Hi, i'm trying to control a latching solenoid valve with 16f628 and L293D ..i need the pic to send in pin 1 "0" and in pin 2 "1" to L293D for 100ms to turn on solenoid and changing the values( pin1 "1" and pin 2 "0")to turn off.
my problem is that as these values ( pin1 and pin2) depends on external sensors..and these sensors stay off or on for long periods...my outputs (pin1 and pin2) stay for HIGH and LOW for much more time than only 100ms..and this can burn the solenoid..how can i fix that??
(no subject) (by Jonathan Westhues)
I don't know how your program is written, but can you use a one-shot-rising or one-shot-falling operation in series with a turn-off delay for 100 ms? An example is attached.