I have an H-Bridge driven with PWM from a 555 and some simple AND and NOT gates configuration to control 2 npn's and pnp's (TIP120,142). But now I want to add braking to my circuit because it turns out the DC motor for a robot I'm designing doesn't stop where it's suppose to be after power is turned off (it would roll a bit).
I don't want to buy a new IC for this purpose so I'd like some suggestion in how to desgin some logic (possibly using OR,AND,NOT) so that I can have braking control. I'd have three logic inputs, for ON/OFF, FORWARD/REV, and BRAKE ENABLE/DISABLE.
I've checked H-Bridge driver IC's with braking datasheets but none have the actual logic used (they all have some big block that says "logic" or something).
Thanks.