Experiments 5.2: Arduino - Serial to Parallel Conversion (74HC164 & 74HC595)

  Рет қаралды 64,907

Derek Molloy

Derek Molloy

Күн бұрын

Пікірлер: 22
@robdolson3656
@robdolson3656 11 жыл бұрын
This was a really informative video on 74HC164 & 74HC595. Very well presented and easy to consume. Thank you for posting this video.
@oleg4096
@oleg4096 10 жыл бұрын
Thnx man. This is the best 74HC164 &74HC595 tutorial.
@molomono
@molomono 11 жыл бұрын
You can also place a transistor between the cathodes of the LEDs and the ground. That in essence dubs for a latch. I use that trick when driving larger groups of LEDs, (around 50 and up) Makes having 595's obsolete imo. Just make the base of the transistor high when you want the leds to turn on.
@demestavr
@demestavr 13 жыл бұрын
Great video. I was looking for the difference between the two and your explanation was right on!
@QSQCaito
@QSQCaito 12 жыл бұрын
You can cascade the 595 using the serial out. That way you wouldn't need a new wire. You tie together the transfers and send 16bits instead of sending two times 8bits.
@darktherapy
@darktherapy 12 жыл бұрын
Really nice video. So if I were to use the 595 along with a 7 segment LED display, would I need to choose the common cathode type?
@kungfumaster8171
@kungfumaster8171 9 жыл бұрын
Great explain. Thanks.
@McKaamos
@McKaamos 12 жыл бұрын
No, you don't. You can also daisychain them together. There's a serial output on the 595 that can feed the serial input of the next. Just daisychain them and connect the latches and clocks together. As @QSQCaito pointed out, you can then send 16bits out in one go, instead of 2x 8bits.
@brub5174
@brub5174 6 жыл бұрын
Thanks! I needed this for my leds to do at startup. I save a a lot of pins this way. But (question) with same setup if I put use the pwm to control 2 leds parallel (for fading light possibilitys) will the current affect the chip or is there a way to prevent this?
@sanosukekursch
@sanosukekursch 13 жыл бұрын
Nice vid. But I guess you forgot the current limiter resistors on the LEDs. BTW, I'm planing on making a big LED matrix using my arduino, I'll use 9 8x8 matrices, it'll be a 24x24 LED matrix and I'll use 6 74HC595 to drive the matrix, I'll use a bunch of BC547 to source the current to the LEDs, but I'm not sure if the 74HC595 will be able to sink all that current from 24 LEDs since a whole column might be lit at the same time, any ideas on how I can address this issue?
@LynkedVideos
@LynkedVideos 10 жыл бұрын
When you added a second 74HC595, is there a reason that you used a second data output from the Arduino, as opposed to using the Q7' pin on the first 74HC595?
@sanosukekursch
@sanosukekursch 13 жыл бұрын
@DerekMolloyDCU I'll use a bunch of BC547 instead of ULN2803, since it'll be cheaper, I have one ULN2803 that I used with one matrix, worked fine, but there was only one matrix, hence only 8 LEDs per row/column, with three matrices there'll be 24(48) per row/column (bicolor matrices), I'll use transistors as drivers on the anodes, but as for the cathodes, the LEDs will bedriven by the 74HC595 itself, I would like another driver here just to be on the safe side.
@darktherapy
@darktherapy 12 жыл бұрын
Derek, does it make writing code easier when you use the 1 extra pin to control the second 595 rather than connecting pin 9 from the first 595 to pin 14 of the second? (using only 3 Arduino pins rather than 4)
@rodstartube
@rodstartube 12 жыл бұрын
for each aditional 595 chip, will you need an aditional wire ???
@wanderfra42
@wanderfra42 13 жыл бұрын
Sorry for being finicky but in your code you wrote that "The 8 LEDs light for one second *exactly* on each pass", but isn't there some extra time used by the microcontroller to run the "for" instructions between a Timer Interrupt (or wathever the delay is) and an another one? I'm not really sure of this, infact I'm asking..! ;)
@dhruvshah7488
@dhruvshah7488 10 жыл бұрын
How does the clock pin affect the ic?
@doodh_jalebi
@doodh_jalebi 12 жыл бұрын
Why are the LEDs slightly blinking together after each round?
@darktherapy
@darktherapy 12 жыл бұрын
Derek would you please take a look at this video: eJN05XOxHYI I'm having an issue with one of my 7 segment displays with certain numbers, do you recognize the issue?
@ThePhilleboy
@ThePhilleboy 13 жыл бұрын
Very good tutorial! Thanks! :D
@raghavendrashekhawat3249
@raghavendrashekhawat3249 4 жыл бұрын
Awesome Thx a lot.
@cientifico943
@cientifico943 11 жыл бұрын
Amigo tendras es esquema?
@molomono
@molomono 11 жыл бұрын
Isn't it possible to ground the led's through the source-drain of a transistor and drive that transistor with a PWM pin to simulate a latch while using the 74HC164? If it is than it would be very easy to not only remove the flickering led's but you could change the duty-cycle and thus the intensity of the led's with the arduino using that method.
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 28 МЛН
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 86 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 106 МЛН
74HC595 & 74HC165 Shift Registers with Arduino
40:38
DroneBot Workshop
Рет қаралды 406 М.
How to Control a Ton of Inputs using Shift Registers!
19:38
Kevin Darrah
Рет қаралды 312 М.
How Shift Registers Work!
11:50
Kevin Darrah
Рет қаралды 408 М.
How To Use A Shift Register (74HC595N)
13:53
Francis Studios Engineering
Рет қаралды 19 М.
EEPROM Programmer for the 8 bit CPU - The Inspector's build
24:13
Inspector Trinket
Рет қаралды 2,9 М.
74HC595 Shift Register Control | AVR Tutorial
15:57
000Plasma000
Рет қаралды 70 М.
What's the Difference Between Parallel and Serial?
5:21
Techquickie
Рет қаралды 589 М.
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 28 МЛН