I have a signal coming from a sensor on a rotating wheel that is at 12 VDC most of the time but will drop to 0 V for about 10 ms as the sensor is activated. Rather than these narrow negative pulses I would rather have even square waves.
I had an SN74ALS112AN dual JK negative edge triggered flip flop, but it runs on 5 V DC. Therefore I took my signal and used two 10K ohm resistors as a voltage divider to put it in the proper range. I tied the J and K inputs as well as the clears and presets the power to the chip to a 5 V supply. The chip ground was connected to the 5 V supply ground. This should've created a T type flip-flop.
Unfortunately, toggling was not consistent. I'm wondering if my pulse width is too narrow for my set up.
Would I get better results building a T type flip-flop from transistors that are designed to work with 12 volts? If so, how would I construct it? My guess is that I would want to use a design that doesn't have capacitors, so the RC time constant is not a negative factor in the design.
Thank you very much,
Dave
I had an SN74ALS112AN dual JK negative edge triggered flip flop, but it runs on 5 V DC. Therefore I took my signal and used two 10K ohm resistors as a voltage divider to put it in the proper range. I tied the J and K inputs as well as the clears and presets the power to the chip to a 5 V supply. The chip ground was connected to the 5 V supply ground. This should've created a T type flip-flop.
Unfortunately, toggling was not consistent. I'm wondering if my pulse width is too narrow for my set up.
Would I get better results building a T type flip-flop from transistors that are designed to work with 12 volts? If so, how would I construct it? My guess is that I would want to use a design that doesn't have capacitors, so the RC time constant is not a negative factor in the design.
Thank you very much,
Dave