• Menu
  • Product
  • Email
  • PDF
  • Order now
  • Increase the Number of Inputs on a Microcontroller

    • SCLA036 October   2020 SN74HC165

       

  • CONTENTS
  • SEARCH
  • Increase the Number of Inputs on a Microcontroller
  1.   1
  2.   Design Considerations
  3.   Recommended Parts
  4. IMPORTANT NOTICE
search No matches found.
  • Full reading width
    • Full reading width
    • Comfortable reading width
    • Expanded reading width
  • Card for each section
  • Card with all content

 

APPLICATION NOTE

Increase the Number of Inputs on a Microcontroller

Microcontrollers often have a very limited number of GPIO pins. Parallel-in serial-out shift registers can be used to read in a large number of input signals while only utilizing a few GPIO pins from the controller.

GUID-61BDA24B-AFDC-4123-A1D1-51FF51B9E0ED-low.gif

See more about this use case in the Logic Minute video Increase the Number of Inputs on a Microcontroller.

Design Considerations

  • The clock input controls the rate at which data is read out of the shift register
  • The clock (Fclk) must be faster than the parallel input data (BRin) based on the number of input bits (N) by this equation: Fclk (MHz) = BRin (Mbps) × N
  • For more inputs, shift registers can be daisy-chained together
  • [FAQ] What is the default output of a latched device? (Flip-Flop, latch, register)
  • [FAQ] Where do I find maximum power dissipation for a device?
  • Ask a question on our Engineer-to-Engineer (E2E™) forum

Recommended Parts

Part NumberAutomotive
Qualified
VCC RangeBitsFeatures
SN74HCS1652 V to 6 V8Schmitt-trigger inputs
Inverted and standard serial outputs
SN74HCS165-Q1✓
SN74HCS1662 V to 6 V8Schmitt-trigger inputs
Asynchronous clear input
Standard serial output
SN74HCS166-Q1✓
CD4014B3 V to 18 V8Synchronous parallel input
Outputs from Q6, Q7, and Q8
CD4021B3 V to 18 V8Asynchronous parallel input
Outputs from Q6, Q7, and Q8

For more devices, browse through the online parametric tool where you can sort by desired voltage, channel numbers, and other features.

 

Texas Instruments

© Copyright 1995-2025 Texas Instruments Incorporated. All rights reserved.
Submit documentation feedback | IMPORTANT NOTICE | Trademarks | Privacy policy | Cookie policy | Terms of use | Terms of sale