Operating a DPDT relay with a 555 Timer?

bertz

Joined Nov 11, 2013
327
How do you double up the channels? You mean enabling both channels and using the outputs from both sides of the chip for a single motor?

Are you suggesting using the NOT gate transistor setup with the output of the 555 timer to produce 0,1 and 1,0 inputs for the L293D?
See attached

Good luck

Al
 

Attachments

bertz

Joined Nov 11, 2013
327
This is the easiest and most versatile way to solve your problem. Do not skimp on the power supply or you can run into noise issues. Here is the code - so easy that even a cave man can do it!:D
Rich (BB code):
'================== MotorDriver.bas =======================
'This program runs on a PICAXE-08M2
'It drives a motor Forward for 2 seconds and
'Reverse for 2 seconds
'=== Constants ===
symbol abit = 2000  ' used to set the time interval
symbol FWD = C.1    ' Forward on output C.1 (pin 6)
symbol BAK = C.2    ' Reverse on output C.2 (pin 5)
'=== Directives ===
#com 4    ' specify serial port
#picaxe 08M2   ' specify processor
'================== Main Program =============================
do
 high FWD      ' motor runs forward
 pause abit    ' wait 2 seconds
 low FWD       ' stop motor forward
 pause 100     ' 100 msec interval between runs
 high BAK      ' motor reverse
 pause abit    ' wait 2 seconds
 low BAK       ' stop motor reverse
 pause 100     ' 100 msec interval
loop
Good luck!

Al
 

Attachments

Top