Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
ok. is there a circuit diagram anywhere that i can look at which allows me to use this chip as a latch with press button switch?Everything’s wrong. Start with a more accurate schematic with part numbers , correct polarity, bias resistors , no floating inputs , and a better question
The datasheet is usually a pretty good place to start (along with a basic understanding of ohms law so you don't exceed the specified max current in/out of any pins.ok. is there a circuit diagram anywhere that i can look at which allows me to use this chip as a latch with press button switch?
yea, i have looked at the datasheet already but still having problems getting it to workThe datasheet is usually a pretty good place to start (along with a basic understanding of ohms law so you don't exceed the specified max current in/out of any pins.
yea it does. just click on the image. i tried wiring up the enable and clear to ground but it made no differenceYour sketch has no button nor Enable and Clear wire connections.
thank you for your diagram. i dont understand what you mean when you say 'led is backwards when grounded'. in my diagram the positive lead is connected to the data output and the negative is attached to ground. is this wrong then?1. Observe all antistatic precautions
2. Never leave CMOS inputs floating. Either pull up or down.
3 Place a ceramic cap near IC V+ to gnd
4. Latch Enable =0 must be enabled.
5. Clear must be disabled = 1
6. Output is immediate until Enable = 1 then it is latched in to register.
7. Then ABC address select = 000 to observe output on Q0 = 0 LED off = 1 ON
Your LED is backwards if grounded.
Vcc must be 5V +10% max.
View attachment 145082
View attachment 145083
It is absolutely WRONG! The output would have to be negative (below GROUND) in order to provide a positive (forward) bias to the diode. You also need a current limiting resistor in series with the diode.thank you for your diagram. i dont understand what you mean when you say 'led is backwards when grounded'. in my diagram the positive lead is connected to the data output and the negative is attached to ground. is this wrong then?
ah yes i see now. i googled anode and it said negative. i did put the led in the correct way round on the board, thoughYes, your LED is backwards. Lookup "LED".
That's way more important than the drawing....i did put the led in the correct way round on the board, though
its not working unfortunately. the light comes on when i press the button but it doesnt latch1. Observe all antistatic precautions
2. Never leave CMOS inputs floating. Either pull up or down.
3 Place a ceramic cap near IC V+ to gnd
4. Latch Enable =0 must be enabled.
5. Clear must be disabled = 1
6. Output is immediate until Enable = 1 then it is latched in to register.
7. Then ABC address select = 000 to observe output on Q0 = 0 LED off = 1 ON
Your LED is backwards if grounded.
Vcc must be 5V +10% max.
View attachment 145082
View attachment 145083
this is not what i really want. i want it to latch without having to hold another button. if i just push the enable high button and release it, the data is lostLook at the truth table. It's not going to latch until ENABLE is set high.
its ok ive sorted it, im using 2 nand gates. although i do have to keep pressing the buttons quite alot to get it to changeThen you are using the wrong chip. This is a Latch with Data thru enable Low
View attachment 145134 which means disable high = memory latch
You want a different design that is edge sensitive to inputs but then there must be some read and reset function added.