Skip to content

Add LED_SMD/WS2812B-Mini

This adds a new WS2812B LED in the 3535 package.

The datasheets from worldsemi LEDs are all listed here:

but there's an issue that the latest datasheet doesn't specify the exact dimensions about pin locations.

image

I have found an older datasheet here: https://www.tme.eu/Document/01c0100fee68667af99767edc3a7fee2/WS2812B-MINI.pdf but the dimensions are a tiny bit different from the latest V3: image

Some photos can be found here:

image image

Maybe some further modifications (adding more parameters) would be nice-to-have for led_smd.py:

  • size and depth of the circular opening
  • size and depth of the triangular marking
  • this particular model would be better represented with two cut pyramids, but a cuboid does the job for now

WS2812B-MINI-X1 would be a nice challenge as well.

I had no clue about pin_thickness, so I picked 0.1 mm which kind of looked ok (the exact value is not really relevant), and subtracted this thickness from the body height.

P.S.: With these modifications and the new cadquerry script I was able to generate pretty satisfactory STEP models. WRL model that I generated has two major issues:

  • wrong scaling by a factor of 2.54
  • back face culling

but these issues are common to all other models generated and is not specific to this LED size in any way. Those issues need to be resolved independently and once they are, the WRL models generated from this script should automatically be correct.

@jmwright

Edited by Mojca Miklavec

Merge request reports