h4tfetLWhX

PCB desk mat

 
Overview
Copper is laid on both sides of the table mat. There is a small GND via hole on the upper left side of the PCB. If the PCB needs to be punched twice, adding an extra via hole will prevent the order from being detected. The silk screen of the PCB can be modified by yourself.
Uses of PCB table mat:
1. The soldering iron is not afraid of burning the table.
Problems with the current table mat:
1. The edges are not properly processed
. 2. The splicing is not so tight and requires tape on the back.
I will not change this issue for the time being, because it is already sufficient for use. Those with obsessive-compulsive disorder can refer to other table mat designs.
 
BOM download
PCB_PCB_Table Mat_2022-09-24.pdf
PCB_PCB_Table Mat_2022-09-24.json
PCB_Table Mat_2022-09-24.pcbdoc
Gerber_PCB_desk mat_2022-09-24.zip
61338
Make ordinary buttons light up

Introduction: Make ordinary buttons light up
Make ordinary buttons light up with backlight action.
Video address: https://www.bilibili.com/video/BV1wT411V7GV 
makes ordinary buttons light up with backlight action_bilibili_bilibili
buttons, as a basic input device in the microcontroller circuit, we generally only care about Regarding its input function and key circuit structure, few people think of adding a backlight to it.
Keys with backlight are sold on the market. Keys with backlight are common, such as mechanical keyboards. Generally, these have the backlight position reserved in the mechanical structure, but the price is many times that of ordinary buttons. Conventional buttons, which do not have backlight positions, are generally solid, so it is difficult to add a backlight.
This is the backlight I added to the ordinary buttons.
The buttons are ordinary 6*6*7 buttons, and I also added key caps. As for the backlight, it uses 0805 packaged LED, which is mounted on the back of the board. Use a 0603 packaged resistor for current limiting. The resistor value is 470R, which is considered a small resistance value. I usually use a 10K resistance value. The purpose of using a smaller resistor here is to obtain greater LED brightness. After all, the direct part of the LED is blocked by the button and needs to be diffused through the inner layer of the PCB. Because the PCB board is yellow, the color of the LED will be mixed, with some color cast.
As for the actual test results, I am still very satisfied. The circuit diagram is also very simple. Just connect the negative electrode of the LED to the IO port, the positive electrode to the current limiting resistor, and then connect it to VCC. This kind of connection requires additional IO ports to light up the LED. Of course, there is also a new question. Will it affect button detection?
This connection method will not affect the button detection. In fact, the LED and the resistor together form a new "pull-up resistor." When the button is pressed, the LED will light up and does not affect the IO turning to low level.
If you want to press the button once and change the lighting state of the LED, this can also be achieved. What the code below implements is that when the button is pressed once, the backlight goes out, and when pressed again, the backlight turns on. Does not affect key detection.
Can other effects be achieved? You can try this yourself, such as breathing backlight. As long as the key detection code is scanned, it will not affect the key detection.
Now that we have the circuit diagram, how do we draw the PCB?
The packaging of the buttons is conventional, but what about the backlight LED?
The backlight LED uses a reverse-mounted package, which is the package I tested before. Modified using 0805LED package. The important parameters of the package are shown in the figure below.
Both pads are 1*1.4mm, and the slot in the middle is a square with a side length of 1.524mm.
If you draw it according to the above dimensions, it can be drawn. Of course, if you are lazy, you can search in LCEDA and find the device I drew to use. The dotted end of the LED package represents the positive terminal.
Then, after the LED packaging is completed, there will definitely be some problems.
For example, why use 0805 instead of 0603? Isn't the 0603LED smaller? This is also because it is smaller and the holes drilled are not guaranteed, so it is not used. The 1206 package LED is a bit big.
Can LEDs attached to the back be teppanyaki? I haven't tried this, I soldered it with a soldering iron.
After obtaining the back-mounted LED package, we drew the circuit diagram and came to the PCB part.
We see that on the PCB, the yellow color is the exposed pad, and the yellowish gray color is the PCB board. This is the effect of copper-free windows. There are copper windows that are solder pads and will not let light through.
First, to achieve no copper laying in this area, it is necessary to set up a prohibited copper laying area, and then set up a window opening area. The specific operation is as follows:
use the solid fill in the PCB tool, draw a rectangle on the top layer, and then change the rectangle to no fill. You can explore the size of the rectangle yourself.
Then select the rectangle just now, copy it, and select the reference point as the upper left corner of the rectangle. After copying, CTRL+V to the PCB, overlapping with the prohibited copper area, and then click to select. Only one can be selected at a time. We just need to select one. Then on the back side, first change it to full filling, and then change it to top layer solder mask. area.
In order to avoid short circuits, try not to route wires in the window area, and run wires that need to be routed on the back.
Notes:
1. There should be a certain distance between the window opening areas to prevent the backlight from spreading to the surroundings.
2. The actual produced LED holes may be irregular, but after my test, the LED can be plugged in. It is not recommended to change the package size of the back-mounted LED.
3. There is no silk screen in the window area. You can see the actual PCB for this. Therefore, if you want to write the silk screen of the button function, avoid it in the window area. If it appears, it will be cut off by the PCB board manufacturing engineer.
4. In order to avoid being so complicated every time you draw, you can make the keys and backlight into a package and call it directly later.
Conclusion
After adding lights to the buttons, there will be more effects, such as adding backlight to ordinary matrix buttons, and the backlight diffusion effect will be achieved when the button is pressed. For example, the screen prompts, please press the illuminated button, etc. There can be many applications.
 
BOM download
PCB_PCB_Ordinary buttons with backlight_2022-09-24.pdf
PCB_PCB_Ordinary buttons with backlight_2022-09-24.json
PCB_Ordinary buttons with backlight_2022-09-24.pcbdoc
Gerber_PCB_Normal buttons with backlight_2022-09-24.zip
Schematic_Let ordinary buttons light up_2022-09-24.pdf
SCH_Let ordinary buttons light up_2022-09-24.json
Sheet_1_2022-09-24.schdoc
61339
RGB5050 dot matrix-74HC595

Introduction: [Four-layer board] uses 5050 packaged RGB, not WS2812. This is for destocking.
The cover is packaged in 3528
Use 5050 packaged RGB, not WS2812, this is for destocking.
The PCB is a four-layer board, and the second layer is impassable, so the wires are not easy to route. Of course, compared with the 3528 package, it is simpler.
No code is shared yet, just write it yourself.
Let me share my RGB3528 dot matrix video here: RGB 8*8 dot matrix module production sharing_bilibili_bilibili
BOM download
PCB_PCB_RGB5050 dot matrix_2022-09-24.pdf
PCB_PCB_RGB5050 dot matrix_2022-09-24.json
PCB_RGB5050 dot matrix_2022-09-24.pcbdoc
Gerber_PCB_RGB5050 dot matrix.zip
Schematic_RGB5050 dot matrix-74HC595_2022-09-24.pdf
SCH_RGB5050 dot matrix-74HC595_2022-09-24.json
Sheet_1_2022-09-24.schdoc
61340
Horizontal double board connection test

Introduction: This project is a test PCB project file for a horizontal double-board connection unit. The test file is only for further optimization of splicing. Currently, it has a more complete structure.
1. This open source PCB is a test PCB. No proofing is required, just to optimize the structure
. 2. Test result video: PCB splicing test sharing_bilibili_bilibili
3. After the test was successful, I designed a PCB using this structure. The current effect is good: LED light-emitting character board welding tutorial_bilibili_bilibili
 
BOM download
PCB_PCB_1-Double-board connection proofing test_2022-09-24.pdf
PCB_PCB_1-Double-board connection proofing test_2022-09-24.json
PCB_1-Double board connection proofing test_2022-09-24.pcbdoc
Gerber_PCB_1-Double board connection proofing test.zip
PCB_PCB_2-Splicing diagram_2022-09-24.pdf
PCB_PCB_2-Splicing diagram_2022-09-24.json
PCB_2-Splicing diagram_2022-09-24.pcbdoc
Gerber_PCB_2-Splicing diagram_2022-09-24.zip
61341
Three-digit LED digital tube

Introduction: Three-digit LED digital tube module, size 48mm*96mm
It is a three-digit LED digital tube, a single-color LED, and packaged in 0603.
The main control chip is TM3130, a single bus chip, like WS2812. Can control 8*4 dot matrix.
Physical display video: making a large LED digital tube, controlled by an IO port_bilibili_bilibili
 
open source video: Electronic Studio - personal space_bilibili_bilibili
main control chip TM3130 introduction: LED dot matrix driver Introduction to chip TM3130_Bilibili_bilibili
 
component purchase recommendation: [Tencent Document] Electronic Studio Sharing Form https://docs.qq.com/sheet/DYm1tTUFlRWhkQVJt
 
PCB proofing: I printed the board at JP (JP, YYDS , has a high tolerance for puzzles), this board is recognized as a puzzle in JLC, if you play it in JLC, you have to play it twice, and the opportunity of twice a month is used up. Separate the PCB yourself. You only need to change the border layer and it should be fine. It is recommended to make the board black for better effect.
 
Welding: Welding or teppanyaki, pay special attention to the fact that I used a self-made package for the LED. The dot end is the positive electrode, so don’t weld it wrong. If it's wrong, it won't light up. Just use a soldering iron for the chip on the back.
Then there is the issue of pin headers. I used reverse-bent pin headers. After welding is completed, the excess needs to be cut off so that the panel can be close to the LED. But I found it was not very easy to cut.
 
Code: The subsequent sharing of
text content ends and multiple pictures are displayed.
 
 
BOM download
PCB_PCB_Three-digit LED digital tube-proofing_2022-09-24.pdf
PCB_PCB_three-digit LED digital tube-proofing_2022-09-24.json
PCB_three-digit LED digital tube-proofing_2022-09-24.pcbdoc
Gerber_PCB_three-digit LED digital tube-proofing.zip
Schematic_three-digit LED digital tube_2022-09-24.pdf
SCH_three-digit LED digital tube_2022-09-24.json
Sheet_1_2022-09-24.schdoc
61342
STC32G12K128 core board-LQFP64 open source

Introduction: STC32G12K128-LQFP64 core board. Verified
STC32G12K128-LQFP64 core board. Verified.
STC32G12K128 microcontroller is pin compatible with STC8H8K, so this board can also solder STC8H8K.
In addition, I previously shared the STC8H8K-LQFP48 core board I drew, which has the same structure as this board: STC8H8K64U-LQFP48 core board - Lichuang EDA Open Source Hardware Platform (oshwhub.com)
 
2022.6.10 update, change the P30-P33 position The LED current-limiting resistor is modified to 47K, so that there is no need to add a pull-up resistor to P32, and it does not affect the USB download. If you use the serial port download/USB download, you can still see the light flashing.
Two light-emitting diodes affect USB recognition. The reason why the STC microcontroller USB cannot be recognized has been found. - Bilibili (bilibili.com)
This board can be downloaded directly through USB, but my verification failed. The reason has not been found yet (solved); STC microcontroller USB download problem solution_bilibili_bilibili
 
 
 
 
 
 
BOM download
PCB_PCB_STC32G-LQFP64 core board_2022-09-24.pdf
PCB_PCB_STC32G-LQFP64 core board_2022-09-24.json
PCB_STC32G-LQFP64 core board_2022-09-24.pcbdoc
Gerber_PCB_STC32G-LQFP64 core board.zip
Schematic_STC32G12K128 core board-LQFP64 open source_2022-09-24.pdf
SCH_STC32G12K128 core board-LQFP64 open source_2022-09-24.json
STC32G12K128 core board-LQFP64 open source_2022-09-24.zip
61343
STC8H8K64U-LQFP48 core board

Introduction: STC8H8K64U-LQFP48 core board
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.
mSO6DI7EOw1pSt1PsxGImOwur9O9EyoHx8MGNZHO.png
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
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-08-04 23:01:09

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号