2VAaPviPf3

Quansheng UV-K5/K6 modified dual-antenna Si4732 full-band radio with amplifier

 
Overview
 
 
video_20240725_150826.mp4
PDF_Quansheng UV-K5-K6 Modified Dual Antenna Si4732 Full-Band Radio with Amplification.zip
Altium_泉盛UV-K5_K6 Modified Dual Antenna Si4732 Full-Band Radio with Amplification.zip
PADS_Quansheng UV-K5_K6 Modified Dual Antenna Si4732 Full-Band Radio with Amplification.zip
BOM_Quansheng UV-K5_K6 Modified Dual Antenna Si4732 Full-Band Radio with Amplifier.xlsx
93466
Arknights Battle Pass 4-card Open Source Version 2.3μH
The Arknights Battle Pass skin features a 4-slot NFC card.
This customizable NFC card
is inspired by the Arknights Rheinmetall-themed NFC card/meal card. Built on the JLCPCB EDA open-source hardware platform (oshwhub.com)
, it replicates the Arknights pass specifications, is 1.6mm thick
, and features four card slots accessible via a four-position toggle switch. The chip pads are 1.8×5, supporting most COB packaged chips on the market, including the Transit Union card chip.
The coil inductance is 2.3μH, so it works with regular cards and Transit Union cards
. It also includes an LED that illuminates when the card is swiped.
598b5d9dfb3ac70952c0ff6ca73b67d6.mp4
PDF_Arknights Pass 4-card Open Source Version 2.3μH.zip
Altium_Arknights Pass 4-card Open Source Version 2.3μH.zip
PADS_Arknights Pass 4-card Open Source Version 2.3μH.zip
BOM_Arknights Pass 4-card Open Source Version 2.3μH.xlsx
93467
LCSC ESP32S3 Function Expansion Base Plate
LCSC ESP32-S3-R8N8 Development Board Function Expansion Board
I. Project Background
LCSC's development board department recently released the ESP32-S3-R8N8 series development boards, boasting powerful performance and exquisite craftsmanship. However, there hasn't been a dedicated expansion board for beginners and learners.
Faced with this situation, as a seasoned ESP32 developer, I felt compelled to step in and alleviate this awkward predicament.
II. Proposed
Design A functional expansion board should be designed to allow for learning ESP32 in a manner similar to learning a 51 microcontroller. This requires several essential modules found on 51 microcontroller development boards:
1. Independent buttons
2. LEDs
3. Digital tube
displays 4. Potentiometer acquisition
5. Servo drive
6. Temperature and humidity acquisition
7. OLED screen display
8. Light intensity acquisition
9. Ultrasonic radar ranging
10. 433.92MHz RF communication (advanced)
Of course, the most representative function of ESP32 is also indispensable: WiFi and Bluetooth communication.
By learning these ten+ modules, you can learn the following:
GPIO input (independent buttons)
GPIO output (LEDs)
Static display and dynamic scanning of digital tubes, analog-to-digital
conversion, timer
output, PWM
via OLED The screen driver and temperature/humidity data acquisition can learn the communication mechanisms of single-bus and dual-bus.
Ultrasonic waves can learn the output of timer PWM and pulse capture.
Serial port data transmission and reception can be learned through log printing .
The EEPROM data storage
file system can be established.
The use of ordinary Bluetooth and Bluetooth Low Energy, the establishment of Webserver intranet services, and the use of WiFi STA-AP mode can be learned.
You can directly click to enter the LCSC Mall to purchase the development board. Click here to go to the LCSC Mall.
III. Firmware Flashing and Log Debugging.
Click to jump to the online firmware flashing tool.
To greatly reduce the entry barrier for everyone, I have eliminated the flashing tool, achieving a completely browser-based online firmware flashing tool that is "no download or installation required and supports cross-systems."
Click to jump to the online serial port debugging tool
. Online firmware flashing is essential, so I have also created a completely browser-based online serial port debugging tool that is "no download or installation required and supports cross-systems."
TIPS: To switch from KEY4 to other functions, press and hold the corresponding button for 5 seconds.
IV. Physical Display (The color silkscreen printing is really beautiful).
Real shot image:
front. Simulation diagram
(back side)
Fifth, Bluetooth communication via mobile APP.
The Diandeng Technology APP can be downloaded from the Diandeng Technology official website.
Click to jump to the Diandeng Technology (Chengdu) Co., Ltd. official website data download page.
Before operation, copy this configuration file completely to your phone's clipboard:
{¨version¨¨2.0.0¨¨config¨{¨headerColor¨¨transparent¨¨headerStyle¨¨dark¨¨background¨{¨img¨¨assets/img/bg/4.jpg¨}}¨dashboard¨|{¨type¨¨num¨¨t0¨¨humidity¨¨ico¨¨fad fa-humidity¨¨clr¨¨#076EEF¨¨min¨É¨max¨¢1Ie¨uni¨´℃´¨bg¨É¨cols¨Í¨rows¨Ë¨key¨¨HUMI_Data¨´x´Í´y´Î¨lstyle¨Ê}{ßBßCßD¨temperature¨ßF¨fad fa-sun¨ßH¨#00A90C¨ßJÉßK¢1cßL´℃´ßMÉßNÍßOËßP¨TEMP_Data¨´x´É´y´ÎßRÊ}{ßBßCßD¨ultrasonic ranging¨ßF¨fad fa-cctv¨ßH¨#FBA613¨ßJÉßKº1ßL¨cm¨ßMÉßNÍßOËßP¨CSB_Data1¨´x´É´y´ÑßRÊ}{ßBßCßDßWßFßXßH¨#6010E4¨ßJÉßKº1ßL¨ft¨ßMÉßNÍßOËßP¨CSB_Data2¨´x´Í´y´ÑßRÊ}{ßBßCßD¨light intensity¨ßF¨fad fa-lightbulb-on¨ßH¨#EA0909¨ßJÉßKº1ßL´%´ßMÉßNÍßOËßP¨Light_Data¨´x´Ë´y´ËßRÊ}{ßB¨deb¨¨mode¨ÉßMÉßNÑßOÌßP¨debug¨´x´É´y´¤B}÷¨actions¨|÷¨triggers¨|÷¨rt¨|÷}
After copying, start the following operations:
Step 1: Add Bluetooth device;
Step 2: Bind development board
; Step 3: Update interface configuration
. Done!
The mobile APP updates the corresponding data in the corresponding mode, not all in real time.
VI. User Service Agreement
Function Category Description:
The main function of this project is to make it more convenient for users to learn and use the LCSC ESP32-S3-R8N8 development board.
Please read this agreement carefully before replicating this project:
By downloading or replicating the "LCSC ESP32S3 Functional Expansion Baseboard" (hereinafter referred to as "this project"), you represent that you have carefully read and fully agree to this agreement. Any use of this project in any form (direct or indirect) is deemed as voluntarily and fully accepting the relevant statements and user service agreement.
Unless the author of this project and the parties involved agree otherwise in writing, and to the maximum extent permitted by applicable law, the author provides this work "as is" without any express or implied warranties, including but not limited to any warranties regarding commercial applicability, suitability for a particular purpose, absence of potential or other defects, accuracy, or absence of errors, whether or not they can be discovered. Some jurisdictions do not allow the exclusion of the foregoing implied warranties, therefore these exclusions may not necessarily apply to you.
The user expressly agrees that they will bear all risks and legal risks associated with their use of this project; they will also bear all consequences arising from their use of this project, and the author of this project and LCSC Open Source Hardware Platform shall not be liable for any such consequences.
Unless otherwise agreed in writing, the author and LCSC Open Source Hardware Platform shall not be liable to you for any damages, including but not limited to general or special damages, under any circumstances.
When distributing, using, and modifying this work, you shall ensure that all your actions and all functions of this work comply with all laws and regulations governing you. You shall bear all legal risks and consequences arising from your distribution and use of this work, and the project author and LCSC Open Source Hardware Platform shall not be liable for any such risks.
Unauthorized use of this project, directly or indirectly, for commercial purposes is prohibited.
The final interpretation and intellectual property rights of this project belong to Nanjing Qingning Cloud Control Technology Co., Ltd.
VII. Summary
This project has been underway for over a month, mainly due to being too busy and only being able to squeeze in fragmented time for development and debugging.
However, I believe the overall result is quite good and worth the month's effort.
My PCB design is rather amateurish, so please be gentle with your criticism.
VIII. Acknowledgements to
Strategic Partners: Nanjing Qingning Cloud Control Technology Co., Ltd.
I. Thanks to JLCPCB EDA Professional Edition for providing PCB design support.
II. Thanks to Lingchengxin Electronics (Hummingbird Wireless) for providing RF module consumables support.
III. Thanks to Diandeng Technology (Chengdu) Co., Ltd. for providing mobile APP support.
Thank you for watching! If you like this project, quickly get started with JLCPCB's free prototyping!
I'm Xiaohan, welcome to comment and share! If you like my channel, please follow me! See you in the next project!
Click here to join the QQ group for discussion.
Group number: 873075959.
For reprint permission, please contact the author. No unreasonable requests will be accepted. Please indicate the source and include the project link after reprinting:
https://oshwhub.com/xiaohanxdzdy/li-chuang-development-board-esp32s3-r8n8-function-expansion-backplane
Firmware Version Update Log (Under continuous development)
Latest Version: G1.24.01
Version Number: G1.24.01
Release Date: May 20, 2024
Update Content:
Project officially open source
. Currently supports: LED display, button detection, temperature and humidity acquisition, light acquisition, digital tube display, OLED screen display, potentiometer acquisition, servo drive, serial port data transmission and reception.
Currently does not support: WiFi, Bluetooth, RF communication.
PDF_LCSC ESP32S3 Function Expansion Baseplate.zip
Altium_LCSC ESP32S3 Function Expansion Baseplate.zip
PADS_LCSC ESP32S3 Function Expansion Baseboard.zip
BOM_LCSC ESP32S3 Function Expansion Baseplate.xlsx
93469
120W Xiaomi proprietary GaN charger
This 120W GaN charger, based on the DK075GCD+DK100R05VM+WT6633P, supports Xiaomi's proprietary 120W protocol and can output 100W power for extended periods under the PD3.0 protocol, offering superior output performance compared to Xiaomi's original 120W charger.
I. Why Design This Charger:
      Six months ago, I purchased a knock-off Xiaomi 120W charger from a seafood market. It could activate the Xiaomi 120W gold standard, but in actual testing, the maximum output power was only 20W, which was extremely poor. Upon disassembly, the internal components were extremely rudimentary, even including a large iron counterweight.
      At the time, I was studying flyback power supply design and wondered if I could use the knock-off charger's casing to design my own circuit board to replicate the Xiaomi 120W charger, while also supporting continuous PD output of 100W. This led to this project.
II. Charger Architecture
   : This design uses a QR quasi-resonant flyback + synchronous rectification architecture. The maximum output is designed to be 20V/6A, with a maximum conversion efficiency of 94.2% and a maximum switching frequency of 130kHz. In terms of charging protocols, it supports PD3.0, Xiaomi 120W proprietary protocol, QC3.0, etc. III. Components
      The AC/CDC chip uses Dongke Semiconductor's DK075GCD. The DK075GCD is a quasi-resonant flyback GaN chip with integrated 160mΩ on-resistance and 700V GaN switching transistor.
      The synchronous rectification uses Dongke Semiconductor's DK100R05VT, which integrates a 5mΩ on-resistance and 100V NMOS switching transistor.
      The protocol chip is a Weltrend WT6633P salvaged from a Xiaomi 120W charger, supporting Xiaomi's 120W proprietary protocol. (Note: The reference WT6633P does not have the program for burning the Xiaomi 120W proprietary protocol, so it does not support the Xiaomi 120W protocol.)
     It has four 33uF/400V electrolytic capacitors at the input and two 1000uF/25V solid-state capacitors at the output. Ripple hasn't been measured yet, but this capacitor configuration is quite luxurious, so the output voltage ripple should be very low.
IV. Test Report:
      Due to laziness, the board I designed at the beginning of the year has only recently started debugging. The power section has just been debugged, and I've only roughly looked at the specific performance parameters. To be honest, it's pretty good, better than expected, but I haven't recorded the data. Detailed efficiency, temperature rise, ripple, protocol, and other test data, as well as the BOM, will be uploaded after the testing is completed. Here are some pictures of the actual board (it's a bit dirty because it wasn't cleaned properly QvQ).
PCB1.PcbDoc
PCB2.PcbDoc
ATQ2714-120W V2.doc
PDF_120W Xiaomi Proprietary Protocol GaN Charger.zip
Altium_120W Xiaomi proprietary protocol GaN charger.zip
PADS_120W Xiaomi proprietary protocol GaN charger.zip
BOM_120W Xiaomi proprietary protocol GaN charger.xlsx
93470
STC-based fill light
I've always wanted to make a lamp, and since there was a promotion, I started making one.
1. Project Function Introduction
: The function is very simple; it's just a dual-color temperature fill light. Due to time constraints, the color temperature adjustment function hasn't been implemented yet; currently, only brightness adjustment is possible.
2. Project Attributes:
This is the second time participating in LCSC's event, this time in collaboration with STC.
3. Open Source Parts
: The hardware is open source.
4. Hardware Introduction:
The main controller uses the STC8H8K64U microcontroller, as required by LCSC's official specifications. This microcontroller requires very little external circuitry to function properly; it doesn't even need a crystal oscillator, only the internal clock source of the MCU. The light driver uses the domestic LGS63032 driver; you can apply for a sample from their website. This chip supports a maximum power input of 60V and a minimum of 3V, and it's an automatic boost converter, which works very well. Originally, there was also a battery management chip, but I don't know if it's a design flaw or a problem with my soldering (it seems the bottom EP grounding pad wasn't properly grounded, resulting in an output voltage of only 2.3V; after DC-DC step-down, the voltage is even less than 1V). I had no choice but to remove the chip.
I won't go into detail about the LED board; it's a very simple wiring system. It consists of 10 LEDs strung together as one LED group. There are two such groups, one for cool color temperature and one for warm color temperature. The
interaction is simple, with three buttons: power on/off, increase brightness, and decrease brightness. Color temperature adjustment functionality might be added later, or it might not. Also, I have to say, STC's library functions are rather rudimentary, which significantly increases the development difficulty.
PDF_STC-based fill light.zip
Altium_STC-based fill light.zip
PADS_STC-based fill light.zip
BOM_STC-based fill light.xlsx
93471
Smart car
Based on the Liangshan School's four-wheeled vehicles, the vehicles can be controlled via Bluetooth, including tracking and obstacle avoidance.
I. Project Name:
- Smart Car Design Based on LCSC Liangshan School
- Hardware design is described below, and software design code has been uploaded to Attachment

II. Objectives:
- Design a Bluetooth-controlled car with line-following and obstacle avoidance functions, and to give the car expressions and status displays.
- Originally, I also wanted to use a radar monitoring sensor to track human movement, but due to module limitations, I was unable to use it.

III. Function Introduction:
- This project uses Bluetooth remote control to move the car in direction. It can also switch to line-following mode, obstacle avoidance mode, etc. via Bluetooth.


IV. Project Description
Hardware used in the project:
- LCSC Liangshanpai
- Mainboard of the car (integrating voltage regulator module and TB6612 motor driver)
- Bluetooth module
- Ultrasonic module
- Ganwei eight-channel grayscale sensor module
- Buzzer
- LEDs (SMD + DIP)
- Four DC geared motors (Lunqu Technology MG513 DC geared motor with Hall sensor)
- Two 240*280 TFT LCD screens



V. Hardware Design
1. LED lights

![image.png]
2. Buttons

![image.png]
3. Buzzer

![image.png]
4. Line-following module interface

![image.png] Here XJ is 5V. The button design is based on the design requirements given by Ganwei Technology.

5.
DC-DC 5V Step-Down Circuit Both circuits use 5V step -down technology

. A single 5V circuit powers the eight grayscale sensors. Ensure the 5V power supply to the sensors is stable. Do not share a 5V power supply with inductive loads such as servos, motors, or horns. Inductive loads generate very high voltages when current changes abruptly, which can easily burn out the sensors. The voltage divider resistors in the circuit need to be adjusted according to the actual situation. 6. DC-DC 12V Boost Circuit This circuit uses the SX1308 boost chip. The voltage divider resistors in the circuit need to be adjusted according to the actual situation. 7. LDO 3V3 voltage regulator circuit ![image.png] 8. TB6612 driver circuit ![image.png] 9. Motor interface circuit ![image.png] ![IMG20240720155028.jpg] ![IMG20240720155036.jpg] ![WeChat image_20240721085657(1).jpg] VI. Skills Mastery: - Through this project, I learned some code logic control. - I learned how to display desired information on an LCD. - I learned and mastered DC-DC buck-boost circuits. - Shortcomings - I could not use the SDIO on the Liangshanpai platform to read data and then display the data information in the SD card on the LCD. Finally, I got stuck on reading the information from the SD card, and the read data was displayed as a garbled screen on the LCD. VII. Problems Encountered and Solutions - For PWM Output: - Testing revealed that only port A could output a PWM signal to drive the motor; other pins could not. The reason for this was unknown. The hardware pins were then modified, and all were changed to port A. - For Bluetooth Control of the Car's Movement: - In the initial design phase, Bluetooth data transmission caused the car to enter line-following mode. Two situations occurred: first, the car only executed one line-following function; second, it could not exit line-following mode. Through web searches and AI queries, combined with the provided code, the logic was modified, and the desired result was achieved. - For Initialization of the Two LCDs: - Modifying the macro definitions failed to achieve the desired functionality and resulted in errors. The macro definitions had to be discarded, and modifications were made directly to the .c file.



































Bluetooth remote control zzxc.zip
July 21(2)(4).mp4
PDF_Smart Car.zip
Altium_SmartCar.zip
PADS_Smart Car.zip
BOM_Smart Car.xlsx
93473
Six-axis robotic arm
My self-designed six-axis robotic arm controller and 3D model
The main chip uses the STC8G2K64S4, which can control 5 five-wire four-phase stepper motors and 1 servo motor
. It features an onboard ESP8266-01 interface for network control.
It also has 4 onboard digital input interfaces driven by ULN2803,
supporting one PPM signal and 12 digital inputs.
An onboard ADC input is also included. The 3D model source files and related code are open-sourced on Gitee: my_robot-I: Homemade Robotic Arm Related Materials (gitee.com) 
 
VID_20240728_144812.mp4
PDF_Six-Axis Robotic Arm.zip
Altium 6-axis robotic arm.zip
PADS_Six-Axis Robotic Arm.zip
BOM_Six-Axis Robotic Arm.xlsx
93474
STC32G12K128 Minimum Core Board + Expansion Board
This project produced an STC32G12K128 minimum core board. The onboard CH340N can be used to download code via serial port, and the onboard M24C02 is used to store the microcontroller's data. An expansion baseboard was also made for verification. The minimum core board circuit has been verified and can be used normally.
The STC32G12K128 core board and expansion board : Compared to the earlier STC89C51/90C51 series learning boards, the STC32G12K128
core
board boasts significantly more powerful main control chips. For example, performance optimizations and the inclusion of STC32 series chips result in higher performance, making it suitable for handling complex application requirements. Rich peripheral interfaces: The core board typically provides a rich set of peripheral interfaces, such as GPIO (General Purpose Input/Output), UART (Serial Communication Interface), SPI (Serial Peripheral Interface), and I2C (Serial Bus Interface), facilitating connections to various sensors, displays, and other external devices. Low power consumption design: The STC32 series chips are known for their low power consumption, making them suitable for applications with strict power requirements, such as battery-powered devices or devices requiring long-term operation. Extensive development support: The STC series chips have a complete development toolchain and community support, allowing developers to quickly get started and obtain technical support and solutions. Cost-effectiveness: The STC32G12K128 core board typically offers high cost-effectiveness, making it suitable for cost-sensitive projects and applications. These advantages make the STC32G12K128 core board competitive in embedded system development, especially in scenarios requiring high performance, low power consumption, and cost-effectiveness.
The hardware circuit schematic design utilizes
the STC32G12K128 microcontroller
, a high-performance, low-cost 32-bit microcontroller from STC Microelectronics. It boasts powerful performance, featuring a 32-bit ARM Cortex-M3 core with a clock speed of up to 72MHz, providing strong processing and computing capabilities suitable for handling complex algorithms and tasks. It offers rich peripheral interfaces, supporting multiple general-purpose timers, multi-channel ADCs and DACs, and abundant communication interfaces such as UART, SPI, and I2C, meeting the needs of various applications. Its low-power design employs advanced low-power design and technology, demonstrating excellent energy efficiency, making it ideal for applications requiring long-term operation or battery power. The device boasts ample storage space, featuring large-capacity Flash memory and SRAM, facilitating the storage of substantial amounts of program code and data. The
power-off reset circuit
utilizes a unique button. Observing the schematic reveals that when the button is pressed, VCC and +5V are disconnected, powering down the microcontroller. When the button is not pressed, VCC and +5V are connected. This button operates on reverse logic; when the POW button is pressed, the MCU's power supply network VCC rapidly loses power, allowing for efficient USB-HID communication and code downloading.
This method is also known as cold start mode. During a cold start, the internal components of the device operate at a lower temperature than during normal operation. High temperatures accelerate component aging and damage; therefore, cold starts help extend the lifespan of electronic components. Furthermore, cold starts reduce electromagnetic interference. The circuit exhibits higher stability during cold starts, with smoother current and voltage changes, which helps reduce electromagnetic interference generated during startup and improves the device's anti-interference capabilities. To improve system reliability, cold starts allow for more precise current and voltage control of devices during the initial operation phase, reducing the risk of damage caused by voltage transients and current surges during startup, thereby improving the overall system reliability and stability. Therefore, circuit cold starts offer significant advantages in energy efficiency, component lifespan, electromagnetic compatibility, and system reliability, making them a commonly used startup method in many electronic devices and system designs.
The Type-C interface circuit
uses a 16-pin TYPE-C port, supporting the USB 3.0 protocol for easy data transfer and download. The USB-to-
TTL
circuit typically converts the USB interface voltage (usually 5V) to the TTL level (usually 3.3V or 5V) used for serial communication, enabling communication with microcontrollers, single-chip microcomputers, or other electronic devices.
Considering the small size of this core board, the CH340N is used as the USB-to-serial chip in this circuit. The IN5819WS chip in the circuit primarily protects the computer hardware, preventing backflow and damage when the USB is plugged into the computer.
Here are some key features of a USB-to-TTL circuit: Voltage Conversion: Converts the USB 5V voltage to a voltage suitable for TTL logic levels, typically 3.3V or 5V. This conversion is necessary because many microcontrollers and microcontrollers use lower operating voltages (such as 3.3V), while USB usually provides 5V. USB Interface: Typically has a USB Type-A connector for direct insertion into the port of a computer or USB-powered device. TTL Interface: Typically has a pin header connector with pin markings for connecting to the serial communication pins (such as TX, RX, and ground) of the target device (such as a microcontroller). Chip Integration: Typically uses a USB-to-serial (UART) chip, such as CH340 or CP2102, which can handle protocol conversion between USB and serial communication and support virtual COM port drivers. Driver Support: Most USB-to-TTL modules require a specific driver to be installed on the computer so that the operating system recognizes it as a virtual serial port (COM port), allowing communication with the target device via serial communication software. Speed ​​and Stability: USB-to-TTL circuits typically support common serial communication rates, such as 9600 and 115200 baud rates, and offer good stability and reliability, making them suitable for various embedded system development and debugging tasks. They usually draw power from the USB bus, eliminating the need for an external power adapter, which makes them convenient to use and reduces additional power management requirements. Overall, USB-to-TTL circuits are commonly used tools in embedded development, facilitating communication and debugging with a computer and serving as a bridge between a USB host and TTL logic level devices. The M24C02
storage circuit
is a serial I2C bus interface electronic memory chip, typically used as an EEPROM (Electrically Erasable Programmable Read-Only Memory) to store data. Here is a basic introduction to the M24C02: Capacity and Organization: The M24C02 has a 2K-bit (256-byte) storage capacity. The memory is organized into 32 pages, with 8 bytes per page. This organization allows for page-by-page writing, improving write efficiency. Interface: The M24C02 communicates via the I2C bus, a two-wire serial communication protocol including a data line (SDA) and a clock line (SCL).
Features: Electrically Erasable and Programmable: EEPROM allows stored data to be erased and programmed electronically without removing the chip or using ultraviolet light. Low Power Consumption: The M24C02 features low power consumption, effectively reducing power consumption in standby mode. Write Protection: Supports hardware write protection, allowing the memory to be protected from accidental writes by setting specific bits. Lifespan: Offers a high number of erase/write cycles, typically exceeding 10,000 cycles; the actual lifespan depends on usage and conditions. Applications: The M24C02 is commonly used to store infrequently changing data such as device configuration information, system settings, and calibration data. Due to its small capacity, it is suitable for small embedded systems or sensor nodes. Operating Conditions: The M24C02 operates from 1.8V to 5.5V, suitable for the voltage requirements of various electronic devices. In summary, the M24C02 is a common small-capacity EEPROM chip suitable for applications requiring stable and reliable storage. It communicates with the main controller via a simple I2C interface, providing a convenient data storage solution. Regarding
the interactive button circuit
, since serial port code download is used, the STC USB-HID communication protocol is not used. Therefore, the interrupt button on the P32 microcontroller in this computer design functions as a regular button; when the P32 detects a falling edge, it triggers an interrupt and executes the interrupt instruction.
Reference voltage source circuit.
The TL431 is a three-terminal adjustable voltage source that controls its output voltage by adjusting the voltage between its control terminal (Cathode) and anode. It internally contains a comparator and a switch, which together provide a stable reference voltage output.
The key operating principle of the TL431 is as follows:
Comparator: The comparator inside the TL431 compares the voltage between its control terminal (Cathode) and anode (Anode) with an internal reference voltage (typically 2.495V). Feedback Mechanism: When the control terminal voltage is higher than 2.495V, the comparator turns on, lowering the output resistance of the TL431 and thus providing a larger current output. When the control terminal voltage is lower than 2.495V, the comparator turns off, increasing the output resistance and limiting the output current. Stabilized Output: By connecting the control terminal of the TL431 to its output terminal with an external resistor, the voltage at the control terminal can be adjusted, thereby adjusting the output voltage. The TL431 achieves a stable output voltage by adjusting its output current to maintain the control voltage at approximately 2.495V.
(PCB image
, 3D image,
physical sample shown ) I also built an STC32G12K128 expansion board to verify if the core board's functions were implemented.
( Hardware circuit schematic design) The AMS117 LDO step-down circuit is a low-dropout linear regulator (LDO) with a fixed output voltage, providing a high-precision, stable output voltage. The AMS117 is based on a feedback regulation circuit using a reference voltage source and an error amplifier. It uses a differential amplifier to compare the output voltage with the reference voltage, adjusting the output voltage to maintain stability. An LDO typically consists of four main components: a voltage divider sampling circuit, a reference voltage, an error amplifier circuit, and a transistor adjustment circuit. Voltage divider sampling circuit: The output voltage is acquired through resistors R1 and R2; Reference voltage: Generated by a bandgap voltage reference to minimize the impact of temperature changes on the reference; Error amplifier circuit: The acquired voltage is input to the inverting input of the comparator and compared with the reference voltage (the desired output voltage) at the non-inverting input, and the comparison result is amplified; Transistor adjustment circuit: The amplified signal is output to the control electrode of the transistor (the gate of a PMOS transistor or the base of a PNP transistor), so that the amplified signal (current) can control the transistor's on-state voltage, which is a negative feedback adjustment loop. Power switch circuit: When the 2PIN-Type-C is plugged in, the switch is turned on, VBUS and +5V are conducted, and LED7 lights up for indication; when the switch is turned off, LED7 turns off. Buzzer circuit: 8-pin digital tube circuit PCB diagram, 3D diagram, physical diagram, software code design, button selection experiment, buzzer experiment, marquee experiment, interrupt experiment. Bilibili video link: JLCPCB & STC32G12K128 core board


















STC32G12K128 interrupted LED flip.mp4
STC32G12K128 Minimum Core Board Video Demonstration.mp4
STC32G12K128 Minimum System Board Code Project.zip
PDF_STC32G12K128 Minimum Core Board + Expansion Board.zip
Altium_STC32G12K128 minimum core board + expansion board.zip
PADS_STC32G12K128 Minimum Core Board + Expansion Board.zip
BOM_STC32G12K128 Minimum Core Board + Expansion Board.xlsx
93475
48-Pin Touch Button Experimental Board @STC8H4K64TL
Touch button experimental board @STC8H4K64TL-LQFP48
80mA high current digital tube automatic refresh display @STC8H4K64TL
14 touch buttons, four digital tube displays
The touch button experimental board verifies the main functional features
: 14 touch buttons for input and interaction, which can control other hardware components, such as LED digital tubes.
An 80mA high-current digital tube automatic refresh display (@STC8H4K64TL)
can drive and automatically refresh the display, greatly reducing the CPU load and simplifying program design.
Two 4-digit common-cathode digital tubes and two 4-digit common-anode digital tubes
support 80mA high current, ensuring stable operation of the digital tubes under high brightness.
14 indicator lights, corresponding one-to-one with the 14 touch buttons,
are used to display the status of the touch buttons, enhancing the user interaction experience.
The TC8H4K64TL-LQFP48 experimental board is a feature-rich development board integrating 14 touch buttons, two 4-digit common-cathode digital tubes, two 4-digit common-anode digital tubes, and 14 touch button indicator lights. Its unique 80mA high-current digital tube automatic refresh function makes the digital tube display more stable and efficient. This configuration is suitable for applications requiring high-precision control and display, such as electronic musical instruments and measuring instruments.
[New Reminder] LCSC has open-sourced its Touch Button Experiment Board @STC8H4K64TL-LQFP48 - MCU Creative Design Competition @ [STC & LCSC EDA] National Chip Technology Exchange Website - STC Global 32-Person 8051 Enthusiast Mutual Aid and Exchange Community (stcaimcu.com).
Welcome everyone to join the discussion.
PDF_48-Pin Touch Button Experimental Board @STC8H4K64TL.zip
Altium_48-Pin Touch Button Experimental Board @STC8H4K64TL.zip
PADS_48-Pin Touch Button Experimental Board @STC8H4K64TL.zip
BOM_48-Pin Touch Button Experimental Board @STC8H4K64TL.xlsx
93479
electronic
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-28 00:18:37

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号