The USB docking station designed this time has two interfaces, Type-C and Mirco-USB, making it easy to use unused data cables to realize USB expansion functions.
In addition to the USB one-to-four function, the MA8601 chip also displays whether the USB device is recognized and uses LEDs to display it. The 4 interfaces correspond to 4 LEDs. In the picture above, the purple LED is the power indicator light.
In the picture above, the four on the right have USB functions, and the two on the left only have charging functions. Because there are many USB ports in daily use, two more charging ports are added. If they are not needed, they can be deleted directly.
The 4 LEDs in the upper right corner show the number of USB plugged in. 4 LEDs of different colors are used to increase the aesthetics of the docking station.
The attachments include the schematic diagram, PCB diagram of this project, and the decorative PCB board above. The silk screen in the attachment has not been deleted. Just delete it on the silk screen layer when using it.
The schematic diagram cannot be loaded for some reason, so I put a picture.
USB2.0.zip
BOM download
PCB_MA8601_PCB_2022-09-24.pdf
PCB_MA8601_PCB_2022-09-24.json
MA8601_PCB_2022-09-24.pcbdoc
Gerber_MA8601_PCB.zip
Schematic_USB docking station based on MA8601_2022-09-24.pdf
SCH_USB docking station based on MA8601_2022-09-24.json
MA8601_sheet_2022-09-24.schdoc
61525
PCB picture text
Introduction: Use PCB pictures to decorate PCB boards.
The PCB picture picture this time is used to decorate the USB docking station. The picture below is the finished product.
The picture below is a 3D preview of the PCB:
The actual picture is as follows (the proof is white):
Principle: Copper is applied to both the front and back sides (without copper, the desired effect will not be achieved), and the picture is placed on the Top Solider and Bottom Solider layers , you can realize the display of pictures (text).
Required software: AD (version 2020), PS
Part One: Image Processing
(1) Open the image with PS
(2) Click Image->Mode->Grayscale, then click OK
(3) Click Image->Mode- >Bitmap, then click OK
(4) Save the image as a file in BMP format
Part 2: Use of AD script
(1) Download the PCB-Logo-Creator script (already uploaded in the attachment), and unzip it
(2) Click on the file ->Run the script

(3) Click on the lower left corner to browse ->From file

(4) Select the decompressed script and click to open
(5) Double-click the script to run

Part 3: Use the script to convert the image to PCB
(1) After opening the script The interface is as follows:

① Select the layer to be placed ② Mirror the X axis ③ Mirror the Y axis
(2) Click Load and select the picture to be placed on the PCB

(3) Click Convert to start converting the picture and wait for the conversion to complete

(4) Close window, copy all the lines to your PCB board, and you're done!
Note: If you want to place the picture on the Bottom Solider layer, you need to use PS to mirror the picture left and right.
PCB-Logo-Creator.rar
BOM download
PCB_PCB text_2022-09-24.pdf
PCB_PCB text_2022-09-24.json
PCB text_2022-09-24.pcbdoc
Gerber_PCB text_2022-09-24.zip
61526
STM32G070CBT6 minimum system core board
Introduction: This project is the STM32G030CBT6 minimum system.
The STM32G070CBT6 minimum system includes download circuit, Mirco USB power supply, power indicator light, reset button, and all IO ports have been led out.
The download method is ST-Link, including 4 pins, VCC (3.3V), GND, SWDIO, SWCLK.
This minimum system has been verified and can download programs normally.
The PCB uses a two-layer board, and the wiring is a bit messy. You can choose a 4-layer board for wiring.
Below are the actual pictures and PCB blank board.
Front:

Back:

Empty board Front:

Empty board Back:

PCB:

BOM:

Engineering attachments include BOM, schematic and PCB.
STM32G030CBT6 project.zip
BOM.xlsx
BOM download
61527
STM32G070RBT6 core board
Introduction: STM32G070RBT6 minimum system.
Core board picture:
This project is the STM32G070RBT6 core board, which can be used for solution verification, etc. The chip uses the STM32G0 series, which is really cheap (compared to the STM32F series)!
This core board includes external high-speed crystal oscillator (8MHz) and low-speed crystal oscillator (32.762kHz), power conversion circuit, power indicator light, Type-C interface (using CH340C chip), reset button, two ordinary buttons and two LEDs, download and use ST-Link (interface and lead-out) and all IO ports have basically been lead out (except serial port 1, two buttons and LED IO ports).
STM32G0 series chips can be configured directly with STM32CuBeMX and directly generate Keil files, which is very convenient.
Core board verification:
This verification is developed using rt-thread Studio software. The CH2 channel of TIM15 is used to control LED1 (breathing light). I2C communication is used to read the temperature and humidity information of SHT3X. I2C communication controls OLED. The core board verification demonstration video is as follows:
fd48094ae3158cc2735aabe9dd9fd689.mp4
e017c90356d126117f1124ce419c2147.mp4
BOM download
PCB_PCB_STM32G070RBT6 core board_2_2022-09-24.pdf
PCB_PCB_STM32G070RBT6 core board_2_2022-09-24.json
Schematic_STM32G070RBT6 core board_2022-09-24.pdf
SCH_STM32G070RBT6 core board_2022-09-24.json
STM32G70RBT6_2022-09-24.schdoc
PCB_STM32G070RBT6 core board_2_2022-09-24.pcbdoc
Gerber_PCB_STM32G070RBT6 core board_2.zip
61528
#十大电竞#USB galvanometer
Introduction: USB ammeter, theoretical maximum input voltage 30V, maximum input current 16A. It has been verified that the input voltage is 10V, the input current is 3A, and the input power is 30W.
1. Project function introduction
USB ammeter can display the electricity, voltage, and power of the USB output in real time. The minimum voltage displays 1mV, the minimum current displays 1mA, and the minimum power consumption displays 1mW. The theoretical maximum input voltage is 30V, and the maximum input current is 16A. When the current is 0, it enters sleep mode after 15 seconds. When the current is not 0, it exits sleep mode immediately.
2. Project attributes:
This project is an open source project of Lichuang Electronic Design Competition.
3. Open source protocol
GPL 3.0
4. Design principle
(1) The reset button
SW1 is a button, R1 is a pull-up resistor, and C1 is a filter capacitor. The reset button is almost never used in practice. You can choose to delete it. When downloading the program, you can directly check the reset option in keil.

(2) BOOT
reserves the BOOT interface. During normal use, the pin header does not need to be soldered.

(3) The 3.3V
power supply solution uses an LDO chip. The LDO in the schematic diagram is AMS117-3.3. The maximum input voltage is 30V. In the first version, the Vin and Vout pins are reversed, so the actual one is AMS117-3.3. , the maximum input voltage is only 18V.
The schematic diagram has been updated to UMW (UMW Semiconductor) chip. If you use AMS117-3.3, the schematic diagram and PCB need to be changed.

(3) Burning interface
N32G430 chip can be burned using ST-Link. The official burning interface has a serial port, which is not added here.

(4) Current measurement
The chip used for current measurement is INA199A3, which collects the voltage drop across the 1mΩ resistor. The voltage amplification factor is 200, and the theoretical maximum measurement current is 16A.
In the PCB, the VCC line and GND line should be thickened to 50mil.

(5) Voltage measurement
Voltage measurement uses a 100K resistor and a 10K voltage to divide the voltage.

(6) 0.96' TFTLCD color screen
TFTLCD color screen adopts SPI communication method and software SPI communication method (hardware SPI communication transplantation fails). The backlight pin is connected to the PWM output pin of the microcontroller. The LCD can be adjusted by changing the pulse width of PWM. Brightness (the software does not write this part).
TFTLCD only costs 6RMB on a certain store, which is still very cost-effective.

(7) The RGB
schematic diagram is designed with three-color RGB lights. Since the device package of the RGB light was not purchased correctly, two LEDs were used instead of RGB in the actual product.

(8) The MCU
voltage and current measurement pins must be connected to the IO port with ADC function.
5.
See the attachment for software design!
6. Physical display
(1) Front photo
(2) Back photo
(3) Startup photo
(4) Running photo
(5) Sleep photo
(6) Demonstration video
normal.mp4
hibernate.mp4
Fast charge.mp4
N32G430_USBMeter.zip
61529
electronic