For my project, I have an RGB LED I'm using as a visual indicator of temperature and errors. I'm 3D modelling the case for the project, and have more than enough space (the LCD is over twice the size of the vero board I'm using, so there is a lot of space inside), but I can't seem to find good panel mount housing for the LED. I would like something that would be able to be panel mounted, and has jaws that allows the LED to just clip in, but I can't find anything online. The housing would also need to be clear or frosted, as the LED changes colour. Any help would be appreciated.
The LED is just a standard RGB LED, 5mm in diameter.
No idea where you are on the planet. This, below, is available from a Canadian/American distributor, Newark.
In the image, the one on the top right is one I have used, but in black. Successful, if your panel is within the thickness tolerances. Never really pretty, but will do well for one-off projects.
https://www.newark.com/pdfs/datasheets/Visual_Comm/CMC285.pdf
Worst annoyance was always forgetting to put the ring on the cable before inserting the LED in the mount. Not sure how well the ring will go over your four-lead LED, but simple enough to try; for my 4-lead WS2812D pixels, the leads are all within the circumference of the LED base, so they'd be fine.
5mm hole in the front panel and a dab of hot melt glue.
Or 3d print a small clip/retainer.
Back in the 1990s I bought some metal 5mm led screw fit mounts; essentially just a threaded flange with a 5mm hole and an accompanying nut. I imagine something like that is still available.
I'm trying to find a clip that also has a window, which I could only find yesterday from aliexpress, but I want a better supplier than them. Also, I can no longer find the aliexpress link
I found the bezel, but I would like something that is like an LED cap cover, which can be panel mounted and has a window in front. The clip-in panel mount housing I can find like this one here, but with a small clear or frosted window which protects the LED, and all-round will look more aesthetically appealing.
One easy way to get a neat clear front to the led is simply sanding it down and then mounting it flush with the front panel. You can take off quite a bit of material before you get to the actual diode and leads inside. It's easy to see from the side, too, so you can simply incrementally grind away material until you're happy with the result.