7-Segment SN74HC595N and BC327 Transistor

Further to my previous post, here's what it would look like:

But I suspect you don't have a separate 3.3V supply. Need to know what it actually is.

As said, all this is easier with common anode because you can drive NPN transistors from almost anything, with the two supply grounds connected.

I ordered some common anodes too, but delivery will take about a week.

And per manufacturer they only need 6-7v but I will need to test that

Then you should have also ordered 7 NPN transistors, the BC327s won't work with common anode
See post #12

I got about 25 of each laying around

A1015 / BC327 / BC337 / C1815 / S8050 / S8550 / 2N222 / 2N2907 / 2N3904 / 2N3906

Instead of a step-down converter, you could use a negative voltage regulator like the LM337 to generate what will become a common ground for the ESP32 and HC595.

For the temporary 5V supply, perhaps you could power the HC595 at 5V. That would still let you drive the transistors, but the ESP32 at 3.3V might have trouble driving the 595. Actually, that would probably work, but just isn't guaranteed.

I'm not sure if there's a switching equivalent of the 337.

Edit: So you will be using four 595's and 28 transistors?

Then you are all set to go.
Still recommend the TBD62781
Have fun

Yes that's my plan

Could you post links to the two displays you are considering?

With these you can use TPIC6B595 instead of 74HC595. Then you will not need any transistors. You will need current limiting resistors for each segment, and a supply voltage ~2V higher than the segment forward voltage.

With TPIC6B595 there is a problem. These chips need 5V supply, they won't run at 3.3V. That means you will need to boost the 3.3V signals from the ESP up to 5V. A 74HC14 would do this.

You might look at the TLC6C598 instead. It will run on 3.3V or 5V, but the minimum VIH is a fixed 2.4V regardless of Vcc, so you should be able to drive it directly from the ESP32. It will do 50mA per line continuous when Vcc = 5V. Presumably less at 3.3V. It's a 16-pin chip. The datasheet shows it available only in TSSOP, but Digikey carries a SOIP version, which could be the automotive version.

Sorry for the late reply.

I already have the display with common cathode.

https://de.aliexpress.com/item/32463624381.html?spm=a2g0o.order_list.order_list_main.11.29655c5fn1PaKb&gatewayAdapt=glo2deu

I will hopefully get the display with common anode next week

https://de.aliexpress.com/item/1005004241487169.html?spm=a2g0o.order_list.order_list_main.5.29655c5fn1PaKb&gatewayAdapt=glo2deu

But I don't know exactly what to make of the Aliexpress information. I have not found a data sheet for the first display

I want to build this with through-hole mounting on a development PCB. So no too small parts, because I don't have the tools to use them

I can't find any information on the maximum continuous current per segment on either display. Anybody have better luck?

I understand the preference for through-hole. But could you use an SOIC-to-DIP adapter board? You would have to solder the chip to the adapter, and solder the header pins. But then you have something that plugs into a breadboard.

I will need to check how small it would be, I only got a soldering iron.

And I can't find much more about the displays too, expect the stuff they say in the description. But I can post the model number written on the part tomorrow

For common anode, another chip to look at is the TLC5916. It is 16 pins, and comes in the through-hole DIP package, and has constant current control using a single resistor. So you wouldn't even need the 7 segment resistors, and brightness would be easily adjustable. There are several Youtube videos on it. Looks very promising.

It says 5.4-6.6V, 10-20mA. What else do you need to know?
Use it with the TBD62781and you are all done.

Would this one do the job?

Yes

So i would connect the outputs of the SN74HC595N to the TBD62781. Not needing any transistors any more?

That is correct.
You just need current limiting resistors for the LED segments.
If you use 8V then 100 ohms will give you 20mA

Okay thank you, will update you