WS2812B 7 segment display

WS2812B 7 segment display

thingiverse

7-Segment frame and transparant segments. Size 27 x 47 mm. WS2812B LED display behind the segments needs only one control wire for 28 segments. Arduino : Segment arranged a-g clockwise. Adafruit library. byte tab[]={0x3f,0x06,0b1011011,0b1001111,0b1100110,0b1101101,0b1111101,0x07,0x7f,0b1101111}; //shapes void num( byte n, byte p, unsigned long c) { // digit n, position p, color c byte m=1; n= tab[n]; for(byte i=0; i<7; i++) { //c=random(0xffff); //if (n&m) strip.SetPixelColor(i+p multiply 7,c); else strip.setPixelColor(i+p multiply 7, 0); if (n&m) strip.SetPixelColor(i+p * 7,c); else strip.setPixelColor(i+p * 7, 0); m=m*2; } } //For some reason, asterisks are not always shown in this editor. If you see p 7, it should be p-asterisk-7 ( p*7, multiplication). When you copy-paste, please check and correct this. //For random segment colors, uncomment random instruction. This thing was made with Tinkercad. Edit it online https://www.tinkercad.com/things/f5bTvmHpG3q

Download Model from thingiverse

With this file you will be able to print WS2812B 7 segment display with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on WS2812B 7 segment display.