Hello, I have got 5 7-segment display and i need to control them with arduino yun. The 7-segment displays are HD-AD16RD with common anode they need 30mA current and 10V. i was thinking about TLC5940NT, but im not really sure about that. Thanks for any idea.
Big displays are usually controlled with TPIC6x595/6 shift registers.
Recent thread here.
TPIC chips are 5volt only, but it seems the Yún has 5volt I/O.
Yes, TPIC6C595 for sure.
Take a look at this schematic which uses a similar TPIC6B595 (can sink more current).
You'll need current limit resistors for each segment, approximately (10V - 2.2)/.03A = 270 ohms.
30mA may be really bright, you may want to consider higher value resistors to tone the display down some, like 10-15mA.
Here's the board I offer, with a '328P built in to run things vs a separate Arduino.
Very thanks for that. If can i ask, im not sure about my circuit, if i understood good. If you will be so kind and check it. Many thanks
Looks pretty good. The resistors may be a little low. 330R would be safer.
If you do not need maximum brightness, you could consider reducing the number of chips required from 5 to 2 by multiplexing the display. 5 pnp transistors such as bc327 would be needed to control the digit commons, with 10K base pull-up resistors and 330R series resistors. One tpic chip would connect to the segments of all digits and the other tpic chip would drive the transistor bases.
Thank you for check my circuit. Multiplexing is really good idea, can i use only one tpic chip like on this circuit ? if this ok to connect transistors on digital pin of YUN. thanks for checking it again
Yes, you can use the Yun pins instead of the second tpic chip, but you will need another 5 transistors, and these should be npn such as bc337.
The base pins of the PNP need to be pulled up to 12V, not 5V, otherwise they will never switch off. This means you cannot connect the Yun pins to the PNP bases, because they would be damaged by the 12V. So the 5 npn are needed between the Yun pins and the PNP bases. 4K7 between the Yun pins and the npn bases should be ok. You also need those 330R to limit the PNP base current.
OK, so here is circuit with 2 tcip, hope than i got it right. Thanks all of you for so many informations.
Looks ok. I'm not sure if it makes much difference, but I would put the 10K pull-up resistors direct to the PNP bases, on the other side of the 330R compared to your diagram.
Can anyone else provide a double-check for us please?