element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Community Hub
Community Hub
Member's Forum Expected output voltage of XNOR gate
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Community Hub to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 8 replies
  • Subscribers 573 subscribers
  • Views 655 views
  • Users 0 members are here
Related

Expected output voltage of XNOR gate

Andrew J
Andrew J over 7 years ago

Hi,

 

I have a TI SN74HC266 XNOR gate.  If I pull two inputs high (4.9v) then the output should be high - what I'm seeing is 2.6V.  Is this right?  I may not be asking this the right way: basically, I'm trying to compare two inputs are either both high or both low and in either case, I want a high output to feed into a SN74HC08 AND gate.  I've checked the voltages on the XNOR pins and they are indeed high, but the corresponding output for that gate is 2.6v - I don't think that's enough to pull my AND gate high (at least it's output given 2 inputs at 2.6V is 0V.)  I've also checked the XNOR where the two input pins are 0V and the output pin is also 2.6V.

 

I can't tell from the data sheets if this is right, although I struggle to understand these in detail at the moment. 

 

Thanks

 

Andrew

  • Sign in to reply
  • Cancel

Top Replies

  • DAB
    DAB over 7 years ago +4
    You may have trouble with the HC chip driving the input to the next stage. Add a 1k ohm pull up resistor to the HC output pin. That should help pull the output to 5v. DAB
  • gdstew
    gdstew over 7 years ago in reply to DAB +4
    The 74HC266 should have no problem driving a single 74HC08 input. The spec sheet says it is capable of driving up to 10 LSTTL loads. However it does use open drain outputs and so it does as you suggest…
  • Andrew J
    Andrew J over 7 years ago in reply to DAB +2
    Thanks Dab, that's all it needed. I'm using a number of HC chips in the overall circuit and not needed pull up resistors to drive inputs down the chain (until I reached the 266) but I'm now measuring 4…
  • DAB
    DAB over 7 years ago

    You may have trouble with the HC chip driving the input to the next stage.

    Add a 1k ohm pull up resistor to the HC output pin. That should help pull the output to 5v.

     

    DAB

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
  • Andrew J
    Andrew J over 7 years ago in reply to DAB

    Thanks Dab, that's all it needed.  I'm using a number of HC chips in the overall circuit and not needed pull up resistors to drive inputs down the chain (until I reached the 266) but I'm now measuring 4.9v on the output pins.  Something to file in my brain for the future. 

     

    Thanks again, I really appreciate it.

     

    Andrew

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • gdstew
    gdstew over 7 years ago in reply to DAB

    The 74HC266 should have no problem driving a single 74HC08 input. The spec sheet says it is capable of driving up to 10 LSTTL loads. However it does use open drain

    outputs and so it does as you suggest need a pull up resistor on the output pin. Since it is driving single HC input, a 4.7K Ohm resistor would be better.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
  • Andrew J
    Andrew J over 7 years ago in reply to gdstew

    That's what I thought originally - however, the pull up resistor does seem to be needed.  Would I have been better off with a 747266? 

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • gdstew
    gdstew over 7 years ago in reply to Andrew J

    A open drain/open collector (the bipolar transistor equivalent of open drain) output will always need a pull up resistor. Most gate outputs use an active (transistor)

    internal pull up connected to the supply voltage. Open drain outputs do not have a connection to the supply voltage and require an external pull up resistor to supply

    this connection. This can be useful as it allows multiple outputs to be connected together using a single pull up resistor to perform a "wired-or" function (any of the

    outputs going low will drive the output low) without damaging the other outputs.

     

    I assume you mean a 74266 (google did not turn up any useful results for 747266), it uses open collector outputs.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • Andrew J
    Andrew J over 7 years ago in reply to gdstew

    Thanks, I think I follow that.

     

    The 747266 is a similar XNOR gate: https://uk.farnell.com/texas-instruments/cd74hc7266e/logic-quad-2-in-ex-nor-gate-14dip/dp/1739947

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • gdstew
    gdstew over 7 years ago in reply to Andrew J

    Not sure why my Google search did not come up with that but looking at the link you gave says that the part uses active pull ups and so it does not need the resistor. For

    a standard quad gate logic part it is an expensive replacement. If the cost is not a problem you might want to use it instead however the 74HC266 with the resistor should

    cost a lot less.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Andrew J
    Andrew J over 7 years ago in reply to gdstew

    I don’t need it right now, but for future reference I will pay attention to the active pull ups.  Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube