10

I am starting my EE degree. I must purchase a myDAQ and a kit. The kit lists many logic ICs and I have most of them, but some of what I have are 74S instead of 74LS series.

Will the extra power draw on the 74S ICs cause issues with the myDAQ?
or do I need to bite the bullet and buy the parts?

(on digikey, I am NOT paying their markup on their stupid kit).

The parts kit consists of things like or, and, xor etc.... gates and can be found here: https://www.studica.com/us/en/NI-Hardware-Only/und-student-ni-mydaq-bundle-ee202-electric-lab/796087.html

Edit In case anyone else runs into this in the future, it turns out not to matter for the UND EE201L course. We had minimal fan-out and most of the labs were just to use specified inputs to create specified outputs and make a led blink/turn on/ turn off. There were no high speed requirements and I wasn't driving high current loads, it was just an intro to logic gates and how to build circuits with them so I doubt it would have been an issue to use the 74S parts instead of the 74LS parts. It was a good learning experience though and the myDAQ is a decent tool to have in my tool box since I don't own a quality function generator (yet). Just in case, I ran power from my bench top power supply instead of the myDAQ

Psubond
  • 103
  • 8
  • 1
    Whoever fixed formatting, thank you – Psubond Aug 26 '19 at 16:22
  • The wiki page answers what the difference is, but I am not understanding if the myDAQ (looks like a type of interface between the computer and projects for labs) will have an issue with the extra power draw of the 74S. From the looks of the kit, I don't think I will need to do anything other than drive other ICs and maybe a LED – Psubond Aug 26 '19 at 16:27
  • 3
    Wow- you're in it for $250 bucks just for the NI parts!! Personally, I would think long and hard before doing that to my students. I hope this supports 2 or 3 classes, and not just one! – Scott Seidman Aug 26 '19 at 16:37
  • 7
    you are still starting EE degree. warm welcome! This question was good because: you have straight clear question to ask, you have done your research (difference between LS and S family), and you have given the link for the references. If the question is good, it is worth spending time to improve the readability by editing. everyone will be happy to do that. – User323693 Aug 26 '19 at 16:44

5 Answers5

12

Good question. Here is a high level comparison of current consumption.

Note the difference in the values of \$I_{OL}\$ of two devices (for example). 74S has \$I_{OL}\$ of \$20 mA\$ where as 74S has \$I_{OL}\$ of \$8mA\$. The drive ability is different. If you are only doing this for a low speed simple circuits this will be okay but if there are experiments planned considering high drive strength of 74S, you might have to use a buffer.

I would suggest to really go ahead with the S version alone. the LS version are low power and better for a product design, but the S version will do just fine for basic circuits, which is planned. This is a hands on kit and hence i strongly recommend to use what you have and buy only those which you really need in future. IF there are circuits, which are pushing the LS version to their limits, you can handle it with buffers or buy.

enter image description here

I will compare the differences in the performance of the two devices SN74S04 and SN74LS04 and how and where it matters:


  • Current Consumption SN74LS04 consumes a maximum of \$6.6 mA\$ when outputting a logic zero compared to \$54 mA\$ max of SN74S04. It also means that, the internal temperature of the component will be higher. It also adds to overall current consumption of the product. It reduces battery life (wastes power) or demands higher capacity battery.

  • Ability of FANOUT the LS part has about \$8 mA\$ of \$I_{OL}\$ and \$0.4 mA\$ of \$I_{IL}\$. It means, when connected in a system, an LS IC can support upto \$ 8/0.4 = 20\$ devices. The S part on the other hand has \$I_{OL}\$ of \$20 mA\$ but \$I_{IL}\$of \$2 mA\$. Hence, the part can drive upto \$10\$ devices theoretically. Hence, LS part is better when there are multiple inputs driven by the single output pin. The fanout may demand perhaps a new buffer to support the fanout needed in S family when compared to LS family, adding to cost and size on the PCB.

  • Below is a simple comparison from http://www.ti.com/lit/sg/sdyu001ab/sdyu001ab.pdf which compares the applications of LS and S parts from TI (in general). enter image description here

Lundin
  • 20,162
  • 1
  • 26
  • 76
User323693
  • 9,311
  • 4
  • 21
  • 51
  • 1
    awesome answer, thank you! I dug around and it seems the only questionable part I have is a 74S83 instead of a 74LS83. Ended up having the rest of the parts in 74LSXXX. Had a bunch of parts given to me and wasn't really sure what I had on hand. I will try the S83 once i get the myDAQ (still irritated by the price on that thing and their markup on their kit) – Psubond Aug 26 '19 at 17:34
  • I am really not sure about the validity of the price. Other experts can comment on it. When components are expensive, simulations are my friend. :) – User323693 Aug 26 '19 at 17:44
6

I would expect all sorts of unanticipated problems substituting an S part for an LS.

Enough strange things happen in student labs as it is -- you really don't want to be that guy with the non-standard kit.

I used to be a lab TA, a long time ago. If I had a student that was having trouble, and had non-standard parts, then unless I was in a good mood and they had an absolutely top-notch sob story about why they had non-standard parts (and "I was offended by the price" is not adequate), my troubleshooting efforts would be confined to "get the right parts, and let me know if you still have trouble". If I were a prof in such a situation, I'd back up my TA.

TimWescott
  • 46,144
  • 1
  • 42
  • 107
  • 2
    And, BTW: 74S was obsolete a long time ago, and 74LS not too long after. It's unfortunate that your uni doesn't want to update its labs. – TimWescott Aug 26 '19 at 17:55
  • It is only one part and i still need to buy some 1n4148 diodes, so i will probably buy the 74LS83, rest of my parts meet the parts list in the kit – Psubond Aug 26 '19 at 18:05
  • 2
    Tim, your TA standards seem reasonable. Perhaps call to task that old-school prof to get with MOS-based logic. Something that a student might suggest in an end-of-course evaluation (if offered). TTL should be a subject for "Ancient Engineering" course. – glen_geek Aug 26 '19 at 19:03
  • @TimWescott I think the OP is the one with the 74S parts here. The lab kit appears to all be 74LS. –  Aug 26 '19 at 21:41
  • @duskwuff So it is. Text edited -- but not by much. – TimWescott Aug 26 '19 at 22:33
  • @glen_geek +1!!! Or call out 74F parts (I actually have a box with some of those in it -- and it still works, in spite of a reverse-polarity incident that cracked open half the chips). – TimWescott Aug 26 '19 at 22:34
  • @glen_geek I did TTL as a schoolkid in the 70s. In my first real job in the 80s, we mostly used PALs. Mind you, if I'd done EE instead of CS at uni, I'd have learnt spark gaps and thermionic valves, I suspect. – Rich Aug 27 '19 at 04:26
  • Nothing unfortunate to see here. Designing with discrete digital components is hardly a realistic endeavor these days, but there is still value in getting students to do it. It doesn't really mean the lab is less than up to date, just that old logic family chips are fine to demonstrate the concepts they're trying to hit in that class. – Scott Seidman Aug 28 '19 at 02:00
  • @TimWescott The use of TTL chips in university courses is standard practice, unfortunately. I've discussed this with several professors before, and the answer I get is usually something about CMOS being ESD sensitive. The funny part is that these tend to be the same professors who have students use $100 FPGA development boards with no ESD protection. – Caleb Reister Sep 17 '19 at 07:14
  • I'm always at a bit of a loss re. the use of low integration TTL in teaching: all that is done usually is just some simple gates that can be easily put together from discrete transistors if a more sensible logic family was used (TTL has lots of overhead, there are one-transistor-per-input families like DCTTL aka DCT2L where there's just one per input). Discrete breadboardable transistors are cheap. It's more fun to put such circuits together, and it's easy to tweak them e.g. changing to Schmitt trigger inputs etc. – Kuba hasn't forgotten Monica Oct 18 '20 at 09:22
4

You might have to pay attention to fanout if you're driving 74S with 74LS or CMOS outputs. It's only about 2 from 74LS (check the datasheets)- meaning one 74LS output can only drive 2 74S inputs (in general) without potentially compromising noise margin.

The timing is also different (quite a bit- maybe 3x- faster) so there might be other issues, depending on the circuit.

Spehro Pefhany
  • 397,265
  • 22
  • 337
  • 893
  • Will the "S" bring very fast edges to the "breadboard" construction, causing undershoots and overshoots, and thus upsetting every flipflop in the circuit? – analogsystemsrf Aug 27 '19 at 11:52
3

74S chips run warm, drawing considerably more DC quiescent power from your MyDAQ +5v supply than 74LS chips. For example, a 74S00 dissipates 19mW where a 74LS00 dissipates 2mW.
You should pay attention to the 500mW limit total power available from all three supplies (5v, +15v, -15v)...both 74S & 74LS chips don't like a DC supply that sags or glitches. A breadboard full of 74S chips may stress MyDAQ's DC supply.
Note that a 74LS output pin can drive up to four 74S input pins, compared to ten 74LS input pins - likely not a serious problem for simple logic circuits.

A cryptic note in the MyDAQ user manual (avoiding a proper description of logic voltage levels and current levels) describes MyDAQ's somewhat odd digital I/O. It seems odd that no +3.3V DC supply is offered but TTL compatibility seems possible:

The digital I/O lines are 3.3 V LVTTL and are tolerant to 5 V inputs. The digital output is not compatible with 5 V CMOS logic levels.

Since you'll likely be wiring 14-pin DIP chips on a breadboard, some careful attention should be paid to keeping high-speed logic transitions tamed, as Spehro has suggested. This would include power-supply smoothing capacitors on every logic chip.

glen_geek
  • 25,809
  • 1
  • 23
  • 53
1

If I got this right, the myDAQ will provide "up to 500m Watts of Power". You can power three 74S04 with that (see Umar's answer for the details), but that's it.

if you really need/want to use the "S" components, you will most likely need to add your own power supply (for example, a USB power supply; you might get away with 1A, but they cost almost as much as 2A USB PSUs).

I did not check the prices for the required components, but I guess that the break-even point is at around saved 10 ICs.

Honestly, I'd say it's not worth the hassle to add an additional power supply..

Klaws
  • 339
  • 1
  • 4