Pages: [1]   Go Down
Author Topic: Serial -> 7 - Segment display  (Read 1251 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 82
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey there,
I try to control 4 7 segment displays with two of these registers http://www.alldatasheet.com/datasheet-pdf/pdf/51041/FAIRCHILD/DM74LS164N.html

I connected the reset pins, the clock pins, and on both of them I connected serial in 1 and 2 .
the serial in inputs of the second one are connected with the last output (OH) of the first register.

Now I cannot figure out how to send serial data to it from the arduino.
Which is the clock pin, which is the serial out pin, how can I access them?



I really dont know how i can get this work  smiley-confuse

- Flo
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 509
Posts: 31458
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Which is the clock pin, which is the serial out pin, how can I access them?

Any pin you want them to be, it is down to your software.

See :- http://www.arduino.cc/en/Tutorial/ShiftOut

Note that for four 7 Segment displays you will need four shift registers not two.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 82
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i got it to work now.

it was just a the and gate input of the registers.
I need two 8 bit registers, or four 4bit ...

it works now
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 509
Posts: 31458
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
it was just a the and gate input of the registers.
Not sure that make any sense.

Quote
I need two 8 bit registers, or four 4bit
? a seven segment display has seven segment hence you need seven outputs. Unless of course you don't actually have a seven segment display but a decoder chip driving the seven segment display, which is something different from what you said.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 82
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yeah sorry,  i meant that there is  an AND gate at the inputs of my serial in parallel out shift registers.

and yeah i meant driving the drivers...

i was just so happy that it finally worked ...

- Flo
« Last Edit: April 12, 2011, 06:45:51 am by Flub » Logged

Pages: [1]   Go Up
Jump to: