Printed Circuit Board
The main component of the PCB is the Hi-Link AC-DC converter. The PCB is designed to accomodate either the HLK-PMxx or the HLK-5Mxx series component footprint. They are available in several voltages. You can find them on Amazon, AliExpress, and other sources.
The PCB footprint for the fuse accommodates a miniature PCB fuse. They are again available from Amazon or Aliexpress and other sources. The PCB silkscreen indicates a rectangular footprint shape for the fuse, but the radial (TR5/5TR) style will also fit. (Search for "pcb fuse 0.5a 250v TR5")
The PCB has provisions for optional EMI suppression, surge protection, and power indication components. The Hi-Link AC-DC adapter will work without these components, obviously without the benefits they provide. Be sure to install jumpers if the common mode inductor (see L1 on PCB) is not installed.
The prototyping grid accommodates most ESP8266 & ESP32 "development boards" with some modest space leftover for sensor or connector attachment. If additional room is needed, you can use the room to attach a header for piggybacking another prototyping PCB above. The 3D printed case can be modified using Fusion360 for height. Just be sure not to smother your WiFi signal by being too dense near it.
Schematic and layout here
3D Printed Enclosure
STL mesh files and the Fusion360 design file are provided. The Fusion360 design file is parametric in X,Y & Z directions. When modifying the Fusion360 design to change dimensions, editing CAPITALIZED parameter values is safe/tested. Editing other parameters may yield unexpected results.
Print the following:
- Enclosure top (choice of two styles)
- Enclosure bottom
- AC plug shim
Two options for the 3D printed enclosure are included:
- Flat top - normal enclosure with a flat top - better if you need side portals for connectors
- Tented top - top with angled sides for a slimmer look at the expense of potentially useful volume
One very important, but easily overlooked component that must be printed is the shim for the plug. The shim is a plastic spacer that must be installed between the PCB and the plug before soldering the plug. When populating the PCB, the shim and AC plug must be installed before the Hi-Link AC-DC converter. The shim provides the required critical offset for PCB mounting, AC plug protrusion, and enclosure bottom design. Be sure the shim & plug assembly are not installed on the wrong side of the PCB or upside down. Match the silkscreen printed guide on the back of the PCB.
If you choose to design your own enclosure, the plug offset is the critical measurement that drives the design for the enclosure bottom.
Supports should not be necessary for printing. Enclosure halves are fastened using #4 0.5 inch or M3 screws.
3D printing files here
You've not answered, and there are no problems, so I'll just assume you are trolling.