Stumped By New Fake Chips Scam

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 472

  • @MichaelDoornbos
    @MichaelDoornbos 3 роки тому +171

    I think I’ve mentioned before that your probe graphics overlaid on the schematics is really helpful for those closely following along. Another fantastic episode. It’s obvious that you are doing your homework for these and I’m really enjoying them.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +11

      Thanks so much! One thing I'm trying this time is making the probe on the graphics smaller and put it on the inside since several people mentioned that they didn't like how the probe was covering up the pin label. Hopefully this works better. Cheers!

    • @CallousCoder
      @CallousCoder 3 роки тому

      De productie waarde is inderdaad fantastisch!
      Ik zie jou vaker in retro kanalen :D Groetjes uit Nieuwegein.

    • @borayurt66
      @borayurt66 3 роки тому +2

      I agree totally, that shows care and respect. Coming prepared makes a world of difference, saves a ton of time and makes everything much easy to understand. Another great example is Ben Eater. His pre-shooting prep work is also outstanding.

  • @ernestuz
    @ernestuz 3 роки тому +96

    Fake components started to become a problem in the early 2000s, when production was basically outsourced to Asia. A company I used to work for was seriously hit several times by the infamous capacitor plague. Even when sourcing supposed top notch products from very serious distributors, that ended reviewing their own supply chains, and, for what i understand, involved the police as well. It meant millions of pounds to these guys.

    • @francoisleveille409
      @francoisleveille409 3 роки тому +21

      The real cash cow appeared after 2004 when RoHS laws were passed. Thousands of companies found themselves with a huge inventory of components with lead and almost all were bought by China at super low prices. These are now resold everywhere with new markings all dated after 2004 as RoHS compliant parts.

    • @hoojchoons2258
      @hoojchoons2258 3 роки тому +8

      It was happening in the 90's. We had some Pentium chips that had been skimmed and re-lettered. Some would work for a while as the clock was out (A Pentium 75 clocked at 90 for example) but would crash after a while....

  • @Derundurel
    @Derundurel 3 роки тому +50

    It would be interesting to see the current consumption of the suspect chip. A CMOS one will consume essentially zero (just a few μA) unless it is switching rapidly. A LS TTL one will consume mA or tens of mA in the same state.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +22

      That's a good idea. Maybe I need to do a followup video running some more tests on those chips and maybe cracking them open too. I've been meaning to do that for a while.

    • @tw11tube
      @tw11tube 3 роки тому +14

      Also, TTL chips behave like they have a built-in pull-up resistor, and source some current when you input "zero" into them. CMOS chips are high-impedance in either low or high input state, you only need some current to (dis)charge internal capacitances when you switch the input from high to low or the other way around. Measuring input pin current can be used to tell TTL-like logic from CMOS-like logic.

    • @JohnDlugosz
      @JohnDlugosz 3 роки тому +4

      I've seen that... back in the day, a friend helped me make a home-made RAM upgrade to a Tandy 100. Using a standard RAM chip meant adding a logic gate, and without any HCT handy used a LS. That one chip used as much power as the entire computer!

  • @CandyGramForMongo_
    @CandyGramForMongo_ 3 роки тому +120

    Excellent demonstration of the TTL/CMOS differences. That really made a difference in my understanding.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +3

      Thank you! Glad you enjoyed it.

    • @CandyGramForMongo_
      @CandyGramForMongo_ 3 роки тому

      @@NoelsRetroLab Thought, unfortunately, I am not wearing the same shirt today. Maybe next time. ;)

  • @stephenwhite506
    @stephenwhite506 3 роки тому +31

    It happens quite a bit. I found it when developing Pi1541. I use a 74LS06 to take a 3.3v signal from the Pi and invert it to drive the open collector IEC bus signals on the c64 low. Some cheap Ebay sellers buy their components in bulk from China and most of the time they don't work as well as the official TI ones from Mouser, Digikey or Element14. Then the end users come to me complaining about my software. After I tell them to replace the 74LS06 with one from a credible source their problems go away. Thanks Noel, now I can refer them to this video.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +6

      What a bummer that it's happening all over the place. I really need to find a reliable source of chips that has reasonable shipping for small orders. That's the difficult part!

    • @barakandl
      @barakandl 3 роки тому +1

      TI sells direct to consumers now in their web store and I found some good prices. Arrow usually has good prices and free shipping, good rewards program too. Rochester Electronics will have active and obsolete stuff, sometimes high MOQ tho. Will get genuine parts from those places.

  • @rmaureira
    @rmaureira 3 роки тому +19

    I just got pointed to this video by a friend and O M G, I'm having a similar issue and now ALL makes sense, I even replicated your test to identify the TTL parts. Thank you SO much for the detailed explanations, great video.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +9

      I'm really glad to hear that helped, but wow, I guess the re-labeling of HC chips goes further than I would have expected. Can't trust anything these days it seems!

  • @Sloxx701
    @Sloxx701 3 роки тому +7

    Great video. Just as a side note, though the 74HC chips may or may not work in those types of TTL circuits, 74HCT chips(the T standing for TTL levels) are specifically made to be backwards compatible with TTL LS and ALS chips, and the input threshold voltages would be the same for both.

  • @GadgetUK164
    @GadgetUK164 3 роки тому +63

    Wow, that's shocking that they've have gone so low to start rebadging 74 series...

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +12

      Seriously! Although I really don't think this is rebadged in the sense of produced one way and modified, but I really think it was manufactured this way. Crazy!

    • @danielmantione
      @danielmantione 3 роки тому +21

      @@NoelsRetroLab There are several Chinese manufacturers that produce these chips legit (i.e. HGSEMI, Xinluda and more). Very likely someone paid one of those factories to produce chips with a TI label (because then they sell for a higher price) and they were labeled LS because that is what people are searching for. If I buy from China I rather have a Chinese brand on the chip, because then it is much less likely a fake.

    • @barakandl
      @barakandl 3 роки тому +7

      @@danielmantione . I am think your assessment is correct. Buying from AliExpress I have gotten new 74 chip with the wrong family printed on the top. Usually for me they will mark as 74LS when it is actually 74HC variety. They were for sure new chips because the numbering on the tooling marks was consistent in the tubes. With the explosion of places like LCSC and pressure on China I think this kind of counterfeiting is getting less likely and you will see a China brand instead of countefeit TI brand (or whatever is most popular).
      I have used HGSemi TDA2003 and XINLUDA LS93, 4514 and they where fine. HLF is another china brand from LCSC that has been OK (op amps). I am kind of happy some of these companies like XINLUDA is making some of the obsolete chips like dip24 4514. At least they are not faking the brand...

    • @ivarnordlkken8082
      @ivarnordlkken8082 Рік тому +1

      @@danielmantione I use CMOS a lot, both 74HC, 74HCT and 40 series. I think people should move to CMOS as they spend less electricity. Also, I have no static protection, and none have failed so far. So people should not be afraid of them.

  • @ohgosh5892
    @ohgosh5892 3 роки тому +7

    Time Error Correction is applied every day to ensure that the frequency of mains supply is correct over every 24 hour period. This ensures that mains-synchronised clocks are extremely accurate.

  • @djdjukic
    @djdjukic 3 роки тому +32

    I really enjoy these videos. It's all good: content, production quality, preparedness, but the outstanding feature is pacing, Noel does it perfectly. Never do the videos seem to drag on. Not a second is wasted.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +8

      Thank you so much! My goal is definitely to be as respectful of people's time as possible, so I do sweat over every 5-second sequence during editing. Glad it's working out for you! 😃

  • @douro20
    @douro20 3 роки тому +15

    The analog behaviour of 7400-series logic can vary widely from device to device. I've noticed this myself with multivibrator circuits which were built using 7400 quad AND gates.

    • @0LoneTech
      @0LoneTech 3 роки тому +1

      Well, they're not analog chips, after all. You can get a hysteresis filter using a Schmitt trigger part, such as 74x132 instead of 74x00.

  • @michaelallen1432
    @michaelallen1432 Рік тому +1

    To elaborate on what was mentioned near the end of the video, there are actually two kinds of 74 series cmos chips. The ones that are labeled 74C, 74HC, 74AC etc, are the kind you have in the video. They are made with the functions and pinouts of 74 series TTL chips, but with CMOS voltage levels for interfacing to CMOS logic chips like the 4000 series. There are also chips labeled with numbers starting with things like 74CT, 74ACT or 74HCT, etc. These are made with CMOS but they are made to use TTL voltage levels to interface with TTL logic, but with the low power consumption of CMOS.
    There are also parts labeled with numbers starting with 54 , such as 54LS08, 54ACT08, or 54HC08. These are the same as their 74 series equivalents, but are mil spec components with an increased temperature range.

  • @AstonsVintageTechnologyWorkshp
    @AstonsVintageTechnologyWorkshp 3 роки тому +9

    I repaired a ZX Spectrum programmable joystick interface recently and accidentally fitted a HC ic by accident with the others, instead of a LS. Had me looking for a very intermittent crash for ages, until I realised my mistake. The tipping point for a port crash was just on the edge and was corrupting the data line.

  • @binarybox.binarybox
    @binarybox.binarybox 3 роки тому +5

    I used to have 3 C64 computers but only one reset when the kitchen fluoro was turned on or off. The fast spike went straight through the psu and any filter Cs. If I remember correctly, tantalum caps filter out higher frequencies than electrolytics so would be better for HF noise. Once reversed, I wouldn't risk using a tant again...I have seen some light up even when installed correctly.
    Interesting videos , Noel, and nice looking C64 board.

  • @psteier
    @psteier 3 роки тому +10

    CSI:Retro Lab ... Where no one has gone before... ;)

  • @n_3719
    @n_3719 2 роки тому +3

    with the latest version of xgpro (11.71) you can actually choose the test voltage (5.0, 3.3, 2.5, 1.8). one thing to note is the test menu is no longer listed as an ic option. it has its own menu and dialog window

  • @johnsonlam
    @johnsonlam 3 роки тому +8

    Hi Noel, me the Chinese mythbuster again! From my China factory experience, they may have shortage on the LS type of chips but not the HC, so they need to fill the shipment, otherwise the business will be ruined. Or someone did placing the wrong order carelessly. Since Chinese character is totally different from English, and Chinese factory is not a place with people with high level education, the foreman may barely can use English and make a batch of HC but customer want LS, so what? Mark them as LS!! Remark chips can cheat TLS866II and work in some situation, just this kind of circuit which require tight voltage level,fail.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +1

      Right, that makes a lot of sense. It's such a shame those things happen!

    • @johnsonlam
      @johnsonlam 3 роки тому +2

      @@NoelsRetroLab I bought chips from AliExpress too, I test every single one, this is the first time you discover this new way to cheat, learned a lesson, thank you for your video, both entertaining and informational.

    • @NozomuYume
      @NozomuYume 3 роки тому

      @@johnsonlam Do you think they feel bad about cheating or do you think they feel good that they succeeded in getting away with it? =(

    • @damianvila
      @damianvila 3 роки тому +1

      I'm of the same opinion as you. The chip was bought from a reputable Chinese seller (they don't deal with NOS, or refurbished chips, only new stock), so the problem was clearly at the factory. I, too, guess they had this order, run out of LS and said "whatever, rebadge some HC and call it a day, no one will notice", and sent the chips to the seller.

  • @artursmihelsons415
    @artursmihelsons415 3 роки тому +6

    Great diagnostic video!
    Yeah, conclusion is shocking. There is no logical sense to fake 74 logic chips, but, apparently, someone gets money from that.
    One option is, that assembly factory purchased lots of unmarked chips and after job was done, they resell these leftover chips very cheap or thrown away and rebranding was done by some underfloor factory in China who picked these up..
    Now I need to verify my LS stock. I think that I have at least one fake, because of strange behavior in one new circuit - replaced with old used IC from different manufacturer and problem disappear..
    This reminded me situation with TDA1524, back in days. Purchased originals - both was faulty. For one chip worked only one channel, for other chip worked only other channel. From different local seller I purchased other pair of chips. Seller warned me, that these chips may be fakes. I get home, plugged first chip in socket and it worked as it should.. Both chips, claimed as fakes, worked, but originals didn't.. 😂

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +2

      Exactly. I never even considered that 74xx chips would be fake. But now... ugh!

    • @rappepa7554
      @rappepa7554 Рік тому

      Maybe you can just order them with whatever label you want

  • @nutsnproud6932
    @nutsnproud6932 3 роки тому +7

    Thanks for showing that breadboard circuit to test the TTL chips. I will check my Chinese so called TTL chips with it. Best wishes.

  • @DiazFelix
    @DiazFelix 3 роки тому +6

    In the 80' days a lot of clocks worked using ac signal as a clock freccuency because it is very accurate in long term.
    Remember the "radio reloj despertador" all of them worked using the 50/60Hz from mains, in fact most of them have a switch for selecting 60 or 50 Hz.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +1

      Makes sense, but somehow it never dawned on me back then. I assumed they just had something internally that acted as a clock, but the 60/50Hz switch is a good giveaway 😃`

    • @NozomuYume
      @NozomuYume 3 роки тому +1

      Power companies actually keep track of any clock skew on the system and slowly skew the other way to bring the total number of cycles back in line with correct time. That's why it's so accurate. Before widespread cheap quartz oscillators, mains-timed clocks were actually the most accurate you could have at home for a reasonable price. Sure they weren't accurate to the millisecond, but a well-built simple mains clock would *maintain* accuracy over months as long as there was no interruption of power. It would even beat cheap low-grade quartz oscillators.
      I kind of wonder in an age where almost nothing uses mains power for timekeeping if power companies even bother now. Especially now that power outages/flickers are more common.

  • @EduArana
    @EduArana 3 роки тому +7

    Your video quality and graphical explanation are getting better on each video Noel. Good work.

  • @theclearsounds3911
    @theclearsounds3911 3 роки тому +2

    Another giveaway that the chip is CMOS is that the OUTPUT voltage goes at or near 5V. A real LS one would barely reach 4V. Not that this affects the circuit any; I'm just bringing it up to add one more way of identifying the line of chip. Excellent video, although I wish that the scope had more prominent lines for each volt.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому

      Good point! And I agree about the volt lines. I don't think I can tweak those, but I'll check just in case. I'd love to have them more visible as well.

  • @fjonesjones2
    @fjonesjones2 2 роки тому +2

    Great video, many thanks, love the logical fault finding and 'proving' technique...now that's how to find faults, guys. Servicing TVs in the 90's we had a batch of high power 2N3055 TO3 transistors immediately blowing up when switched on ( put on Blast hats and dive under the bench!!) Cutting a 'new' one open, we found that the silicon die was a fraction of the size it should be, yes it would test OK and run in a low power circuit fine... But, give 'em some whoomf and Bang!! .. Yes, they were 'new' from China...... I hope you like the highly technical language and description... 🙂

  • @PipThorne
    @PipThorne 2 роки тому +1

    There are two types of 74xx CMOS logic gates, the 74HC range, like the ones you were experimenting with, but there is another range 74HCT specifically designed to have the same transition voltages as standard 74TTL chips. The “T” after the HC denotes standard TTL logic levels.
    I think if you put a 74HCT08 it would work.

  • @HeyBirt
    @HeyBirt 3 роки тому +5

    CuriousMarc did some videos the first part of this year where he was repairing a bunch of timer modules for an old HP computer. The clock circuit used was similar to the way the squaring up circuit for the CIA timer was done by Commodore, except it was crystal driven.
    He found that even if he replaced the chip with the same part number from a different manufacturer it would not work properly and he had to change a feedback resistor to a lower value. Evidently this type of operation is 'quasi-analog' (made up but descriptive term) and depends very much on the analog properties of how the exact chip was fabricated. So, in a typical digital signal operation it would work fine but not in this quasi-analog state. Interestingly Ken Shirriff found out from decapping and reverse engineering flip-flip chips that they have a quasi-analog design as well which explains why they tend to fail more often than other logic chips.

    • @markevans2294
      @markevans2294 3 роки тому +3

      Potentially this might happen even with chips from the same manufacturer if they ever changed the design.
      Something which was clear is that the LS chip produced a lot less "noise" than the HC chips when given a "midpoint input".

    • @jpdemer5
      @jpdemer5 3 роки тому

      I can imagine a low-volume manufacturer using only chips that "passed" testing for their particular application, but HP isn't a low-volume producer. They must have had success with their default supplier's chips, and never knew how close to failure they were.

    • @HeyBirt
      @HeyBirt 3 роки тому

      @@jpdemer5 I suspect HP knew full well. They designed the circuit knowing it would work with the ICs their suppliers made and that was that.

  • @TechNed
    @TechNed 3 роки тому +1

    Something worth mentioning, re: mains frequency synched clocks..
    For several decades, clocks have been synched to mains frequency. Before electronic clocks with digital logic, clocks like the one pictured used synchronous motors - a bit like the one that drives my belt-drive turntable. Here in Australia, the lights still flicker around 2am each morning as power utilities trim the rotating machinery driving the grid such that the number of complete cycles in the 24 hour period is (as far as I know) within a certain percentage of 24hrs x 3600 seconds x 50 cycles/sec = 5,184,000 cycles. That is mandated by the fact that traditionally, so much time-keeping relied on it. Nowadays, NTP (the network time protocol servers) means our computers and phones are almost always in sync.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +1

      I love the detail of the lights flickering at 2am because of that! I never thought of that, but it makes sense to resync the pulse count. I wonder if the same is true in other countries or they handle drift differently in a more progressive way (skip a cycle every X hours).

    • @TechNed
      @TechNed 3 роки тому

      @@NoelsRetroLab It came up in a subject I was studying. It blew my mind that all those machines connected to the grid all run in phase, in sync with each other. Has to be the case of course, otherwise there would be massive failure currents. Good job on the video, btw. I had a heck of a time trying to source some HD63C09E chips that weren't fake. Two orders out of China were then a UK vendor sourced some, (also from China) tested them first then advertised on eBay. Got to upgrade my FLEX system but I haven't done much experimentation with the chip's native mode as yet.

  • @johnnyw66
    @johnnyw66 3 роки тому +4

    That was interesting. It seem to behave like a CMOS chip with the trigger level. Did you check the current consumption?

  • @0leMo
    @0leMo 3 роки тому +8

    Great stuff, love your systematic approach. Your explainations are crystal clear. Like to build these repos myself, and this is a great source for learning commodore stuff, the best channel in my opinion!

  • @cmuller1441
    @cmuller1441 3 роки тому +6

    You can also create a zener diode with an higher voltage by adding a normal diode to it in the reverse direction so its drop adds to the zener voltage. To keep the normal diode conduction mode you have to add another normal diode ok parallel to the zener and the first diode.

  • @doktor6495
    @doktor6495 3 роки тому +4

    Hello Noel! If you also change the resistor R100, not only the zener diode, to a higher value, you should get a higher voltage level on the AND gate input. So then it should also work with the "original" 74(HC)08.
    Greetings, Doc64!

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +1

      Yes, good point. That was going to be the next thing I would have tried this this hadn't worked. I don't think it would have mattered too much to put a slightly higher value.

  • @RetroWK
    @RetroWK 3 роки тому +9

    Great episode! Learned something - again!

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +1

      Thank you! I also learned new stuff preparing this episode 😃

  • @freddaniali
    @freddaniali 3 роки тому +1

    Noel, this explains why I was told that you could use a TTL chip for a CMOS circuit, but you cannot use a CMOS chip for a TTL... due to the low trigger voltage levels. Blows my mind that a manufacturer would do this!

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +1

      Well, this is not exactly the reason, because this is a very specific analog signal. But even in the case of digital signals, it's possible for a TTL gate to output 2.7V, which would not be recognized as high by a CMOS gate. Although I suspect that in practice that's not very often a problem.

  • @jeffburrell7648
    @jeffburrell7648 3 роки тому

    Two things:
    1. Using the mains frequency as a time base is a very good idea if one does not mind losing the time when power is off. The mains is more stable than most crystal oscillators over time periods of days or weeks.
    2. I would be cautious of triggering a digital circuit using marginal logic levels. The trigger voltage can change with power supply voltage, temperature and time. What works today may not work tomorrow if one or more of those parameters change. If LS chips are not available you could try HCT chips as those are meant to have TTL compatible input ranges at the expense of lower output drive.

  • @caggius42
    @caggius42 3 роки тому +1

    Back in the 80's we had a very similar problem when card production swapped the manufacturer of an LS chip in the Power reset circuitry for a banking terminal (Texas Instrument vs Nat SemiConductors I can't remember which way round it was). Needless to say when turning the machine off the replacement chip enabled the processor whilst the voltage was dropping and the processor corrupted the backup memory - it took some time to find that problem. Nothing fake - just manufacturing tolerances.

  • @TheStuffMade
    @TheStuffMade 3 роки тому +2

    Great video. That's really annoying when a new component is out of spec. It might be safer to go with HCT as I can imagine the demand for LS is very small these days.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому

      Thank you! Yes, using HCT would be perfect (I just didn't have any in hand and had to improvise 😃).

  • @An_Onion
    @An_Onion 3 роки тому +4

    I mean, you can still get brand new 74LS-series chips from mainstream component sources (Mouser, Digikey, etc). I think this is more of a story about buying from reliable sources.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +3

      That's true. But it's hard to find a reliable source with reasonable shipping (or no minimum order) for when you just need a small component.

    • @An_Onion
      @An_Onion 3 роки тому

      @@NoelsRetroLab I mean, I guess? Most places have an economy shipping option. I know Mouser will ship as little as one resistor and you can choose their economy shipping for $3.50, so I pretty much use them exclusively. It really comes down to, "how much is my time worth?"

    • @SianaGearz
      @SianaGearz 3 роки тому +1

      @@An_Onion $3.50 to Europe? Seriously? No. We have a very fragmented market here and lots of companies simply don't sell to hobbyists.

    • @blackarrow8683
      @blackarrow8683 3 роки тому

      @@An_Onion Sadly when you order from Mouser in Europe, shipping starts (!) at 20 Euro ($23,61). Only when you spend more than 50 Euro ($59,02) it is free shipping. So it only makes sense when you spend more than 50 Euro each order. So wait and stack all the ICs up in your card :(

  • @JamesPotts
    @JamesPotts 3 роки тому +2

    For time-of-day keeping, the mains' frequency, at least in the US, is quite accurate over time. Traditionally, the multiple grids in the US have been kept it tight synchronization, partly to ensure clock accuracy.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому

      Yes, I never realized that before I learned about this. But I guess it makes sense, especially when they used that signal much more a few decades ago.

  • @timkeip
    @timkeip 3 роки тому +1

    The problem here is with the original design. The extra feedback resistors are an attempt to create a Schmitt-Trigger to overcome AC line noise, however relying on the linier characteristics of a digital part is very bad practice. My guess is that the designer found he (she) had a spare gate and so decided to save the expense of adding another logic package (with a real Schmitt-Trigger) such as an SN7414. (One extra DIP package took up a fair amount of space)
    Unfortunately this was done a lot in the early days but the variations in manufacturing process from manufacture to manufacture or even run to run can be large.
    That's why the data sheets list typical values with a fairly wide range from Min to Max.
    The moral to the story is don't design a digital logic circuit that depends on the linier characteristics of your logic elements.
    All of that said, I'm guessing that the zener diode voltage was chosen to keep the transition close to the zero crossing of the AC line where power supply rectifiers (and other AC loads) might generate noise into the wave form.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +1

      I agree! That clearly shows it was added last minute because they had a spare gate already on the board 😃 Typical for computers of the time. The amazing thing is that it was never changed in subsequent revisions of the board.
      As for the value of the zener, remember that the original AC signal goes all the way to 9V, so the slope is really steep over a whole range, so I think they could have safely picked lots of different value zener (maybe even up to 4-5V) and had the same effect (just a guess, I haven't really tested it).

  • @optophobe
    @optophobe Рік тому

    I taught digital electronics for almost 25 years. Our supplier of lab parts, the lowest bidder, supplied fake chips. It was a nightmare for me because we were analyzing the performance of various families and they were all the same (CMOS) yet labeled differently. Also, several of the kits had chips that were labeled upside-down so had many burnups. Also, some chips were NAND for NOR chips, and NOR for NAND chips. We had to collect all the parts and purchase replacements from a reputable supplier.
    I have never seen a stand-alone TTL produce an output high greater than 4.4 volts, and a CMOS no less than nearly 5 volts. This is the easiest way to test. Also, the input current unloaded for CMOS is nearly unmeasurable whereas TTL will have a few mA.

  • @VintageTechFan
    @VintageTechFan 2 роки тому +1

    Another possibility:
    Maybe those are legitimate HC ones, which were just mislabeled as LS by accident and were supposed to be disposed of .. but someone "rescued" and sold them?

    • @eebaker699
      @eebaker699 2 роки тому

      I think this happens. The far East vendors get these deliveries as ewaste and they just resell them.

  • @noanyobiseniss7462
    @noanyobiseniss7462 3 роки тому +1

    Great catch, can't say I would have noticed that re-mark!

  • @ctrlaltrees
    @ctrlaltrees 3 роки тому +3

    Excellent detective work Noel! Very well researched and clearly explained with great diagrams as always. 👍

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +1

      Glad you enjoyed it! Means a lot coming from you 👍

  • @ChrisCebelenski
    @ChrisCebelenski 3 роки тому +1

    Great explanation on the zener diode. I had always wondered what an application for one would look like - little did I know I had one next to me!

    • @johndododoe1411
      @johndododoe1411 2 роки тому

      Another application is to reduce a "TTL" serial port signal from "5V TTL" to "3.3V TTL" signal levels when connecting to the hidden serial ports in various gadgets using USB adapters designed for 5V arduinos.

  • @darkstatehk
    @darkstatehk 3 роки тому +2

    Booooom! BINGO! Fakeness explained for the masses.
    Except the winner is some boss in China.
    *Noel, you are the MAN.*

  • @VladoT
    @VladoT 3 роки тому +6

    I think that Commodore engineer's decision to use the chip in its low threshold mode is a bad design by itself.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +3

      Agreed! That was really puzzling when I studied the circuit. Especially relying on the very bottom of the acceptable TTL threshold.

    • @TomStorey96
      @TomStorey96 3 роки тому +1

      Well, the TTL spec guarantees the output will switch as long as the input is 2V or greater. So it may also very well switch at a lower voltage.
      But 2.7V is safely above 2V, so it's perfectly fine IMO.

    • @8bitwiz_
      @8bitwiz_ 3 роки тому +1

      Perhaps they had a bunch of them in stock. Or maybe someone got a real good deal on 2.7V zeners that month.

  • @Egg-kh2xo
    @Egg-kh2xo 2 місяці тому

    Excellent video. I would like to mention a couple of things about importing from you know where but first some technical details. The first TTL was 74xx then 74LSxx and then 74Fxx and it has progressed from there and today we have 74HCxx 74HCTxx 74AHCxx and many nore that are not in common use. Along side in the earlier days we had the 4xxx series CMOS (which were very ESD senistive as there were no clamping diodes).
    There is something that is overlooked today. Most CMOS will run from a little over 2 volts up to - in some cases - about 15 volts. The "" LS F C HC HTC ALS etc are the "technology" and not the voltage specifications (Vil Vol Hih Voh). The Vil for old 4000 series CMOS was 1/3 Vcc and Vih was 2/3 Vcc and these are a specific voltages at a Vcc of 5 Volts but are different voltages with a different Vcc. As an example most JEDEC SRAM 6116 6264 or modern EEPROM 28C with Vcc specified as 5V +/- 10% will accept the lower TTL Vih even though they are CMOS. This is demonstrated clearly by the 74HCT series that is CMOS that accepts TTL Vih as opposed to CMOS Vih which is much higher.
    As for fakes - there are massive industries in you know where and they are based around the major ports. Order from a little further away and it will take longer but you will more likely get what you want. It will still be washed in the creek and pulled then sold as new and be usefull for hobby use but at least it will be what you believe you purchased and will probably work as expected. Detection is such a problem now as it poisons supply chains that critical industries like medical, aviation, aerospace xray the chip to read the die.
    Loved the video, older but very relevant.

  • @sprybug
    @sprybug 3 роки тому +2

    I've been experiencing this quite a bit myself. Recently I got a lot of 5 MC6847 VDG chips. 4 out of the 5 worked. The one that didn't work had a notch that was different than the 4 that worked. So I did the acetone wipe and sure enough it was a rebadged chip. But it was rebadged from a 100% comaptible! It just didn't work. Why did they feel like they needed to rebadge that? So I tried the test on the other 4 chips just to see and sure enough they were rebadged too....but they were still all 6847's! I could see the original labeling underneath the paint. They didn't bother sanding them down. The only reason I could think of them rebadging them was to make the date look like they were new old stock. We all know they haven't made these in a long time, so they're not fooling us. It's just a waste of time.
    I got 5 63C09P's that didn't work, and did the acetone test and I got a nice black q-tip, meaning the badging was fake, but they sanded them down so much, I couldn't tell what they were originally. These printing jobs on the labels even indent into the plastic a little bit, so you can't completely get rid of the badging, but that copperish color sure faded away.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому

      Yes, things are really bad with larger, more expensive chips (even though they aren't THAT expensive), but this came as a surprise to me. Such an unfortunate situation that we can't trust chips like this.

    • @NoOne-xp1pe
      @NoOne-xp1pe 3 роки тому

      @@NoelsRetroLab You can't trust CHINA!
      Only manufacturers who have Americans watching over the quality control from beginning to landing in America get what they pay for.
      It's a problem in practically every industry in china.

  • @Dave5281968
    @Dave5281968 3 роки тому

    Nice repair video and discovery of a mislabeled or (more likely) FAKE TTL chip!
    One thing you did not mention, Noel, is that CMOS power consumption goes up dramatically as the input voltages are farther from the rail (like 2.5v for high on a 5v rail), and likewise TTL power consumption increases quite a bit as the input levels get closer to the voltage rails (such as 0.1v low input instead of .7v low input). The good thing is that for this application it shouldn't really matter as far as the input from the zener shunt is concerned. However, due to the reliability issues of (seemingly) all Commodore/MOS chips I would personally be concerned about the CMOS 74HC08 driving an input on each of the 6526 CIA chips. It's one more reason not to mix CMOS and TTL logic chips. If you have to do that a series resistor between the CMOS output and the TTL input is a good idea to prevent blowing out either the CMOS output FET's or the TTL input transistor(s).

    • @danielmantione
      @danielmantione 3 роки тому

      Commodore chips are NMOS, not TTL. They can handle 5V on inputs without problems and their output is usually slightly above 4V. There is no increased power consumption for high input voltage on NMOS as the input is connected to the gate of a MOSFET, which doesn't conduct.

  • @yet_another_communist
    @yet_another_communist 3 роки тому +2

    Wow, I found this channel recently, it's so underrated, I hope videos like these receive a lot more views than now, success for you, have a great day :)

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +1

      Thank you so much and welcome on board! 😃👍

  • @XantheFIN
    @XantheFIN 2 роки тому

    I wasn't so about all of being fake but good info as mentioned here about differences in those signal levels. Thanks!

  • @emorelama
    @emorelama 3 роки тому +3

    I love the research you have done on the and gate. Very didactic.
    I am planning to build a C64 replica, so I will love to see the upcoming videos on the alternative chips.
    Thanks for the video...

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому

      You're welcome. Good luck with your build! It's so much fun. 😃

  • @cedriclynch
    @cedriclynch Рік тому

    Taking the timing signal from the AC mains may give a time that is ahead of or behind the real time by up to a minute or so, but the deviation does not get bigger than this. The speed of the generators at the power stations is controlled so that on average over a long period the frequency is exactly the nominal frequency, but at any given moment it could be slightly lower or higher.

  • @KolliRail
    @KolliRail 3 роки тому +2

    Wow! That wasn't unexpected, as I'm following you on Twitter, but it's another example of great troubleshooting!

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому

      Thank you! Yes, that came as a surprise for me too. Wasn't expecting that!

  • @barakandl
    @barakandl 3 роки тому

    Good video. I work in retro pinball circuit boards and I have dealt with the same thing, usually when trying to source out obsolete parts from China.

  • @PedroCalamardo
    @PedroCalamardo 3 роки тому +3

    Another great video!. I really like your way of explaining this stuff. You make it understandable, even for people like me, with almost 0 knowledge of electronics. Thanks!

  • @joshuarichards2421
    @joshuarichards2421 3 роки тому

    20:12 Well, you accidentally found a viable replacement path for at least one LS chip in the C64! Started diagnosing a fake chip, end up slightly improving on the C64 design...

  • @djdublo
    @djdublo 3 роки тому +1

    Thanks for the lesson on CMOS and TTL differences. As always a very well put together video.

    • @johndododoe1411
      @johndododoe1411 2 роки тому

      Quite weird, as 74LS isn't the original TTL, and 74HC isn't the usual Motorola 40xx CMOS. 74HC is a modified CMOS internal circuit that tries to approximate the original 74 series voltage levels.

  • @danielleblanc5923
    @danielleblanc5923 Рік тому

    Very nice video as usual, very well researched.
    The "fake" chips could be regular chips that fail some test (temperature or other) and are therefore rejected on the standard line.
    The factory could be tempted to sell them anyway where it could be assumed that they "should" work.
    As far as I remember the voltage specification for high speed CMOS is as follows
    HC (Standard CMOS) VCC/2
    HCT CMOS with TTL 0.8 / 2.0
    The reason for the threshold not being absolute values like like 0v and 5v is that TTL uses bipolar transistors.
    This in turn means that currents flow in and out of circuits which changes the voltage of the logical levels. So there is a safety margin in the TTL levels.
    CMOS ICs are not susceptible to these level issues as they can drive to "rail to rail" and they use virtually no current on the inputs.
    CMOS chips will use less power then the equivalent chip in TTL technology but this is only valid in a stable state (not switching).
    They have a pretty linear consumption to frequency ratio (consumption goes up with frequency). This is much less the case for TTL.
    TTL or TTL compatible chips (74HCT) are meant to work at 5v +/- 10% (from 4.5v to 5.5v)
    CMOS chips are not limited to 5v or 3.3v in fact many of the 74HC chips are specified at 6v (from 3v or even 2v to 6v)
    One last thing: using logic chips in an 'analogish' way like crystal clocks is always risky as some of the characteristics of the circuit will depend on the implementation technology.

  • @stephenjacks8196
    @stephenjacks8196 2 роки тому

    Might note that 74HCT08 uses TTL voltage levels. I use those.
    Usually LS TTL outputs are

  • @ekmett
    @ekmett 3 роки тому +1

    I've been bitten before by blacktopped/relabeled chips, mostly for things like YM2151s and the like where to be fair, there probably is no legitimate undiscovered "original" supply left, and every part I can buy has basically been run through a fiery crucible, broken off the board, retinned, reblacktopped and labeled with a fake batch number, but basic TTL chips? Oof.

  • @rappepa7554
    @rappepa7554 Рік тому

    I fixed the exact same issue fixed it with a higher zener thanks to you. Exact same label as well. I actually also had a similar fake 193, causing wrong clock. Pretty irritating. It is easy to see via the power consumption, around 4ma is too low.

  • @jussikuusela7345
    @jussikuusela7345 3 роки тому +1

    Where the un-ANDed signal voltage goes under 0V, I think that can be expected. At he "unused" half wave of the 9VAC the zener diode is working in the forward region with the resistor, leaving 0,6ish V under the zero threshold. I believe that is not a problem for most logic chips, but it could be avoided with a standard diode between the 9VAC and the ballast resistor.

  • @MajorCadence
    @MajorCadence 3 роки тому +3

    ummmm, I just ordered 74LS08's from Jameco and 4 of them look exactly like that 'fake' one. Time to test them I guess. Good job catching something so subtle with these btw!

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому

      Interesting. Let me know what you find out!

  • @jimmihenry
    @jimmihenry 3 роки тому +4

    Unbelievable 2021 people are re- building good old hardware
    from the 1980-90's. Only China is pure AIDS for this industry
    branch. I am glad i subscribed to your channel. I do not know
    jack shait about electronics but i am very pleased watching and
    learning a bit. Cheers, and as always thumb up!

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +1

      Thanks so much! Good old hardware is so much fun! It's the kind of hardware I feel that can be understood by one person pretty easily, but you get into modern hardware... and it's waaaay too complicated 😃 Glad you're enjoying it.

    • @cocoe68
      @cocoe68 3 роки тому

      I think size of 70-80-90 electronics let us to manage it easy opposite to modern miniaturized.

  • @Curt_Sampson
    @Curt_Sampson Рік тому

    Don't forget that the CIAs are also responsible for reading the keyboard and joysticks!
    As for why the CIA has a separate input for the TOD clock: one issue is that while every computer system using these will have a much faster system clock, that system clock will vary from system to system depending on what was convenient for the designer. (Remember, unlike the VIC-II, the CIA was not designed just for the C64; it was designed to replace the 6522 VIA and add additional capabilities, much as the 6522 VIA was designed to replace and add capabilities to the 6520 PIA, which in turn was a clone of the widely used Motorola 6821 and 6820 PIAs. It's perfectly plausible that they hoped to sell these into industrial and embedded systems where those earlier chips were already being used.) Rather than adding more circuitry to deal with dividing down fast clocks of random rates which still won't be exact in some situations, and yet still restrict designers who might want to be able to vary the system clock rate or even pause it for various reasons, it's much easier just to accept a separate 50 Hz or 60 Hz input, especially since a _very_ reliable source of that is widely available all over the world.
    08:15 was where I started yelling at my screen, by the way. Did you not notice that your tester said 74 __HC__ ? Coming immediately after an explanation of TTL logic levels, that was the problem (or at least potential problem) staring at you right there. (I'm guessing that it your tester said "HC(LS)" because it can't tell the difference, but that's a big reminder that you need to check that.) But then again, maybe I'm just already primed for this sort of thing because I get CMOS parts relabeled as TTL from AliExpress all the time. (Probably about three quarters of the 6502 CPUs I've bought from them have actually been remarked CMOS parts.)
    BTW, it's also worth putting an ammeter on the power input of the chip when comparing TTL and suspected CMOS. You'd probably see a massive difference there; my CMOS 6502s draw literally less than a tenth the power an NMOS 6502 draws.

  • @TheDesignDevil
    @TheDesignDevil 3 роки тому +3

    Uh that's very interesting, i'm excited. I got a KC compact which is a kind of duplicate from the amstrad cpc. It is working fine with his own CPU - a U880 (the gdr type of the z80 processor). Interestingly, this CPU works also fine in a cpc but the Z80 CPU from this cpc doesn't work in the KC compact. This Z80 CPU btw. is a brand new one. I think i take the board out on the weekend and check a few voltage levels with my oszi again. Thanks Noel for this informations. Thumbs Up.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +1

      Oh wow, I didn't know about the KC Compact! Very interesting. I'm going to have to look into getting one given my love of Amstrad CPCs 😃 I'm not sure this is the problem you're having though since the original parts (I'm guessing) are all TTL. But it's worth checking. Good luck!

    • @ThereIsOnly1ArcNinja
      @ThereIsOnly1ArcNinja 3 роки тому

      @@NoelsRetroLab KC Compact are quite hard to get your hands on as they came very late in the existence of the GDR - it's almost only a C65 like batch that found its way to collectors.
      Interestingly enough sometimes in those East German Z80 computers they had to use original Z80 CPUs as the demand for their clones in the industry had been way too high. This way original Zilogs found their way into my possession years before the Berlin wall fell.
      Being a young greenhorn back then, I did only wonder shortly when first looking at the documentation ("Where is that U 880 D they talk of here?") but in the past few years I came to a new appreciation of this little detail of history.

    • @batman4e
      @batman4e 3 роки тому

      Wow, I am facing a similar problem with my Z80 system (AEA PK-232), when swapping the NMOS Z80 CPU with a CMOS it doesn't work anymore. This system has also an NMOS Z8536 (in your KC compact it is the U82536) inside like the KC compact. You say your CPU is a new one. Nowadays only CMOS Z80 CPUs are made, so I guess your problem is coming from CMOS which requires and produces slightly different logic voltage levels. But even if the CPU is not CMOS, coming from a different makers it might require or produce different logic level voltages which the Z8536 will not understand and as I understood the KC compact initializes the U82536 right at the start. Applying 4.7K or 10K pull-up resistors on the data bus might help sometimes, but not in my case.

  • @CezarySiw
    @CezarySiw 3 роки тому

    Just a small clarification: LS does not directly identify the technology. LS stands for L-ow power, S-chottky diod. 74LS08 takes less power and is much faster than 7408. There are also variants 74L08 or 74S08. Some of the chips from S series can even work well above 100MHz.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому

      Correct. It's one very specific type of implementation, but always using TTL. I didn't mean to imply that all TTL chips were LS, I should have made that clearer.

  • @francescosacco4969
    @francescosacco4969 3 роки тому +2

    Excelente job! You are clear and gave the full information. Thank you!

  • @dnwheeler
    @dnwheeler 3 роки тому +1

    Another possibility is that these chips were manufactured as LS chips, but failed testing and were dumped into a reject pile that someone bought and is now selling.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +1

      That's a possibility I hadn't considered. But seeing how they trigger just like an HC, I'd be surprised. Still, I could do some other tests to find out if they're really HC.

    • @danielmantione
      @danielmantione 3 роки тому

      @@NoelsRetroLab You already did: 13:34. An LS would never reach an output of 5V, you would expect something between 3.0 and 3.4 volt if it was LS.

  • @suadcokljat1045
    @suadcokljat1045 3 роки тому +1

    I worked in Shenzhen, China as hardware development director and manufacturing quality control for EU company. I learned one thing - you can expect ANYTHING from the Chinese... Cheers! S

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому

      Yikes! I hate stereotypes, but I've heard that from multiple sources 😕

    • @NoOne-xp1pe
      @NoOne-xp1pe 3 роки тому

      I have heard several stories. Would like to hear yours.

  • @ElectronGordo
    @ElectronGordo 3 роки тому

    Again great cap from your serial! :P and my gosh! how great video quality and edition!

  • @rlgrlg-oh6cc
    @rlgrlg-oh6cc 3 роки тому +1

    Another reason the CMOS part would not work is that the output swings pretty much to 5V, whereas the LS part would only be maybe 4V or so when high. So the feedback resistor on the CMOS part will raise the threshold more than the TTL one would have.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +1

      I hadn't thought of the effect of the higher output level. That's interesting. I think it might still have worked because it would always lower it enough to go low though (and clearly in the oscilloscope it just never managed to trigger the high level), but now you have me wondering what it would have done if it went high. Hmm...

  • @8bitwiz_
    @8bitwiz_ 3 роки тому

    I had a similar problem trying to control a HUB75 display from a Blue Pill board. The display used CMOS chips, and the datasheet said they wanted 70% VCC for a logic 1. That's 3.5 volts, which you aren't going to get from a chip that runs on 3.3 volts. It was close enough to work most of the time, but when actually using it, sometimes a few pixels on the display would glitch because it was right on the noise threshold. I made one failed attempt at a level shifter before I moved on to other things.

  • @slipcurve1410
    @slipcurve1410 3 роки тому +2

    i love these little mysteries. gj

  • @gwesco
    @gwesco 2 роки тому

    If you really want to troubleshoot a power line derived time issue, wait until you have something in a building with solar and battery backup. Both the solar and battery systems use a pll to lock to the grid frequency. If the grid drops, the solar and battery inverters are locked together but may drift a fraction of a second relative to the missing grid power. If you have many power outages, you may find that clock circuits that rely on line sync may be minutes off over time.

  • @rageagainstthebath
    @rageagainstthebath 3 роки тому

    A few remarks:
    - Your scope showed 50,0000Hz when you probed the C64 clock signal probably because it uses AC frequency as the reference itself. ;) AC frequency is not stable, but the European grid compensates for fluctuations so you get very precise mean frequency over 24 hours or so.
    - LS is not an indicator of TTL technology, but is subset of it. Most of 74 series are TTL, including "S", or "vanilla" with no letters between the numbers. "LS" is a low power schottky subfamily, which was the cutting edge in the 80s.
    - Your test is indeed conclusive as TI's LS series should switch at a voltage over 2V, but a more "proper" way would be to measure input current. Bipolar TTL chips, in case of LS, draw tens of uA from their inputs at high level, while in case of HC chips and their isolated gate transistors, the leakage is in order of nanoamps.
    Anyway, I did enjoy the episode, as always. Cheers!

  • @loko8907rs
    @loko8907rs 3 роки тому +3

    Changing the zener diode with one having higier zener voltage is meaningles. With ~ 2 volts on the rail you were not nearly close to that 2.7 volts on the first one so puting one with 3.3 volts zener voltage doesnt make any sense. Placing the second 74LS08(HC actually) may have solved the problem byt that is because of the tolerance of that chip and it seams that it works at the edge of its specification, which is not good because in time as the chip degrades it will probably go out of that range and the clock failure will reaccure.... Better find a genuine 74LS08 as soon as possible. The only thing that I think may help here is changing resistor R5 (560 ohms) with one with lower value (240, 270, 300 or 330 ohms). In that way the voltage drop acros the resistor will be smaller and the rest will go accros the Zener diode wich will reach its zener voltage

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +2

      I wouldn't say it's meaningless. The 2V was due to the feedback resistor. The higher the input level, the higher that voltage would go. You can even see it in the oscilloscope that voltages are higher with the new zener. And I did try the HC by itself before I measured things that it didn't come close to triggering. But yes, changing the resistor would have helped as well.

    • @danielmantione
      @danielmantione 3 роки тому

      It is the feedback resistor that lowers the voltage. Therefore if you aim a bit higher with the zener diode (1 to 1.5 volt higher), it might work. However, you then get a smaller pulse width.

  • @lo377ps
    @lo377ps 3 роки тому

    You cold try to measure gate input current to see if it is CMOS or TTL. At least if they haven't gone through the trouble of putting in a resistor to the input. Great video btw. 👍

  • @jeffm2787
    @jeffm2787 3 роки тому +3

    Too funny, my first thought was change the zener. No clue why they used a 2.7 volt in the fist place. Perhaps availability back then. It was my understanding year ago that anything over 2.5 volts for 'TTL' was 'high'. They could have went with a 3.3, 3.6, 3.9, 4.3 or perhaps even a 4.7.

    • @mal2ksc
      @mal2ksc 3 роки тому +2

      I bet it was availability. They already had them, they worked, so they got used. That's no reason that a modern reproduction has to adhere to the same limit when the effect on operation is only to make it more reliable, now that it is apparent that this is an option.

    • @markevans2294
      @markevans2294 3 роки тому

      @@mal2ksc possibly 2.7v zener diodes happened to be a bit cheaper, than the other valurs, forty years ago.

    • @ThereIsOnly1ArcNinja
      @ThereIsOnly1ArcNinja 3 роки тому

      Interesting - my first thought had been "They really should have relabelled HCT chips and probably nobody would have noticed." Noel says that himself later in the video.

    • @jeffm2787
      @jeffm2787 3 роки тому

      @@ThereIsOnly1ArcNinja Well sure. I guess I should have said my first thought on how to correct for the issue given the chips on hand. Outside of that my first thought was....bastards with the fake F'in chips not gee they should have used a different chip for the fake.

  • @WolfgangMahringer
    @WolfgangMahringer 2 роки тому

    Nice demonstration! But why didn't you use a 74HCT08? That would have the same switching levels as the LS, so no need to replace the zener diode.

  • @trevorvanbremen4718
    @trevorvanbremen4718 3 роки тому

    It'd be interesting to take this further...
    1: Measure the unloaded and loaded high and low OUTPUT voltages to see what the levels and drive currents are
    2: Measure the quiescent current consumption of the chip with all I/O pins not connected (CMOS should be near zero)
    3: Measure the current consumption with one input grounded (If the input is a BJT as in 74LS08, then the current consumption will increase)
    etc etc

  • @tony359
    @tony359 3 роки тому

    very interesting. I believe I have my Breadbin showing the same error - but the clock is working. I didn't think too much about that to be honest...

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому

      Hey, as long as it works... It could be that your chips happen to be triggered. It's such a weird design that relies on triggering them at the edge of what's correct... Maybe you got lucky with yours.

  • @flomojo2u
    @flomojo2u 3 роки тому

    The LS in the part number stands for Low-power Schottky as opposed to the original TTL which consumed quite a bit more power. I am curious why they didn't use a chip with Schmidt triggers, as otherwise you hit that unstable band between high and low input levels, resulting in a lot of random noise, as you found. I'm surprised that using the AND gate input for hysteresis works, clever if unconventional.

  • @juanmiguelcortarello6823
    @juanmiguelcortarello6823 3 роки тому +1

    Amazing video! The investigation was awesome. Thanks!

  • @talideon
    @talideon 3 роки тому +1

    At 1:50, and my first guess is that we're dealing with a VIA where a CIA should be. The pinout is *very* similar, it might vaguely work.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому

      Interesting. Like the VIC20 VIAs? That hadn't even occurred to me. Although now that I think about it, I had tried working CIAs on this board and they also had that problem, that's probably why I dismissed that and looked for something specific on this board that was failing. Keep watching 😃

    • @talideon
      @talideon 3 роки тому

      Mind blown! I guess the only saving grace of them passing of 74HC chips as equivalent 74LS is that it's at least not going to burn out anything other than the mislabled chip. And as you mentioned, why not just sell 74HCT chips instead if their tooling is set up for CMOS. I can't see any benefit for anyone in this circumstance.

  • @DanielandStuff7
    @DanielandStuff7 3 роки тому +5

    Love your videos and the effort you make to educate. Never stop

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +1

      Thank you so much! Glad you're enjoying them.

    • @DanielandStuff7
      @DanielandStuff7 3 роки тому

      @@NoelsRetroLab every single video :)

  • @SteJuMusic
    @SteJuMusic 3 роки тому

    I built the same board here and had exactly the same problem. I have the same mislabeled chip here. Thanks for the solution :) The C64 diag doesn't show any error now, but my VIC still overheats quite fast. I do not know yet what this is? The voltages all seem to be exactly right.

  • @ltrojano
    @ltrojano 3 роки тому

    Good way to distinguish TTL logic ICs from CMOS is to measure powier consumtion at idle. TTL will drain few to even 20mA, while CMOS ICs consumpition will be about 0.

  • @junkerzn7312
    @junkerzn7312 2 роки тому

    There are also significant differences in current draw, input impedance, and output impedance between HC, LS, etc.... chips. Also note that Zener diodes below 5.6V are very sensitive to current... they need a higher minimum current to actually pull the voltage down to the rated value. This is handled by R5 on your schematic... looks like. Mmm. 9V - 2.7V = 6.3V. 6.3V across 560 ohms is roughly 11mA. Should be enough for the zener itself. It probably needs at least 5mA to work properly.
    So, that leaves current draw from U27 and R37 to cause the voltage to dip below 2.7V. The current is drawing through a 1K resistor after the zener... it doesn't take much to cause the voltage to go well below 2.7V, so the components wind up mattering a lot.
    Your attempt of replacing the zener with a higher-voltage zener is reasonable, but note that the current draw from the 9V AC through the 560 ohm resistor will be lower and that can cause major problems for voltage drops across that 1K resistor. The zener's generated voltage will be too 'soft'.
    Other possible solutions... reduce that 1K resistor a bit too, so the current draw from the rest of the circuit doesn't draw the zener voltage down as much. But the feedback circuit will also be sensitive to that resistor so... you might have to do some math. The whole circuit is very finely tuned. It would have been a lot easier if they had just used a schmitt trigger AND gate there, then they wouldn't have needed to square up the input with the feedback resistor from the output of the gate back to its input.
    --
    Yes, tants tend to explode after a while if you apply reverse voltage to them, and/or cause a permanent short.
    Cool stuff. I haven't played with the PET/C64/Amiga stuff for decades(!).
    -Matt

  • @stephenjacks8196
    @stephenjacks8196 2 роки тому

    For TTL, the output transistors draw current at any input level.
    For CMOS, the input voltage outside of thresholds, i.e. 2.5 volts, neither P or N transistor conducts so output is indefinite (high resistance).

  • @borayurt66
    @borayurt66 3 роки тому +1

    Not information but a guess; just like you, I do think that the chip is not a remarked/counterfeit one, but I don't think It was a scam done by the factory. I think there was a mess-up and a bunch of HC chips got marked as LS. From there, there are 2 possibilities; either no one noticed the error and the chips just went out of the factory like that, or it was noticed and the chips were removed to be disposed off but a "clever" worker just stole them and sold them to an online marketer. My vote is on the second option. :-)
    Oh, by the way you did an excellent demo of LS and HC characteristics, it was nerd porn!

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +1

      True, that's a possibility. I'd be more inclined to believe that if the logo on the chip looked more legit, but it kind of looks like TI but not really. But who knows! I may have to open them up and find out. Glad you enjoyed it! 👍

  • @minombredepila1580
    @minombredepila1580 3 роки тому +2

    Why you didn't teach me TTL and logic circuits at the university?. Everything could be much easier then... Loved the "practical comparison test" showing how TTL vs CMOS work differently depending on the voltage !!!

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому +2

      Haha, thank you! You know, I'm preparing an episode about that very topic right now (how to teach or how NOT to teach) because I also had a bad experience learning electronics at university. Anyway, that will be different from my usual, but hopefully people will like it.

    • @minombredepila1580
      @minombredepila1580 3 роки тому

      @@NoelsRetroLab Noel, I just can't wait for it. Perhaps will bring me some deja-vu from my uni (the UPM aka La Politécnica), but I'll do my best to go until the end ;-) If you need a student as a dummy ( you know, to mark an exercise with zero just because of some stupidity I've just forgotten, although I really know how to do the thing), count on me. Very experienced ;-)

  • @weirdocollector
    @weirdocollector 3 роки тому +1

    Another illuminating video! Thanks!

  •  3 роки тому +1

    This was great, Noel! Thank you very much!

  • @malcolmholmes115
    @malcolmholmes115 3 роки тому +1

    Bring electronics production back to our countries and make them great again

  • @johnczaia9124
    @johnczaia9124 3 роки тому

    Again a super informative episode, expertly presented! Thank you!

  • @Ditt_o_datt_fran_bon
    @Ditt_o_datt_fran_bon 3 роки тому

    Interesting and a great vid as usual. Thanks Noel.

  • @retireddoc6145
    @retireddoc6145 3 роки тому

    Great video, Noel. Could you tell me where you got the solder sucker that you use. It really works very well! The ones that I have used don't work that well. Thanks.

  • @billraty14
    @billraty14 3 роки тому

    Your analysis about the chip being "fake" is mostly correct in that it definitely doesn't behave like a TTL chip (which aren't only 'LS' chips, but also those with no letters between the 74 prefix and the trailing digits). Your EEPROM programmer wouldn't spot the difference since it sends unambiguous logic signals to the DUT (device under test), whereas Commodore's circuit design used a logic chip as a poor-man's Schmitt Trigger (en.wikipedia.org/wiki/Schmitt_trigger), which is an analog system. Commodore simplified the board by re-using a spare logic gate instead of adding an operational amp, or even a pair of transistors, to perform this function. In the end the "counterfeit" operation was a mild infraction since they're selling logic chips that expect something below 1 volt for logical "zero" and something above 3 for logical "one", and have the sufficient "fan-out" to work like the pure TTL logic chips of the mid 70s in *logic* circuits. Just for the future, you could also increase the resistance of the hysterisis loop to make the circuit work.

    • @NoelsRetroLab
      @NoelsRetroLab  3 роки тому

      Yes, you're absolutely correct. I suspect Commodore went that way because they had one unused gate in that IC and decided to use it in a marginal way.

  • @Vermilicious
    @Vermilicious 3 роки тому

    There are a lot of varieties for these logic chips, not only TTL and CMOS like in the old days, but yeah, the voltage levels are typically still one of the two. I find it hard to believe anyone faked these chips, unless they are also very old. Could it have been from a wrongly produced batch? Nice fault finding anyways! This work-around might help others who have trouble finding the "correct" parts.