キーキャップを名札として使うためのプレートです
2Uと1U2個のキーキャップとスイッチを取り付けできます
今の所キーボードとしては使えません
- 名札プレート
- 2Ux1, 1Ux2 dye-sub キーキャップ(白ボディ)
# The center of circle is grid origin | |
import pcbnew | |
import math | |
def circular(refList, angleStart, angleEnd, radiusMM): | |
board = pcbnew.GetBoard() | |
modules = board.GetModules() | |
center = board.GetGridOrigin() | |
angleStep = float((angleEnd - angleStart)) / (len(refList)-1) |
import json | |
import pcbnew | |
with open('out.json') as file: | |
points = json.load(file) | |
print("load {} points from json".format(len(points))) | |
modules = pcbnew.GetBoard().GetModules() | |
for m in modules: | |
if "SW_MX" in m.GetReference(): |
{ | |
"name": "meishi2", | |
"vendorId": "0xBC42", | |
"productId": "0x0003", | |
"lighting": "none", | |
"matrix": { "rows": 1, "cols": 4 }, | |
"layouts": { | |
"keymap": [ | |
["0,0","0,1","0,2","0,3"] | |
] |
casasagiの試作版基板の販売です.
部品はMCUとスイッチ,TRRSコネクタを除いて実装済みです。
MCUのはんだづけは挟ピッチのため若干難しいかもしれません。
EESchema-LIBRARY Version 2.4 | |
#encoding utf-8 | |
# | |
# RP2040 | |
# | |
DEF RP2040 U 0 40 Y Y 1 F N | |
F0 "U" 0 1950 50 H V C CNN | |
F1 "RP2040" 0 1850 50 H V C CNN | |
F2 "" -400 2300 50 H I C CNN | |
F3 "" -400 2300 50 H I C CNN |