Unlocking Shift Registers: Arduino Guide to 74HC164 with 74HC595 Comparison!

  Рет қаралды 11,995

Mario's Ideas

Mario's Ideas

Күн бұрын

This is the tutorial on how to use 74HC164 shif register with Arduino to control 7 segment display.
I will also compare it with most common 74HC595 Shift register
Link to the code:
www.hackster.i...
If you like this content and you want to support me in creating similar videos go to my Patreon webpage
/ mariosideas
Or
www.paypal.com...

Пікірлер: 34
@KelvneMachado
@KelvneMachado Жыл бұрын
Best video on the subject
@marios_ideas
@marios_ideas Жыл бұрын
You are too kind🤭
@mehmetylmaz1731
@mehmetylmaz1731 Жыл бұрын
Really informative and well prepared video.
@ErickBuildsStuff
@ErickBuildsStuff Жыл бұрын
Hi Mario, I could use your help. I just came across your channel and a noob in electronic circuits. For my current project, I need to design a mechanical keyboard with around 200keys. There is no MCU with so many IO pins. How to use a shift register design with a simple MCU like a Atmega or something similar? I'm thinking to do a prototype with a Arduino as it's the easiest. I didn't even see any tutorial on a full size keyboard (113 keys) as most people are using the 60-80% builds due to limited number of IO pins for common MCUs.
@marios_ideas
@marios_ideas Жыл бұрын
Hi, I am planning to do a video on the particular shift register that can be used for such purpose. It is 74HC165. The shift registers I used till now provided output extension. This one provides input extension. I have not used before. I just ordered it so I need to figure out how to use it. So you can either wait for my video or check other existing tutorials
@Enigma758
@Enigma758 Жыл бұрын
Looks like you are using a single 220ohm resistor. Assuming 2v forward voltage of red LED, then you will always be drawing a total constant current of (5Vcc-2v)/220ohm = 13.6mA when one or more LEDs is on. The per pin maximum for the 74HC164 is 25mA so you are well within the chip specifications. Note that the 13.6mA is divided across the parallel LEDs so you may notice that the more segments that are lit, the dimmer each segment will be. Sometimes you may get away with it, but a reason not to use a single LED is that the current may not be equally divided across the LEDs potentially overdriving another LED, especially if one burns out.
@marios_ideas
@marios_ideas Жыл бұрын
Your posts were incredible helpfull. I may do an appendix video with all that info . by the way can you recommand any good overview books with which I can improve my electronic skills. I looked at few titles but they either a bit over my head, or I did not particulary like how they were structured
@magnetservicecenter
@magnetservicecenter Жыл бұрын
always top class video and really helpfull,from India
@Kysen10
@Kysen10 Жыл бұрын
Thanks, really good information.
@marios_ideas
@marios_ideas Жыл бұрын
Thanks. Glad you find it usefull:)
@markfarrugia8226
@markfarrugia8226 6 ай бұрын
Very clear and precise explanation
@davadoff
@davadoff 14 күн бұрын
2:00 master reset resets the shift register to zeros & does not affect the output. So what you said was wrong.
@davadoff
@davadoff 14 күн бұрын
To “reset all outputs as low” you need to latch it after a master reset. Or use output enable to turn off the outputs (high-z).
@marios_ideas
@marios_ideas 14 күн бұрын
You are right.I should have said it resets the register not the output .
@lovepreetsinghgill517
@lovepreetsinghgill517 6 ай бұрын
Good explaination, Very good teacher😊
@gourabutube
@gourabutube Жыл бұрын
Wow nice explain... 😊
@andreyace8768
@andreyace8768 11 ай бұрын
👏👏👏👏👏👏💪💪💪💪💪!!!
@ganeshpatil-gz1vl
@ganeshpatil-gz1vl Жыл бұрын
Very good explanation Thanks
@marios_ideas
@marios_ideas Жыл бұрын
Glad you liked it
@Sekhar_Home
@Sekhar_Home Жыл бұрын
Nice tutorial. I am completely able to know
@marios_ideas
@marios_ideas Жыл бұрын
Thanks. Give the video a like if you have not done already:)
@Drxxx
@Drxxx Жыл бұрын
Super project
@marios_ideas
@marios_ideas Жыл бұрын
Thanks:)
@SriramS-xo1dl
@SriramS-xo1dl Жыл бұрын
Can i make my own pcb circuit using shift register for 4 digit 7 segment display. I am trying to do this for reducing the number of the pins to use .
@marios_ideas
@marios_ideas Жыл бұрын
Check kzbin.info/www/bejne/gWi8apWBntF2rsk and kzbin.info/www/bejne/paeUo6ZjgrWYZ7M
@jeanmartineau811
@jeanmartineau811 Жыл бұрын
what is the use of the second input B for?
@marios_ideas
@marios_ideas Жыл бұрын
This is a good question. You actually have one input pin either A or B with following 4 posible connection combinations (2 of them are the same) A-input,B connected to A, A-input, B-connected to 5v, B-input, A-connected to B, B-input, A-connetcetd to 5V. Maybe they just had a spare leg:)
@ivolol
@ivolol Жыл бұрын
@@marios_ideas It seems like A and B are an AND gate in functionality to me. Maybe for functionality other than with digit displays, having an in-built AND gate is useful. One input can control whether the other input is able to write data.
@sophiapollich4241
@sophiapollich4241 Жыл бұрын
ᵖʳᵒᵐᵒˢᵐ
@marios_ideas
@marios_ideas Жыл бұрын
???
@markdemasseur
@markdemasseur Жыл бұрын
Hi Mario whats exactly the point for this?
@marios_ideas
@marios_ideas Жыл бұрын
Not sure what you are asking about. The shift registers give you possibility to control 8 segments of the display (or multiple displays) with just two output pins of Arduino. Without it you would need to use 8 pins for each display. So if you wanted to have digital clock (4 displays needed) you would run out of pins. Not sure If that answers your question.
@ConcertLD
@ConcertLD 9 ай бұрын
I have used as much as 9 - 164 and 9 - 595 shift registers on a project..... its a good way to control many buttons for inputs and drive Leds on outputs.
Introduction to Arduino: 7 Segment display
0:50
Mario's Ideas
Рет қаралды 7 М.
Nastya and balloon challenge
00:23
Nastya
Рет қаралды 71 МЛН
Крутой фокус + секрет! #shorts
00:10
Роман Magic
Рет қаралды 25 МЛН
Lesson 24 - 74HC595 Shift Register
20:21
Ricardo Moreno
Рет қаралды 44 М.
Shift Registers | How do they work?
2:47
IndoorGeek
Рет қаралды 43 М.
Practical Guide to PCF8574: Adding Extra Pins for Arduino
16:46
Mario's Ideas
Рет қаралды 6 М.
Cдвиговые регистры 74HC595 и 74HC165
6:08
Максим Обухов
Рет қаралды 35 М.
How 74HC595 Shift Register Works ? | 3D animated 🔥
3:45
Blue Butterfly
Рет қаралды 149 М.
Using Shift Registers to Get UNLIMITED GPIOs for our project !!
12:40
Advanced Arduino Code Optimisation with Pin Registers
15:16
Mario's Ideas
Рет қаралды 15 М.
How To - Expand Digital Inputs with the 74HC165 + Test Code
9:45
Kevin Darrah
Рет қаралды 89 М.
How Shift Registers Work!
11:50
Kevin Darrah
Рет қаралды 406 М.