How to Add Outputs to an #Arduino using a Shift Register - The Learning Circuit

preview_player
Показать описание


Visit the element14 Community for more great activities and free hardware:

Рекомендации по теме
Комментарии
Автор

Karen, by far the clearest explanation on the internet. Really grateful for your clear teaching style.

malcolmhodgson
Автор

To answer your question for why is the second shift register one bit away from the first. I think it's because you would have the output from the first going to the input of the second shift register but only after the next consecutive clock pulse will the output be triggered! Quite neat.

trif
Автор

05:10 it's more reliable here to define constants instead of using variables. variables are stored in the RAM of the microcontroller, but constants are always in the code section and won't spend limited space in microcontroller's RAM.

valdisblack
Автор

I like the clear and concise explanation of the shift register as well as the Arduino code.
Thank you, Karen!

malgailany
Автор

As someone who only picked up the hobby a year ago, I just want to say THANK Your explanations are beyond helpful and have greatly contributed to early projects.

kugodx
Автор

Another great video. You have a gift for explaining this stuff. I hope Element 14 recognizes this and we continue to see your videos here.

reasonablebeing
Автор

I found out recently that my Arduino Mega can only cope with upto 10 595 chips in a daisy chain. This is due to something called 'Fan Out' which is where signals are sort of fading and getting jumbled up as they spread across multiple chips. I would recommend not driving more than 8 in a row. I also use a 74HC165 to achieve the opposite function and use a a 'Shiftin' register to read multiple input pins like sensors or limit switches ect. Great video. :)

captaindavejseddon
Автор

@Maker_Karen I'm glad you used 470 ohm resistors as the 74HC595 has a max chip current of 70mA

Enigma
Автор

Hey, exactly what I need for one of my projects! Thanks.

rewanderson
Автор

When the purpose of the exercise it to explain the shift register, it suffices. When the purpose is to add more outputs, try the I2C bidirectional ic MCP23017, it’s much more versatile... You can add 8 of the to the I2C but giving you 128 ports that can individually set as input o output. Couple outputs to a ULN2803 and inputs thrugh an opto-coupler, and you’re in business.

GerardWassink
Автор

This is a great explanation, and helped me get past an issue I had daisy-chaining two of these together!
Thank You!

chasem
Автор

I agree with the previous comment.... your's is simply the best explanation I've seen! Nice job!

edwarnick
Автор

this was probably one of the best videos I've ever watched

BohrKid
Автор

Great tutorial! 👍 I can't help but notice the LEDs are set up backward for counting up in binary LOL. 😝 Could just turn the board around or flip the video. 🤔 😁

awofman
Автор

This is the best explainer video for me, thank you for this great work. Now I have a question: what software did you use to create the animation from 1:10

adrianschnyderch
Автор

Very nice explanations. I did similar video and it is great to see a slightly diffrent angle when explaining this topic

marios_ideas
Автор

also the output enable explanation is a little inaccurate. Pulling the pin high will make the outputs go high Z or essentially open circuit, it disconnects the output drivers. However you can use PWM on the pin to control LED brightness etc (I use it on the jumbo clock to control the Aux LED brightness, I use the signal from the "blanking" pin used on the CD4511 which I use to control the digit brightness, inverted using a spare ULN2003 and a pull up on the OE of the register controlling the LEDs)

williefleete
Автор

Extremely clear and detailed explanation. Thanks

mnavarrotube
Автор

You did great. Very good presentation. APPLAUSE

mitchellhw
Автор

8:40 Can you tell me about the swing machine sitting behind you? It looks like digital one. Can you tell me the brand or any details that I could found similar one ?
BTW very good explanation of shift register. thanks

ArponRoy