How to Control a Ton of Inputs using Shift Registers!

  Рет қаралды 311,240

Kevin Darrah

Kevin Darrah

11 жыл бұрын

This video explains how to use shift registers(74HC595) to control an insane amount of digital inputs.
Part 2:
• Part 2 - How to Contro...
Check these videos out first:
• How Shift Registers Work!
• Video
The code in the video: (note - I had the data and clock backwards in the video)
www.kevindarrah.com/download/a...
Check out my Tindie store (trigBoard is available) www.tindie.com/stores/kdcircu...
Thanks to all the Patrons for dropping a few bucks in the tip jar to help make these videos happen!
/ kdarrah
Twitter: / kdcircuits
For inquiries or design services:
www.kdcircuits.com

Пікірлер: 280
@GIGLIndia
@GIGLIndia 11 жыл бұрын
i was making 5*5*5 led cube using 595 shift register and bc 547 transistor. it worked in starting and is not working properly. i have not attached any resistor in the base emitter of transistor and 220 ohms in the collector emitter .CAN THIS BE A PROBLEM. or can you guess...
@serverguy2
@serverguy2 8 жыл бұрын
I was a maestro of IBM 370/390 assembler. You are a maestro of at least Arduino coding. So maybe also C and others. Anyway, I appreciate your coding. Even with the quick hacks you write for these little demos, the code is still tight without being so tight to be incomprehensible like some C/C++ coders like to do. You show off just the right amount. It is easy to understand and "elegant" for demo level programs. I have seen MUCH worse. Thank you for taking the time to do these demos. I understand the electronics and have for decades but your integration with programming is enlightening at the next level of HW/SW integration. Well done.
@jzgonzo
@jzgonzo 6 жыл бұрын
I'm not an electronic engineer but your explanation was pretty clear. Now i'm ready to solve a problem that seemed very complicated to me before watching this great video. Thanks!
@Kevindarrah
@Kevindarrah 11 жыл бұрын
yes, you have a good point, and I just added an annotation, but this does allow you to mix inputs and outputs in the same shift register bank
@lloydrmc
@lloydrmc Жыл бұрын
Brilliant! Provision for debounce, (frequently not the case with shift register videos). Plus SPI library for speed.
@shedactivist
@shedactivist 3 жыл бұрын
Perfect. I was looking for a way to use BCD switches as inputs to Arduino and you have shown me the way.
@wreckless_-jl6uu
@wreckless_-jl6uu 4 жыл бұрын
Very nice, I actually under stand shift registers a lot better now!! Specifically the 74HC595!! Thanks!!!
@Kevindarrah
@Kevindarrah 11 жыл бұрын
nice one! Thanks for the tip. I was just goofing around with these
@BarrettSimms
@BarrettSimms 9 жыл бұрын
This is really great. Thanks. It would be good to see how you wired everything up when you do these.
@EddieVanHalen1977
@EddieVanHalen1977 10 жыл бұрын
I am 2 minutes in and I already know I am going to subscribe. This guy is soooo good. Like butter. Thank you Kevin. Your presentation is just flawless and perfect. I cannot wait to watch many of your videos. Thank you so much. I am fan.
@codenothing
@codenothing 8 жыл бұрын
Thank you so much for this video! you answered a lot of questions I had for my pinball project.
@JayDAnderson
@JayDAnderson 10 жыл бұрын
Very efficient way to sense the actuation of any one or more of a number of buttons. Great. You are basically setting each button on a single bit then polling all the bits in the byte to see which one are on or off.
@darktherapy
@darktherapy 11 жыл бұрын
Cheers Kevin, you did a better video explaining this technique than in possibly could.
@luw1z
@luw1z 10 жыл бұрын
Thanks alot for the explanation. I was wondering if you have the part numbers for the diodes you used?
@user-zg6qh1bk8y
@user-zg6qh1bk8y 5 жыл бұрын
Hey I appreciate the video, but it would be very helpful to beginners like myself to have a schematic. Is there a wiring diagram that you could share with us??
@DOSTalks
@DOSTalks 9 жыл бұрын
Just want to say man, really good video very clear and understandable you have a great channel
@Kevindarrah
@Kevindarrah 11 жыл бұрын
yea, I know... I need to do that. Many people have suggested the same. Just been really busy lately
@thebackyardguru3785
@thebackyardguru3785 9 жыл бұрын
Awesome tutorial, any chance i can get a schematic.. been at it for a week and i just cant get it to work. I am from South Africa, not sure where i am going wrong... difference in IC maybe... PS i am still a newbie, what is the best way of trouble shooting where i am going wrong?
@Gator198l
@Gator198l 9 жыл бұрын
Kevin, how is this wired? I'm having problems getting this set up. Thanks.
@geraldmoritz8523
@geraldmoritz8523 8 жыл бұрын
Great Video ! I want to use a Rotary Encoder and need the Interrupt for this one. But I could use any PinChangeInterrrupt for checking any pressed button, right ? Greetings from Austria !
74HC595 & 74HC165 Shift Registers with Arduino
40:38
DroneBot Workshop
Рет қаралды 394 М.
How Shift Registers Work!
11:50
Kevin Darrah
Рет қаралды 403 М.
Summer shower by Secret Vlog
00:17
Secret Vlog
Рет қаралды 11 МЛН
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 170 МЛН
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 3 МЛН
Controlling a BIG LED Matrix?! How Shift Registers work! || EB#39
12:33
How Shift Registers Work - Build the Test Circuit!
11:45
Kevin Darrah
Рет қаралды 87 М.
Using Shift Registers to Get UNLIMITED GPIOs for our project !!
12:40
Using Arrays with Arduino
13:51
Programming Electronics Academy
Рет қаралды 29 М.
How does shift registers works ? PLC Programming Tutorials for Beginners
5:47
PLC Programming Tutorials Tips and Tricks
Рет қаралды 57 М.
Summer shower by Secret Vlog
00:17
Secret Vlog
Рет қаралды 11 МЛН