Core board functional diagram drawing tutorial: [Bilibili Exclusive] How to draw a good-looking core board functional diagram_Bilibili_bilibili
PCB level is just like that, mainly open source sharing the core board functional diagram drawn. Those who are interested can do their own research.
You can choose USB download or serial port download (CH340N) for the core board
. All the pins of the microcontroller have been lead out.
Each IO port is doubled for easy use, and each IO port is equipped with LED for indication.
TYPE-C is a 0.8mm countersunk plate. Please note that the 1.6mm countersunk plate cannot be welded.
I should test this core board later and make more videos.
A little trivia, compared to STC8H8K64U and TST8H8K64U, the current chip version is version B, which can be bought for 5 yuan and has DMA.
Core board lights up.mp4
BOM download
PCB_PCB_For generating pictures-without wiring_2022-09-24.pdf
PCB_PCB_For generating pictures-without wiring_2022-09-24.json
PCB_for picture generation-without wiring_2022-09-24.pcbdoc
Gerber_PCB_Generate pictures-no wiring.zip
PCB_PCB_STC8H8K64U-LQFP48 core board_2022-09-24.pdf
PCB_PCB_STC8H8K64U-LQFP48 core board_2022-09-24.json
PCB_STC8H8K64U-LQFP48 core board_2022-09-24.pcbdoc
Gerber_PCB_STC8H8K64U-LQFP48 core board.zip
Schematic_STC8H8K64U-LQFP48 core board_2022-09-24.pdf
SCH_STC8H8K64U-LQFP48 core board_2022-09-24.json
STC8H8K64U-LQFP48 core board_2022-09-24.zip
61344
Universal CH340 download circuit
Introduction: Very commonly used STC microcontroller downloader/USB to serial port module
1. Use CH340N-SOP8, which has a smaller package and saves space.
2. A self-restoring fuse is added to the board. It will cut off the power when connected reversely (the effect has not been tested)
. 3. Four indicator lights are added to facilitate observation of the status. Four The indicator lights are USB powered, VCC powered, TXD, RXD
4, using TYPE-C, sunken board 0.8mm package. It is recommended to choose 1.6mm thickness or 1.2mm thickness for PCB. The TYPE-C port will be a little higher than the PCB board height.
5. Most of the chip components are on the front of the board and can be directly teppanyaki. Only one resistor is on the back.
6. Added STC microcontroller cold start switch for cold start downloading. This switch is a commonly used patch toggle switch. To be honest, I am not very satisfied. It is too high.
7. There is no large capacitor at TYPE-C. If your microcontroller circuit has a large load, it is recommended to add a large capacitor at TYPE-C.
Some people have questions, why not build an automatic cold start circuit? Do you have to manually cut off the power every time you download?
It doesn't exist. I have been playing with STC microcontrollers for 4 years and have downloaded it 1.7W times.

STC microcontroller does not have to power off to download programs.
My usual method is to enter the program into the ISP for downloading. If there is a problem with the program code,
you can press the reset button and enter the ISP for downloading. If the above two methods fail,
I will choose to power off . download. In fact, the number of downloads I use during power outages is relatively small. When adjusting the code, I don’t have the patience to manually cut off the power again and again.
Automatically download code sharing through programs:
MCU automatically downloads code (applicable to STC8-STC15)_bilibili_bilibili
[Code sharing] 51 microcontroller automatically downloads, bid farewell to manual power outage_bilibili_bilibili
STC microcontroller download ( Circuit) Solution Summary_bilibili_bilibili
The above content is all shared before, and a summary and comparison will be made later.
BOM download
PCB_PCB_General CH340 download circuit_2022-09-24.pdf
PCB_PCB_Universal CH340 download circuit_2022-09-24.json
PCB_Universal CH340 download circuit_2022-09-24.pcbdoc
Gerber_PCB_Universal CH340 download circuit.zip
Schematic_General CH340 download circuit_2022-09-24.pdf
SCH_Universal CH340 download circuit_2022-09-24.json
Download circuit_2022-09-24.schdoc
61345
USB cable organizer V3
Introduction: There are too many USB cables, please store them away
There are too many USB cables. Let’s store them. Show video: The third generation USB cable organizer_bilibili_bilibili
can not only store them, but also expand the power supply port.
BOM download
PCB_PCB_USB storage V3 proofing_2022-09-24.pdf
PCB_PCB_USB storage V3 proofing_2022-09-24.json
PCB_USB storage V3 proofing_2022-09-24.pcbdoc
Gerber_PCB_USB storage V3 proofing.zip
PCB_PCB_USB Storage V3_2022-09-24.pdf
PCB_PCB_USB Storage V3_2022-09-24.json
PCB_USB Storage V3_2022-09-24.pcbdoc
Gerber_PCB_USB storage V3.zip
Schematic_USB cable organizer V3_2022-09-24.pdf
SCH_USB cable organizer V3_2022-09-24.json
Sheet_1_2022-09-24.schdoc
61346
WS2812-16X16 dot matrix open source
Introduction: 16X16 WS2812 dot matrix, PCB size 12cm*12cm, can be printed for free in JP.
Introduction: 16X16 WS2812 dot matrix, PCB size 12cm*12cm, is already a quite compact version.
It uses a general 5050 package, which cannot fit within 10*10. In order to accommodate 16*16, the size is larger than 10cm.
There are only 15 104 capacitor filters on the designed board, which is not a big problem. For details, you can see the quibbles in my video: WS2812 lantern FAQs_bilibili_bilibili
The effect of dot matrix lighting is as shown in the picture: 16X16 dot matrix displays random symmetrical patterns_bilibili_bilibili
because I bought the highlight WS2812, so it’s really bright. In the video, the brightness value of WS2812 is only 2, yes, it’s single digits.
The current of WS2812 is 255, which is very powerful, but you are not using it for lighting. Just write a few dozen brightness and that’s about it.
Production cost:
PCB: Printed in JP, monthly card user
WS2812: I bought 1050 pcs at once, you can watch the video for details: [Unboxing] A plate of WS2812 lanterns, 1050 pcs_bilibili_bilibili
80RMB, 1000 pcs , so 256 lights, 20RMB, is the lowest price you can buy.
SMD 104 capacitor: This doesn’t cost much, so don’t forget it.
Pin header: Solder the pin header according to the situation, and make it into a pin header to prevent the pad from being pulled off.
Welding: This Teppanyaki is just fine, no big problem. It is recommended to cook the teppanyaki in batches. I am afraid that it will be too tiring to cook 256 at one time. I didn't do the steel mesh, I did it all manually and in 3 steps. If it's attached incorrectly, just dismantle it.
Component purchase link: [Tencent Documents] Electronic Studio Sharing Form https://docs.qq.com/sheet/DYm1tTUFlRWhkQVJt
There are techniques for drawing dot matrix. There will be a video to share later. Video address: Electronic Studio- Personal space_bilibili_bilibili
program code: What, you want a program? No, the underlying code of WS2812 lantern - suitable for all types of STC microcontrollers_bilibili_bilibili
Warm reminder: This PCB has a large number of WS2812. When using the microcontroller to control it, pay attention to the power supply. If it is a computer USB power supply, do not give it. The computer USB cannot bear the higher brightness. Can be connected to an external power supply for power supply.
Actual measurement: When the written brightness value is 120, the current is around 4A (single color and multi-color).
Multi-picture display





BOM download
PCB_PCB_WS2812-16X16 dot matrix proofing_2022-09-24.pdf
PCB_PCB_WS2812-16X16 dot matrix proofing_2022-09-24.json
PCB_WS2812-16X16 dot matrix proofing_2022-09-24.pcbdoc
Gerber_PCB_WS2812-16X16 dot matrix proofing.zip
Schematic_WS2812-16X16 lattice open source_2022-09-24.pdf
SCH_WS2812-16X16 dot matrix open source_2022-09-24.json
Sheet_1_2022-09-24.schdoc
61347
electronic