1.前期准备
2.焊接过程
3.固件烧写
4.定位板,卫星轴,热拔插灯座的安装
5.自定义配列
键盘焊好好几天了一直没机会写。索性一口气写完。写的不是很详细,各位看官口下留情啊。。。
固件烧写
焊接都没有问题的话,接好数据线。插入电脑,这时候设备还是无法识别的。但是设备管理器里可以看到一个atmega32u4的一个东东,这个是我们的主控芯片啦。
工具地址
https://github.com/kairyu/tkg-toolkit
右边download
下载完成后,我们打开
\tkg-toolkit-master\windows\tool\zadig_2.1.2.exe
打开后如果发现没有设备
不用怕,点击OPTIONS,选中第一项
就出来啦。这里要安装USB2.0下的驱动。
装好了驱动然后打开\tkg-toolkit-master\windows\setup.bat
这里没什么说的啦。我们的板子兼容rev.b 那我们就选第一项啦。然后一路确认就好了
到这里默认固件就刷好啦
刷好后我们用软件来测试一下是否有问题
可以用镊子短接两个脚或者用一个LED把两条腿拧成麻花来测试
这里请注意。有一些按键在默认配列下用这个软件是测不出的。不是板子的问题
忘了说要焊按钮开关的事了。。。我是让JJ向下焊的。。。
(这里没有图。。。)
组装
LED灯热拔插
大家看到了有可能灯座放到轴里盖上的话会顶到,导致无法盖上。至少我买的是这样。。。
不过不用怕
打开拆开轴之后会发现,顶到的地方是有个横梁的。我们倒过来和那个位置错开,就可以完美的合上了
轴的安装
这里比较偷懒啦,图片没有拍。文字叙述一下把。
在安装之前,你一定要确定你要组一个什么样布局的键盘,这很重要。然后还要根据你所选择的键帽来安装。
还有是否选择安装定位板
我们的板子上可以安装带有插头的卫星轴。这一步要先进行。不然就呵呵了。
如果键帽已经在手上了。可以根据键帽的大小来比对着安装轴
有些人的灯座可能比较坑爹(没错,我在说我)。都是小短腿。
只好找个LED插进去顶着然后反过来焊了
不过感觉这样也蛮好的。。。
由于没有KENG板。咱只能玩默认灯效了,顺手给jump1234短接上。这样默认固件的灯才能亮。
大致完成。
自定义固件
到了大家最喜欢的环节了。既然是DIY。布局都弄默认的有啥意思是吧
打开 http://www.keyboard-layout-editor.com/
就能得到一个默认布局60%大小的键盘啦
根据自己的喜好设置第一层键位。想要弄shift+esc=~的小伙伴将esc位置设置成一个Fn键。
我的第二层键位,就是按下Fn后的那一层。一些不常用的键位和控制鼠标的
第三层。 我把Fn层的Tab键设置成了一个层位切换键
层位切换2 小键盘模式
层位切换3 变成一般键盘的键位啦
层位切换4 自定义的游戏键位啦。没事的时候玩玩osu的mania,最上面数字用不到,就换成了F1-F12
层位切换5 猜猜这是玩啥用的。哈哈,砍传奇专用。
每弄好一层键位之后记得保存下代码啊。
然后来到这个网站
我用的标准模式,选好层数。将每一层的代码复制进去
然后设置
这是我的设置。
Fn4 Shift+Esc=~
Fn5 Fn+回车=任务管理器(这个是组合键)
Fn6 Fn+Tab 选择层
Fn7 换回默认层
Fn8 层4
Fn9 层5
Fn10 层6
界面向下拖动
然后点download.eep 如果你的下载按钮不是绿色的,说明某些地方有些不正确。每一层都鼠标点一下,不正确的地方会在层位里显示出。
然后下载下来的文件拖到\tkg-toolkit-master\windows\reflash.bat上
输入Y后回车,之后会提示你按下PCB板背面的按钮。按下后稍等即可。
下面是我的代码
0 默认层 1 ["Fn4","!\n1","@\n2","#\n3","$\n4","%\n5","^\n6","&\n7","*\n8","(\n9",")\n0","_\n-","+\n=","Delete","Backspace"], [{w:1.5},"Tab","Q","W","E","R","T","Y","U","I","O","P","{\n[","}\n]",{w:1.5},"|\n\\"], [{w:1.75},"Caps Lock","A","S","D","F","G","H","J","K","L",":\n;","\"\n'",{w:2.25},"Enter"], [{w:2.25},"Shift","Z","X","C","V","B","N","M","<\n,",">\n.","?\n/",{w:1.75},"↑","Rshift"], [{w:1.25},"Ctrl",{w:1.25},"Win",{w:1.25},"Alt",{w:6.25},"Space",{w:1.25},"Fn0",{w:1.25},"←",{w:1.25},"↓",{w:1.25},"→"] 1 fn层 ["~\n`","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","Ins",{a:7},""], [{a:4,w:1.5},"Fn6","BTN1","Mouse Up","BTN2","Wheel Up","ACCEL0",{a:7},"","","","",{a:4},"PSc","ScrLk","pause\nbreak",{w:1.5},"Calc"], [{a:7,w:1.75},"",{a:4},"Mouse Left","Mouse Down","Mouse Right","Wheel Down","ACCEL1",{a:7},"","","","","","",{a:4,w:2.25},"Fn5"], [{a:7,w:2.25},"",{a:4},"Fn2","Fn1","Fn3",{a:7},"",{a:4},"ACCEL2",{a:7},"","",{a:4},"VolDn","VolUp","Mute",{w:1.75},"PgUp","App"], [{a:7,w:1.25},"",{w:1.25},"",{w:1.25},"",{w:6.25},"",{a:4,w:1.25},"Fn0",{w:1.25},"Home",{w:1.25},"PgDn",{w:1.25},"End"] 2 选择切换层 [{a:7},"",{a:4},"Fn7","Fn8","Fn9","Fn10",{a:7},"","","","","","","","","",""], [{w:1.5},"","","","","","","","","","","","","",{w:1.5},""], [{w:1.75},"","","","","","","","","","","","",{w:2.25},""], [{w:2.25},"","","","","","","","","","","",{w:1.75},"",""], [{w:1.25},"",{w:1.25},"",{w:1.25},"",{w:6.25},"",{a:4,w:1.25},"Fn0",{a:7,w:1.25},"",{w:1.25},"",{w:1.25},""] 3 小键盘层 2 [{a:7},"","","","","","",{a:4},"Num Lock","7\nHome","8\n↑","9\nPgUp","/",{a:7},"","","",""], [{w:1.5},"","","","","","","",{a:4},"4\n←","5","6\n→","*",{a:7},"","",{w:1.5},""], [{w:1.75},"","","","","","","",{a:4},"1\nEnd","2\n↓","3\nPgDn","-",{a:7},"",{w:2.25},""], [{w:2.25},"","","","","","","",{a:4},"0\nIns","0\nIns",".\nDel","+",{a:7,w:1.75},"",""], [{w:1.25},"",{w:1.25},"",{w:1.25},"",{w:6.25},"",{a:4,w:1.25},"Fn0",{a:7,w:1.25},"",{w:1.25},"",{w:1.25},""] 4 主键盘右功能 3 ["~\n`",{a:7},"","","","","","","","","","","","","",""], [{w:1.5},"","","","","","","","","","","","","",{w:1.5},""], [{w:1.75},"","","","","","","","","","","","",{w:2.25},""], [{w:2.25},"","","","","","","","","","","",{a:4,w:1.75},"RShift","Menu"], [{a:7,w:1.25},"",{w:1.25},"",{w:1.25},"",{w:6.25},"",{a:4,w:1.25},"Fn0",{w:1.25},"RAlt",{w:1.25},"RWin",{w:1.25},"RCtrl"] 5 游戏用osu 4 [{a:7},"",{a:4},"F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12",{a:7},"",""], [{w:1.5},"","","","","","","","","","","","","",{w:1.5},""], [{w:1.75},"","","","","","","","","","","","",{w:2.25},""], [{w:2.25},"","","","","","","","","","","",{w:1.75},"",""], [{w:1.25},"",{w:1.25},"",{w:1.25},"",{w:6.25},"",{a:4,w:1.25},"Fn0",{a:7,w:1.25},"",{w:1.25},"",{w:1.25},""] 6 游戏用cq 5 [{a:7},"","","","","","","","","","","","","","",""], [{w:1.5},"",{a:4},"F1","F2","F3","F4",{a:7},"","","","","","","","",{w:1.5},""], [{w:1.75},"",{a:4},"F5","F6","F7","F8",{a:7},"","","","","","","",{w:2.25},""], [{w:2.25},"",{a:4},"F9","F10","F11","F12",{a:7},"","","","","","",{w:1.75},"",""], [{w:1.25},"",{w:1.25},"",{w:1.25},"",{w:6.25},"",{a:4,w:1.25},"Fn0",{a:7,w:1.25},"",{w:1.25},"",{w:1.25},""]
如果你也喜欢这个配列,下面是文件。。。
键帽也到了。LED灯也到了。组装也算是完成了。
上个完成后的图吧。
下面上个视频。。。
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |