I. Welding Process Precautions (
3D Preview).
Below is a welding preview;
the default is 5V welding. If you choose 3.3V, please note the following:
5V: Cut RN5 in the middle and weld U6.
The U8 position is convenient for inserting and removing sensor experiments. The DS18B20/infrared/DHT11 module has been changed to a round hole socket.
3.3V: If you always use 3.3V, you can omit U6 and RN5 does not need to be cut in the middle (it is already shorted by wiring).
An FPC LCD display socket is provided; selective welding (bottom layer) is possible if needed.
The power supply interface also provides a TYPE-C interface; if your soldering skills are not solid, you can choose to weld a USB-A, or both can coexist.
Serial ports P30 and P31 are also brought out separately for convenient serial port experiments and for downloading programs to the microcontroller using your own serial port module.
The LCD screen uses a 22P standard interface. As shown in the diagram below

, the second step is to download the program
using the latest STC-ISP software from the official STC company. The default settings are as follows

: select 35MHz for the crystal oscillator. Then confirm the jumper caps are correct as shown in the diagram below.
Download directly using the STC serial port chip.
If using HID download, disconnect the shorting cap on the right side of H6, and move all H7 to the USB end.
First, press and hold SW5 (P32), then press the reset button and power on again. The following image will appear:

Scan the serial port; if "HID" appears, release SW5, open the file, and download.
The third step is program testing
. After soldering, you can download the OLED test program I provided. The source code is not provided here; it's the same as the previous version. Please go to: https://oshwhub.com/loveliang/stc8h8k64u-minimum-system to download
the OLED: 0.96-inch, SPI 7-pin, SSD1306 control chip.
The fourth step involves some I/O ports being combined for easier use of hardware I2C and SPI, requiring both software and hardware driver options. Explore
the already lit 480*320 TFT display screen; for the effect, please visit the STC forum: https://www.stcaimcu.com/forum.php?mod=viewthread&tid=9310
V. STC Serial Port Chip:
The ISP software can create serial port chips;
if you don't want to use a serial port, it can be used as a microcontroller to achieve communication between two microcontrollers, or to power an OLED (with an IIC interface H12 already installed).