What are the differences between shift register ICs?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
4
down vote

favorite












I'm learning Arduino and one thing that caught my attention was the use of Shift Registers to expand the number of digital pins.



I've seen many tutorials that use 74HC595 Shift Register, but my local store does not sell this exact Shift Register, but does sell many others like:



74HC166

CD4015

74HC165

74HC164

CD4014

74HC595 SMD



They all seem to be 8-bit shift registers.



I want to use them to light some LEDs using an Arduino. I imagine they have very specific purposes, but over all, could I use any of them in my project?



What is the main difference between these Shift Registers?










share|improve this question









New contributor




user3347814 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 10




    Have you tried reading the datasheets? They're usually a very good source for finding out the difference between two components.
    – Jules
    3 hours ago
















up vote
4
down vote

favorite












I'm learning Arduino and one thing that caught my attention was the use of Shift Registers to expand the number of digital pins.



I've seen many tutorials that use 74HC595 Shift Register, but my local store does not sell this exact Shift Register, but does sell many others like:



74HC166

CD4015

74HC165

74HC164

CD4014

74HC595 SMD



They all seem to be 8-bit shift registers.



I want to use them to light some LEDs using an Arduino. I imagine they have very specific purposes, but over all, could I use any of them in my project?



What is the main difference between these Shift Registers?










share|improve this question









New contributor




user3347814 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 10




    Have you tried reading the datasheets? They're usually a very good source for finding out the difference between two components.
    – Jules
    3 hours ago












up vote
4
down vote

favorite









up vote
4
down vote

favorite











I'm learning Arduino and one thing that caught my attention was the use of Shift Registers to expand the number of digital pins.



I've seen many tutorials that use 74HC595 Shift Register, but my local store does not sell this exact Shift Register, but does sell many others like:



74HC166

CD4015

74HC165

74HC164

CD4014

74HC595 SMD



They all seem to be 8-bit shift registers.



I want to use them to light some LEDs using an Arduino. I imagine they have very specific purposes, but over all, could I use any of them in my project?



What is the main difference between these Shift Registers?










share|improve this question









New contributor




user3347814 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I'm learning Arduino and one thing that caught my attention was the use of Shift Registers to expand the number of digital pins.



I've seen many tutorials that use 74HC595 Shift Register, but my local store does not sell this exact Shift Register, but does sell many others like:



74HC166

CD4015

74HC165

74HC164

CD4014

74HC595 SMD



They all seem to be 8-bit shift registers.



I want to use them to light some LEDs using an Arduino. I imagine they have very specific purposes, but over all, could I use any of them in my project?



What is the main difference between these Shift Registers?







arduino shift-register






share|improve this question









New contributor




user3347814 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




user3347814 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 1 hour ago









ilkkachu

69848




69848






New contributor




user3347814 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 3 hours ago









user3347814

1233




1233




New contributor




user3347814 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





user3347814 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






user3347814 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 10




    Have you tried reading the datasheets? They're usually a very good source for finding out the difference between two components.
    – Jules
    3 hours ago












  • 10




    Have you tried reading the datasheets? They're usually a very good source for finding out the difference between two components.
    – Jules
    3 hours ago







10




10




Have you tried reading the datasheets? They're usually a very good source for finding out the difference between two components.
– Jules
3 hours ago




Have you tried reading the datasheets? They're usually a very good source for finding out the difference between two components.
– Jules
3 hours ago










5 Answers
5






active

oldest

votes

















up vote
13
down vote



accepted










The easiest way to answer a question like this is to look at the datasheets for the components:



  • CD4015 is part of the older 4000-series range of chips. Back when they were introduced, they were CMOS while 7400 chips were TTL, although nowadays 74HC-type chips are also CMOS. They still see some use because they work with a wider voltage range than 74HC chips (up to 15V, versus 7V maximum for 74HC or 5.5V for 74LS). They're also somewhat slower (maximum 3MHz at 5V, versus 25MHz for the 74HC595).


  • CD4014 has similar specifications to the 4015, but rather than having pins that let you take all of the values that have been shifted in out at once, it lets you put multiple values in at once and then shift them out one at a time. So the CD4015 is like a serial to parallel converters, but this one is a parallel to serial converter.


  • 74HC166 is parallel-in serial-out like the CD4014, but is in the 74HC range so has the smaller voltage range and faster reponse of that range.


  • 74HC165 allows both parallel and serial in, and is serial out. It also provides an both inverted and non-inverted output.


  • 74HC164 is serial in and parallel out, like the CD4015, but is 74HC series so faster and lower voltage.


  • 74HC595 (or more exactly, SN74HC595J) and 74HC595-SMD (which could be a number of different minor variations) are the same component in different packages. The first is a traditional "DIP" package, which is likely what you want if you're working on breadboard, stripboard, or perforated prototype boards. The later is a surface mount package (probably SOIC) which is smaller and easier to solder to a PCB, but can be a bit of a pain for prototyping. These are serial-in parallel-out, but they also have a separate set of registers that the data being input can be copied to. This means that your parallel outputs can be made to change simultaneously, rather than having invalid data in them while the new data is being shifted in.


Some other chips that you may want to have a look at:



  • As mentioned by @supercat in the comments, the CD4094 is useful when you need to control more than 8 output lines because it makes cascading the output from one chip to the next easier. The 74HC4094 is a chip with the same behaviour and pin layout but using the 74HC voltages and faster speeds.


  • TLC6C5912 is a 12-channel serial in parallel out chip that's specifically designed for driving LEDs, and can handle LEDs with voltages and currents much larger than any of the above.


  • TLC5911 is a monster of a chip, but it controls 16 LEDs, and has a constant current driver for each one that can be individually controlled to one of 128 levels, i.e. you can use it individually dim each LED, by shifting in 7 bits of brightness information for each one rather than just 1 single on/off bit. Useful for signs that display images/videos.





share|improve this answer


















  • 1




    The CD4094/74HC4094 may also be a nice one to mention. When cascading most shift register chips, one must ensure that clocks are precisely synchronized or that the downstream clock happens first. The '4094 chips eliminate that issue by including a cascade output that switches on the opposite edge from the input.
    – supercat
    1 hour ago

















up vote
7
down vote













To add to the answer of schadjo:



The two most commonly used for Arduino (but not only) are 74HC165 and 74HC595.



The 74HC165 can be used to connect upto 8 inputs (e.g. switches) to just a few GPIO's.



The 74HC595 can be used to connect upto 8 outputs (e.g. LEDs) to just a few GPIO's.






share|improve this answer






















  • Does the 74HC595 SMD work exactly as the same as 74HC595? Does the SMD make any significant difference?
    – user3347814
    3 hours ago






  • 1




    @user3347814 What does the datasheet say? We've led you to water. Drink it.
    – Harry Svensson
    3 hours ago







  • 3




    As HarrySvensson says, you can read all details in the datasheet. Normally there is no functional difference and no differences in pin layout, but of course the dimensions are smaller, and mostly the power consumption is less (due to the smaller internal components).
    – Michel Keijzers
    3 hours ago

















up vote
6
down vote













For a newcomer, the main distinction in shift registers is probably parallel in/serial out (PISO) and serial in/parallel out (SIPO).



As the names suggest, a PISO takes in, say, an 8-bit-wide signal, and lets you individually shift those bits out, one at a time, (in series) with single clock pulses.



A SIPO lets you shift each of the bits in sequentially, then have all, say, 8 of those bits be present on 8 output pins simultaneously, i.e., in parallel.






share|improve this answer





























    up vote
    2
    down vote













    In addition to all the other fine answers, the pin map of the IC can certainly differ between different IC's. You can't just plug a wire into the same pins that you would use for another Shift Register, and expect it to work. If you match pin functionality, there's a much better chance, though pin functionality may not be the same on different chips, either.






    share|improve this answer



























      up vote
      1
      down vote













      74HC595 (thruhole or SMD) has 70mA limit on Vcc and Gnd pin, so you should select current limit resistors that allow 8-9 mA. (8 outputs x 9mA = 72mA).



      To select a resistor:
      (5V - Vf)/.008 = resistor, with Vf the forward voltage of the LED (example, ~ 2.5V for a typical Red LED, some greens and yellows, and often somewhat higher for other colors like blue, white).



      (5V - 2.5V)/.008A = 312.5 ohm, so 300 or 330 ohm will do great. 270 would also be okay, for 9.25mA. 1K would cut down the brightness some, but still be plenty bright.
      8mA can be quite bright with a modern high efficiency LED.



      If you need more current, than TPIC6B595 and TPIC6C595 are controlled the same way as 74HC595 - with clock, data, and latch - but can sink 150ma and 100mA per output pin (shift in a 1, that turns the output on, it goes low to sink current from 5V thru the LED and its resistor. Vs Sourcing current thru the LED/resistor to Gnd).



      Don't be afraid to order parts online. Digikey.com and Mouser.com both carry all kinds of parts, and inexpensive USPS mail will get them to you in 2-3 days.



      If you want to stock up, spend $20-30 and get a bagful of parts from taydaelectronics.com. You can get a lot of stuff for that much. Parts come from Thailand I think (via Colorado in the US from wht I've received), order a selection of parts that will last quite a few projects.






      share|improve this answer




















        Your Answer




        StackExchange.ifUsing("editor", function ()
        return StackExchange.using("mathjaxEditing", function ()
        StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
        StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["\$", "\$"]]);
        );
        );
        , "mathjax-editing");

        StackExchange.ifUsing("editor", function ()
        return StackExchange.using("schematics", function ()
        StackExchange.schematics.init();
        );
        , "cicuitlab");

        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "135"
        ;
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function()
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled)
        StackExchange.using("snippets", function()
        createEditor();
        );

        else
        createEditor();

        );

        function createEditor()
        StackExchange.prepareEditor(
        heartbeatType: 'answer',
        convertImagesToLinks: false,
        noModals: false,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );






        user3347814 is a new contributor. Be nice, and check out our Code of Conduct.









         

        draft saved


        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f395870%2fwhat-are-the-differences-between-shift-register-ics%23new-answer', 'question_page');

        );

        Post as a guest






























        5 Answers
        5






        active

        oldest

        votes








        5 Answers
        5






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes








        up vote
        13
        down vote



        accepted










        The easiest way to answer a question like this is to look at the datasheets for the components:



        • CD4015 is part of the older 4000-series range of chips. Back when they were introduced, they were CMOS while 7400 chips were TTL, although nowadays 74HC-type chips are also CMOS. They still see some use because they work with a wider voltage range than 74HC chips (up to 15V, versus 7V maximum for 74HC or 5.5V for 74LS). They're also somewhat slower (maximum 3MHz at 5V, versus 25MHz for the 74HC595).


        • CD4014 has similar specifications to the 4015, but rather than having pins that let you take all of the values that have been shifted in out at once, it lets you put multiple values in at once and then shift them out one at a time. So the CD4015 is like a serial to parallel converters, but this one is a parallel to serial converter.


        • 74HC166 is parallel-in serial-out like the CD4014, but is in the 74HC range so has the smaller voltage range and faster reponse of that range.


        • 74HC165 allows both parallel and serial in, and is serial out. It also provides an both inverted and non-inverted output.


        • 74HC164 is serial in and parallel out, like the CD4015, but is 74HC series so faster and lower voltage.


        • 74HC595 (or more exactly, SN74HC595J) and 74HC595-SMD (which could be a number of different minor variations) are the same component in different packages. The first is a traditional "DIP" package, which is likely what you want if you're working on breadboard, stripboard, or perforated prototype boards. The later is a surface mount package (probably SOIC) which is smaller and easier to solder to a PCB, but can be a bit of a pain for prototyping. These are serial-in parallel-out, but they also have a separate set of registers that the data being input can be copied to. This means that your parallel outputs can be made to change simultaneously, rather than having invalid data in them while the new data is being shifted in.


        Some other chips that you may want to have a look at:



        • As mentioned by @supercat in the comments, the CD4094 is useful when you need to control more than 8 output lines because it makes cascading the output from one chip to the next easier. The 74HC4094 is a chip with the same behaviour and pin layout but using the 74HC voltages and faster speeds.


        • TLC6C5912 is a 12-channel serial in parallel out chip that's specifically designed for driving LEDs, and can handle LEDs with voltages and currents much larger than any of the above.


        • TLC5911 is a monster of a chip, but it controls 16 LEDs, and has a constant current driver for each one that can be individually controlled to one of 128 levels, i.e. you can use it individually dim each LED, by shifting in 7 bits of brightness information for each one rather than just 1 single on/off bit. Useful for signs that display images/videos.





        share|improve this answer


















        • 1




          The CD4094/74HC4094 may also be a nice one to mention. When cascading most shift register chips, one must ensure that clocks are precisely synchronized or that the downstream clock happens first. The '4094 chips eliminate that issue by including a cascade output that switches on the opposite edge from the input.
          – supercat
          1 hour ago














        up vote
        13
        down vote



        accepted










        The easiest way to answer a question like this is to look at the datasheets for the components:



        • CD4015 is part of the older 4000-series range of chips. Back when they were introduced, they were CMOS while 7400 chips were TTL, although nowadays 74HC-type chips are also CMOS. They still see some use because they work with a wider voltage range than 74HC chips (up to 15V, versus 7V maximum for 74HC or 5.5V for 74LS). They're also somewhat slower (maximum 3MHz at 5V, versus 25MHz for the 74HC595).


        • CD4014 has similar specifications to the 4015, but rather than having pins that let you take all of the values that have been shifted in out at once, it lets you put multiple values in at once and then shift them out one at a time. So the CD4015 is like a serial to parallel converters, but this one is a parallel to serial converter.


        • 74HC166 is parallel-in serial-out like the CD4014, but is in the 74HC range so has the smaller voltage range and faster reponse of that range.


        • 74HC165 allows both parallel and serial in, and is serial out. It also provides an both inverted and non-inverted output.


        • 74HC164 is serial in and parallel out, like the CD4015, but is 74HC series so faster and lower voltage.


        • 74HC595 (or more exactly, SN74HC595J) and 74HC595-SMD (which could be a number of different minor variations) are the same component in different packages. The first is a traditional "DIP" package, which is likely what you want if you're working on breadboard, stripboard, or perforated prototype boards. The later is a surface mount package (probably SOIC) which is smaller and easier to solder to a PCB, but can be a bit of a pain for prototyping. These are serial-in parallel-out, but they also have a separate set of registers that the data being input can be copied to. This means that your parallel outputs can be made to change simultaneously, rather than having invalid data in them while the new data is being shifted in.


        Some other chips that you may want to have a look at:



        • As mentioned by @supercat in the comments, the CD4094 is useful when you need to control more than 8 output lines because it makes cascading the output from one chip to the next easier. The 74HC4094 is a chip with the same behaviour and pin layout but using the 74HC voltages and faster speeds.


        • TLC6C5912 is a 12-channel serial in parallel out chip that's specifically designed for driving LEDs, and can handle LEDs with voltages and currents much larger than any of the above.


        • TLC5911 is a monster of a chip, but it controls 16 LEDs, and has a constant current driver for each one that can be individually controlled to one of 128 levels, i.e. you can use it individually dim each LED, by shifting in 7 bits of brightness information for each one rather than just 1 single on/off bit. Useful for signs that display images/videos.





        share|improve this answer


















        • 1




          The CD4094/74HC4094 may also be a nice one to mention. When cascading most shift register chips, one must ensure that clocks are precisely synchronized or that the downstream clock happens first. The '4094 chips eliminate that issue by including a cascade output that switches on the opposite edge from the input.
          – supercat
          1 hour ago












        up vote
        13
        down vote



        accepted







        up vote
        13
        down vote



        accepted






        The easiest way to answer a question like this is to look at the datasheets for the components:



        • CD4015 is part of the older 4000-series range of chips. Back when they were introduced, they were CMOS while 7400 chips were TTL, although nowadays 74HC-type chips are also CMOS. They still see some use because they work with a wider voltage range than 74HC chips (up to 15V, versus 7V maximum for 74HC or 5.5V for 74LS). They're also somewhat slower (maximum 3MHz at 5V, versus 25MHz for the 74HC595).


        • CD4014 has similar specifications to the 4015, but rather than having pins that let you take all of the values that have been shifted in out at once, it lets you put multiple values in at once and then shift them out one at a time. So the CD4015 is like a serial to parallel converters, but this one is a parallel to serial converter.


        • 74HC166 is parallel-in serial-out like the CD4014, but is in the 74HC range so has the smaller voltage range and faster reponse of that range.


        • 74HC165 allows both parallel and serial in, and is serial out. It also provides an both inverted and non-inverted output.


        • 74HC164 is serial in and parallel out, like the CD4015, but is 74HC series so faster and lower voltage.


        • 74HC595 (or more exactly, SN74HC595J) and 74HC595-SMD (which could be a number of different minor variations) are the same component in different packages. The first is a traditional "DIP" package, which is likely what you want if you're working on breadboard, stripboard, or perforated prototype boards. The later is a surface mount package (probably SOIC) which is smaller and easier to solder to a PCB, but can be a bit of a pain for prototyping. These are serial-in parallel-out, but they also have a separate set of registers that the data being input can be copied to. This means that your parallel outputs can be made to change simultaneously, rather than having invalid data in them while the new data is being shifted in.


        Some other chips that you may want to have a look at:



        • As mentioned by @supercat in the comments, the CD4094 is useful when you need to control more than 8 output lines because it makes cascading the output from one chip to the next easier. The 74HC4094 is a chip with the same behaviour and pin layout but using the 74HC voltages and faster speeds.


        • TLC6C5912 is a 12-channel serial in parallel out chip that's specifically designed for driving LEDs, and can handle LEDs with voltages and currents much larger than any of the above.


        • TLC5911 is a monster of a chip, but it controls 16 LEDs, and has a constant current driver for each one that can be individually controlled to one of 128 levels, i.e. you can use it individually dim each LED, by shifting in 7 bits of brightness information for each one rather than just 1 single on/off bit. Useful for signs that display images/videos.





        share|improve this answer














        The easiest way to answer a question like this is to look at the datasheets for the components:



        • CD4015 is part of the older 4000-series range of chips. Back when they were introduced, they were CMOS while 7400 chips were TTL, although nowadays 74HC-type chips are also CMOS. They still see some use because they work with a wider voltage range than 74HC chips (up to 15V, versus 7V maximum for 74HC or 5.5V for 74LS). They're also somewhat slower (maximum 3MHz at 5V, versus 25MHz for the 74HC595).


        • CD4014 has similar specifications to the 4015, but rather than having pins that let you take all of the values that have been shifted in out at once, it lets you put multiple values in at once and then shift them out one at a time. So the CD4015 is like a serial to parallel converters, but this one is a parallel to serial converter.


        • 74HC166 is parallel-in serial-out like the CD4014, but is in the 74HC range so has the smaller voltage range and faster reponse of that range.


        • 74HC165 allows both parallel and serial in, and is serial out. It also provides an both inverted and non-inverted output.


        • 74HC164 is serial in and parallel out, like the CD4015, but is 74HC series so faster and lower voltage.


        • 74HC595 (or more exactly, SN74HC595J) and 74HC595-SMD (which could be a number of different minor variations) are the same component in different packages. The first is a traditional "DIP" package, which is likely what you want if you're working on breadboard, stripboard, or perforated prototype boards. The later is a surface mount package (probably SOIC) which is smaller and easier to solder to a PCB, but can be a bit of a pain for prototyping. These are serial-in parallel-out, but they also have a separate set of registers that the data being input can be copied to. This means that your parallel outputs can be made to change simultaneously, rather than having invalid data in them while the new data is being shifted in.


        Some other chips that you may want to have a look at:



        • As mentioned by @supercat in the comments, the CD4094 is useful when you need to control more than 8 output lines because it makes cascading the output from one chip to the next easier. The 74HC4094 is a chip with the same behaviour and pin layout but using the 74HC voltages and faster speeds.


        • TLC6C5912 is a 12-channel serial in parallel out chip that's specifically designed for driving LEDs, and can handle LEDs with voltages and currents much larger than any of the above.


        • TLC5911 is a monster of a chip, but it controls 16 LEDs, and has a constant current driver for each one that can be individually controlled to one of 128 levels, i.e. you can use it individually dim each LED, by shifting in 7 bits of brightness information for each one rather than just 1 single on/off bit. Useful for signs that display images/videos.






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 42 mins ago

























        answered 2 hours ago









        Jules

        1,045714




        1,045714







        • 1




          The CD4094/74HC4094 may also be a nice one to mention. When cascading most shift register chips, one must ensure that clocks are precisely synchronized or that the downstream clock happens first. The '4094 chips eliminate that issue by including a cascade output that switches on the opposite edge from the input.
          – supercat
          1 hour ago












        • 1




          The CD4094/74HC4094 may also be a nice one to mention. When cascading most shift register chips, one must ensure that clocks are precisely synchronized or that the downstream clock happens first. The '4094 chips eliminate that issue by including a cascade output that switches on the opposite edge from the input.
          – supercat
          1 hour ago







        1




        1




        The CD4094/74HC4094 may also be a nice one to mention. When cascading most shift register chips, one must ensure that clocks are precisely synchronized or that the downstream clock happens first. The '4094 chips eliminate that issue by including a cascade output that switches on the opposite edge from the input.
        – supercat
        1 hour ago




        The CD4094/74HC4094 may also be a nice one to mention. When cascading most shift register chips, one must ensure that clocks are precisely synchronized or that the downstream clock happens first. The '4094 chips eliminate that issue by including a cascade output that switches on the opposite edge from the input.
        – supercat
        1 hour ago












        up vote
        7
        down vote













        To add to the answer of schadjo:



        The two most commonly used for Arduino (but not only) are 74HC165 and 74HC595.



        The 74HC165 can be used to connect upto 8 inputs (e.g. switches) to just a few GPIO's.



        The 74HC595 can be used to connect upto 8 outputs (e.g. LEDs) to just a few GPIO's.






        share|improve this answer






















        • Does the 74HC595 SMD work exactly as the same as 74HC595? Does the SMD make any significant difference?
          – user3347814
          3 hours ago






        • 1




          @user3347814 What does the datasheet say? We've led you to water. Drink it.
          – Harry Svensson
          3 hours ago







        • 3




          As HarrySvensson says, you can read all details in the datasheet. Normally there is no functional difference and no differences in pin layout, but of course the dimensions are smaller, and mostly the power consumption is less (due to the smaller internal components).
          – Michel Keijzers
          3 hours ago














        up vote
        7
        down vote













        To add to the answer of schadjo:



        The two most commonly used for Arduino (but not only) are 74HC165 and 74HC595.



        The 74HC165 can be used to connect upto 8 inputs (e.g. switches) to just a few GPIO's.



        The 74HC595 can be used to connect upto 8 outputs (e.g. LEDs) to just a few GPIO's.






        share|improve this answer






















        • Does the 74HC595 SMD work exactly as the same as 74HC595? Does the SMD make any significant difference?
          – user3347814
          3 hours ago






        • 1




          @user3347814 What does the datasheet say? We've led you to water. Drink it.
          – Harry Svensson
          3 hours ago







        • 3




          As HarrySvensson says, you can read all details in the datasheet. Normally there is no functional difference and no differences in pin layout, but of course the dimensions are smaller, and mostly the power consumption is less (due to the smaller internal components).
          – Michel Keijzers
          3 hours ago












        up vote
        7
        down vote










        up vote
        7
        down vote









        To add to the answer of schadjo:



        The two most commonly used for Arduino (but not only) are 74HC165 and 74HC595.



        The 74HC165 can be used to connect upto 8 inputs (e.g. switches) to just a few GPIO's.



        The 74HC595 can be used to connect upto 8 outputs (e.g. LEDs) to just a few GPIO's.






        share|improve this answer














        To add to the answer of schadjo:



        The two most commonly used for Arduino (but not only) are 74HC165 and 74HC595.



        The 74HC165 can be used to connect upto 8 inputs (e.g. switches) to just a few GPIO's.



        The 74HC595 can be used to connect upto 8 outputs (e.g. LEDs) to just a few GPIO's.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 3 hours ago









        Harry Svensson

        6,07732246




        6,07732246










        answered 3 hours ago









        Michel Keijzers

        4,74852149




        4,74852149











        • Does the 74HC595 SMD work exactly as the same as 74HC595? Does the SMD make any significant difference?
          – user3347814
          3 hours ago






        • 1




          @user3347814 What does the datasheet say? We've led you to water. Drink it.
          – Harry Svensson
          3 hours ago







        • 3




          As HarrySvensson says, you can read all details in the datasheet. Normally there is no functional difference and no differences in pin layout, but of course the dimensions are smaller, and mostly the power consumption is less (due to the smaller internal components).
          – Michel Keijzers
          3 hours ago
















        • Does the 74HC595 SMD work exactly as the same as 74HC595? Does the SMD make any significant difference?
          – user3347814
          3 hours ago






        • 1




          @user3347814 What does the datasheet say? We've led you to water. Drink it.
          – Harry Svensson
          3 hours ago







        • 3




          As HarrySvensson says, you can read all details in the datasheet. Normally there is no functional difference and no differences in pin layout, but of course the dimensions are smaller, and mostly the power consumption is less (due to the smaller internal components).
          – Michel Keijzers
          3 hours ago















        Does the 74HC595 SMD work exactly as the same as 74HC595? Does the SMD make any significant difference?
        – user3347814
        3 hours ago




        Does the 74HC595 SMD work exactly as the same as 74HC595? Does the SMD make any significant difference?
        – user3347814
        3 hours ago




        1




        1




        @user3347814 What does the datasheet say? We've led you to water. Drink it.
        – Harry Svensson
        3 hours ago





        @user3347814 What does the datasheet say? We've led you to water. Drink it.
        – Harry Svensson
        3 hours ago





        3




        3




        As HarrySvensson says, you can read all details in the datasheet. Normally there is no functional difference and no differences in pin layout, but of course the dimensions are smaller, and mostly the power consumption is less (due to the smaller internal components).
        – Michel Keijzers
        3 hours ago




        As HarrySvensson says, you can read all details in the datasheet. Normally there is no functional difference and no differences in pin layout, but of course the dimensions are smaller, and mostly the power consumption is less (due to the smaller internal components).
        – Michel Keijzers
        3 hours ago










        up vote
        6
        down vote













        For a newcomer, the main distinction in shift registers is probably parallel in/serial out (PISO) and serial in/parallel out (SIPO).



        As the names suggest, a PISO takes in, say, an 8-bit-wide signal, and lets you individually shift those bits out, one at a time, (in series) with single clock pulses.



        A SIPO lets you shift each of the bits in sequentially, then have all, say, 8 of those bits be present on 8 output pins simultaneously, i.e., in parallel.






        share|improve this answer


























          up vote
          6
          down vote













          For a newcomer, the main distinction in shift registers is probably parallel in/serial out (PISO) and serial in/parallel out (SIPO).



          As the names suggest, a PISO takes in, say, an 8-bit-wide signal, and lets you individually shift those bits out, one at a time, (in series) with single clock pulses.



          A SIPO lets you shift each of the bits in sequentially, then have all, say, 8 of those bits be present on 8 output pins simultaneously, i.e., in parallel.






          share|improve this answer
























            up vote
            6
            down vote










            up vote
            6
            down vote









            For a newcomer, the main distinction in shift registers is probably parallel in/serial out (PISO) and serial in/parallel out (SIPO).



            As the names suggest, a PISO takes in, say, an 8-bit-wide signal, and lets you individually shift those bits out, one at a time, (in series) with single clock pulses.



            A SIPO lets you shift each of the bits in sequentially, then have all, say, 8 of those bits be present on 8 output pins simultaneously, i.e., in parallel.






            share|improve this answer














            For a newcomer, the main distinction in shift registers is probably parallel in/serial out (PISO) and serial in/parallel out (SIPO).



            As the names suggest, a PISO takes in, say, an 8-bit-wide signal, and lets you individually shift those bits out, one at a time, (in series) with single clock pulses.



            A SIPO lets you shift each of the bits in sequentially, then have all, say, 8 of those bits be present on 8 output pins simultaneously, i.e., in parallel.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 3 hours ago









            Harry Svensson

            6,07732246




            6,07732246










            answered 3 hours ago









            schadjo

            508110




            508110




















                up vote
                2
                down vote













                In addition to all the other fine answers, the pin map of the IC can certainly differ between different IC's. You can't just plug a wire into the same pins that you would use for another Shift Register, and expect it to work. If you match pin functionality, there's a much better chance, though pin functionality may not be the same on different chips, either.






                share|improve this answer
























                  up vote
                  2
                  down vote













                  In addition to all the other fine answers, the pin map of the IC can certainly differ between different IC's. You can't just plug a wire into the same pins that you would use for another Shift Register, and expect it to work. If you match pin functionality, there's a much better chance, though pin functionality may not be the same on different chips, either.






                  share|improve this answer






















                    up vote
                    2
                    down vote










                    up vote
                    2
                    down vote









                    In addition to all the other fine answers, the pin map of the IC can certainly differ between different IC's. You can't just plug a wire into the same pins that you would use for another Shift Register, and expect it to work. If you match pin functionality, there's a much better chance, though pin functionality may not be the same on different chips, either.






                    share|improve this answer












                    In addition to all the other fine answers, the pin map of the IC can certainly differ between different IC's. You can't just plug a wire into the same pins that you would use for another Shift Register, and expect it to work. If you match pin functionality, there's a much better chance, though pin functionality may not be the same on different chips, either.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered 38 mins ago









                    Scott Seidman

                    21.6k43180




                    21.6k43180




















                        up vote
                        1
                        down vote













                        74HC595 (thruhole or SMD) has 70mA limit on Vcc and Gnd pin, so you should select current limit resistors that allow 8-9 mA. (8 outputs x 9mA = 72mA).



                        To select a resistor:
                        (5V - Vf)/.008 = resistor, with Vf the forward voltage of the LED (example, ~ 2.5V for a typical Red LED, some greens and yellows, and often somewhat higher for other colors like blue, white).



                        (5V - 2.5V)/.008A = 312.5 ohm, so 300 or 330 ohm will do great. 270 would also be okay, for 9.25mA. 1K would cut down the brightness some, but still be plenty bright.
                        8mA can be quite bright with a modern high efficiency LED.



                        If you need more current, than TPIC6B595 and TPIC6C595 are controlled the same way as 74HC595 - with clock, data, and latch - but can sink 150ma and 100mA per output pin (shift in a 1, that turns the output on, it goes low to sink current from 5V thru the LED and its resistor. Vs Sourcing current thru the LED/resistor to Gnd).



                        Don't be afraid to order parts online. Digikey.com and Mouser.com both carry all kinds of parts, and inexpensive USPS mail will get them to you in 2-3 days.



                        If you want to stock up, spend $20-30 and get a bagful of parts from taydaelectronics.com. You can get a lot of stuff for that much. Parts come from Thailand I think (via Colorado in the US from wht I've received), order a selection of parts that will last quite a few projects.






                        share|improve this answer
























                          up vote
                          1
                          down vote













                          74HC595 (thruhole or SMD) has 70mA limit on Vcc and Gnd pin, so you should select current limit resistors that allow 8-9 mA. (8 outputs x 9mA = 72mA).



                          To select a resistor:
                          (5V - Vf)/.008 = resistor, with Vf the forward voltage of the LED (example, ~ 2.5V for a typical Red LED, some greens and yellows, and often somewhat higher for other colors like blue, white).



                          (5V - 2.5V)/.008A = 312.5 ohm, so 300 or 330 ohm will do great. 270 would also be okay, for 9.25mA. 1K would cut down the brightness some, but still be plenty bright.
                          8mA can be quite bright with a modern high efficiency LED.



                          If you need more current, than TPIC6B595 and TPIC6C595 are controlled the same way as 74HC595 - with clock, data, and latch - but can sink 150ma and 100mA per output pin (shift in a 1, that turns the output on, it goes low to sink current from 5V thru the LED and its resistor. Vs Sourcing current thru the LED/resistor to Gnd).



                          Don't be afraid to order parts online. Digikey.com and Mouser.com both carry all kinds of parts, and inexpensive USPS mail will get them to you in 2-3 days.



                          If you want to stock up, spend $20-30 and get a bagful of parts from taydaelectronics.com. You can get a lot of stuff for that much. Parts come from Thailand I think (via Colorado in the US from wht I've received), order a selection of parts that will last quite a few projects.






                          share|improve this answer






















                            up vote
                            1
                            down vote










                            up vote
                            1
                            down vote









                            74HC595 (thruhole or SMD) has 70mA limit on Vcc and Gnd pin, so you should select current limit resistors that allow 8-9 mA. (8 outputs x 9mA = 72mA).



                            To select a resistor:
                            (5V - Vf)/.008 = resistor, with Vf the forward voltage of the LED (example, ~ 2.5V for a typical Red LED, some greens and yellows, and often somewhat higher for other colors like blue, white).



                            (5V - 2.5V)/.008A = 312.5 ohm, so 300 or 330 ohm will do great. 270 would also be okay, for 9.25mA. 1K would cut down the brightness some, but still be plenty bright.
                            8mA can be quite bright with a modern high efficiency LED.



                            If you need more current, than TPIC6B595 and TPIC6C595 are controlled the same way as 74HC595 - with clock, data, and latch - but can sink 150ma and 100mA per output pin (shift in a 1, that turns the output on, it goes low to sink current from 5V thru the LED and its resistor. Vs Sourcing current thru the LED/resistor to Gnd).



                            Don't be afraid to order parts online. Digikey.com and Mouser.com both carry all kinds of parts, and inexpensive USPS mail will get them to you in 2-3 days.



                            If you want to stock up, spend $20-30 and get a bagful of parts from taydaelectronics.com. You can get a lot of stuff for that much. Parts come from Thailand I think (via Colorado in the US from wht I've received), order a selection of parts that will last quite a few projects.






                            share|improve this answer












                            74HC595 (thruhole or SMD) has 70mA limit on Vcc and Gnd pin, so you should select current limit resistors that allow 8-9 mA. (8 outputs x 9mA = 72mA).



                            To select a resistor:
                            (5V - Vf)/.008 = resistor, with Vf the forward voltage of the LED (example, ~ 2.5V for a typical Red LED, some greens and yellows, and often somewhat higher for other colors like blue, white).



                            (5V - 2.5V)/.008A = 312.5 ohm, so 300 or 330 ohm will do great. 270 would also be okay, for 9.25mA. 1K would cut down the brightness some, but still be plenty bright.
                            8mA can be quite bright with a modern high efficiency LED.



                            If you need more current, than TPIC6B595 and TPIC6C595 are controlled the same way as 74HC595 - with clock, data, and latch - but can sink 150ma and 100mA per output pin (shift in a 1, that turns the output on, it goes low to sink current from 5V thru the LED and its resistor. Vs Sourcing current thru the LED/resistor to Gnd).



                            Don't be afraid to order parts online. Digikey.com and Mouser.com both carry all kinds of parts, and inexpensive USPS mail will get them to you in 2-3 days.



                            If you want to stock up, spend $20-30 and get a bagful of parts from taydaelectronics.com. You can get a lot of stuff for that much. Parts come from Thailand I think (via Colorado in the US from wht I've received), order a selection of parts that will last quite a few projects.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered 1 hour ago









                            CrossRoads

                            4564




                            4564




















                                user3347814 is a new contributor. Be nice, and check out our Code of Conduct.









                                 

                                draft saved


                                draft discarded


















                                user3347814 is a new contributor. Be nice, and check out our Code of Conduct.












                                user3347814 is a new contributor. Be nice, and check out our Code of Conduct.











                                user3347814 is a new contributor. Be nice, and check out our Code of Conduct.













                                 


                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f395870%2fwhat-are-the-differences-between-shift-register-ics%23new-answer', 'question_page');

                                );

                                Post as a guest













































































                                Comments

                                Popular posts from this blog

                                Long meetings (6-7 hours a day): Being “babysat” by supervisor

                                What does second last employer means? [closed]

                                One-line joke