LED 5mm PTH - similar LED?

I have a task for my school about connecting a LED 5mmPTH to a GPIO pin of RPI4 and turning it on/off.
LED 5mmPTH is out of stock at Core Electronics.

What similar LED can I buy to use for my task in my situation? I need also a resistor if I buy a non PTH LED? (Sorry, not sure about technical meaning of PTH of a LED)
Thank you very much for your support

Hi Gheoghe
Apparently TTH means “Plating Through Holes” which in essence means it is a “Through Hole” device (not surface mount) which is nothing special. Any LED with long leads will be “PTH”.
Cheers Bob

2 Likes

Thank you very much Bob

1 Like

These are generic 5mm LEDs. You can get it at any electronics shop.

Thank you very much Lia.
But still, I need to use resistors when I connect them to my Rpi device?

Yes. See, for instance:
Turning on an LED with your Raspberry Pi’s GPIO Pins - Robocraze
(Part 2)

2 Likes

If you’re still looking for an alternative, this ought to do the trick:
[ CE08576 ] LED and Resistor Pack

2 Likes

Thank you very much for help

Thank you very much Maghnus