Project Usage BG1REN Teacher's firmware details, please see. Github-stckeyer
Thank you BI4KSR The guidance and assistance provided by the teacher!
1. Introduction
The design and fabrication were actually completed in June, but I haven't had time to organize it properly. Recently, some colleagues from other stations needed it, so I thought I would share it briefly. The main function is automatic key-to-hand switch, which is for preparing my homemade QRP equipment. The size is relatively small, with a board specification of 3.5x3cm.
The actual features include:
- Automatic transmission (format not adjustable: CQ CQ DE) <CALLSIGN> <CALLSIGN> PSE K, capable of continuous transmission)
- Automatic key speed adjustment(5-50WPM)
- Automatic key mode adjustment for Lambic A/B
- Automatic key switch for left-hand and right-hand use.
- Side frequency adjustment (400-1500 Hz, with side noise cancellation option)
- Transmission delay (0-2 seconds)
- Can be disabled (for practice purposes)
- With optocoupler isolation
2. Schematic diagram and PCB
Motherboard
The main controller uses the STC15W104, with 6x6 touch buttons. I'm using PJ-320D for the 3.5mm audio jack (height of 8mm), and an 8530 patch component buzzer at 5V. The optocoupler is a TLP521GB-S. For the TYPE-C port, I chose a 6-pin version because it only provides power, which also makes soldering easier. Besides the serial port connector, I'm using patch components for all other parts, as I'm using 2.54mm programming probes. This eliminates the need for soldering and is recommended. Alternatively, you can use a low-profile female connector. The two pre-drilled holes are for connecting to the battery board, and are optional.


Power board
Powered by LIR2032, CR2032 can also be used, but due to the nominal 3.6V of LIR and the 3V of CR, there will be issues with the power display. The power display chip is HX70A, and the power switch is MSK-1102. The main switch is MSK12CO2. It connects to the main board through a structure similar to a semi-hole; however, in reality, a semi-hole is not required, and it can be noted during prototyping: "Do not use semi-hole process." 1µF is a 3216_A type SMD tantalum capacitor with ±10% and 25V. The 330 resistor and LED are both 0805. The battery seat specifications are for CR2032 SMD components.


The voltage display range is as follows:

3. Production
The board thickness selected is 1mm. Please refer to the table below for component references, using the values on the board as the standard. All capacitors and resistors are 0805. The 300-ohm resistor and the 1N5817W are for programming, but I haven't tested them properly; you can ignore them. The power supply section has been significantly updated and no longer uses 1.25mm terminals for connections. Please note this.

The soldering process doesn't require further explanation; you can use either a soldering iron or a hot plate. We recommend that you solder the main board first, and then connect it to the battery panel (if applicable).
I used a no-cold-start USB-TTL downloader, along with a programming probe. After connecting, I used the firmware flashing software provided by BG1REN to flash the firmware. Please go to the GitHub page mentioned earlier to download it.
4 Assembly
There are two options available: one includes a battery, and the other does not.
The battery-powered solution uses an M3x6+4 stainless steel single-head hexagonal column, a Φ4xM3x5 stainless steel internal thread round pin, an M3x10 black stainless steel flat head internal hexagon screw, and a 3x5x5 (inner diameter x outer diameter x height) black nylon isolation pillar.
The non-battery version uses M3 transparent nuts, 3x5x5 black nylon isolation columns, and M3x10 black stainless steel flat head hex screws.
The panel design includes both the PCB and acrylic board; the actual effect is as follows.




5 Files
Please go to Gitee - Luffy/CW Keyer Download the Gerber files and panel files.