Go Down

Topic: How connect 3×15 shift registers to Arduino (Read 224 times) previous topic - next topic

ugniusugnis

Sep 22, 2019, 10:37 pm Last Edit: Sep 22, 2019, 10:38 pm by ugniusugnis
Hello,
I want to connect 3 groups of 15 shift registers to Arduino UNO. Shift registers will be connected with leds. 3 groups because leds are RGB (3 colors). How I can to connect it to Arduino? Maybe it requires additional parts of electronic? Scheme should be any, but one group should be connected to arduino with using one shift's register pins.

If you didn't understand my question or need more details, or etc., please reply! Very thanks!

PaulRB

Only a few additional parts will be needed. Resistors, capacitors. But do you realise that you will limit the LEDs to only 6 colours? Red, green, blue, yellow, cyan, magenta, white.

There is a much easier way which is a far more simple circuit and will allow you to mix thousands of colours. Google for ws2812b LEDs or apa106 LEDs.

ReverseEMF

#2
Sep 22, 2019, 11:39 pm Last Edit: Sep 22, 2019, 11:42 pm by ReverseEMF
Well, first of all, it would help if you read the "How to use this Forum" at the top of every Forum.
UPDATE: used to be at the top!

Then you would know things like:
  • We can't read your mind: what shift register?  Part number please.
  • XY Problem potential, here: Can you give us more info on what it is you wish to achieve?
  • A schematic would be nice -- otherwise it's difficult to give specific advice.

And, PaulRB's suggestion of "ws2812b LEDs or apa106 LEDs" is probably good, but, once again, not knowing the ultimate goal, hard to say.
"It's a big galaxy, Mr. Scott"

Please DON'T Private Message to me, what should be part of the Public Conversation -- especially if it's to correct a mistake, or contradict a statement!  Let it ALL hang out!!

ugniusugnis

Only a few additional parts will be needed. Resistors, capacitors. But do you realise that you will limit the LEDs to only 6 colours? Red, green, blue, yellow, cyan, magenta, white.

There is a much easier way which is a far more simple circuit and will allow you to mix thousands of colours. Google for ws2812b LEDs or apa106 LEDs.
Thank you for answer. Few days ago I get this leds and so now I have what I have... Maybe you can send my simple scheme or link with scheme with one-two (in preview) shift registers, leds, capasitors? I never use capasitors because my projects was simple. Very thanks!

Well, first of all, it would help if you read the "How to use this Forum" at the top of every Forum.
UPDATE: used to be at the top!

Then you would know things like:
  • We can't read your mind: what shift register?  Part number please.
  • XY Problem potential, here: Can you give us more info on what it is you wish to achieve?
  • A schematic would be nice -- otherwise it's difficult to give specific advice.

And, PaulRB's suggestion of "ws2812b LEDs or apa106 LEDs" is probably good, but, once again, not knowing the ultimate goal, hard to say.
Firsly, shift registers was bought here: https://www.aliexpress.com/item/32920640599.html . Project is something like light table where are a lot of leds cubes...
Now I don't got schematic but I realy hope that you can understand about project:
100x RGB leds with shift registers to Arduino. Very thank you!

PieterP

#4
Sep 25, 2019, 12:59 am Last Edit: Sep 25, 2019, 01:10 am by PieterP
Something like this?
https://tttapa.github.io/Control-Surface/Doc/Doxygen/df/d9e/2_8RGB-LED-Chaser_8ino-example.html

Keep in mind that the 74HC595 chips aren't really suited to drive LEDs, because they can only supply 70 mA in total. Texas Instruments (and other manufacturers as well) have a whole range of shift registers with constant-current LED drivers built-in, some with PWM, some with just on/off control:
http://www.ti.com/power-management/led-drivers/signage-led-display-drivers/overview.html

Check §10.2 "Typical Application" of the datasheet for a schematic.

Pieter

Go Up