Pages: [1]   Go Down
Author Topic: RGB 7-segment digit multiplexing 3x74HC595  (Read 339 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi ! i m sorry i m just begining in electronics and i would like to multiplexing this RGB 7-segment http://www.adafruit.com/products/1399 with 3x74HC595 could you help me with wiring please ? i have to chain together 3 74HC595 to control 24 pins with a 3 pin SPI interface ? Thank you very much
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 534
Posts: 26970
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

With 3 HC595 you are not multiplexing, just sending out 3 bytes of data.

Connect SCK to SRCLK of each device.
Connect SS to RCLK of each device.
Connect MOSI to SER In of first device,  Q7 of 2nd to Ser In of 3rd.
OE/ of all three to a PWM pin for brightness control, or to Gnd.
MRCLR of all 3 to +5.
Connect 0.1uF cap from Vcc pin of each to Gnd.
Don't forget current limit resistor for EACH LED, sized appropriately:
(5V - Vf)/.02 = lowest resistor value, higher is ok.

May have to tweak value so that perceived brightness between colors is the same.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you ! and sorry for using wrong terms ...
Just to be sure here is my electronical scheme is it right ? and could you please give me a test code to make it run i tested this one http://arduino.cc/en/Tutorial/ShftOut21 it work but i don't know really how to control it. Thanks for your help  smiley






* Diapositive1.jpg (51.12 KB, 540x720 - viewed 17 times.)
« Last Edit: April 25, 2014, 01:48:47 pm by samellouze » Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 534
Posts: 26970
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

We can't all open the dl.free.dl link.
Modify your post, click Additional Options, Browse to your locally stored image, and Attach it.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1]   Go Up
Jump to: