Your EasyEDA usage duration is brief. In order to avoid advertising information, this action is not supported at present. Please extend your EasyEDA usage duration and try again.
The project debuted on the Chinese version of the forum [OSHWHub](https://oshwhub.com/yangzen/zui-gai68-)
- - -
In Chinese, this name is described as bargain among bargain goods, which means very bargain.
Place a common SCM configuration comparison table with QMK scheme
| MCU model | STM32F103C8T6 | GD32F103C8T6 | ATMEGA32U4-AU | CH551G |
| --------- | ------------- | ------------ | ------------- | ------ |
| lcsc code | C8734 | C77994 | C44854 | C108958 |
| unit price(2022/6/24) | US$ 7.6784 | US$ 2.5877 | US$ 23.4282 | US$0.4851 |
| encapsulation | LQFP-48 | LQFP-48 | QFP-44 | SOP-16 |
| I/Os | 37 | 37 | 26 | 12.5(RST feet can only be read when half) |
| bits wide | 32-Bit | 32-Bit | 8-Bit | 8-Bit |
| core | ARM® Cortex®-M3 | ARM® Cortex®-M3 | AVR | C51 |
| ROM | 64kB | 64kB | 32kB | 10kB |
| RAM | 20kB | 20kB | 2.5kB | 0.75kB |
| EEPROM | None (but can be simulated in FLASH) | None (but can be simulated in FLASH) | 1kB | 128B |
- - -
If you make a copy of your work, for example by selling it on eBay and making a profit, please pay $0.50 per copy as a commercial license fee.
Due to the inconvenient payment method, if you are not in China and want to award this project or pay the authorization fee, please enter the Sponsorship of openRGB and take a screenshot in the comments section. Thank you. Taiwan compatriots please send money to me.
### 1.function IntroductionUsually state
![keyboard-layout.png](//image.easyeda.com/pullimage/SSHgeKA2UV7N17INx2wN0TYaGXNTJa3QJPAIXiRQ.png)
Press the FN
![keyboard-layout (FN).png](//image.easyeda.com/pullimage/KEKWJfEJSjgLIoTl872FJgSwD5MEwDz8KyvDbv4P.png)
### 2.Hardware IntroductionThis is the circuit of the mechanical keyboard on the market (QMK's scheme is such), a typical matrix keyboard with anti-keystroke diodes.
![c7e86da6da65b338f3dc9ac28ba98302_DkggCWg3sCmXaCVh1rwdSVneRRszlZowjFOwXeAg.png](//image.easyeda.com/pullimage/Bc1qNIqCsb4KUU6YQGSGdaqlMEnvmCsG05RImQhm.png)
This is my new matrix keyboard scanning circuit
![5c129a4efc6c11932d7121fc72b8dcfb_aSYTxtRKmLEkxX4Lke7dyWnoLgXDHdXaURCWVrKF.png](//image.easyeda.com/pullimage/tsFNXNBII0l5ZsNrsnsLgZpagz4BZ9AZnyeyxgzf.png)
If you analyze the circuit with ideal diodes, you will get confused,
while pressing S1,S3.Uio2=Uio3=0V when scanning IO1 bit low?This will read S1,S2 press???
![3318d89b2a4a9f15934f2c79a0a2715f_Cuk2UNa4OHsIa6rsVcaHXwTtJnbOtxml9eT4Cc9k.png](//image.easyeda.com/pullimage/OvcTtLAluqdjPP3W3iUcHIb36Vu5c7ssMjzJ0Vff.png)
This is the voltammetric characteristic diagram of onsemi 1N4148, and note that the horizontal axis is exponential.
It can be seen that there is a positive guide voltage drop of 500mV even at the lowest current of 0.1mA.
Combined with the above questions, it can be inferred that Uio2=0.5V and Uio3=1V.
At this time, we will check the MCU electrical parameters
![屏幕截图 2022-06-12 162819.png](//image.easyeda.com/pullimage/K8ORZKtVLKwvNXcDjohwgaDAu1NfNJ4JzJ1SFDfJ.png)
This is the technical document of CH552G. It is clear which supply voltage to choose.
Then through the real machine test, it is necessary to add the pull-up resistance to increase the diode conduction current and increase the voltage drop to obtain a more stable scanning detection effect.
### 3.Assembly note
The bottom plate is fixed with solder welded copper nut
![IMG_20220628_110358.jpg](//image.easyeda.com/pullimage/dOrk54JYAAeZKJ6vLv9RSJsKl2fF8lBV42a3QSVZ.jpeg)
Some holes need to plug screws in advance, and then weld switches
![image.png](//image.easyeda.com/pullimage/YGKj1alRn1JelII67fN1bvTh6qJZUiOaGkccQAI8.png)
### 4.Write the firmwareIf the software is opened in Chinese, please turn on this setting to switch to English mode
![image.png](//image.easyeda.com/pullimage/9RVFcnuTtR2WTiJHZPrKH4QVZuS68CsVxFEEj0CW.png)
To burn the firmware, perform the following operations. Before the fifth step, press BOOT to insert the USB and release BOOT
![0c040f25c5a4c550411e34baac53ed5.png](//image.easyeda.com/pullimage/njbnZQIMpy2hiy1NUQiRKbe9OpMJZRlVD2W1TqmO.png)
## Firmware update content
Ver1.10:
1. Improve USB code
2. When the indicator is turned off, the CapsLock turns on a white indicator
Ver1.11:
1. Add SD card reading light effect. When detecting flicker, space will blink. Function off by default, 5 consecutive light effect control to switch, power off save
Forked project will be set private in personal workspace. Do you continue?
Clone
Project
The Pro editor is about to be opened to save as. Do you want to continue?
private message
Send message to yangdsada
Delete
Comment
Are you sure to delete the comment?
Report
GaiZhongGai-Keyboard-68+4PRO
The KEYBOARD uses an bargain CH551G MCU, has a unique matrix circuit, and supports OpenRGB ,and comes with a USB hub .
Announcer: Yang
Creation time: 2022-06-12 07:44:57
Published time:
2023-07-31 07:02:26
*
Report type:
Please select report type
*
Report reason:
Please fill in the reason for your report and the content is 2-1000
words
*
Upload image:
+
Upload image
*
Email address:
Please fill in your email address
Report
*
Report type:
Please select report type
*
Report reason:
Please fill in the reason for your report and the content is 2-1000
words
*
Upload image:
+
Upload image
*
Email address:
Please fill in your email address
Report
Submitted successfully! The review result can be viewed in the personal
center, review notification.
Kind tips
Your EasyEDA usage duration is brief. In order to avoid advertising information, this action is
not supported at present. Please extend your EasyEDA usage duration and try again.
Share
Project
Copy
Copy
Scan the QR code and open it on the mobile terminal