Correct gate/drain- I am feeling a bit unwell/not with it after a jazz/blues night/morning at at the Old Duke pub in Bristol yesterday/todayYou mean a potential difference between gate and drain?
... 74LS00 ... only has an IOL of 8mA. As far as I know only the 7400 and 74S00 have an IOL of 10mA or greater. One solution is to put two 74LS chips in parallel: connect the two 'a' inputs together and 'b' inputs together and both outputs together, but that is not ideal and it means an extra 74LS chip...
Thanks a lot spec for everything.
You know this thread and the one for the encoder interface are my main study of electronics. I keep coming back to read parts of it and slowly digesting the information.
It's great reference.
Cheers
Kal
Hi spec,
I spent two days reading everything I can find about logic gates to figure out how you used them and I finally decided to ask for help.
The 74AS00N gates have outputs of logic 0 or 1 . Let's say the high is 5V+ and the low is 0V but they do not sink current which puzzles me as that is what's required to turn on the opto as it is wired in the schematic.
How can the opto turn on without its emitter grounded?
Thanks spec,
I've tried both SN74LS00N and SN74LS38 and can't get either one to work. I put it in a bread board and **broken link removed**an LED to 1Y and both 1A and 1B inputs and the LED is on all the time. I also tried to jumper all the inputs and the unused gate inputs and that did not help either. Any ideas?
Kal
Thanks spec, this IC stuff is more complicated and more sensitive than transistors and the worst part is they don't blow upso they're no fun.
That's a lot of crosses and I do mean a lot.
By the way I found a SN74HCT00N which is capable of sinking more current and is faster than the 74LS00. What do you think? Kal
Nop not a typo. I was looking at another **broken link removed**which an IO (without tue l for LOW) of ±25 mA
But on the Texas instruments datasheet isn't the 4mA is just a test condition and again the IO maximum is also ±25 mA?
Edit:
And the one I linked to doesn't have TPD , it has Tphl , Tplh and Cpd whatever that means
But I'll just stick with what I got, the SN74LS00N Kal
Hy kal.
Going by your attached schematic I see you are now using EAGLE
As for the 74LS00 chip with the totem pole outputs; you have been been mistreating it most shamefully.The 24V supply line will drag the totem pole output up to around 24V when it is only speced to a small voltage above the chips actual supply rail voltage (it is worth remembering that, as a general rule, forcing any chip pin outside the supply rails is one of the most destructive things you can do).
The voltage divider R2 (1K3) and R1 (4K7) across the 24V supply line gives 5.2V which you are using as the supply line for the chip. This voltage would be OK if it were not for the 74LS00 5V supply line current. The 74LS38 has a similar problem. From the data sheet, the 74LS00 ICCH (5V supply rail current for a single gate with output voltage high) is 1.6mA max and ICCL is 4.4mA. There are 4 gates in the pak so the total worst case current is 4 * 4.4 ma = 17.6mA. This means that the voltage on the supply pins of the 74LS00 would collapse and could be anything below the required 5V, including 0V.
In conclusion, the only practical way to drive the LEDs with 74xxx logic when only a 24V supply is available would be to generate a low impedance stabilized 5V supply line using a 5V three terminal regulator (LM7805, LM7905 etc). You should then also power the LED from the stabilized 5V rail, rather than the 24V rail.
The other less serious problem is that there is no decoupling capacitors across the supply line. The 74xxx chips would not like that. I would recommend a 100nf minimum ceramic capacitor for high frequency decoupling in parallel with a 47uF minimum electrolytic capacitor for low frequency decoupling. As a general rule of thumb, all supply lines need to be decoupled for high and low frequencies, even simple low frequency circuits which you may think couldn't possibly need decoupling. Remember that the average small signal transistor has a Ft of at least 200mHz and it will not know that it is only performing a low frequency function. The transistors inside a 74xxx chip are incredibly fast so decoupling/good layout is mandatory.
spec
I thought the ICCL and ICCH are for all gates. When they're all low or all high. Texas Instruments **broken link removed**to understanding and interpreting logic gates data sheet is a little difficult read for a newbie and I may be misreading the statement on the bottom of page 51:
"
ICCH is the current into a supply terminal of an integrated circuit when the output is (all
outputs are) at a high-level voltage. ICCL is the current into a supply terminal of an integrated
circuit when the output is (all outputs are) at a low-level voltage."
I did use a 7805 voltage regulator briefly and I'm still also learning how to use them and get them to supply steady voltage specially when under load. I abandoned it for a voltage divider because as soon as I connected it to the chip or anything for that matter the voltage dropped quite a bit. And come to think of it the output was also more than 6V which was surprising to me. I thought a voltage regulator, regulates voltage....accurately. But I'm working and reading on how to use them properly.
I noticed on all your schematic you added in decouplers and I do use them on the final circuits but thought I would do simple breadboard layout to get familiar with them. I will work and all those suggestion and will make more explosions happen
... after figuring out how to use a voltage regulator ...
CD4011BE
MM7400N
SN74LS00N
SN74LS38N
I wired one by one to the board and I used a red LED for a load. The results were as follows:
The top two chips worked as expected.
The two chips listed at the bottom did not perform as expected. The red LED was *on* when no voltage was supplied to either pins(both pins were left floating), when no voltage was supplied to both pins and when both pins had 5V+ supply to them. The LED was on all the time.
Then I grounded pin A and the LED went off and I measured 3V+ at output pin Y, the same when I grounded Pin B or both pins.
So I have **broken link removed**logic now.
I tried wiring the chip in so many ways and jumpering the unused inputs and nothing worked except when I grounded the pins.
What do you think? ..
Here is what's happening:
ground+ground=1
A Grounded + B floating (not grounded and not high)=1
B grounded = A floating=1
A floating+ A floating=0
This to me is like a PNP transistor where the base has to be pull down to ground for it to work. That the puzzling part. It's working backwards from what it's supposed to.
(2) R35 serves two purposes:
(2.1) R35 makes sure that any leakage current (dark current) from the ORT does not turn Q27 on
(2.2) R35 provides a discharge path to 0V for the voltages stored on the parasitic capacitance, both real and virtual, at the base of Q27. Without R35, Q27 would turn on faster, but it would take an age to turn off. The ORT would also take an age to turn off. In fact, in the interests of speed it would be good to make R35 as low as possible: 100R would be ideal, but 5K6 is as low as I could go and still have the ORT drive Q27 sufficiently, in the case of a low CTR 4N25.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?