I got the idea for the pxlDigit_PCB while building the pxlDigit (article here: https://nerdiy.de/howto-elektronik-sieben-segment-ziffer-pxldigit-aus-ws2812-leds-bauen/) have come.
Dort wird das pxlDigit aus einzelnen WS2812-LED-Segmenten aufgebaut. Dazu müssen die LEDs zuerst in das 3D gedruckte Gehäuse eingeklebt und dann im Gehäuse miteinander verlötet werden. Besonders dieser Schritt ist aufgrund des mangelnden Platzes gar nicht so leicht. :/
Deswegen habe ich das pxlDigit_PCB entworfen. Darauf können die LEDs, der ESP8285 und die restliche Elektronik installiert werden. So kann man erst die gesamte Platine aufbauen, testen und programmieren und dann in das 3D gedruckte Gehäuse des pxlDigit bzw. der pxlDigit_clock einsetzen.
Dank des integrierten USB-C-Anschluss kann das pxlDigit auch direkt mit Strom versorgt und falls notwendig die Firmware programmiert werden.
In addition, the following (optional) components can be installed on the PCB:
- BME280 Climate Sensor
- TSL2591 Brightness sensor
- MPR121 Touch sensor for up to 12 touch electrodes
Damit das pxlDigit PCB richtig wirkt sollte es in das 3D gedruckte Gehäuse eingebaut werden. So wird das Licht der LEDs besser verteilt und die einzelnen Ziffern lassen sich leicht zu einem größeren Display kombinieren. So könnt Ihr die Ziffern nutzen um zum Beispiel einen Follower-Counter, eine Spielstands-Anzeige oder auch eine Uhr zu bauen.
Für den Aufbau der Uhr werden vier Ziffern benötigt, welche dann auf eine 3D gedruckte Basis montiert werden. So lässt sich die aktuelle Stunden- und Minutenzahl anzeigen.
Natürlich gibt es noch weitere Möglichkeiten das pxlDigit_PCB als Anzeige zu nutzen. Die im folgenden Artikel gezeigte pxlDigit_clock ist ein erstes Beispiel. 🙂
Der Aufbau der Uhr “pxlBlck_digitClock” ist im folgenden Artikel beschrieben.
Safety instructions
I know the following notes are always kind of annoying and seem unnecessary. Unfortunately, many people who knew "better" have lost eyes, fingers or other things due to carelessness or injured themselves. Data loss is almost negligible in comparison, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Because even the coolest project is not worth injury or other trouble.
https://www.nerdiy.de/sicherheitshinweise/
Affiliate links/advertising links
The links to online shops listed here are so-called affiliate links. If you click on such an affiliate link and make a purchase via this link, Nerdiy.de will receive a commission from the relevant online shop or provider. The price does not change for you. If you make your purchases via these links, you support Nerdiy.de in being able to offer other useful projects in the future. 🙂
Requirements
For the assembly you have to master SMD soldering tasks. The following articles contain tips for this.
- Electronics - My friend the soldering iron
- Electronics – Solder THT components by hand
- Electronics – Solder SMD components by hand
Required tools:
Quantity | item | Link |
---|---|---|
1x | Lötkolben | Buy at Amazon |
1x | USB-Lötkolben | Buy at Amazon |
1x | Dritte-Hand | Buy at Amazon |
1x | Lötspitzenreiniger | Buy at Amazon |
1x | Hot glue gun | Buy at Amazon |
1x | SLA 3D-Drucker | Buy at Amazon |
1x | M2 Innen-Gewindeschneider | Buy at Amazon |
1x | M3 Innen-Gewindeschneider | Buy at Amazon |
1x | M8 Innen-Gewindeschneider | Buy at Amazon |
1x | M8 Außen-Gewindeschneider | Buy at Amazon |
1x | Torx Schraubendreher | Buy at Amazon |
Required material:
Quantity | item | Link |
---|---|---|
1x | M2x6 Madenschraube | Buy at Amazon |
6x | M2x6 Senkkopfschraube | Buy at Amazon |
3x | M3x6 Madenschraube | Buy at Amazon |
1x | M3x50 Senkkopfschraube | Buy at Amazon |
6x | M2 Gewindeeinsatz | Buy at Amazon |
3x | M3 thread insert | Buy at Amazon |
3x | Zylindermagnet 5x2mm | Buy at Amazon |
1x | Zylindermagnet 10x5mm | https://www.supermagnete.de/scheibenmagnete-neodym/scheibenmagnet-10mm-5mm_S-10-05-DN |
1x | 623 Kugellager | Buy at Amazon |
2x | 608 Kugellager | Buy at Amazon |
1x | JST SH Anschlusskabel | Buy at Amazon |
1x | ELEGOO ABS-Like 3D Drucker Resin | Buy at Amazon |
1x | Keber | Buy at Amazon |
1x | 10x2mm Alurohr | Buy at Amazon |
1x | Lötzinn | Buy at Amazon |
1x | USB Netzteil | Buy at Amazon |
1x | USB-C Kabel | Buy at Amazon |
Die benötigten Komponenten zur Bestückung des pxlDigit PCBs findet Ihr in der folgenden Datei.
Falls es aktuellere Versionen der pxlDigit Platine gibt, findet Ihr die verfügbaren Versionen in dem Git Repository unter:
Der Aufbau der pxlDigit Platine
In the past I often inserted single pictures here to show which components have to be soldered where on the PCB.
An even better way to get an overview of which components belong where on the PCB is shown in the following paragraph. Thanks to the work of OpenScope Project you can now generate very helpful HTML files in which you can directly see which components have to be installed where on the PCB.
You can see the overview for the pxlDigit_PCB here: pxlDigit_PCB
The current file can also be found in the GIT repository under the following link:
https://github.com/Nerdiyde/pxlDigit_PCB/blob/main/PCB/pxlDigit_PCB_v1.2_bom.html
(Please note that you have to download the HTML file to view it. Directly from the GIT repository this is not possible).
PCB ManufacturingAll infos you need for the production of the PCBs can be found here:

Die benötigten Materialien zum Aufbau der pxlDigit_clock
Im folgenden Abschnitt sind die benötigten Teile kurz beschrieben.
Die benötigten STL Dateien zum 3D Drucken der Gehäuseteile findet Ihr im GIT Repository unter folgendem Link.
Wie Ihr Dateien aus einem GIT Repository herunterladen könnt ist in folgendem Artikel beschrieben.

Für den Aufbau benötigt Ihr dann die folgenden Teile.
- 3x aufgebaute “slave” pxlDigit PCB
- 1x aufgebautes “master” pxlDigit PCB
- 4x 3D gedrucktes Gehäuse
- 3D printed base
- 28x 3D gedruckter Diffusor aus transparentem Filament
- 8x M3x8 Zylinderkopfschraube
- USB-Breakoutboard
- Wifi Patch Antenne mit UFL Anschluss
- 3x 25cm Leitung 0.2mm² in (z.B.) Rot
- 3x 25cm Leitung 0.2mm² in (z.B.) Schwarz
- 3x 25cm Leitung 0.2mm² in (z.B.) Grün
- 15cm Leitung 0.2mm² in (z.B.) Rot
- 15cm Leitung 0.2mm² in (z.B.) Schwarz
Im folgenden seht Ihr ein paar Nahaufnahmen der benötigten Teile.
Die pxlDigit Platinen für den Einbau vorbereiten
Als erstes solltet Ihr die vorbereiteten Platinen mit den notwendigen Anschlüssen und Leitungen verbinden.

Dazu benötigt Ihr die vier aufgebauten pxlDigit Platinen. (3x Slave Version, 1x Master Version)
Dabei sollte eine Platine mit USB-C Anschluss, ESP und der zur Programmierung benötigten Elektronik ausgestattet sein. Die drei restlichen Platinen müssen nur mit den LEDs bzw. den dafür notwendigen Komponenten bestückt sein.

Weiterhin benötigt Ihr die vorbereiteten Leitungen.
- 3x 25cm Leitung 0.2mm² in (z.B.) Rot
- 3x 25cm Leitung 0.2mm² in (z.B.) Schwarz
- 3x 25cm Leitung 0.2mm² in (z.B.) Grün
- 15cm Leitung 0.2mm² in (z.B.) Rot
- 15cm Leitung 0.2mm² in (z.B.) Schwarz

Das PCB welches mit den LEDs und der zum Betrieb notwendigen Elektronik (ESP & Co) bestückt ist (Master Version) solltet Ihr dann noch mit den übrigen beiden Leitungen verlöten.
Die Gehäuseteile vorbereiten
Damit Ihr die vorbereiteten PCBs in die Gehäuseteile einbauen könnt, solltet Ihr nun die Gehäuseteile vorbereiten.

Test
Dazu benötigt Ihr
- 4x 3D gedruckten Platinenhalterungen
- die 3D gedruckte Basis
- 8x M3x8 Zylinderkopfschrauben

Eine der Platinenhalterungen solltet Ihr zunächst etwas bearbeiten. So passen später neben dem USB-C Anschluss auch die Anschlussleitungen durch die gezeigte Öffnung.
Die vorbereiteten Platinen in das Gehäuse einbauen
Nun könnt Ihr die Platinen in die Halterungen einbauen.

Setzt das erste (slave) PCB an der Ziffer rechts außen an und fädelt die Leitungen wie gezeigt durch die Öffnungen im Gehäuse.

Die Datenleitung welche auf dem pxlDigit PCB mit dem LIN Pin verbunden ist (in diesem Beispiel die rosa Leitung) solltet Ihr dann wie gezeigt durch die Öffnung des nächsten PCBs fädeln.

Nachdem Ihr die Leitungen wie zuvor durch die Öffnungen gefädelt habt, könnt Ihr die Datenleitung des vorherigen PCBs mit dem LOUT Pin des aktuellen PCBs verlöten.

Bevor Ihr das Master PCB in die Halterung einsetzt, solltet Ihr nun noch die WiFi Antenne anschließen.

Now you can already put all PCBs into the case.
At this point I recommend to test the setup already. You can already install the firmware and test that all LEDs are controlled correctly.

The current structure should now look something like this.
At this point you can combine the power supply lines as shown.

To connect these lines to the USB Breakout, you should first connect the contacts
- GND
- VBUS
tin with a little solder.

... solder to the USB breakout board.
Make sure that no short circuits occur to the neighboring contacts.

Other view.
At this point you should also do a small function test. The pxlDigit_clock should now be able to be supplied with power via the USB port of the breakout board.
Insert the diffuser
The light from the LEDs in the individual segments only really works well when it is evenly distributed. This is achieved very well by inserting diffusers into the housing.

The insertion works very easily if you let the base of the case protrude over a table edge as shown.

Then you can insert the diffusers as shown. If they are too loose in the housing, you can also glue them with a small drop of glue in the housing.
Program firmware
I am currently working on a simple Arduino library to control the pxlDigits. Until this is finished you can also use the pxlBlck firmware use. This already supports the LED matrix form of the pxlDigit and also offers useful functions for automation and control via WiFi or the serial interface. General info about the pxlBlck plugin can also be found here:
Information about the installation of the pxlBlck plugin can be found here:
Configure pxlBlck plugin
After installing the firmware you have to configure the plugin correctly. You can also find information about this in the article pxlBlck - Install and configure the pxlBlck plugin.
For additional orientation, you can also use the settings from the screenshot shown here.

pxlBlck Usecases
Unter dem Tag “pxlBlckUsecase” sind Artikel aufgelistet in denen Ihr Beispiele zur Verwendung findet. Darin ist auch erklärt wie Ihr Euren pxlBlck entsprechend konfigurieren könnt.
Animations, icons and commands
More information about the display of animations, icons and the possible commands with which you can configure your pxlBlck can also be found in the following articles.
- pxlBlck - Configure and display animations
- pxlBlck - design icons, transfer them to the pxlBlck and display them
- pxlBlck - Commands for configuring the pxlBlck
Have fun with the project
I hope everything worked as described for you. If not or you have questions or suggestions please let me know in the comments. I will then add this to the article if necessary.
Ideas for new projects are always welcome. 🙂
PS Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you think it's cool that I share the information with you, I would be happy about a small donation to the coffee fund. 🙂