Hi SB,
There's nothing in post#60 that needs commenting on. I started to draw out a version of your schematic (From post #16) that does not use the D and clock inputs on the flipflops. (I think this will require less components but I won't know until is finish it.) I noticed a few errors. The first one is that the start button sets the discharge flipflop aswell as the charge flipflop. I dont think this should happen. Diode D2 in block 2 is the wrong way round. You will also need to add a power on reset circuit so the flipflops are both in the reset state to start with. I should have noticed the drop down box when I highlighted the text I wanted to copy. I will try it next time I need to quote any of your post.
Edit. I have just noticed another problem. The D input on the discharge flipflop is not connected to anything. (Unused inputs on CMOS logic should not be left floating. it should be connected to ground or the positive supply rail.) I thought at first connecting it to the output of the upper comparator in block 5 would solve the problem but it would be changing state at almost the same time as the clock pulse was going from low to high so the flip flop may not get set. It may be possible to delay the clock pulse sllightly with a capacitor and resistor but this in not good practice.
Les.
There's nothing in post#60 that needs commenting on. I started to draw out a version of your schematic (From post #16) that does not use the D and clock inputs on the flipflops. (I think this will require less components but I won't know until is finish it.) I noticed a few errors. The first one is that the start button sets the discharge flipflop aswell as the charge flipflop. I dont think this should happen. Diode D2 in block 2 is the wrong way round. You will also need to add a power on reset circuit so the flipflops are both in the reset state to start with. I should have noticed the drop down box when I highlighted the text I wanted to copy. I will try it next time I need to quote any of your post.
Edit. I have just noticed another problem. The D input on the discharge flipflop is not connected to anything. (Unused inputs on CMOS logic should not be left floating. it should be connected to ground or the positive supply rail.) I thought at first connecting it to the output of the upper comparator in block 5 would solve the problem but it would be changing state at almost the same time as the clock pulse was going from low to high so the flip flop may not get set. It may be possible to delay the clock pulse sllightly with a capacitor and resistor but this in not good practice.
Les.
Last edited: