There are detailed documents in the shared files. You can refer to them. The documents here lack pictures and may seem a bit laborious. You can watch the video tutorials.
1 Information description
All file links: Link: https://pan.baidu.com/s/140hqqXY9Y1y8DYMxfDvrqQ
Extraction code: 6666
There is also information in the attachment area
Video tutorial address: https://www.bilibili.com/video/BV11h411t7a5
5*5*5 , a total of 125 WS2812 , all connected in series, each layer uses 11 0603 packaged 104 capacitors for filtering (voltage stabilization)
The short-circuit structure in the lower left corner realizes cascading between different layers.
For specific principle analysis and PCB design, see the video: https://www.bilibili.com/video/BV1ah411t7Jw
2 parts list
① WS2812, the one I chose here is the 5050 package, non-frosted, 125 pieces is enough.
② When placing an order for PCB , I chose black and 1.6mm thickness. It depends on your situation.
SMD capacitor 104 ( 0.1uf ), 0603 package, because it is often used, so I buy more, 100 of this is enough
The pin header is 2.54, 17mm long . Just buy one of these and it will be enough.
① Female connector, this is an ordinary female connector and does not need to be lengthened.
Nylon column: 1 , double-pass column 3*8 , for the top layer, 4 are enough
The hexagonal pillars I bought are 3*8 , and I used 32 of them .
The screws I bought are M3*4 . These are the top ones that are fixed downwards. You only need 4 screws.
3 Precautions for welding and assembly
① Do not weld the pin and female headers incorrectly
②Do not short-circuit the short-contact point or make welding errors.
③The WS2812 package I used is relatively difficult to solder because the soldering pad is relatively small, so the soldering iron will burn the WS2812 . This cannot be avoided, and there may also be virtual soldering. You must pay attention to this, and there are Pay attention to the direction of WS2812 , don’t make a mistake
4Program and code part
I did not integrate a microcontroller on the board during my design, so I need an external microcontroller for control, so it is currently considered a module. The reference program I shared is controlled by the STC8F1K08-SOP8 microcontroller. To use the STC8 series of microcontrollers, just change to the one you need. On the IO port, just set the crystal oscillator frequency at the same time (I use 24M ). Regarding the problem of WS2812 , I will not expand it. If it does not light up, you can refer to the video:
① WS2812 lantern bottom code - suitable for all types of STC microcontrollers_bilibili_bilibili
② Detailed analysis of WS2812 lantern_bilibili_bilibili
This open source sharing program follows the program code of ① with some modifications. The program shared didn't have many effects, and I didn't do it. If I am interested, I can do more effects myself.
5 areas that can be improved and improved (this project will not have a second version for the time being)
① This light cube can be completed in one proofing. There are 5 PCBs in one proofing , so it is 5 levels . If you want to have more levels, it is recommended to make more PCBs.
② There is some obstruction in the current light cube structure because of the PCB . This has little impact from a distance and is difficult to solve.
③The current layer connection option is pin header and female header. Some people have proposed to use supporting copper pillars to achieve this. This can be done, no problem.
④ There is no main control board. This is actually very simple. If you are capable, you can make a board at the bottom yourself. It is actually very simple. If you don't have the ability, just connect an external microcontroller.
⑤The switching solder joint is too small. This can actually be soldered. If it is too small, you can draw one yourself.
⑥ The soldering pad of WS2812 is too small, which has a certain impact on manual welding, so,
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet