cd4013 different than 74hc74

Discussion in 'General Electronics Chat' started by simeonz11, Dec 22, 2009.

  1. simeonz11

    Thread Starter Active Member

    Apr 29, 2008
    98
    0
  2. VoodooMojo

    Active Member

    Nov 28, 2009
    503
    53
    just a thought...

    the 74hc74 doesnt like voltage over 6 volts at Vcc
    the 4013 doesnt like to function below 6 volts at supply.

    Have you adjusted the supply accordingly?
     
  3. simeonz11

    Thread Starter Active Member

    Apr 29, 2008
    98
    0
    I am using a regulator 7805 , 5.04 volts vdd .
     
  4. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    The CMOS logic family is characterized for operation from 3 to 15 volts.

    That might be because pin 9 is a D input. Look on pin 13(Q2) or 12(Q^2).

    Make sure unused inputs are tied high or low as appropriate to prevent oscillations and enable predictable operation. With the SET and RESET inpyts low, Q should follow D with each clock.
     
  5. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    Actually, 4000 series CMOS IC's can function from around 3v to 16v; some slightly higher, some slightly lower.

    What are you using for a clock input? CMOS should be OK, but if you're driving a bunch of TTL loads you may have problems.

    Do you have an 0.1uF cap across the Vcc/GND pins?

    Do you have long interconnecting wires?

    Very important: do you have any unused INPUTS connected to either Vcc or GROUND? Particularly, the SET and RESET inputs connected to GROUND?

    [eta]
    Oops, Beenthere - pin 9 is Q2.

    8 - Q2\
    9 - Q2
    10 - SET 2
    11 - CLOCK 2
    12 - DATA 2
    13 - RESET 2

    Connect 8 to 12
    Connect 7, 3, 2 to GND
    Connect 14, 13, 10, 4, 1 to Vcc
    Connect 0.1uF cap from 7 to 14
    Connect clock to 11
    Output on 9
     
    Last edited: Dec 22, 2009
  6. simeonz11

    Thread Starter Active Member

    Apr 29, 2008
    98
    0
  7. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    Yeah, I just saw I missed that too. :rolleyes: Corrected my post.
     
  8. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    Het, Gunny, my 1978 National Semi CMOS data book gives pin 9 as the D2 input. My 1991 Motorola CMOS logic databook agrees. Are we talking CD4013 CMOS?
     
  9. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    psst... I never got past Sgt... Gunny is two ranks above...;)
    Ahh, OK - that's where you got confused.

    He was originally using a CD4013B, but tried changing to a 74HC74, and ran into problems. The pinouts for the 74HC74 are completely different from the CD4013B which he figured out, but got bit by the SET and RESET inputs working differently on the 74HC74 than they do in the CD4013B.

    I got it backwards in my reply, too. No wonder he had a lousy-looking output.
     
  10. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    Okay, that makes sense. I lost the transition - thought it was HC -> CMOS.
     
  11. Ron H

    AAC Fanatic!

    Apr 14, 2005
    7,050
    657
    In post #1, you said:
    :confused::confused::confused:
     
  12. simeonz11

    Thread Starter Active Member

    Apr 29, 2008
    98
    0
    Yeah it did work , it was a mistake by my part .

    Connecting both set and reset to +5 VOLTS makes the divide by two work .
     
  13. simeonz11

    Thread Starter Active Member

    Apr 29, 2008
    98
    0
  14. simeonz11

    Thread Starter Active Member

    Apr 29, 2008
    98
    0
  15. simeonz11

    Thread Starter Active Member

    Apr 29, 2008
    98
    0
  16. Papabravo

    Expert

    Feb 24, 2006
    10,137
    1,786
    Do you seriously expect us to believe that 4000 series CMOS and 74HCxx series chips were EVER supposed to be pin and function compatible? Sorry chum, but that was never the idea. 4000 series CMOS was a competitor to 74xx TTL and rearranged the pinouts and functions for what seemed at the time like really good ideas to the original designers at RCA, National, Harris and other early CMOS vendors. You really ought to learn some history before you go throwing stones at your predecessors.

    Another piece of obviously useful advice would be to carefully read the datasheet before resorting to hairpulling.
     
  17. Papabravo

    Expert

    Feb 24, 2006
    10,137
    1,786
    I can't follow what you are doing with the poor chip, but hooking Q-Bar to ground is a definite no-no. How about a schematic to remove the doubt and ambiguity. BTW this chip has been happily chugging along for almost 40 years. Any problems you are having are almost certainly your fault, assuming that your previous misadverntures did not fry the little beastie.
     
  18. simeonz11

    Thread Starter Active Member

    Apr 29, 2008
    98
    0
  19. Papabravo

    Expert

    Feb 24, 2006
    10,137
    1,786
    Schematic Diagram?
     
  20. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    I have to plead distraction. We have company here, and I was trying to answer your question in-between conversations.

    The SET and RESET inputs must be kept high, unless you want to either SET or RESET the output. They must not both be low at the same time.
     
Loading...