Shop OBEX P1 Docs P2 Docs Learn Events
74145 Idea — Parallax Forums

74145 Idea

ArchiverArchiver Posts: 46,084
edited 2001-04-17 01:06 in General Discussion
Ryan-

You could skip the '145 and use the three outputs this way to control
the motor drivers:

P0 P1 P2 Meaning
0 0 0 All stop
0 0 1 Forward, motor 1
0 1 0 Forward, motor 2
0 1 1 Forward, motor 3
1 0 0 All stop
1 0 1 Reverse, motor 1
1 1 0 Reverse, motor 2
1 1 1 Reverse, motor 3

Should meet your needs and prevents software turning more than one
motor on at a time.


Regards,

Steve

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-04-17 01:06
    I am working on a project using a BSI. There are 3 motors that need
    to be powered 1 at a time and in different dirrections. To clarify
    motor 1 will turn clockwise, then 2 counterclock, then 3 clockwise,
    then 1 counterclock. etc. Instead of using up 6 outputs on the BSI
    then running it threw a motor driver. I was going to use 3 outputs
    and send bits to a 74145 BCD-Decimal Decoder which would then process
    the data and power the right motor.
    Even though this is more complex and uses more ICs, I use 3 pins
    instead of 6 on the BSI. Does anyone know a simpler way to to this
    without all the extras? Thanks for any input.
    -Ryan
Sign In or Register to comment.