Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - 16f628a sending pulse to L293D

(you are viewing a thread; or go back to list of threads)

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??
Sun Jun 10 2012, 13:08:54
(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.
Sun Jun 10 2012, 22:39:48, download attachment edge-pulse.ld
(no subject) (by gomes)
Hi, Jonathan..i did what you said...and it works..thanks a lot
Mon Jun 11 2012, 12:12:20
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):