Go Down

Topic: LED display schematic (Read 1 time) previous topic - next topic

ameertg

I've been trying to make  a schematic for a possible LED display, it involves a 74HC595 shift register and a 4017 decade counter to make images using persistence of vision. It's not clear in the picture but I'll use 68 Ohms resistors. My question is will this work and do I need resistors for the transistor?


P.s. It's my first time using fritzing so advice would be helpfull
Thank you

gm1mfn


.
.
It's not clear in the picture ...
.


Nothing is clear from that picture!


.
My question is will this work ...
.


Sorry, can't answer that one.


.
... do I need resistors for the transistor?
.


Yes you do.

You also need to research the forward voltage drop of your chosen LEDs.

CrossRoads

#2
Dec 16, 2013, 12:47 am Last Edit: Dec 16, 2013, 01:04 am by CrossRoads Reason: 1
Not bad for a fritzing schematic, from posts we have seen I didn't even think that was possible.
The 4017 symbol is crap, can't tell what the different pins are.
You also need a 0.1uF cap to Gnd on the Vcc pin of each device.

Anyway, the design won't work. LEDs in series like that will need 12-15V to turn them all on. 74HC595 cannot supply that.
If you have a 12V to 15V source, you can use the '595 to drive NPN transistors that can pull the base of PNP transistors low to source current into the LED anodes.

Your design would need this:
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.

CrossRoads

If you look at this datasheet
http://www.digikey.com/product-detail/en/A2982SLWTR-T/620-1127-1-ND/1090370
You can see the similarity to what I drew.
Unfortunately this has a 2V drop across the outputs as its intended for higher current,  and you only need 20mA.
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.

CrossRoads

This part would do great with a 12V supply.
Can source 24mA, Vout will be at least 11V.
No clock or latch needed, data is detected off the Data pin, at a slow 24Kbps rate, so something a little different would need to be written up to send the data out.
http://www.digikey.com/product-detail/en/SN74LV8153N/296-18263-ND/807089

I don't know why I can't find an open source shift register.
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.

ameertg

I think the decade counter has a maximum forward voltage of 16v so if I switch it's place with the '595 will it work? Just to save on a few transistors.

CrossRoads

How will that help? Decade counter only has 1 output high at a time.
I think you'd be better off with TPIC6B595, one per digit, and drop all the transistors.
Simpler code too:
Code: [Select]

// did a digit change that requires a display update?
if (updateFlag == 1){
updateFlag = 0;
digitalWrite (csPin, LOW);
SPI.transfer (digit0); // lowest
SPI.transfer (digit1);
SPI.transfer (digit2);
SPI.transfer (digit3); // highest
digitalWrite (csPin ,HIGH);
}
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.

ameertg

Two more questions, one Fritzing isn't working for me any other CADs you guys recommend that are completely free(I tried KiCAD but the component's pinouts are wrong, or maybe I'm using the wrong packages for the components). And two, why don't the pinouts on a CD4017b(Texas Instruments) come in order like 0 at the top and 9 at the bottom of the same side. Doesn't that make it much easier to use?

CrossRoads

I use Eagle exclusively for board designs. Creating new symbols takes a bit of getting used to, as you create the schematic symbol and mechanical footprint.

I use expressPCB for many drawings for discussion here in the forum. Easy to use, can put a symbol together from another very quickly. Not tied to mechanical footlprint.

You can make the symbol have the pins however you like. Fritzing may alow you to do that, it may have some symbol rotation or flipping capability, I never played with it and have no plans to.
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.

Pedro147

ameertg
Here are some good introductory Youtube videos on starting out with Eagle

http://www.youtube.com/watch?v=qG0O9LKH-_E&list=PLDE1858BD83D19C70&index=1

Good luck Pedro

Go Up