兰博

CH579 USB/BLE dual-mode keyboard compatible with CIY68

 
Overview


  • Precautions

    This project is modified from the OSHWHub platform "JokerAlon" ( https://oshwhub.com/JokerAlon/ch579m-64keyboard#P5 ). It is only for communication and sharing, and commercial use is prohibited!
  • origin

    Some time ago, Bilibili saw a lot of customized keyboards and decided to play around with them. By chance, I saw related projects on the open source platform, so I decided to use the CIY68 axis tester as the structural framework and DIY a PCBA to achieve dual-mode functionality and have Ultimate hand feel;
  • Features

    • CH579 implements USB and BLE dual-mode functions;
    • Reserved lithium battery and charging function, reserved toggle switch, automatic sleep, button wake-up, long battery life;
    • 3528 reversely sticks to Symphony WS2812;
    • Hot-swappable shaft seat, PCBA replacement compatible with CIY68 shaft tester;
  • Instructions for use

    • Key combination: Fn + 1 = F1; Fn +2 = F2; ……
    • Switch RGB mode: Boot0 (to the right of the space bar) + esc Switch RGB mode: turn off the light, breathe, and flash (the same as breathing mode for the time being) three modes of polling
    • Switch USB and BLE: Boot0 + 1 = switch USB mode (blue light flashes for one second when power on); Boot0 + 2 = switch Bluetooth mode (green light flashes for one second when power on);
    • Power supply: USB connection automatically charges the battery; to use the battery in BLE mode, you need to toggle the battery switch. After Bluetooth connection, you can see the power display in the center of the device;
    • Other logic: In any mode, if there is no operation for 10 minutes, the RGB power supply will be turned off, and the button will wake up and turn on; in Bluetooth mode, if there is no operation for 30 minutes, it will enter sleep, and the button will wake up;
  • Production process

    • Schematic diagram and PCB: Modified from blogger "JokerAlon": modify the power switching circuit; add RGB lamp bead power control switch; modify some button circuits; modify the PCB to adapt to CIY68; modify the Bluetooth antenna...
    • image.png
    • image.png
    • Board welding: The double-sided panel has a thickness of 1.6 (it is recommended to change to 1.0 or 0.8). The shaft seat hole is metalized and is a little tight (the hole diameter has been enlarged in the subsequent documents). The CH579 pins are denser and should be welded more closely. Serial communication pins are reserved. Convenient for debugging (the following pictures are from version V0.1, no RGB lamp bead power cut-off circuit has been added for the time being)image.png
    • software:
    • Burning: Press and hold the BOOT0 button (right of the space bar), power on
      • ①: Open WCHISPTool, switch to the 32-bit CH57X series, and select CH579 as the chip model; ②: User program file, select the .hex file under the path ③: Click download and wait for the prompt that the download is successful;Burning method.jpg
      • Use Keil to compile the original project file, and JLINK to link the 4-wire SWD for burning; (you need to enable the two-wire simulation debugging interface in WCHISPTool first)
    • Installation and physical display:
      • The PCB opening does not perfectly match the CIY68. The screw holes are too large and spacers need to be added; holes need to be opened for USB and toggle switches; some components have slight interference; for the battery, the bottom case ribs need to be removed, etc.
      • Customized methods: bottom cotton filling, under-shaft pad filling, satellite shaft adjustment...
      • Finished product A: CIY68 black transparent kit + Jiadalong G yellow PRO + Mario keycaps image.png
      • Finished Product B: CIY68 Purple Transparent Kit + Phantom Transparent + Macaron Keycaps
        CIY68.bmp
  • question

    • RGB currently only has two effects: turning off lights and breathing;
    • In Bluetooth mode, there is a small probability of abnormal typing delay; in USB mode, it does not occur;
    • In terms of key conflict, it has not been optimized yet;
    • The V0.2 version PCB has not yet been proofed and verified. The RGB lamp bead power control circuit has been added from the V0.1 version (for the above two finished products, this part of the circuit is solved through flying wires) ;
    • The original file is in AD format and will be imported into LCEDA later. Please do not print directly ;

  • end

    • All software and hardware are open source, so don’t hesitate to give me advice!

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-06 16:17:17

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号