Add mozc-yunomi for Gboard Yunomi Version.

Change-Id: I0552641fe4a8ec8b7489332b1710e4d95869a02e
This commit is contained in:
Shun Ikejima
2021-09-16 18:11:23 +09:00
committed by Tatsuhisa Yamaguchi
parent 8fc14fb4ef
commit c214c31c86
28 changed files with 9209 additions and 1 deletions

134
mozc-yunomi/README.md Normal file
View File

@@ -0,0 +1,134 @@
# Gboard Yunomi version
This contains programs, schematics and board layouts for Gboard Yunomi version,
which was released on **Oct 1, 2021**.
This is not an officially supported Google product.
## Contents
The directory structure is as follows:
- firmware/ : Arduino sketch.
- board/ : KiCad schematics and PCB layouts.
- jig.stl : A jig for building the keyboards.
- ../third_party/mozc-yunomi/keyswitches.pretty : Footprint data for the key
switches.
## Building Gboard Yunomi Version
![device](./images/device.jpg)
### Parts
- Kailh choc key x60
- Diode (1N4148) x60
- ATMega32U4-AU (QFP)
- Resistor 10kOhm
- Resistor 22Ohm x2
- Capacitor 0.1uF
- Capacitor 1uF x2
- Capacitor 22pF x2
- Crystal 16MHz (HC-49)
- USB-C connector breakout (4pin)
### PCBs
We need two types of PCBs to build this project.
![pcbs](./images/pcbs.jpg)
#### Key-PCB
![pcb1](./images/pcb1.png)
Shape: Rectangular.
Components: Diodes and key switches.
Number of PCBs required: 12
#### Base-PCB:
![pcb2](./images/pcb2.png)
Shape: Dodecagonal
Component2: ATMega32u4.
### Steps to build
#### Step 1
Solder diodes D1 to D5 onto the twelve Key-PCBs at the silk-screened locations.
*IMPORTANT:* Diodes on six of the Key-PCB should be placed in the opposite
direction.
For six of the PCBs, we can solder diodes as indicated by the silk-screen. For
the other six PCBs, we need to solder the diodes in the opposite direction.
#### Step 2
Solder key-switches to each Key-PCB. Note that the diodes need to be placed on
the opposite side of the Key-PCB to the key-switches, as shown by the
silk-screen.
#### Step 3
Create a cylindrical shape by combining the 12 Key-PCBs.
There are six connection points between each pair of Key-PCBs. Connect adjacent
pairs of boards by soldering the tin-plated wires (see the picture).
However, only connect J11 and J12 between the first and last Key-PCB, instead of
all six locations.
![connect](./images/connect.png)
![connect2](./images/connect2.jpg)
![connect3](./images/connect3.jpg)
If you have a 3D printer, you may print and use jig.stl to help with this step.
#### Step 4
Solder all parts for Base-PCB.
#### Step 5
Connect Base-PCB to the cylinder made in Step 3.
![connect4](./images/connect4.jpg)
#### Step 6
Install the
[Arduino caterina bootloader](https://github.com/arduino/ArduinoCore-avr/blob/master/bootloaders/caterina/Caterina-Leonardo.hex)
using AVRISP or other ISP tool.
#### Step 7
Install firmware using the Arduino IDE.
#### Step 8
Connect the keyboard to a PC or other device that has Google Japanese
Input/Gboard installed.
## License
```
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```

13
mozc-yunomi/board/.gitignore vendored Normal file
View File

@@ -0,0 +1,13 @@
*.000
*.bak
*.bck
*.kicad_pcb-bak
*.kicad_sch-bak
*.kicad_prl
*.sch-bak
*~
_autosave-*
*.tmp
*-save.pro
*-save.kicad_pcb
fp-info-cache

View File

@@ -0,0 +1,3 @@
(fp_lib_table
(lib (name daprice)(type KiCad)(uri ${KIPRJMOD}/../../../third_party/mozc-yunomi/daprice-keyswitches.pretty)(options "")(descr ""))
)

View File

@@ -0,0 +1,2 @@
(sym_lib_table
)

View File

@@ -0,0 +1,80 @@
EESchema-LIBRARY Version 2.4
#encoding utf-8
#
# Connector_Conn_01x01_Male
#
DEF Connector_Conn_01x01_Male J 0 40 Y N 1 F N
F0 "J" 0 100 50 H V C CNN
F1 "Connector_Conn_01x01_Male" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*
$ENDFPLIST
DRAW
S 34 5 0 -5 1 1 6 F
P 2 1 1 6 50 0 34 0 N
X Pin_1 1 200 0 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Connector_Conn_01x02_Male
#
DEF Connector_Conn_01x02_Male J 0 40 Y N 1 F N
F0 "J" 0 100 50 H V C CNN
F1 "Connector_Conn_01x02_Male" 0 -200 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_1x??_*
$ENDFPLIST
DRAW
S 34 -95 0 -105 1 1 6 F
S 34 5 0 -5 1 1 6 F
P 2 1 1 6 50 -100 34 -100 N
P 2 1 1 6 50 0 34 0 N
X Pin_1 1 200 0 150 L 50 50 1 1 P
X Pin_2 2 200 -100 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_D
#
DEF Device_D D 0 40 N N 1 F N
F0 "D" 0 100 50 H V C CNN
F1 "Device_D" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
TO-???*
*_Diode_*
*SingleDiode*
D_*
$ENDFPLIST
DRAW
P 2 0 1 10 -50 50 -50 -50 N
P 2 0 1 0 50 0 -50 0 N
P 4 0 1 10 50 50 50 -50 -50 0 50 50 N
X K 1 -150 0 100 R 50 50 1 1 P
X A 2 150 0 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Switch_SW_Push
#
DEF Switch_SW_Push SW 0 40 N N 1 F N
F0 "SW" 50 100 50 H V L CNN
F1 "Switch_SW_Push" 0 -60 50 H V C CNN
F2 "" 0 200 50 H I C CNN
F3 "" 0 200 50 H I C CNN
DRAW
C -80 0 20 0 1 0 N
C 80 0 20 0 1 0 N
P 2 0 1 0 0 50 0 120 N
P 2 0 1 0 100 50 -100 50 N
X 1 1 -200 0 100 R 50 50 0 1 P
X 2 2 200 0 100 L 50 50 0 1 P
ENDDRAW
ENDDEF
#
#End Library

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,278 @@
(export (version D)
(design
(source /home/ikejima/work/elec/yunomi/pcb/yunomi.sch)
(date "2020年01月16日 23時54分50秒")
(tool "Eeschema 5.1.4+dfsg1-1")
(sheet (number 1) (name /) (tstamps /)
(title_block
(title)
(company)
(rev)
(date)
(source yunomi.sch)
(comment (number 1) (value ""))
(comment (number 2) (value ""))
(comment (number 3) (value ""))
(comment (number 4) (value "")))))
(components
(comp (ref SW2)
(value SW_Push)
(footprint daprice:SW_PG1350)
(datasheet ~)
(libsource (lib Switch) (part SW_Push) (description "Push button switch, generic, two pins"))
(sheetpath (names /) (tstamps /))
(tstamp 5DC4F483))
(comp (ref D2)
(value D)
(footprint Diode_THT:D_DO-34_SOD68_P10.16mm_Horizontal)
(datasheet ~)
(libsource (lib Device) (part D) (description Diode))
(sheetpath (names /) (tstamps /))
(tstamp 5DC4FFF9))
(comp (ref J13)
(value Conn_01x02_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Horizontal)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x02_Male) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DC59874))
(comp (ref SW3)
(value SW_Push)
(footprint daprice:SW_PG1350)
(datasheet ~)
(libsource (lib Switch) (part SW_Push) (description "Push button switch, generic, two pins"))
(sheetpath (names /) (tstamps /))
(tstamp 5DC5C134))
(comp (ref D3)
(value D)
(footprint Diode_THT:D_DO-34_SOD68_P10.16mm_Horizontal)
(datasheet ~)
(libsource (lib Device) (part D) (description Diode))
(sheetpath (names /) (tstamps /))
(tstamp 5DC5C13A))
(comp (ref SW4)
(value SW_Push)
(footprint daprice:SW_PG1350)
(datasheet ~)
(libsource (lib Switch) (part SW_Push) (description "Push button switch, generic, two pins"))
(sheetpath (names /) (tstamps /))
(tstamp 5DC5DA81))
(comp (ref D4)
(value D)
(footprint Diode_THT:D_DO-34_SOD68_P10.16mm_Horizontal)
(datasheet ~)
(libsource (lib Device) (part D) (description Diode))
(sheetpath (names /) (tstamps /))
(tstamp 5DC5DA87))
(comp (ref SW5)
(value SW_Push)
(footprint daprice:SW_PG1350)
(datasheet ~)
(libsource (lib Switch) (part SW_Push) (description "Push button switch, generic, two pins"))
(sheetpath (names /) (tstamps /))
(tstamp 5DC5E214))
(comp (ref D5)
(value D)
(footprint Diode_THT:D_DO-34_SOD68_P10.16mm_Horizontal)
(datasheet ~)
(libsource (lib Device) (part D) (description Diode))
(sheetpath (names /) (tstamps /))
(tstamp 5DC5E21A))
(comp (ref SW1)
(value SW_Push)
(footprint daprice:SW_PG1350)
(datasheet ~)
(libsource (lib Switch) (part SW_Push) (description "Push button switch, generic, two pins"))
(sheetpath (names /) (tstamps /))
(tstamp 5DC5E841))
(comp (ref D1)
(value D)
(footprint Diode_THT:D_DO-34_SOD68_P10.16mm_Horizontal)
(datasheet ~)
(libsource (lib Device) (part D) (description Diode))
(sheetpath (names /) (tstamps /))
(tstamp 5DC5E847))
(comp (ref J11)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCA8A1E))
(comp (ref J12)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCAA166))
(comp (ref J1)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5E20E4B6))
(comp (ref J3)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5E20EE55))
(comp (ref J5)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5E20F575))
(comp (ref J7)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5E20FD34))
(comp (ref J9)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5E210514))
(comp (ref J2)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5E21164F))
(comp (ref J4)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5E21260A))
(comp (ref J6)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5E212DA7))
(comp (ref J8)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5E21359E))
(comp (ref J10)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5E213D72)))
(libparts
(libpart (lib Connector) (part Conn_01x01_Male)
(description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)")
(docs ~)
(footprints
(fp Connector*:*))
(fields
(field (name Reference) J)
(field (name Value) Conn_01x01_Male))
(pins
(pin (num 1) (name Pin_1) (type passive))))
(libpart (lib Connector) (part Conn_01x02_Male)
(description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
(docs ~)
(footprints
(fp Connector*:*_1x??_*))
(fields
(field (name Reference) J)
(field (name Value) Conn_01x02_Male))
(pins
(pin (num 1) (name Pin_1) (type passive))
(pin (num 2) (name Pin_2) (type passive))))
(libpart (lib Device) (part D)
(description Diode)
(docs ~)
(footprints
(fp TO-???*)
(fp *_Diode_*)
(fp *SingleDiode*)
(fp D_*))
(fields
(field (name Reference) D)
(field (name Value) D))
(pins
(pin (num 1) (name K) (type passive))
(pin (num 2) (name A) (type passive))))
(libpart (lib Switch) (part SW_Push)
(description "Push button switch, generic, two pins")
(docs ~)
(fields
(field (name Reference) SW)
(field (name Value) SW_Push))
(pins
(pin (num 1) (name 1) (type passive))
(pin (num 2) (name 2) (type passive)))))
(libraries
(library (logical Connector)
(uri /usr/share/kicad/library/Connector.lib))
(library (logical Device)
(uri /usr/share/kicad/library/Device.lib))
(library (logical Switch)
(uri /usr/share/kicad/library/Switch.lib)))
(nets
(net (code 1) (name "Net-(D5-Pad1)")
(node (ref J2) (pin 1))
(node (ref J13) (pin 1))
(node (ref D5) (pin 1))
(node (ref J9) (pin 1)))
(net (code 2) (name "Net-(D3-Pad1)")
(node (ref J8) (pin 1))
(node (ref J5) (pin 1))
(node (ref D3) (pin 1)))
(net (code 3) (name "Net-(D2-Pad1)")
(node (ref D2) (pin 1))
(node (ref J3) (pin 1))
(node (ref J6) (pin 1)))
(net (code 4) (name "Net-(D1-Pad1)")
(node (ref J1) (pin 1))
(node (ref J4) (pin 1))
(node (ref D1) (pin 1)))
(net (code 5) (name "Net-(J13-Pad2)")
(node (ref SW4) (pin 1))
(node (ref SW1) (pin 1))
(node (ref SW3) (pin 1))
(node (ref J13) (pin 2))
(node (ref SW2) (pin 1))
(node (ref SW5) (pin 1)))
(net (code 6) (name "Net-(J12-Pad1)")
(node (ref J12) (pin 1)))
(net (code 7) (name "Net-(J11-Pad1)")
(node (ref J11) (pin 1)))
(net (code 8) (name "Net-(D3-Pad2)")
(node (ref SW3) (pin 2))
(node (ref D3) (pin 2)))
(net (code 9) (name "Net-(D5-Pad2)")
(node (ref D5) (pin 2))
(node (ref SW5) (pin 2)))
(net (code 10) (name "Net-(D4-Pad2)")
(node (ref SW4) (pin 2))
(node (ref D4) (pin 2)))
(net (code 11) (name "Net-(D2-Pad2)")
(node (ref SW2) (pin 2))
(node (ref D2) (pin 2)))
(net (code 12) (name "Net-(D4-Pad1)")
(node (ref J10) (pin 1))
(node (ref J7) (pin 1))
(node (ref D4) (pin 1)))
(net (code 13) (name "Net-(D1-Pad2)")
(node (ref D1) (pin 2))
(node (ref SW1) (pin 2)))))

View File

@@ -0,0 +1,248 @@
update=Tue Nov 12 20:59:20 2019
version=1
last_client=kicad
[general]
version=1
RootSch=
BoardNm=
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=
[eeschema/libraries]
[schematic_editor]
version=1
PageLayoutDescrFile=
PlotDirectoryName=
SubpartIdSeparator=0
SubpartFirstId=65
NetFmtName=Pcbnew
SpiceAjustPassiveValues=0
LabSize=50
ERC_TestSimilarLabels=1
[pcbnew]
version=1
PageLayoutDescrFile=
LastNetListRead=yunomi.net
CopperLayerCount=2
BoardThickness=1.6
AllowMicroVias=0
AllowBlindVias=0
RequireCourtyardDefinitions=0
ProhibitOverlappingCourtyards=1
MinTrackWidth=0.2
MinViaDiameter=0.4
MinViaDrill=0.3
MinMicroViaDiameter=0.2
MinMicroViaDrill=0.09999999999999999
MinHoleToHole=0.25
TrackWidth1=0.25
ViaDiameter1=0.8
ViaDrill1=0.4
dPairWidth1=0.2
dPairGap1=0.25
dPairViaGap1=0.25
SilkLineWidth=0.12
SilkTextSizeV=1
SilkTextSizeH=1
SilkTextSizeThickness=0.15
SilkTextItalic=0
SilkTextUpright=1
CopperLineWidth=0.2
CopperTextSizeV=1.5
CopperTextSizeH=1.5
CopperTextThickness=0.3
CopperTextItalic=0
CopperTextUpright=1
EdgeCutLineWidth=0.05
CourtyardLineWidth=0.05
OthersLineWidth=0.15
OthersTextSizeV=1
OthersTextSizeH=1
OthersTextSizeThickness=0.15
OthersTextItalic=0
OthersTextUpright=1
SolderMaskClearance=0.051
SolderMaskMinWidth=0.25
SolderPasteClearance=0
SolderPasteRatio=-0
[pcbnew/Layer.F.Cu]
Name=F.Cu
Type=0
Enabled=1
[pcbnew/Layer.In1.Cu]
Name=In1.Cu
Type=0
Enabled=0
[pcbnew/Layer.In2.Cu]
Name=In2.Cu
Type=0
Enabled=0
[pcbnew/Layer.In3.Cu]
Name=In3.Cu
Type=0
Enabled=0
[pcbnew/Layer.In4.Cu]
Name=In4.Cu
Type=0
Enabled=0
[pcbnew/Layer.In5.Cu]
Name=In5.Cu
Type=0
Enabled=0
[pcbnew/Layer.In6.Cu]
Name=In6.Cu
Type=0
Enabled=0
[pcbnew/Layer.In7.Cu]
Name=In7.Cu
Type=0
Enabled=0
[pcbnew/Layer.In8.Cu]
Name=In8.Cu
Type=0
Enabled=0
[pcbnew/Layer.In9.Cu]
Name=In9.Cu
Type=0
Enabled=0
[pcbnew/Layer.In10.Cu]
Name=In10.Cu
Type=0
Enabled=0
[pcbnew/Layer.In11.Cu]
Name=In11.Cu
Type=0
Enabled=0
[pcbnew/Layer.In12.Cu]
Name=In12.Cu
Type=0
Enabled=0
[pcbnew/Layer.In13.Cu]
Name=In13.Cu
Type=0
Enabled=0
[pcbnew/Layer.In14.Cu]
Name=In14.Cu
Type=0
Enabled=0
[pcbnew/Layer.In15.Cu]
Name=In15.Cu
Type=0
Enabled=0
[pcbnew/Layer.In16.Cu]
Name=In16.Cu
Type=0
Enabled=0
[pcbnew/Layer.In17.Cu]
Name=In17.Cu
Type=0
Enabled=0
[pcbnew/Layer.In18.Cu]
Name=In18.Cu
Type=0
Enabled=0
[pcbnew/Layer.In19.Cu]
Name=In19.Cu
Type=0
Enabled=0
[pcbnew/Layer.In20.Cu]
Name=In20.Cu
Type=0
Enabled=0
[pcbnew/Layer.In21.Cu]
Name=In21.Cu
Type=0
Enabled=0
[pcbnew/Layer.In22.Cu]
Name=In22.Cu
Type=0
Enabled=0
[pcbnew/Layer.In23.Cu]
Name=In23.Cu
Type=0
Enabled=0
[pcbnew/Layer.In24.Cu]
Name=In24.Cu
Type=0
Enabled=0
[pcbnew/Layer.In25.Cu]
Name=In25.Cu
Type=0
Enabled=0
[pcbnew/Layer.In26.Cu]
Name=In26.Cu
Type=0
Enabled=0
[pcbnew/Layer.In27.Cu]
Name=In27.Cu
Type=0
Enabled=0
[pcbnew/Layer.In28.Cu]
Name=In28.Cu
Type=0
Enabled=0
[pcbnew/Layer.In29.Cu]
Name=In29.Cu
Type=0
Enabled=0
[pcbnew/Layer.In30.Cu]
Name=In30.Cu
Type=0
Enabled=0
[pcbnew/Layer.B.Cu]
Name=B.Cu
Type=0
Enabled=1
[pcbnew/Layer.B.Adhes]
Enabled=1
[pcbnew/Layer.F.Adhes]
Enabled=1
[pcbnew/Layer.B.Paste]
Enabled=1
[pcbnew/Layer.F.Paste]
Enabled=1
[pcbnew/Layer.B.SilkS]
Enabled=1
[pcbnew/Layer.F.SilkS]
Enabled=1
[pcbnew/Layer.B.Mask]
Enabled=1
[pcbnew/Layer.F.Mask]
Enabled=1
[pcbnew/Layer.Dwgs.User]
Enabled=1
[pcbnew/Layer.Cmts.User]
Enabled=1
[pcbnew/Layer.Eco1.User]
Enabled=1
[pcbnew/Layer.Eco2.User]
Enabled=1
[pcbnew/Layer.Edge.Cuts]
Enabled=1
[pcbnew/Layer.Margin]
Enabled=1
[pcbnew/Layer.B.CrtYd]
Enabled=1
[pcbnew/Layer.F.CrtYd]
Enabled=1
[pcbnew/Layer.B.Fab]
Enabled=1
[pcbnew/Layer.F.Fab]
Enabled=1
[pcbnew/Layer.Rescue]
Enabled=0
[pcbnew/Netclasses]
[pcbnew/Netclasses/Default]
Name=Default
Clearance=0.5
TrackWidth=0.25
ViaDiameter=0.8
ViaDrill=0.4
uViaDiameter=0.3
uViaDrill=0.1
dPairWidth=0.2
dPairGap=0.25
dPairViaGap=0.25

View File

@@ -0,0 +1,359 @@
EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L Switch:SW_Push SW2
U 1 1 5DC4F483
P 3650 2250
F 0 "SW2" H 3650 2535 50 0000 C CNN
F 1 "SW_Push" H 3650 2444 50 0000 C CNN
F 2 "daprice:SW_PG1350" H 3650 2450 50 0001 C CNN
F 3 "~" H 3650 2450 50 0001 C CNN
1 3650 2250
1 0 0 -1
$EndComp
$Comp
L Device:D D2
U 1 1 5DC4FFF9
P 3950 2400
F 0 "D2" V 3996 2321 50 0000 R CNN
F 1 "D" V 3905 2321 50 0000 R CNN
F 2 "Diode_THT:D_DO-34_SOD68_P10.16mm_Horizontal" H 3950 2400 50 0001 C CNN
F 3 "~" H 3950 2400 50 0001 C CNN
1 3950 2400
0 -1 -1 0
$EndComp
Wire Wire Line
3850 2250 3950 2250
$Comp
L Connector:Conn_01x02_Male J13
U 1 1 5DC59874
P 3350 6000
F 0 "J13" V 3504 5812 50 0000 R CNN
F 1 "Conn_01x02_Male" V 3413 5812 50 0000 R CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Horizontal" H 3350 6000 50 0001 C CNN
F 3 "~" H 3350 6000 50 0001 C CNN
1 3350 6000
0 -1 -1 0
$EndComp
$Comp
L Switch:SW_Push SW3
U 1 1 5DC5C134
P 3650 3000
F 0 "SW3" H 3650 3285 50 0000 C CNN
F 1 "SW_Push" H 3650 3194 50 0000 C CNN
F 2 "daprice:SW_PG1350" H 3650 3200 50 0001 C CNN
F 3 "~" H 3650 3200 50 0001 C CNN
1 3650 3000
1 0 0 -1
$EndComp
$Comp
L Device:D D3
U 1 1 5DC5C13A
P 3950 3150
F 0 "D3" V 3996 3071 50 0000 R CNN
F 1 "D" V 3905 3071 50 0000 R CNN
F 2 "Diode_THT:D_DO-34_SOD68_P10.16mm_Horizontal" H 3950 3150 50 0001 C CNN
F 3 "~" H 3950 3150 50 0001 C CNN
1 3950 3150
0 -1 -1 0
$EndComp
Wire Wire Line
3850 3000 3950 3000
$Comp
L Switch:SW_Push SW4
U 1 1 5DC5DA81
P 3650 3700
F 0 "SW4" H 3650 3985 50 0000 C CNN
F 1 "SW_Push" H 3650 3894 50 0000 C CNN
F 2 "daprice:SW_PG1350" H 3650 3900 50 0001 C CNN
F 3 "~" H 3650 3900 50 0001 C CNN
1 3650 3700
1 0 0 -1
$EndComp
$Comp
L Device:D D4
U 1 1 5DC5DA87
P 3950 3850
F 0 "D4" V 3996 3771 50 0000 R CNN
F 1 "D" V 3905 3771 50 0000 R CNN
F 2 "Diode_THT:D_DO-34_SOD68_P10.16mm_Horizontal" H 3950 3850 50 0001 C CNN
F 3 "~" H 3950 3850 50 0001 C CNN
1 3950 3850
0 -1 -1 0
$EndComp
Wire Wire Line
3850 3700 3950 3700
$Comp
L Switch:SW_Push SW5
U 1 1 5DC5E214
P 3650 4400
F 0 "SW5" H 3650 4685 50 0000 C CNN
F 1 "SW_Push" H 3650 4594 50 0000 C CNN
F 2 "daprice:SW_PG1350" H 3650 4600 50 0001 C CNN
F 3 "~" H 3650 4600 50 0001 C CNN
1 3650 4400
1 0 0 -1
$EndComp
$Comp
L Device:D D5
U 1 1 5DC5E21A
P 3950 4550
F 0 "D5" V 3996 4471 50 0000 R CNN
F 1 "D" V 3905 4471 50 0000 R CNN
F 2 "Diode_THT:D_DO-34_SOD68_P10.16mm_Horizontal" H 3950 4550 50 0001 C CNN
F 3 "~" H 3950 4550 50 0001 C CNN
1 3950 4550
0 -1 -1 0
$EndComp
Wire Wire Line
3850 4400 3950 4400
$Comp
L Switch:SW_Push SW1
U 1 1 5DC5E841
P 3650 1500
F 0 "SW1" H 3650 1785 50 0000 C CNN
F 1 "SW_Push" H 3650 1694 50 0000 C CNN
F 2 "daprice:SW_PG1350" H 3650 1700 50 0001 C CNN
F 3 "~" H 3650 1700 50 0001 C CNN
1 3650 1500
1 0 0 -1
$EndComp
$Comp
L Device:D D1
U 1 1 5DC5E847
P 3950 1650
F 0 "D1" V 3996 1571 50 0000 R CNN
F 1 "D" V 3905 1571 50 0000 R CNN
F 2 "Diode_THT:D_DO-34_SOD68_P10.16mm_Horizontal" H 3950 1650 50 0001 C CNN
F 3 "~" H 3950 1650 50 0001 C CNN
1 3950 1650
0 -1 -1 0
$EndComp
Wire Wire Line
3850 1500 3950 1500
Wire Wire Line
2600 1800 3950 1800
Wire Wire Line
3950 4000 2850 4000
Wire Wire Line
3950 3300 2950 3300
Wire Wire Line
3950 2550 3050 2550
Wire Wire Line
3450 4400 3450 3700
Connection ~ 3450 2250
Wire Wire Line
3450 2250 3450 1500
Connection ~ 3450 3000
Wire Wire Line
3450 3000 3450 2250
Connection ~ 3450 3700
Wire Wire Line
3450 3700 3450 3000
Wire Wire Line
3950 4700 4150 4700
Wire Wire Line
4150 4700 4150 1800
Connection ~ 3950 4700
Connection ~ 3950 1800
Wire Wire Line
4300 2550 3950 2550
Connection ~ 3950 2550
Wire Wire Line
4450 3300 3950 3300
Connection ~ 3950 3300
Wire Wire Line
4600 4000 3950 4000
Connection ~ 3950 4000
Wire Wire Line
3350 5800 3350 4700
Wire Wire Line
3450 4400 3450 5800
$Comp
L Connector:Conn_01x01_Male J11
U 1 1 5DCA8A1E
P 5300 3300
F 0 "J11" H 5408 3481 50 0000 C CNN
F 1 "Conn_01x01_Male" H 5408 3390 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 5300 3300 50 0001 C CNN
F 3 "~" H 5300 3300 50 0001 C CNN
1 5300 3300
1 0 0 -1
$EndComp
$Comp
L Connector:Conn_01x01_Male J12
U 1 1 5DCAA166
P 5300 3600
F 0 "J12" H 5408 3781 50 0000 C CNN
F 1 "Conn_01x01_Male" H 5408 3690 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 5300 3600 50 0001 C CNN
F 3 "~" H 5300 3600 50 0001 C CNN
1 5300 3600
1 0 0 -1
$EndComp
NoConn ~ 5500 3300
NoConn ~ 5500 3600
Wire Wire Line
2750 4700 3350 4700
Connection ~ 3450 4400
Connection ~ 3350 4700
Wire Wire Line
3350 4700 3950 4700
$Comp
L Connector:Conn_01x01_Male J1
U 1 1 5E20E4B6
P 2400 1800
F 0 "J1" H 2508 1981 50 0000 C CNN
F 1 "Conn_01x01_Male" H 2508 1890 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 2400 1800 50 0001 C CNN
F 3 "~" H 2400 1800 50 0001 C CNN
1 2400 1800
1 0 0 -1
$EndComp
$Comp
L Connector:Conn_01x01_Male J3
U 1 1 5E20EE55
P 2400 2100
F 0 "J3" H 2508 2281 50 0000 C CNN
F 1 "Conn_01x01_Male" H 2508 2190 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 2400 2100 50 0001 C CNN
F 3 "~" H 2400 2100 50 0001 C CNN
1 2400 2100
1 0 0 -1
$EndComp
$Comp
L Connector:Conn_01x01_Male J2
U 1 1 5E21164F
P 4950 1800
F 0 "J2" H 5058 1981 50 0000 C CNN
F 1 "Conn_01x01_Male" H 5058 1890 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 4950 1800 50 0001 C CNN
F 3 "~" H 4950 1800 50 0001 C CNN
1 4950 1800
-1 0 0 1
$EndComp
$Comp
L Connector:Conn_01x01_Male J4
U 1 1 5E21260A
P 4950 2100
F 0 "J4" H 5058 2281 50 0000 C CNN
F 1 "Conn_01x01_Male" H 5058 2190 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 4950 2100 50 0001 C CNN
F 3 "~" H 4950 2100 50 0001 C CNN
1 4950 2100
-1 0 0 1
$EndComp
$Comp
L Connector:Conn_01x01_Male J6
U 1 1 5E212DA7
P 4950 2400
F 0 "J6" H 5058 2581 50 0000 C CNN
F 1 "Conn_01x01_Male" H 5058 2490 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 4950 2400 50 0001 C CNN
F 3 "~" H 4950 2400 50 0001 C CNN
1 4950 2400
-1 0 0 1
$EndComp
$Comp
L Connector:Conn_01x01_Male J8
U 1 1 5E21359E
P 4950 2700
F 0 "J8" H 5058 2881 50 0000 C CNN
F 1 "Conn_01x01_Male" H 5058 2790 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 4950 2700 50 0001 C CNN
F 3 "~" H 4950 2700 50 0001 C CNN
1 4950 2700
-1 0 0 1
$EndComp
$Comp
L Connector:Conn_01x01_Male J10
U 1 1 5E213D72
P 4950 3000
F 0 "J10" H 5058 3181 50 0000 C CNN
F 1 "Conn_01x01_Male" H 5058 3090 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 4950 3000 50 0001 C CNN
F 3 "~" H 4950 3000 50 0001 C CNN
1 4950 3000
-1 0 0 1
$EndComp
Wire Wire Line
4150 1800 4750 1800
$Comp
L Connector:Conn_01x01_Male J9
U 1 1 5E210514
P 2400 3000
F 0 "J9" H 2508 3181 50 0000 C CNN
F 1 "Conn_01x01_Male" H 2508 3090 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 2400 3000 50 0001 C CNN
F 3 "~" H 2400 3000 50 0001 C CNN
1 2400 3000
1 0 0 -1
$EndComp
$Comp
L Connector:Conn_01x01_Male J7
U 1 1 5E20FD34
P 2400 2700
F 0 "J7" H 2508 2881 50 0000 C CNN
F 1 "Conn_01x01_Male" H 2508 2790 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 2400 2700 50 0001 C CNN
F 3 "~" H 2400 2700 50 0001 C CNN
1 2400 2700
1 0 0 -1
$EndComp
$Comp
L Connector:Conn_01x01_Male J5
U 1 1 5E20F575
P 2400 2400
F 0 "J5" H 2508 2581 50 0000 C CNN
F 1 "Conn_01x01_Male" H 2508 2490 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 2400 2400 50 0001 C CNN
F 3 "~" H 2400 2400 50 0001 C CNN
1 2400 2400
1 0 0 -1
$EndComp
Wire Wire Line
3050 2550 3050 2100
Wire Wire Line
3050 2100 2600 2100
Wire Wire Line
2950 3300 2950 2400
Wire Wire Line
2950 2400 2600 2400
Wire Wire Line
2850 4000 2850 2700
Wire Wire Line
2850 2700 2600 2700
Wire Wire Line
2750 4700 2750 3000
Wire Wire Line
2750 3000 2600 3000
Wire Wire Line
4750 2100 3950 2100
Wire Wire Line
3950 1800 3950 2100
Wire Wire Line
4750 2400 4300 2400
Wire Wire Line
4300 2400 4300 2550
Wire Wire Line
4750 2700 4450 2700
Wire Wire Line
4450 2700 4450 3300
Wire Wire Line
4750 3000 4600 3000
Wire Wire Line
4600 3000 4600 4000
$EndSCHEMATC

View File

@@ -0,0 +1,268 @@
EESchema-LIBRARY Version 2.4
#encoding utf-8
#
# Connector_Conn_01x01_Male
#
DEF Connector_Conn_01x01_Male J 0 40 Y N 1 F N
F0 "J" 0 100 50 H V C CNN
F1 "Connector_Conn_01x01_Male" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*
$ENDFPLIST
DRAW
S 34 5 0 -5 1 1 6 F
P 2 1 1 6 50 0 34 0 N
X Pin_1 1 200 0 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Connector_Conn_01x02_Male
#
DEF Connector_Conn_01x02_Male J 0 40 Y N 1 F N
F0 "J" 0 100 50 H V C CNN
F1 "Connector_Conn_01x02_Male" 0 -200 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_1x??_*
$ENDFPLIST
DRAW
S 34 -95 0 -105 1 1 6 F
S 34 5 0 -5 1 1 6 F
P 2 1 1 6 50 -100 34 -100 N
P 2 1 1 6 50 0 34 0 N
X Pin_1 1 200 0 150 L 50 50 1 1 P
X Pin_2 2 200 -100 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Connector_Conn_01x04_Male
#
DEF Connector_Conn_01x04_Male J 0 40 Y N 1 F N
F0 "J" 0 200 50 H V C CNN
F1 "Connector_Conn_01x04_Male" 0 -300 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_1x??_*
$ENDFPLIST
DRAW
S 34 -195 0 -205 1 1 6 F
S 34 -95 0 -105 1 1 6 F
S 34 5 0 -5 1 1 6 F
S 34 105 0 95 1 1 6 F
P 2 1 1 6 50 -200 34 -200 N
P 2 1 1 6 50 -100 34 -100 N
P 2 1 1 6 50 0 34 0 N
P 2 1 1 6 50 100 34 100 N
X Pin_1 1 200 100 150 L 50 50 1 1 P
X Pin_2 2 200 0 150 L 50 50 1 1 P
X Pin_3 3 200 -100 150 L 50 50 1 1 P
X Pin_4 4 200 -200 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Connector_Generic_Conn_02x03_Odd_Even
#
DEF Connector_Generic_Conn_02x03_Odd_Even J 0 40 Y N 1 F N
F0 "J" 50 200 50 H V C CNN
F1 "Connector_Generic_Conn_02x03_Odd_Even" 50 -200 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_2x??_*
$ENDFPLIST
DRAW
S -50 -95 0 -105 1 1 6 N
S -50 5 0 -5 1 1 6 N
S -50 105 0 95 1 1 6 N
S -50 150 150 -150 1 1 10 f
S 150 -95 100 -105 1 1 6 N
S 150 5 100 -5 1 1 6 N
S 150 105 100 95 1 1 6 N
X Pin_1 1 -200 100 150 R 50 50 1 1 P
X Pin_2 2 300 100 150 L 50 50 1 1 P
X Pin_3 3 -200 0 150 R 50 50 1 1 P
X Pin_4 4 300 0 150 L 50 50 1 1 P
X Pin_5 5 -200 -100 150 R 50 50 1 1 P
X Pin_6 6 300 -100 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Connector_TestPoint
#
DEF Connector_TestPoint TP 0 30 N N 1 F N
F0 "TP" 0 270 50 H V C CNN
F1 "Connector_TestPoint" 0 200 50 H V C CNN
F2 "" 200 0 50 H I C CNN
F3 "" 200 0 50 H I C CNN
$FPLIST
Pin*
Test*
$ENDFPLIST
DRAW
C 0 130 30 0 1 0 N
X 1 1 0 0 100 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_C
#
DEF Device_C C 0 10 N Y 1 F N
F0 "C" 25 100 50 H V L CNN
F1 "Device_C" 25 -100 50 H V L CNN
F2 "" 38 -150 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
C_*
$ENDFPLIST
DRAW
P 2 0 1 20 -80 -30 80 -30 N
P 2 0 1 20 -80 30 80 30 N
X ~ 1 0 150 110 D 50 50 1 1 P
X ~ 2 0 -150 110 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_Crystal
#
DEF Device_Crystal Y 0 40 N N 1 F N
F0 "Y" 0 150 50 H V C CNN
F1 "Device_Crystal" 0 -150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Crystal*
$ENDFPLIST
DRAW
S -45 100 45 -100 0 1 12 N
P 2 0 1 0 -100 0 -75 0 N
P 2 0 1 20 -75 -50 -75 50 N
P 2 0 1 20 75 -50 75 50 N
P 2 0 1 0 100 0 75 0 N
X 1 1 -150 0 50 R 50 50 1 1 P
X 2 2 150 0 50 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_R
#
DEF Device_R R 0 0 N Y 1 F N
F0 "R" 80 0 50 V V C CNN
F1 "Device_R" 0 0 50 V V C CNN
F2 "" -70 0 50 V I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
R_*
$ENDFPLIST
DRAW
S -40 -100 40 100 0 1 10 N
X ~ 1 0 150 50 D 50 50 1 1 P
X ~ 2 0 -150 50 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# MCU_Microchip_ATmega_ATmega32U4-AU
#
DEF MCU_Microchip_ATmega_ATmega32U4-AU U 0 20 Y Y 1 F N
F0 "U" -500 1750 50 H V L BNN
F1 "MCU_Microchip_ATmega_ATmega32U4-AU" 100 -1750 50 H V L TNN
F2 "Package_QFP:TQFP-44_10x10mm_P0.8mm" 0 0 50 H I C CIN
F3 "" 0 0 50 H I C CNN
ALIAS ATmega16U4RC-AU ATmega32U4-AU ATmega32U4RC-AU
$FPLIST
TQFP*10x10mm*P0.8mm*
$ENDFPLIST
DRAW
S -500 -1700 500 1700 0 1 10 f
X PE6 1 600 -700 100 L 50 50 1 1 B
X PB2 10 600 1300 100 L 50 50 1 1 B
X PB3 11 600 1200 100 L 50 50 1 1 B
X PB7 12 600 800 100 L 50 50 1 1 B
X ~RESET 13 -600 1500 100 R 50 50 1 1 I
X VCC 14 0 1800 100 D 50 50 1 1 W
X GND 15 0 -1800 100 U 50 50 1 1 W
X XTAL2 16 -600 1100 100 R 50 50 1 1 O
X XTAL1 17 -600 1300 100 R 50 50 1 1 I
X PD0 18 600 300 100 L 50 50 1 1 B
X PD1 19 600 200 100 L 50 50 1 1 B
X UVCC 2 -100 1800 100 D 50 50 1 1 W
X PD2 20 600 100 100 L 50 50 1 1 B
X PD3 21 600 0 100 L 50 50 1 1 B
X PD5 22 600 -200 100 L 50 50 1 1 B
X GND 23 0 -1800 100 U 50 50 1 1 P N
X AVCC 24 100 1800 100 D 50 50 1 1 W
X PD4 25 600 -100 100 L 50 50 1 1 B
X PD6 26 600 -300 100 L 50 50 1 1 B
X PD7 27 600 -400 100 L 50 50 1 1 B
X PB4 28 600 1100 100 L 50 50 1 1 B
X PB5 29 600 1000 100 L 50 50 1 1 B
X D- 3 -600 400 100 R 50 50 1 1 B
X PB6 30 600 900 100 L 50 50 1 1 B
X PC6 31 600 600 100 L 50 50 1 1 B
X PC7 32 600 500 100 L 50 50 1 1 B
X ~HWB~/PE2 33 600 -600 100 L 50 50 1 1 B
X VCC 34 0 1800 100 D 50 50 1 1 P N
X GND 35 0 -1800 100 U 50 50 1 1 P N
X PF7 36 600 -1400 100 L 50 50 1 1 B
X PF6 37 600 -1300 100 L 50 50 1 1 B
X PF5 38 600 -1200 100 L 50 50 1 1 B
X PF4 39 600 -1100 100 L 50 50 1 1 B
X D+ 4 -600 500 100 R 50 50 1 1 B
X PF1 40 600 -1000 100 L 50 50 1 1 B
X PF0 41 600 -900 100 L 50 50 1 1 B
X AREF 42 -600 900 100 R 50 50 1 1 P
X GND 43 0 -1800 100 U 50 50 1 1 P N
X AVCC 44 100 1800 100 D 50 50 1 1 P N
X UGND 5 -100 -1800 100 U 50 50 1 1 P
X UCAP 6 -600 200 100 R 50 50 1 1 P
X VBUS 7 -600 700 100 R 50 50 1 1 I
X PB0 8 600 1500 100 L 50 50 1 1 B
X PB1 9 600 1400 100 L 50 50 1 1 B
ENDDRAW
ENDDEF
#
# power_+5V
#
DEF power_+5V #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "power_+5V" 0 140 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 2 0 1 0 -30 50 0 100 N
P 2 0 1 0 0 0 0 100 N
P 2 0 1 0 0 100 30 50 N
X +5V 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# power_GND
#
DEF power_GND #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -250 50 H I C CNN
F1 "power_GND" 0 -150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
X GND 1 0 0 0 D 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# power_PWR_FLAG
#
DEF power_PWR_FLAG #FLG 0 0 N N 1 F P
F0 "#FLG" 0 75 50 H I C CNN
F1 "power_PWR_FLAG" 0 150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 6 0 1 0 0 0 0 50 -40 75 0 100 40 75 0 50 N
X pwr 1 0 0 0 U 50 50 0 0 w
ENDDRAW
ENDDEF
#
#End Library

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,619 @@
(export (version D)
(design
(source /home/ikejima/tmp/mozc-devices/mozc-yunomi/board/pcb2/base.sch)
(date "2021年09月30日 11時42分15秒")
(tool "Eeschema 5.99.0+really5.1.10+dfsg1-1")
(sheet (number 1) (name /) (tstamps /)
(title_block
(title)
(company)
(rev)
(date)
(source base.sch)
(comment (number 1) (value ""))
(comment (number 2) (value ""))
(comment (number 3) (value ""))
(comment (number 4) (value "")))))
(components
(comp (ref J13)
(value Conn_01x04_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x04_Male) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCABE39))
(comp (ref R1)
(value 10K)
(footprint Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 5DCB1F46))
(comp (ref C1)
(value 0.1uF)
(footprint Capacitor_THT:C_Axial_L3.8mm_D2.6mm_P7.50mm_Horizontal)
(datasheet ~)
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCB368B))
(comp (ref C2)
(value 1uF)
(footprint Capacitor_THT:C_Axial_L3.8mm_D2.6mm_P7.50mm_Horizontal)
(datasheet ~)
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCC2D05))
(comp (ref Y1)
(value 16MHz)
(footprint Crystal:Crystal_HC49-4H_Vertical)
(datasheet ~)
(libsource (lib Device) (part Crystal) (description "Two pin crystal"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCCC025))
(comp (ref C3)
(value C)
(footprint Capacitor_THT:C_Axial_L3.8mm_D2.6mm_P7.50mm_Horizontal)
(datasheet ~)
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCCE1D2))
(comp (ref C4)
(value C)
(footprint Capacitor_THT:C_Axial_L3.8mm_D2.6mm_P7.50mm_Horizontal)
(datasheet ~)
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCCE6AD))
(comp (ref J1)
(value Conn_01x02_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x02_Male) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCD72B6))
(comp (ref J2)
(value Conn_01x02_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x02_Male) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCD8CDD))
(comp (ref J3)
(value Conn_01x02_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x02_Male) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCD9116))
(comp (ref J4)
(value Conn_01x02_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x02_Male) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCD9433))
(comp (ref J5)
(value Conn_01x02_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x02_Male) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCD9738))
(comp (ref J6)
(value Conn_01x02_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x02_Male) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCDA07A))
(comp (ref J7)
(value Conn_01x02_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x02_Male) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCDA4A0))
(comp (ref J8)
(value Conn_01x02_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x02_Male) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCDA871))
(comp (ref J9)
(value Conn_01x02_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x02_Male) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCDAC54))
(comp (ref J10)
(value Conn_01x02_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x02_Male) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCDB049))
(comp (ref J11)
(value Conn_01x02_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x02_Male) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCDB4D0))
(comp (ref J12)
(value Conn_01x02_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x02_Male) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCDB9C4))
(comp (ref J14)
(value Conn_02x03_Odd_Even)
(footprint Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector_Generic) (part Conn_02x03_Odd_Even) (description "Generic connector, double row, 02x03, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCBBCF7))
(comp (ref J15)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCC19AC))
(comp (ref J16)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCC25FC))
(comp (ref J17)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCC9433))
(comp (ref J18)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCC9439))
(comp (ref J19)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCCB27E))
(comp (ref J20)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCCB284))
(comp (ref J21)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCCB28C))
(comp (ref J22)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCCB292))
(comp (ref J23)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCCC0C3))
(comp (ref J24)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCCC0C9))
(comp (ref J25)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCCC0D1))
(comp (ref J26)
(value Conn_01x01_Male)
(footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
(datasheet ~)
(libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCF3955))
(comp (ref C5)
(value C)
(footprint Capacitor_THT:C_Axial_L3.8mm_D2.6mm_P7.50mm_Horizontal)
(datasheet ~)
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCD76DF))
(comp (ref TP2)
(value TestPoint)
(footprint TestPoint:TestPoint_Pad_D2.0mm)
(datasheet ~)
(libsource (lib Connector) (part TestPoint) (description "test point"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCD7A57))
(comp (ref TP3)
(value TestPoint)
(footprint TestPoint:TestPoint_Pad_D2.0mm)
(datasheet ~)
(libsource (lib Connector) (part TestPoint) (description "test point"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCE171F))
(comp (ref TP1)
(value TestPoint)
(footprint TestPoint:TestPoint_Pad_D2.0mm)
(datasheet ~)
(libsource (lib Connector) (part TestPoint) (description "test point"))
(sheetpath (names /) (tstamps /))
(tstamp 5DCE269D))
(comp (ref R3)
(value 22)
(footprint Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 5DCC40A4))
(comp (ref R2)
(value 22)
(footprint Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal)
(datasheet ~)
(libsource (lib Device) (part R) (description Resistor))
(sheetpath (names /) (tstamps /))
(tstamp 5DCC3CA3))
(comp (ref U1)
(value ATmega32U4-AU)
(footprint Package_QFP:TQFP-44_10x10mm_P0.8mm)
(datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7766-8-bit-AVR-ATmega16U4-32U4_Datasheet.pdf)
(libsource (lib MCU_Microchip_ATmega) (part ATmega32U4-AU) (description "16MHz, 32kB Flash, 2.5kB SRAM, 1kB EEPROM, USB 2.0, TQFP-44"))
(sheetpath (names /) (tstamps /))
(tstamp 6155AFF4)))
(libparts
(libpart (lib Connector) (part Conn_01x01_Male)
(description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)")
(docs ~)
(footprints
(fp Connector*:*))
(fields
(field (name Reference) J)
(field (name Value) Conn_01x01_Male))
(pins
(pin (num 1) (name Pin_1) (type passive))))
(libpart (lib Connector) (part Conn_01x02_Male)
(description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
(docs ~)
(footprints
(fp Connector*:*_1x??_*))
(fields
(field (name Reference) J)
(field (name Value) Conn_01x02_Male))
(pins
(pin (num 1) (name Pin_1) (type passive))
(pin (num 2) (name Pin_2) (type passive))))
(libpart (lib Connector) (part Conn_01x04_Male)
(description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)")
(docs ~)
(footprints
(fp Connector*:*_1x??_*))
(fields
(field (name Reference) J)
(field (name Value) Conn_01x04_Male))
(pins
(pin (num 1) (name Pin_1) (type passive))
(pin (num 2) (name Pin_2) (type passive))
(pin (num 3) (name Pin_3) (type passive))
(pin (num 4) (name Pin_4) (type passive))))
(libpart (lib Connector) (part TestPoint)
(description "test point")
(docs ~)
(footprints
(fp Pin*)
(fp Test*))
(fields
(field (name Reference) TP)
(field (name Value) TestPoint))
(pins
(pin (num 1) (name 1) (type passive))))
(libpart (lib Connector_Generic) (part Conn_02x03_Odd_Even)
(description "Generic connector, double row, 02x03, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)")
(docs ~)
(footprints
(fp Connector*:*_2x??_*))
(fields
(field (name Reference) J)
(field (name Value) Conn_02x03_Odd_Even))
(pins
(pin (num 1) (name Pin_1) (type passive))
(pin (num 2) (name Pin_2) (type passive))
(pin (num 3) (name Pin_3) (type passive))
(pin (num 4) (name Pin_4) (type passive))
(pin (num 5) (name Pin_5) (type passive))
(pin (num 6) (name Pin_6) (type passive))))
(libpart (lib Device) (part C)
(description "Unpolarized capacitor")
(docs ~)
(footprints
(fp C_*))
(fields
(field (name Reference) C)
(field (name Value) C))
(pins
(pin (num 1) (name ~) (type passive))
(pin (num 2) (name ~) (type passive))))
(libpart (lib Device) (part Crystal)
(description "Two pin crystal")
(docs ~)
(footprints
(fp Crystal*))
(fields
(field (name Reference) Y)
(field (name Value) Crystal))
(pins
(pin (num 1) (name 1) (type passive))
(pin (num 2) (name 2) (type passive))))
(libpart (lib Device) (part R)
(description Resistor)
(docs ~)
(footprints
(fp R_*))
(fields
(field (name Reference) R)
(field (name Value) R))
(pins
(pin (num 1) (name ~) (type passive))
(pin (num 2) (name ~) (type passive))))
(libpart (lib MCU_Microchip_ATmega) (part ATmega16U4-AU)
(aliases
(alias ATmega16U4RC-AU)
(alias ATmega32U4-AU)
(alias ATmega32U4RC-AU))
(description "16MHz, 16kB Flash, 1.25kB SRAM, 512B EEPROM, USB 2.0, TQFP-44")
(docs http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7766-8-bit-AVR-ATmega16U4-32U4_Datasheet.pdf)
(footprints
(fp TQFP*10x10mm*P0.8mm*))
(fields
(field (name Reference) U)
(field (name Value) ATmega16U4-AU)
(field (name Footprint) Package_QFP:TQFP-44_10x10mm_P0.8mm))
(pins
(pin (num 1) (name PE6) (type BiDi))
(pin (num 2) (name UVCC) (type power_in))
(pin (num 3) (name D-) (type BiDi))
(pin (num 4) (name D+) (type BiDi))
(pin (num 5) (name UGND) (type passive))
(pin (num 6) (name UCAP) (type passive))
(pin (num 7) (name VBUS) (type input))
(pin (num 8) (name PB0) (type BiDi))
(pin (num 9) (name PB1) (type BiDi))
(pin (num 10) (name PB2) (type BiDi))
(pin (num 11) (name PB3) (type BiDi))
(pin (num 12) (name PB7) (type BiDi))
(pin (num 13) (name ~RESET) (type input))
(pin (num 14) (name VCC) (type power_in))
(pin (num 15) (name GND) (type power_in))
(pin (num 16) (name XTAL2) (type output))
(pin (num 17) (name XTAL1) (type input))
(pin (num 18) (name PD0) (type BiDi))
(pin (num 19) (name PD1) (type BiDi))
(pin (num 20) (name PD2) (type BiDi))
(pin (num 21) (name PD3) (type BiDi))
(pin (num 22) (name PD5) (type BiDi))
(pin (num 23) (name GND) (type passive))
(pin (num 24) (name AVCC) (type power_in))
(pin (num 25) (name PD4) (type BiDi))
(pin (num 26) (name PD6) (type BiDi))
(pin (num 27) (name PD7) (type BiDi))
(pin (num 28) (name PB4) (type BiDi))
(pin (num 29) (name PB5) (type BiDi))
(pin (num 30) (name PB6) (type BiDi))
(pin (num 31) (name PC6) (type BiDi))
(pin (num 32) (name PC7) (type BiDi))
(pin (num 33) (name ~HWB~/PE2) (type BiDi))
(pin (num 34) (name VCC) (type passive))
(pin (num 35) (name GND) (type passive))
(pin (num 36) (name PF7) (type BiDi))
(pin (num 37) (name PF6) (type BiDi))
(pin (num 38) (name PF5) (type BiDi))
(pin (num 39) (name PF4) (type BiDi))
(pin (num 40) (name PF1) (type BiDi))
(pin (num 41) (name PF0) (type BiDi))
(pin (num 42) (name AREF) (type passive))
(pin (num 43) (name GND) (type passive))
(pin (num 44) (name AVCC) (type passive)))))
(libraries
(library (logical Connector)
(uri /usr/share/kicad/library/Connector.lib))
(library (logical Connector_Generic)
(uri /usr/share/kicad/library/Connector_Generic.lib))
(library (logical Device)
(uri /usr/share/kicad/library/Device.lib))
(library (logical MCU_Microchip_ATmega)
(uri /usr/share/kicad/library/MCU_Microchip_ATmega.lib)))
(nets
(net (code 1) (name RST)
(node (ref J14) (pin 5))
(node (ref U1) (pin 13))
(node (ref R1) (pin 2)))
(net (code 2) (name "Net-(J17-Pad1)")
(node (ref J17) (pin 1)))
(net (code 3) (name "Net-(J18-Pad1)")
(node (ref J18) (pin 1)))
(net (code 4) (name "Net-(J16-Pad1)")
(node (ref J16) (pin 1)))
(net (code 5) (name "Net-(J15-Pad1)")
(node (ref J15) (pin 1)))
(net (code 6) (name "Net-(J19-Pad1)")
(node (ref J19) (pin 1)))
(net (code 7) (name "Net-(J20-Pad1)")
(node (ref J20) (pin 1)))
(net (code 8) (name "Net-(J21-Pad1)")
(node (ref J21) (pin 1)))
(net (code 9) (name "Net-(J22-Pad1)")
(node (ref J22) (pin 1)))
(net (code 10) (name "Net-(J23-Pad1)")
(node (ref J23) (pin 1)))
(net (code 11) (name "Net-(J24-Pad1)")
(node (ref J24) (pin 1)))
(net (code 12) (name "Net-(J25-Pad1)")
(node (ref J25) (pin 1)))
(net (code 13) (name "Net-(U1-Pad33)")
(node (ref U1) (pin 33)))
(net (code 14) (name +5V)
(node (ref U1) (pin 24))
(node (ref U1) (pin 44))
(node (ref U1) (pin 7))
(node (ref R1) (pin 1))
(node (ref C5) (pin 1))
(node (ref U1) (pin 14))
(node (ref U1) (pin 2))
(node (ref U1) (pin 34))
(node (ref J14) (pin 2))
(node (ref J13) (pin 1)))
(net (code 15) (name MOSI)
(node (ref J14) (pin 4))
(node (ref J3) (pin 1))
(node (ref U1) (pin 10)))
(net (code 16) (name ROW1)
(node (ref J2) (pin 1))
(node (ref U1) (pin 9))
(node (ref J14) (pin 3)))
(net (code 17) (name MISO)
(node (ref J14) (pin 1))
(node (ref U1) (pin 11))
(node (ref J4) (pin 1)))
(net (code 18) (name "Net-(U1-Pad29)")
(node (ref U1) (pin 29)))
(net (code 19) (name "Net-(TP3-Pad1)")
(node (ref U1) (pin 36))
(node (ref TP3) (pin 1)))
(net (code 20) (name "Net-(U1-Pad32)")
(node (ref U1) (pin 32)))
(net (code 21) (name "Net-(U1-Pad31)")
(node (ref U1) (pin 31)))
(net (code 22) (name "Net-(U1-Pad30)")
(node (ref U1) (pin 30)))
(net (code 23) (name "Net-(R3-Pad1)")
(node (ref R3) (pin 1))
(node (ref U1) (pin 3)))
(net (code 24) (name "Net-(TP2-Pad1)")
(node (ref TP2) (pin 1))
(node (ref U1) (pin 37)))
(net (code 25) (name ROW4)
(node (ref J5) (pin 1))
(node (ref U1) (pin 28)))
(net (code 26) (name "Net-(U1-Pad27)")
(node (ref U1) (pin 27)))
(net (code 27) (name "Net-(U1-Pad26)")
(node (ref U1) (pin 26)))
(net (code 28) (name COL4)
(node (ref J11) (pin 2))
(node (ref J5) (pin 2))
(node (ref U1) (pin 25)))
(net (code 29) (name COL5)
(node (ref J12) (pin 2))
(node (ref J6) (pin 2))
(node (ref U1) (pin 22)))
(net (code 30) (name COL3)
(node (ref J10) (pin 2))
(node (ref U1) (pin 21))
(node (ref J4) (pin 2)))
(net (code 31) (name "Net-(TP1-Pad1)")
(node (ref TP1) (pin 1))
(node (ref U1) (pin 38)))
(net (code 32) (name "Net-(U1-Pad39)")
(node (ref U1) (pin 39)))
(net (code 33) (name "Net-(R2-Pad1)")
(node (ref R2) (pin 1))
(node (ref U1) (pin 4)))
(net (code 34) (name "Net-(U1-Pad40)")
(node (ref U1) (pin 40)))
(net (code 35) (name "Net-(U1-Pad41)")
(node (ref U1) (pin 41)))
(net (code 36) (name "Net-(C1-Pad2)")
(node (ref C1) (pin 2))
(node (ref U1) (pin 42)))
(net (code 37) (name GND)
(node (ref C1) (pin 1))
(node (ref U1) (pin 5))
(node (ref U1) (pin 43))
(node (ref U1) (pin 23))
(node (ref U1) (pin 35))
(node (ref J14) (pin 6))
(node (ref J13) (pin 4))
(node (ref C2) (pin 2))
(node (ref U1) (pin 15))
(node (ref C4) (pin 1))
(node (ref C5) (pin 2))
(node (ref C3) (pin 1)))
(net (code 38) (name "Net-(C2-Pad1)")
(node (ref U1) (pin 6))
(node (ref C2) (pin 1)))
(net (code 39) (name ROW0)
(node (ref U1) (pin 8))
(node (ref J1) (pin 1)))
(net (code 40) (name D-)
(node (ref R3) (pin 2))
(node (ref J13) (pin 2)))
(net (code 41) (name "Net-(J26-Pad1)")
(node (ref J26) (pin 1)))
(net (code 42) (name D+)
(node (ref J13) (pin 3))
(node (ref R2) (pin 2)))
(net (code 43) (name "Net-(U1-Pad1)")
(node (ref U1) (pin 1)))
(net (code 44) (name "Net-(U1-Pad12)")
(node (ref U1) (pin 12)))
(net (code 45) (name COL0)
(node (ref J1) (pin 2))
(node (ref U1) (pin 18))
(node (ref J7) (pin 2)))
(net (code 46) (name COL1)
(node (ref J2) (pin 2))
(node (ref U1) (pin 19))
(node (ref J8) (pin 2)))
(net (code 47) (name COL2)
(node (ref J9) (pin 2))
(node (ref U1) (pin 20))
(node (ref J3) (pin 2)))
(net (code 48) (name XTAL1)
(node (ref Y1) (pin 1))
(node (ref U1) (pin 17))
(node (ref C3) (pin 2)))
(net (code 49) (name XTAL2)
(node (ref U1) (pin 16))
(node (ref C4) (pin 2))
(node (ref Y1) (pin 2)))
(net (code 50) (name "Net-(J8-Pad1)")
(node (ref J8) (pin 1)))
(net (code 51) (name "Net-(J9-Pad1)")
(node (ref J9) (pin 1)))
(net (code 52) (name "Net-(J10-Pad1)")
(node (ref J10) (pin 1)))
(net (code 53) (name "Net-(J11-Pad1)")
(node (ref J11) (pin 1)))
(net (code 54) (name "Net-(J12-Pad1)")
(node (ref J12) (pin 1)))
(net (code 55) (name "Net-(J6-Pad1)")
(node (ref J6) (pin 1)))
(net (code 56) (name "Net-(J7-Pad1)")
(node (ref J7) (pin 1)))))

View File

@@ -0,0 +1,248 @@
update=2019年11月13日 11時01分37秒
version=1
last_client=kicad
[general]
version=1
RootSch=
BoardNm=
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=
[eeschema/libraries]
[schematic_editor]
version=1
PageLayoutDescrFile=
PlotDirectoryName=
SubpartIdSeparator=0
SubpartFirstId=65
NetFmtName=Pcbnew
SpiceAjustPassiveValues=0
LabSize=50
ERC_TestSimilarLabels=1
[pcbnew]
version=1
PageLayoutDescrFile=
LastNetListRead=base.net
CopperLayerCount=2
BoardThickness=1.6
AllowMicroVias=0
AllowBlindVias=0
RequireCourtyardDefinitions=0
ProhibitOverlappingCourtyards=1
MinTrackWidth=0.2
MinViaDiameter=0.4
MinViaDrill=0.3
MinMicroViaDiameter=0.2
MinMicroViaDrill=0.09999999999999999
MinHoleToHole=0.25
TrackWidth1=0.25
ViaDiameter1=0.8
ViaDrill1=0.4
dPairWidth1=0.2
dPairGap1=0.25
dPairViaGap1=0.25
SilkLineWidth=0.12
SilkTextSizeV=1
SilkTextSizeH=1
SilkTextSizeThickness=0.15
SilkTextItalic=0
SilkTextUpright=1
CopperLineWidth=0.2
CopperTextSizeV=1.5
CopperTextSizeH=1.5
CopperTextThickness=0.3
CopperTextItalic=0
CopperTextUpright=1
EdgeCutLineWidth=0.05
CourtyardLineWidth=0.05
OthersLineWidth=0.15
OthersTextSizeV=1
OthersTextSizeH=1
OthersTextSizeThickness=0.15
OthersTextItalic=0
OthersTextUpright=1
SolderMaskClearance=0.051
SolderMaskMinWidth=0.25
SolderPasteClearance=0
SolderPasteRatio=-0
[pcbnew/Layer.F.Cu]
Name=F.Cu
Type=0
Enabled=1
[pcbnew/Layer.In1.Cu]
Name=In1.Cu
Type=0
Enabled=0
[pcbnew/Layer.In2.Cu]
Name=In2.Cu
Type=0
Enabled=0
[pcbnew/Layer.In3.Cu]
Name=In3.Cu
Type=0
Enabled=0
[pcbnew/Layer.In4.Cu]
Name=In4.Cu
Type=0
Enabled=0
[pcbnew/Layer.In5.Cu]
Name=In5.Cu
Type=0
Enabled=0
[pcbnew/Layer.In6.Cu]
Name=In6.Cu
Type=0
Enabled=0
[pcbnew/Layer.In7.Cu]
Name=In7.Cu
Type=0
Enabled=0
[pcbnew/Layer.In8.Cu]
Name=In8.Cu
Type=0
Enabled=0
[pcbnew/Layer.In9.Cu]
Name=In9.Cu
Type=0
Enabled=0
[pcbnew/Layer.In10.Cu]
Name=In10.Cu
Type=0
Enabled=0
[pcbnew/Layer.In11.Cu]
Name=In11.Cu
Type=0
Enabled=0
[pcbnew/Layer.In12.Cu]
Name=In12.Cu
Type=0
Enabled=0
[pcbnew/Layer.In13.Cu]
Name=In13.Cu
Type=0
Enabled=0
[pcbnew/Layer.In14.Cu]
Name=In14.Cu
Type=0
Enabled=0
[pcbnew/Layer.In15.Cu]
Name=In15.Cu
Type=0
Enabled=0
[pcbnew/Layer.In16.Cu]
Name=In16.Cu
Type=0
Enabled=0
[pcbnew/Layer.In17.Cu]
Name=In17.Cu
Type=0
Enabled=0
[pcbnew/Layer.In18.Cu]
Name=In18.Cu
Type=0
Enabled=0
[pcbnew/Layer.In19.Cu]
Name=In19.Cu
Type=0
Enabled=0
[pcbnew/Layer.In20.Cu]
Name=In20.Cu
Type=0
Enabled=0
[pcbnew/Layer.In21.Cu]
Name=In21.Cu
Type=0
Enabled=0
[pcbnew/Layer.In22.Cu]
Name=In22.Cu
Type=0
Enabled=0
[pcbnew/Layer.In23.Cu]
Name=In23.Cu
Type=0
Enabled=0
[pcbnew/Layer.In24.Cu]
Name=In24.Cu
Type=0
Enabled=0
[pcbnew/Layer.In25.Cu]
Name=In25.Cu
Type=0
Enabled=0
[pcbnew/Layer.In26.Cu]
Name=In26.Cu
Type=0
Enabled=0
[pcbnew/Layer.In27.Cu]
Name=In27.Cu
Type=0
Enabled=0
[pcbnew/Layer.In28.Cu]
Name=In28.Cu
Type=0
Enabled=0
[pcbnew/Layer.In29.Cu]
Name=In29.Cu
Type=0
Enabled=0
[pcbnew/Layer.In30.Cu]
Name=In30.Cu
Type=0
Enabled=0
[pcbnew/Layer.B.Cu]
Name=B.Cu
Type=0
Enabled=1
[pcbnew/Layer.B.Adhes]
Enabled=1
[pcbnew/Layer.F.Adhes]
Enabled=1
[pcbnew/Layer.B.Paste]
Enabled=1
[pcbnew/Layer.F.Paste]
Enabled=1
[pcbnew/Layer.B.SilkS]
Enabled=1
[pcbnew/Layer.F.SilkS]
Enabled=1
[pcbnew/Layer.B.Mask]
Enabled=1
[pcbnew/Layer.F.Mask]
Enabled=1
[pcbnew/Layer.Dwgs.User]
Enabled=1
[pcbnew/Layer.Cmts.User]
Enabled=1
[pcbnew/Layer.Eco1.User]
Enabled=1
[pcbnew/Layer.Eco2.User]
Enabled=1
[pcbnew/Layer.Edge.Cuts]
Enabled=1
[pcbnew/Layer.Margin]
Enabled=1
[pcbnew/Layer.B.CrtYd]
Enabled=1
[pcbnew/Layer.F.CrtYd]
Enabled=1
[pcbnew/Layer.B.Fab]
Enabled=1
[pcbnew/Layer.F.Fab]
Enabled=1
[pcbnew/Layer.Rescue]
Enabled=0
[pcbnew/Netclasses]
[pcbnew/Netclasses/Default]
Name=Default
Clearance=0.2
TrackWidth=0.25
ViaDiameter=0.8
ViaDrill=0.4
uViaDiameter=0.3
uViaDrill=0.1
dPairWidth=0.2
dPairGap=0.25
dPairViaGap=0.25

View File

@@ -0,0 +1,849 @@
EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L Connector:Conn_01x04_Male J13
U 1 1 5DCABE39
P 7550 3250
F 0 "J13" H 7658 3531 50 0000 C CNN
F 1 "Conn_01x04_Male" H 7658 3440 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical" H 7550 3250 50 0001 C CNN
F 3 "~" H 7550 3250 50 0001 C CNN
1 7550 3250
1 0 0 -1
$EndComp
Text GLabel 7750 3250 2 50 Input ~ 0
D-
Text GLabel 7750 3350 2 50 Input ~ 0
D+
$Comp
L power:+5V #PWR09
U 1 1 5DCAE395
P 6600 3250
F 0 "#PWR09" H 6600 3100 50 0001 C CNN
F 1 "+5V" H 6615 3423 50 0000 C CNN
F 2 "" H 6600 3250 50 0001 C CNN
F 3 "" H 6600 3250 50 0001 C CNN
1 6600 3250
1 0 0 -1
$EndComp
$Comp
L power:PWR_FLAG #FLG01
U 1 1 5DCAE6E0
P 6600 3350
F 0 "#FLG01" H 6600 3425 50 0001 C CNN
F 1 "PWR_FLAG" H 6600 3523 50 0000 C CNN
F 2 "" H 6600 3350 50 0001 C CNN
F 3 "~" H 6600 3350 50 0001 C CNN
1 6600 3350
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR010
U 1 1 5DCAEBC2
P 6900 3350
F 0 "#PWR010" H 6900 3100 50 0001 C CNN
F 1 "GND" H 6905 3177 50 0000 C CNN
F 2 "" H 6900 3350 50 0001 C CNN
F 3 "" H 6900 3350 50 0001 C CNN
1 6900 3350
1 0 0 -1
$EndComp
Wire Wire Line
6600 3350 6600 3250
$Comp
L power:+5V #PWR03
U 1 1 5DCB1123
P 3100 1050
F 0 "#PWR03" H 3100 900 50 0001 C CNN
F 1 "+5V" H 3115 1223 50 0000 C CNN
F 2 "" H 3100 1050 50 0001 C CNN
F 3 "" H 3100 1050 50 0001 C CNN
1 3100 1050
1 0 0 -1
$EndComp
$Comp
L power:+5V #PWR02
U 1 1 5DCB198A
P 3000 1050
F 0 "#PWR02" H 3000 900 50 0001 C CNN
F 1 "+5V" H 3015 1223 50 0000 C CNN
F 2 "" H 3000 1050 50 0001 C CNN
F 3 "" H 3000 1050 50 0001 C CNN
1 3000 1050
1 0 0 -1
$EndComp
$Comp
L power:+5V #PWR01
U 1 1 5DCB1D13
P 2900 1050
F 0 "#PWR01" H 2900 900 50 0001 C CNN
F 1 "+5V" H 2915 1223 50 0000 C CNN
F 2 "" H 2900 1050 50 0001 C CNN
F 3 "" H 2900 1050 50 0001 C CNN
1 2900 1050
1 0 0 -1
$EndComp
$Comp
L Device:R R1
U 1 1 5DCB1F46
P 2150 1250
F 0 "R1" V 2357 1250 50 0000 C CNN
F 1 "10K" V 2266 1250 50 0000 C CNN
F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal" V 2080 1250 50 0001 C CNN
F 3 "~" H 2150 1250 50 0001 C CNN
1 2150 1250
0 -1 -1 0
$EndComp
$Comp
L power:+5V #PWR04
U 1 1 5DCB245E
P 2000 1250
F 0 "#PWR04" H 2000 1100 50 0001 C CNN
F 1 "+5V" V 2015 1378 50 0000 L CNN
F 2 "" H 2000 1250 50 0001 C CNN
F 3 "" H 2000 1250 50 0001 C CNN
1 2000 1250
1 0 0 -1
$EndComp
$Comp
L Device:C C1
U 1 1 5DCB368B
P 2250 1950
F 0 "C1" V 2502 1950 50 0000 C CNN
F 1 "0.1uF" V 2411 1950 50 0000 C CNN
F 2 "Capacitor_THT:C_Axial_L3.8mm_D2.6mm_P7.50mm_Horizontal" H 2288 1800 50 0001 C CNN
F 3 "~" H 2250 1950 50 0001 C CNN
1 2250 1950
0 -1 -1 0
$EndComp
$Comp
L power:GND #PWR05
U 1 1 5DCB5F52
P 2100 1950
F 0 "#PWR05" H 2100 1700 50 0001 C CNN
F 1 "GND" H 2105 1777 50 0000 C CNN
F 2 "" H 2100 1950 50 0001 C CNN
F 3 "" H 2100 1950 50 0001 C CNN
1 2100 1950
1 0 0 -1
$EndComp
Text GLabel 2400 1550 0 50 Input ~ 0
XTAL1
Text GLabel 2400 1750 0 50 Input ~ 0
XTAL2
Text GLabel 3600 1350 2 50 Input ~ 0
ROW0
Text GLabel 4100 1300 2 50 Input ~ 0
ROW1
Text GLabel 4100 1500 2 50 Input ~ 0
ROW2
Text GLabel 4100 1700 2 50 Input ~ 0
ROW3
Text GLabel 3600 1750 2 50 Input ~ 0
ROW4
Text GLabel 3600 2550 2 50 Input ~ 0
COL0
Text GLabel 3600 2650 2 50 Input ~ 0
COL1
Text GLabel 3600 2750 2 50 Input ~ 0
COL2
Text GLabel 3600 2850 2 50 Input ~ 0
COL3
Text GLabel 3600 2950 2 50 Input ~ 0
COL4
Text GLabel 3600 3050 2 50 Input ~ 0
COL5
NoConn ~ 3600 1850
NoConn ~ 3600 1950
NoConn ~ 3600 2050
NoConn ~ 3600 2250
NoConn ~ 3600 2350
NoConn ~ 3600 3150
NoConn ~ 3600 3250
NoConn ~ 3600 3550
NoConn ~ 3600 3850
NoConn ~ 3600 3950
$Comp
L power:+5V #PWR06
U 1 1 5DCC0F92
P 2400 2150
F 0 "#PWR06" H 2400 2000 50 0001 C CNN
F 1 "+5V" H 2415 2323 50 0000 C CNN
F 2 "" H 2400 2150 50 0001 C CNN
F 3 "" H 2400 2150 50 0001 C CNN
1 2400 2150
1 0 0 -1
$EndComp
$Comp
L Device:C C2
U 1 1 5DCC2D05
P 2250 2650
F 0 "C2" V 1998 2650 50 0000 C CNN
F 1 "1uF" V 2089 2650 50 0000 C CNN
F 2 "Capacitor_THT:C_Axial_L3.8mm_D2.6mm_P7.50mm_Horizontal" H 2288 2500 50 0001 C CNN
F 3 "~" H 2250 2650 50 0001 C CNN
1 2250 2650
0 1 1 0
$EndComp
$Comp
L power:GND #PWR07
U 1 1 5DCC34C8
P 2100 2650
F 0 "#PWR07" H 2100 2400 50 0001 C CNN
F 1 "GND" H 2105 2477 50 0000 C CNN
F 2 "" H 2100 2650 50 0001 C CNN
F 3 "" H 2100 2650 50 0001 C CNN
1 2100 2650
1 0 0 -1
$EndComp
Text GLabel 5000 3100 0 50 Input ~ 0
XTAL1
Text GLabel 5000 3400 0 50 Input ~ 0
XTAL2
$Comp
L Device:Crystal Y1
U 1 1 5DCCC025
P 5350 3250
F 0 "Y1" V 5304 3381 50 0000 L CNN
F 1 "16MHz" V 5395 3381 50 0000 L CNN
F 2 "Crystal:Crystal_HC49-4H_Vertical" H 5350 3250 50 0001 C CNN
F 3 "~" H 5350 3250 50 0001 C CNN
1 5350 3250
0 1 1 0
$EndComp
Wire Wire Line
5000 3100 5350 3100
Wire Wire Line
5000 3400 5350 3400
$Comp
L Device:C C3
U 1 1 5DCCE1D2
P 5800 3100
F 0 "C3" V 5548 3100 50 0000 C CNN
F 1 "C" V 5639 3100 50 0000 C CNN
F 2 "Capacitor_THT:C_Axial_L3.8mm_D2.6mm_P7.50mm_Horizontal" H 5838 2950 50 0001 C CNN
F 3 "~" H 5800 3100 50 0001 C CNN
1 5800 3100
0 1 1 0
$EndComp
$Comp
L Device:C C4
U 1 1 5DCCE6AD
P 5800 3400
F 0 "C4" V 5548 3400 50 0000 C CNN
F 1 "C" V 5639 3400 50 0000 C CNN
F 2 "Capacitor_THT:C_Axial_L3.8mm_D2.6mm_P7.50mm_Horizontal" H 5838 3250 50 0001 C CNN
F 3 "~" H 5800 3400 50 0001 C CNN
1 5800 3400
0 1 1 0
$EndComp
Wire Wire Line
5650 3400 5350 3400
Connection ~ 5350 3400
Wire Wire Line
5350 3100 5650 3100
Connection ~ 5350 3100
$Comp
L power:GND #PWR012
U 1 1 5DCCF18E
P 6150 3400
F 0 "#PWR012" H 6150 3150 50 0001 C CNN
F 1 "GND" H 6155 3227 50 0000 C CNN
F 2 "" H 6150 3400 50 0001 C CNN
F 3 "" H 6150 3400 50 0001 C CNN
1 6150 3400
1 0 0 -1
$EndComp
Wire Wire Line
6150 3400 5950 3400
Wire Wire Line
5950 3100 6150 3100
Wire Wire Line
6150 3100 6150 3400
Connection ~ 6150 3400
$Comp
L Connector:Conn_01x02_Male J1
U 1 1 5DCD72B6
P 4900 1400
F 0 "J1" V 4962 1444 50 0000 L CNN
F 1 "Conn_01x02_Male" V 5053 1444 50 0000 L CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" H 4900 1400 50 0001 C CNN
F 3 "~" H 4900 1400 50 0001 C CNN
1 4900 1400
0 1 1 0
$EndComp
$Comp
L Connector:Conn_01x02_Male J2
U 1 1 5DCD8CDD
P 5800 1400
F 0 "J2" V 5862 1444 50 0000 L CNN
F 1 "Conn_01x02_Male" V 5953 1444 50 0000 L CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" H 5800 1400 50 0001 C CNN
F 3 "~" H 5800 1400 50 0001 C CNN
1 5800 1400
0 1 1 0
$EndComp
$Comp
L Connector:Conn_01x02_Male J3
U 1 1 5DCD9116
P 6700 1400
F 0 "J3" V 6762 1444 50 0000 L CNN
F 1 "Conn_01x02_Male" V 6853 1444 50 0000 L CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" H 6700 1400 50 0001 C CNN
F 3 "~" H 6700 1400 50 0001 C CNN
1 6700 1400
0 1 1 0
$EndComp
$Comp
L Connector:Conn_01x02_Male J4
U 1 1 5DCD9433
P 7600 1400
F 0 "J4" V 7662 1444 50 0000 L CNN
F 1 "Conn_01x02_Male" V 7753 1444 50 0000 L CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" H 7600 1400 50 0001 C CNN
F 3 "~" H 7600 1400 50 0001 C CNN
1 7600 1400
0 1 1 0
$EndComp
$Comp
L Connector:Conn_01x02_Male J5
U 1 1 5DCD9738
P 8500 1400
F 0 "J5" V 8562 1444 50 0000 L CNN
F 1 "Conn_01x02_Male" V 8653 1444 50 0000 L CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" H 8500 1400 50 0001 C CNN
F 3 "~" H 8500 1400 50 0001 C CNN
1 8500 1400
0 1 1 0
$EndComp
$Comp
L Connector:Conn_01x02_Male J6
U 1 1 5DCDA07A
P 9400 1400
F 0 "J6" V 9462 1444 50 0000 L CNN
F 1 "Conn_01x02_Male" V 9553 1444 50 0000 L CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" H 9400 1400 50 0001 C CNN
F 3 "~" H 9400 1400 50 0001 C CNN
1 9400 1400
0 1 1 0
$EndComp
$Comp
L Connector:Conn_01x02_Male J7
U 1 1 5DCDA4A0
P 4900 2100
F 0 "J7" V 4962 2144 50 0000 L CNN
F 1 "Conn_01x02_Male" V 5053 2144 50 0000 L CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" H 4900 2100 50 0001 C CNN
F 3 "~" H 4900 2100 50 0001 C CNN
1 4900 2100
0 1 1 0
$EndComp
$Comp
L Connector:Conn_01x02_Male J8
U 1 1 5DCDA871
P 5800 2100
F 0 "J8" V 5862 2144 50 0000 L CNN
F 1 "Conn_01x02_Male" V 5953 2144 50 0000 L CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" H 5800 2100 50 0001 C CNN
F 3 "~" H 5800 2100 50 0001 C CNN
1 5800 2100
0 1 1 0
$EndComp
$Comp
L Connector:Conn_01x02_Male J9
U 1 1 5DCDAC54
P 6700 2100
F 0 "J9" V 6762 2144 50 0000 L CNN
F 1 "Conn_01x02_Male" V 6853 2144 50 0000 L CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" H 6700 2100 50 0001 C CNN
F 3 "~" H 6700 2100 50 0001 C CNN
1 6700 2100
0 1 1 0
$EndComp
$Comp
L Connector:Conn_01x02_Male J10
U 1 1 5DCDB049
P 7600 2100
F 0 "J10" V 7662 2144 50 0000 L CNN
F 1 "Conn_01x02_Male" V 7753 2144 50 0000 L CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" H 7600 2100 50 0001 C CNN
F 3 "~" H 7600 2100 50 0001 C CNN
1 7600 2100
0 1 1 0
$EndComp
$Comp
L Connector:Conn_01x02_Male J11
U 1 1 5DCDB4D0
P 8500 2100
F 0 "J11" V 8562 2144 50 0000 L CNN
F 1 "Conn_01x02_Male" V 8653 2144 50 0000 L CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" H 8500 2100 50 0001 C CNN
F 3 "~" H 8500 2100 50 0001 C CNN
1 8500 2100
0 1 1 0
$EndComp
$Comp
L Connector:Conn_01x02_Male J12
U 1 1 5DCDB9C4
P 9400 2100
F 0 "J12" V 9462 2144 50 0000 L CNN
F 1 "Conn_01x02_Male" V 9553 2144 50 0000 L CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" H 9400 2100 50 0001 C CNN
F 3 "~" H 9400 2100 50 0001 C CNN
1 9400 2100
0 1 1 0
$EndComp
Text GLabel 4900 1600 3 50 Input ~ 0
ROW0
Text GLabel 4800 1600 3 50 Input ~ 0
COL0
Text GLabel 5700 1600 3 50 Input ~ 0
COL1
Text GLabel 5800 1600 3 50 Input ~ 0
ROW1
Text GLabel 6600 1600 3 50 Input ~ 0
COL2
Text GLabel 6700 1600 3 50 Input ~ 0
ROW2
Text GLabel 7500 1600 3 50 Input ~ 0
COL3
Text GLabel 7600 1600 3 50 Input ~ 0
ROW3
Text GLabel 8400 1600 3 50 Input ~ 0
COL4
Text GLabel 8500 1600 3 50 Input ~ 0
ROW4
Text GLabel 9300 1600 3 50 Input ~ 0
COL5
NoConn ~ 9400 1600
NoConn ~ 9400 2300
NoConn ~ 8500 2300
NoConn ~ 7600 2300
NoConn ~ 6700 2300
NoConn ~ 5800 2300
NoConn ~ 4900 2300
Text GLabel 4800 2300 3 50 Input ~ 0
COL0
Text GLabel 5700 2300 3 50 Input ~ 0
COL1
Text GLabel 6600 2300 3 50 Input ~ 0
COL2
Text GLabel 7500 2300 3 50 Input ~ 0
COL3
Text GLabel 8400 2300 3 50 Input ~ 0
COL4
Text GLabel 9300 2300 3 50 Input ~ 0
COL5
$Comp
L power:+5V #PWR08
U 1 1 5DD38CC3
P 8050 3150
F 0 "#PWR08" H 8050 3000 50 0001 C CNN
F 1 "+5V" H 8065 3323 50 0000 C CNN
F 2 "" H 8050 3150 50 0001 C CNN
F 3 "" H 8050 3150 50 0001 C CNN
1 8050 3150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR013
U 1 1 5DD39183
P 8050 3450
F 0 "#PWR013" H 8050 3200 50 0001 C CNN
F 1 "GND" H 8055 3277 50 0000 C CNN
F 2 "" H 8050 3450 50 0001 C CNN
F 3 "" H 8050 3450 50 0001 C CNN
1 8050 3450
1 0 0 -1
$EndComp
Wire Wire Line
8050 3450 7750 3450
Wire Wire Line
7750 3150 8050 3150
NoConn ~ 3600 3750
Text GLabel 8750 3200 0 50 Input ~ 0
MISO
Text GLabel 8750 3300 0 50 Input ~ 0
SCK
Text GLabel 8750 3400 0 50 Input ~ 0
RST
Text GLabel 9250 3300 2 50 Input ~ 0
MOSI
$Comp
L Connector_Generic:Conn_02x03_Odd_Even J14
U 1 1 5DCBBCF7
P 8950 3300
F 0 "J14" H 9000 3617 50 0000 C CNN
F 1 "Conn_02x03_Odd_Even" H 9000 3526 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical" H 8950 3300 50 0001 C CNN
F 3 "~" H 8950 3300 50 0001 C CNN
1 8950 3300
1 0 0 -1
$EndComp
$Comp
L power:+5V #PWR0101
U 1 1 5DCC3C84
P 9550 3200
F 0 "#PWR0101" H 9550 3050 50 0001 C CNN
F 1 "+5V" H 9565 3373 50 0000 C CNN
F 2 "" H 9550 3200 50 0001 C CNN
F 3 "" H 9550 3200 50 0001 C CNN
1 9550 3200
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0102
U 1 1 5DCC4385
P 9550 3400
F 0 "#PWR0102" H 9550 3150 50 0001 C CNN
F 1 "GND" H 9555 3227 50 0000 C CNN
F 2 "" H 9550 3400 50 0001 C CNN
F 3 "" H 9550 3400 50 0001 C CNN
1 9550 3400
1 0 0 -1
$EndComp
Wire Wire Line
9550 3400 9250 3400
Wire Wire Line
9250 3200 9550 3200
$Comp
L power:GND #PWR016
U 1 1 5DCB09C1
P 2450 4650
F 0 "#PWR016" H 2450 4400 50 0001 C CNN
F 1 "GND" H 2455 4477 50 0000 C CNN
F 2 "" H 2450 4650 50 0001 C CNN
F 3 "" H 2450 4650 50 0001 C CNN
1 2450 4650
1 0 0 -1
$EndComp
Text GLabel 4100 1400 2 50 Input ~ 0
SCK
Text GLabel 4100 1600 2 50 Input ~ 0
MOSI
Text GLabel 4100 1800 2 50 Input ~ 0
MISO
Wire Wire Line
4100 1300 3900 1300
Wire Wire Line
3900 1300 3900 1400
Wire Wire Line
3900 1450 3600 1450
Wire Wire Line
4100 1400 3900 1400
Connection ~ 3900 1400
Wire Wire Line
3900 1400 3900 1450
Wire Wire Line
4100 1500 3900 1500
Wire Wire Line
3900 1500 3900 1550
Wire Wire Line
3900 1600 4100 1600
Wire Wire Line
3900 1550 3600 1550
Connection ~ 3900 1550
Wire Wire Line
3900 1550 3900 1600
Wire Wire Line
3600 1650 3900 1650
Wire Wire Line
3900 1650 3900 1700
Wire Wire Line
3900 1800 4100 1800
Wire Wire Line
4100 1700 3900 1700
Connection ~ 3900 1700
Wire Wire Line
3900 1700 3900 1800
Text GLabel 2300 1350 0 50 Input ~ 0
RST
Wire Wire Line
2300 1250 2350 1250
Wire Wire Line
2350 1250 2350 1350
Wire Wire Line
2350 1350 2300 1350
Wire Wire Line
2350 1350 2400 1350
Connection ~ 2350 1350
$Comp
L Connector:Conn_01x01_Male J15
U 1 1 5DCC19AC
P 4900 4100
F 0 "J15" H 5008 4281 50 0000 C CNN
F 1 "Conn_01x01_Male" H 5008 4190 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 4900 4100 50 0001 C CNN
F 3 "~" H 4900 4100 50 0001 C CNN
1 4900 4100
1 0 0 -1
$EndComp
$Comp
L Connector:Conn_01x01_Male J16
U 1 1 5DCC25FC
P 5600 4100
F 0 "J16" H 5708 4281 50 0000 C CNN
F 1 "Conn_01x01_Male" H 5708 4190 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 5600 4100 50 0001 C CNN
F 3 "~" H 5600 4100 50 0001 C CNN
1 5600 4100
1 0 0 -1
$EndComp
NoConn ~ 5100 4100
NoConn ~ 5800 4100
$Comp
L Connector:Conn_01x01_Male J17
U 1 1 5DCC9433
P 6300 4100
F 0 "J17" H 6408 4281 50 0000 C CNN
F 1 "Conn_01x01_Male" H 6408 4190 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 6300 4100 50 0001 C CNN
F 3 "~" H 6300 4100 50 0001 C CNN
1 6300 4100
1 0 0 -1
$EndComp
$Comp
L Connector:Conn_01x01_Male J18
U 1 1 5DCC9439
P 7000 4100
F 0 "J18" H 7108 4281 50 0000 C CNN
F 1 "Conn_01x01_Male" H 7108 4190 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 7000 4100 50 0001 C CNN
F 3 "~" H 7000 4100 50 0001 C CNN
1 7000 4100
1 0 0 -1
$EndComp
NoConn ~ 6500 4100
NoConn ~ 7200 4100
$Comp
L Connector:Conn_01x01_Male J19
U 1 1 5DCCB27E
P 4900 4450
F 0 "J19" H 5008 4631 50 0000 C CNN
F 1 "Conn_01x01_Male" H 5008 4540 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 4900 4450 50 0001 C CNN
F 3 "~" H 4900 4450 50 0001 C CNN
1 4900 4450
1 0 0 -1
$EndComp
$Comp
L Connector:Conn_01x01_Male J20
U 1 1 5DCCB284
P 5600 4450
F 0 "J20" H 5708 4631 50 0000 C CNN
F 1 "Conn_01x01_Male" H 5708 4540 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 5600 4450 50 0001 C CNN
F 3 "~" H 5600 4450 50 0001 C CNN
1 5600 4450
1 0 0 -1
$EndComp
NoConn ~ 5100 4450
NoConn ~ 5800 4450
$Comp
L Connector:Conn_01x01_Male J21
U 1 1 5DCCB28C
P 6300 4450
F 0 "J21" H 6408 4631 50 0000 C CNN
F 1 "Conn_01x01_Male" H 6408 4540 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 6300 4450 50 0001 C CNN
F 3 "~" H 6300 4450 50 0001 C CNN
1 6300 4450
1 0 0 -1
$EndComp
$Comp
L Connector:Conn_01x01_Male J22
U 1 1 5DCCB292
P 7000 4450
F 0 "J22" H 7108 4631 50 0000 C CNN
F 1 "Conn_01x01_Male" H 7108 4540 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 7000 4450 50 0001 C CNN
F 3 "~" H 7000 4450 50 0001 C CNN
1 7000 4450
1 0 0 -1
$EndComp
NoConn ~ 6500 4450
NoConn ~ 7200 4450
$Comp
L Connector:Conn_01x01_Male J23
U 1 1 5DCCC0C3
P 4900 4750
F 0 "J23" H 5008 4931 50 0000 C CNN
F 1 "Conn_01x01_Male" H 5008 4840 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 4900 4750 50 0001 C CNN
F 3 "~" H 4900 4750 50 0001 C CNN
1 4900 4750
1 0 0 -1
$EndComp
$Comp
L Connector:Conn_01x01_Male J24
U 1 1 5DCCC0C9
P 5600 4750
F 0 "J24" H 5708 4931 50 0000 C CNN
F 1 "Conn_01x01_Male" H 5708 4840 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 5600 4750 50 0001 C CNN
F 3 "~" H 5600 4750 50 0001 C CNN
1 5600 4750
1 0 0 -1
$EndComp
NoConn ~ 5100 4750
NoConn ~ 5800 4750
$Comp
L Connector:Conn_01x01_Male J25
U 1 1 5DCCC0D1
P 6300 4750
F 0 "J25" H 6408 4931 50 0000 C CNN
F 1 "Conn_01x01_Male" H 6408 4840 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 6300 4750 50 0001 C CNN
F 3 "~" H 6300 4750 50 0001 C CNN
1 6300 4750
1 0 0 -1
$EndComp
NoConn ~ 6500 4750
NoConn ~ 3600 3450
$Comp
L power:PWR_FLAG #FLG0101
U 1 1 5DCD4AE8
P 6900 3200
F 0 "#FLG0101" H 6900 3275 50 0001 C CNN
F 1 "PWR_FLAG" H 6900 3373 50 0000 C CNN
F 2 "" H 6900 3200 50 0001 C CNN
F 3 "~" H 6900 3200 50 0001 C CNN
1 6900 3200
1 0 0 -1
$EndComp
Wire Wire Line
6900 3200 6900 3350
$Comp
L Connector:Conn_01x01_Male J26
U 1 1 5DCF3955
P 7000 4750
F 0 "J26" H 7108 4931 50 0000 C CNN
F 1 "Conn_01x01_Male" H 7108 4840 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 7000 4750 50 0001 C CNN
F 3 "~" H 7000 4750 50 0001 C CNN
1 7000 4750
1 0 0 -1
$EndComp
NoConn ~ 7200 4750
$Comp
L power:+5V #PWR0103
U 1 1 5DCD7038
P 8150 3950
F 0 "#PWR0103" H 8150 3800 50 0001 C CNN
F 1 "+5V" H 8165 4123 50 0000 C CNN
F 2 "" H 8150 3950 50 0001 C CNN
F 3 "" H 8150 3950 50 0001 C CNN
1 8150 3950
1 0 0 -1
$EndComp
$Comp
L Device:C C5
U 1 1 5DCD76DF
P 8150 4100
F 0 "C5" H 8265 4146 50 0000 L CNN
F 1 "C" H 8265 4055 50 0000 L CNN
F 2 "Capacitor_THT:C_Axial_L3.8mm_D2.6mm_P7.50mm_Horizontal" H 8188 3950 50 0001 C CNN
F 3 "~" H 8150 4100 50 0001 C CNN
1 8150 4100
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0104
U 1 1 5DCD804D
P 8150 4250
F 0 "#PWR0104" H 8150 4000 50 0001 C CNN
F 1 "GND" H 8155 4077 50 0000 C CNN
F 2 "" H 8150 4250 50 0001 C CNN
F 3 "" H 8150 4250 50 0001 C CNN
1 8150 4250
1 0 0 -1
$EndComp
$Comp
L Connector:TestPoint TP2
U 1 1 5DCD7A57
P 3600 4150
F 0 "TP2" V 3554 4338 50 0000 L CNN
F 1 "TestPoint" V 3645 4338 50 0000 L CNN
F 2 "TestPoint:TestPoint_Pad_D2.0mm" H 3800 4150 50 0001 C CNN
F 3 "~" H 3800 4150 50 0001 C CNN
1 3600 4150
0 1 1 0
$EndComp
$Comp
L Connector:TestPoint TP3
U 1 1 5DCE171F
P 3600 4250
F 0 "TP3" V 3554 4438 50 0000 L CNN
F 1 "TestPoint" V 3645 4438 50 0000 L CNN
F 2 "TestPoint:TestPoint_Pad_D2.0mm" H 3800 4250 50 0001 C CNN
F 3 "~" H 3800 4250 50 0001 C CNN
1 3600 4250
0 1 1 0
$EndComp
$Comp
L Connector:TestPoint TP1
U 1 1 5DCE269D
P 3600 4050
F 0 "TP1" V 3554 4238 50 0000 L CNN
F 1 "TestPoint" V 3645 4238 50 0000 L CNN
F 2 "TestPoint:TestPoint_Pad_D2.0mm" H 3800 4050 50 0001 C CNN
F 3 "~" H 3800 4050 50 0001 C CNN
1 3600 4050
0 1 1 0
$EndComp
Text GLabel 2100 2450 0 50 Input ~ 0
D-
Text GLabel 2100 2350 0 50 Input ~ 0
D+
$Comp
L Device:R R3
U 1 1 5DCC40A4
P 2250 2450
F 0 "R3" V 2043 2450 50 0000 C CNN
F 1 "22" V 2134 2450 50 0000 C CNN
F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal" V 2180 2450 50 0001 C CNN
F 3 "~" H 2250 2450 50 0001 C CNN
1 2250 2450
0 1 1 0
$EndComp
$Comp
L Device:R R2
U 1 1 5DCC3CA3
P 2250 2350
F 0 "R2" V 2043 2350 50 0000 C CNN
F 1 "22" V 2134 2350 50 0000 C CNN
F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal" V 2180 2350 50 0001 C CNN
F 3 "~" H 2250 2350 50 0001 C CNN
1 2250 2350
0 1 1 0
$EndComp
Wire Wire Line
2450 4650 2900 4650
$Comp
L MCU_Microchip_ATmega:ATmega32U4-AU U1
U 1 1 6155AFF4
P 3000 2850
F 0 "U1" H 3000 961 50 0000 C CNN
F 1 "ATmega32U4-AU" H 3000 870 50 0000 C CNN
F 2 "Package_QFP:TQFP-44_10x10mm_P0.8mm" H 3000 2850 50 0001 C CIN
F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7766-8-bit-AVR-ATmega16U4-32U4_Datasheet.pdf" H 3000 2850 50 0001 C CNN
1 3000 2850
1 0 0 -1
$EndComp
Wire Wire Line
3000 4650 2900 4650
Connection ~ 2900 4650
$EndSCHEMATC

View File

@@ -0,0 +1,300 @@
// Uncomment next line if your PC thinks this is US keyboard.
#define JP_KEYBOARD
#include "Keyboard.h"
// COLS = PD0, PD1, PD2, PD3, PD4, PD5
// ROWS = PB0, PB1, PB2, PB3, PB4
#define COL B10000000
#define ROW B00000000
typedef enum {
C0 = COL + 0,
C1 = COL + 1,
C2 = COL + 2,
C3 = COL + 3,
C4 = COL + 4,
C5 = COL + 5,
R0 = ROW + 0,
R1 = ROW + 1,
R2 = ROW + 2,
R3 = ROW + 3,
R4 = ROW + 4,
} Pin;
#define ROWS 5
#define COLS 12
Pin keys[5][12][2] = {
{
{C0, R4},
{C1, R0},
{C2, R1},
{C3, R2},
{C4, R3},
{C5, R4},
{R0, C0},
{R1, C1},
{R2, C2},
{R3, C3},
{R4, C4},
{R0, C5},
},
{
{C0, R3},
{C1, R4},
{C2, R0},
{C3, R1},
{C4, R2},
{C5, R3},
{R4, C0},
{R0, C1},
{R1, C2},
{R2, C3},
{R3, C4},
{R4, C5},
},
{
{C0, R2},
{C1, R3},
{C2, R4},
{C3, R0},
{C4, R1},
{C5, R2},
{R3, C0},
{R4, C1},
{R0, C2},
{R1, C3},
{R2, C4},
{R3, C5},
},
{
{C0, R1},
{C1, R2},
{C2, R3},
{C3, R4},
{C4, R0},
{C5, R1},
{R2, C0},
{R3, C1},
{R4, C2},
{R0, C3},
{R1, C4},
{R2, C5},
},
{
{C0, R0},
{C1, R1},
{C2, R2},
{C3, R3},
{C4, R4},
{C5, R0},
{R1, C0},
{R2, C1},
{R3, C2},
{R4, C3},
{R0, C4},
{R1, C5},
},
};
uint16_t chars[5][12] = {
{
0x9BCF,
0x9BF5,
0x9B8E,
0x9BC7,
0x9B91,
0x9B66,
0x9BD4,
0x9BC6,
0x9C2F,
0x9B87,
0x9BCF,
0x9C53,
},
{
0x9C3B,
0x9C4F,
0x9C5B,
0x9C15,
0x9C27,
0x9C0D,
0x9C39,
0x9C5F,
0x9B73,
0x9C08,
0x9B8D,
0x9C5A,
},
{
0x9BE8,
0x9BC9,
0x9BD2,
0x9B97,
0x9BB4,
0x9BAD,
0x9BEF,
0x9BD6,
0x9BAB,
0x9C75,
0x9C06,
0x9BE2,
},
{
0x9C6A,
0x9BF1,
0x9B8A,
0x9BF3,
0x9C78,
0x9BD0,
0x9BAC,
0x9BDB,
0x9C16,
0x9C31,
0x9BB9,
0x9B5B,
},
{
0x9C48,
0x9C58,
0x9C45,
0x9C0C,
0x9BD4,
0x9BF0,
0x9C0A,
0x9BB8,
0x9BCA,
0x9C23,
0x9C30,
0x9B6C,
},
};
void setup() {
Keyboard.begin();
Serial.begin(9600);
DDRD = 0;
PORTD = B00111111;
DDRB = 0;
PORTB = B00011111;
delay(100);
}
void selectRow(Pin p) {
bool col = !!(COL & p);
byte mask = 1 << (p & B01111111);
if (col) {
DDRD = mask;
PORTD = ~mask;
} else {
DDRB = mask;
PORTB = ~mask;
}
}
bool readCol(Pin p) {
bool col = !!(COL & p);
byte mask = 1 << (p & B01111111);
return ((col ? PIND : PINB) & mask) == 0;
}
#define KEYBOARD_REPORT_ID 2
void sendKeyPush(uint8_t code, bool shift) {
KeyReport keys;
keys.keys[0] = 0;
keys.keys[1] = 0;
keys.keys[2] = 0;
keys.keys[3] = 0;
keys.keys[4] = 0;
keys.keys[5] = 0;
keys.modifiers = 0x00;
if (shift) {
keys.modifiers = 0x02;
HID().SendReport(KEYBOARD_REPORT_ID, &keys, sizeof(KeyReport));
}
keys.keys[0] = code;
HID().SendReport(KEYBOARD_REPORT_ID, &keys, sizeof(KeyReport));
keys.keys[0] = 0;
HID().SendReport(KEYBOARD_REPORT_ID, &keys, sizeof(KeyReport));
if (shift) {
keys.modifiers = 0;
HID().SendReport(KEYBOARD_REPORT_ID, &keys, sizeof(KeyReport));
}
}
#define KEY_0 0x27
#define KEY_1 0x1e
#define KEY_2 0x1f
#define KEY_3 0x20
#define KEY_4 0x21
#define KEY_5 0x22
#define KEY_6 0x23
#define KEY_7 0x24
#define KEY_8 0x25
#define KEY_9 0x26
#define KEY_A 0x04
#define KEY_B 0x05
#define KEY_C 0x06
#define KEY_D 0x07
#define KEY_E 0x08
#define KEY_F 0x09
#define KEY_U 0x18
#define KEY_EQUAL 0x2e
#define KEY_SEMICOLON 0x33
#define KEY_SPC 0x2c
#define KEY_ENT 0x28
void sendHex(int16_t in) {
static const uint8_t codes[] = {
KEY_0, KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, KEY_7,
KEY_8, KEY_9, KEY_A, KEY_B, KEY_C, KEY_D, KEY_E, KEY_F,
};
static const bool shifts[] = {
false, false, false, false, false, false, false, false,
false, false, true, true, true, true, true, true,
};
for (int i = 0; i < 4; i++) {
byte f = (in >> ((3 - i) * 4)) & 0xf;
sendKeyPush(codes[f], shifts[f]);
}
}
int c = 0;
void loop() {
delay(10);
Serial.println("--------");
for (int r = 0; r < ROWS; r++) {
for (int c = 0; c < COLS; c++) {
Pin* key = keys[r][c];
selectRow(key[0]);
delayMicroseconds(10);
bool pushed = readCol(key[1]);
Serial.print(pushed ? "1" : "0");
if (pushed) {
sendKeyPush(KEY_U, true);
#ifdef JP_KEYBOARD
sendKeyPush(KEY_SEMICOLON, true);
#else
sendKeyPush(KEY_EQUAL, true);
#endif
sendHex(chars[r][c]);
sendKeyPush(KEY_SPC, false);
sendKeyPush(KEY_SPC, false);
sendKeyPush(KEY_ENT, false);
delay(100);
}
DDRD = 0;
PORTD = B00111111;
DDRB = 0;
PORTB = B00011111;
}
Serial.println();
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

BIN
mozc-yunomi/images/pcb1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

BIN
mozc-yunomi/images/pcb2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

BIN
mozc-yunomi/images/pcbs.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 KiB

870
mozc-yunomi/jig.stl Normal file
View File

@@ -0,0 +1,870 @@
solid csg.js
facet normal -1 0 0
outer loop
vertex 0 0 0
vertex 0 0 3
vertex 0 3.1583663988384045 3
endloop
endfacet
facet normal -1 0 0
outer loop
vertex 0 0 0
vertex 0 3.1583663988384045 3
vertex 0 3.934823534145964 3
endloop
endfacet
facet normal -1 0 0
outer loop
vertex 0 0 0
vertex 0 3.934823534145964 3
vertex 0 4.374815910820243 3
endloop
endfacet
facet normal -1 0 0
outer loop
vertex 0 0 0
vertex 0 4.374815910820243 3
vertex 0 5.1512730461278045 3
endloop
endfacet
facet normal -1 0 0
outer loop
vertex 0 0 0
vertex 0 5.1512730461278045 3
vertex 0 12.878679656440358 3
endloop
endfacet
facet normal -1 0 0
outer loop
vertex 0 0 0
vertex 0 12.878679656440358 3
vertex 0 17.121320343559645 3
endloop
endfacet
facet normal -1 0 0
outer loop
vertex 0 0 0
vertex 0 17.121320343559645 3
vertex 0 24.848726953872195 3
endloop
endfacet
facet normal -1 0 0
outer loop
vertex 0 0 0
vertex 0 24.848726953872195 3
vertex 0 25.625184089179754 3
endloop
endfacet
facet normal -1 0 0
outer loop
vertex 0 0 0
vertex 0 25.625184089179754 3
vertex 0 26.065176465854037 3
endloop
endfacet
facet normal -1 0 0
outer loop
vertex 0 0 0
vertex 0 26.065176465854037 3
vertex 0 26.841633601161597 3
endloop
endfacet
facet normal -1 0 0
outer loop
vertex 0 0 0
vertex 0 26.841633601161597 3
vertex 0 30 3
endloop
endfacet
facet normal -1 0 0
outer loop
vertex 0 0 0
vertex 0 30 3
vertex 0 30 0
endloop
endfacet
facet normal 1 0 0
outer loop
vertex 20 0 0
vertex 20 30 0
vertex 20 30 3
endloop
endfacet
facet normal 1 0 0
outer loop
vertex 20 0 0
vertex 20 30 3
vertex 20 26.841633601161597 3
endloop
endfacet
facet normal 1 0 0
outer loop
vertex 20 0 0
vertex 20 26.841633601161597 3
vertex 20 19.114226990849048 3
endloop
endfacet
facet normal 1 0 0
outer loop
vertex 20 0 0
vertex 20 19.114226990849048 3
vertex 20 18.337769855541488 3
endloop
endfacet
facet normal 1 0 0
outer loop
vertex 20 0 0
vertex 20 18.337769855541488 3
vertex 20 17.897777478867205 3
endloop
endfacet
facet normal 1 0 0
outer loop
vertex 20 0 0
vertex 20 17.897777478867205 3
vertex 20 17.121320343559645 3
endloop
endfacet
facet normal 1 0 0
outer loop
vertex 20 0 0
vertex 20 17.121320343559645 3
vertex 20 12.878679656440358 3
endloop
endfacet
facet normal 1 0 0
outer loop
vertex 20 0 0
vertex 20 12.878679656440358 3
vertex 20 12.102222521132795 3
endloop
endfacet
facet normal 1 0 0
outer loop
vertex 20 0 0
vertex 20 12.102222521132795 3
vertex 20 11.66223014445851 3
endloop
endfacet
facet normal 1 0 0
outer loop
vertex 20 0 0
vertex 20 11.66223014445851 3
vertex 20 10.885773009150947 3
endloop
endfacet
facet normal 1 0 0
outer loop
vertex 20 0 0
vertex 20 10.885773009150947 3
vertex 20 3.1583663988384045 3
endloop
endfacet
facet normal 1 0 0
outer loop
vertex 20 0 0
vertex 20 3.1583663988384045 3
vertex 20 0 3
endloop
endfacet
facet normal 0 -1 0
outer loop
vertex 0 0 0
vertex 20 0 0
vertex 20 0 3
endloop
endfacet
facet normal 0 -1 0
outer loop
vertex 0 0 0
vertex 20 0 3
vertex 0 0 3
endloop
endfacet
facet normal 0 1 0
outer loop
vertex 0 30 0
vertex 0 30 3
vertex 20 30 3
endloop
endfacet
facet normal 0 1 0
outer loop
vertex 0 30 0
vertex 20 30 3
vertex 20 30 0
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 0 0 0
vertex 0 30 0
vertex 20 30 0
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 0 0 0
vertex 20 30 0
vertex 20 0 0
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 20 0 3
vertex 20 3.1583663988384045 3
vertex 11.692841887430882 3.1583663988384045 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 20 0 3
vertex 11.692841887430882 3.1583663988384045 3
vertex 0 3.1583663988384045 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 20 0 3
vertex 0 3.1583663988384045 3
vertex 0 0 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 11.692841887430882 3.1583663988384045 3
vertex 8.795064408563677 3.934823534145964 3
vertex 0 3.934823534145964 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 11.692841887430882 3.1583663988384045 3
vertex 0 3.934823534145964 3
vertex 0 3.1583663988384045 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 8.795064408563677 3.934823534145964 3
vertex 8.912960010569401 4.374815910820243 3
vertex 7.152990503872278 4.374815910820243 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 8.795064408563677 3.934823534145964 3
vertex 7.152990503872278 4.374815910820243 3
vertex 0 4.374815910820243 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 8.795064408563677 3.934823534145964 3
vertex 0 4.374815910820243 3
vertex 0 3.934823534145964 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 7.152990503872278 4.374815910820243 3
vertex 4.2552130250050695 5.1512730461278045 3
vertex 0 5.1512730461278045 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 7.152990503872278 4.374815910820243 3
vertex 0 5.1512730461278045 3
vertex 0 4.374815910820243 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 20 3.1583663988384045 3
vertex 20 10.885773009150947 3
vertex 13.763394248251055 10.885773009150947 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 20 3.1583663988384045 3
vertex 13.763394248251055 10.885773009150947 3
vertex 11.692841887430882 3.1583663988384045 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 8.912960010569401 4.374815910820243 3
vertex 10.86561676938385 11.66223014445851 3
vertex 9.105647262686716 11.66223014445851 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 8.912960010569401 4.374815910820243 3
vertex 9.105647262686716 11.66223014445851 3
vertex 7.152990503872278 4.374815910820243 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 20 10.885773009150947 3
vertex 20 11.66223014445851 3
vertex 10.86561676938385 11.66223014445851 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 20 10.885773009150947 3
vertex 10.86561676938385 11.66223014445851 3
vertex 13.763394248251055 10.885773009150947 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 10.86561676938385 11.66223014445851 3
vertex 20 11.66223014445851 3
vertex 20 12.102222521132795 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 10.86561676938385 11.66223014445851 3
vertex 20 12.102222521132795 3
vertex 9.22354286469244 12.102222521132795 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 10.86561676938385 11.66223014445851 3
vertex 9.22354286469244 12.102222521132795 3
vertex 9.105647262686716 11.66223014445851 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 4.2552130250050695 5.1512730461278045 3
vertex 6.325765385825235 12.878679656440358 3
vertex 0 12.878679656440358 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 4.2552130250050695 5.1512730461278045 3
vertex 0 12.878679656440358 3
vertex 0 5.1512730461278045 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 20 12.102222521132795 3
vertex 20 12.878679656440358 3
vertex 6.325765385825235 12.878679656440358 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 20 12.102222521132795 3
vertex 6.325765385825235 12.878679656440358 3
vertex 9.22354286469244 12.102222521132795 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 6.325765385825235 12.878679656440358 3
vertex 20 12.878679656440358 3
vertex 20 17.121320343559645 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 6.325765385825235 12.878679656440358 3
vertex 20 17.121320343559645 3
vertex 6.325765385825234 17.121320343559645 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 6.325765385825235 12.878679656440358 3
vertex 6.325765385825234 17.121320343559645 3
vertex 0 17.121320343559645 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 6.325765385825235 12.878679656440358 3
vertex 0 17.121320343559645 3
vertex 0 12.878679656440358 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 20 17.121320343559645 3
vertex 20 17.897777478867205 3
vertex 9.22354286469244 17.897777478867205 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 20 17.121320343559645 3
vertex 9.22354286469244 17.897777478867205 3
vertex 6.325765385825234 17.121320343559645 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 20 17.897777478867205 3
vertex 20 18.337769855541488 3
vertex 10.865616769383854 18.337769855541488 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 20 17.897777478867205 3
vertex 10.865616769383854 18.337769855541488 3
vertex 9.105647262686716 18.337769855541488 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 20 17.897777478867205 3
vertex 9.105647262686716 18.337769855541488 3
vertex 9.22354286469244 17.897777478867205 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 20 18.337769855541488 3
vertex 20 19.114226990849048 3
vertex 13.763394248251057 19.114226990849048 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 20 18.337769855541488 3
vertex 13.763394248251057 19.114226990849048 3
vertex 10.865616769383854 18.337769855541488 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 6.325765385825234 17.121320343559645 3
vertex 4.255213025005069 24.848726953872195 3
vertex 0 24.848726953872195 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 6.325765385825234 17.121320343559645 3
vertex 0 24.848726953872195 3
vertex 0 17.121320343559645 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 4.255213025005069 24.848726953872195 3
vertex 7.152990503872279 25.625184089179754 3
vertex 0 25.625184089179754 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 4.255213025005069 24.848726953872195 3
vertex 0 25.625184089179754 3
vertex 0 24.848726953872195 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 10.865616769383854 18.337769855541488 3
vertex 8.912960010569419 25.625184089179754 3
vertex 7.152990503872279 25.625184089179754 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 10.865616769383854 18.337769855541488 3
vertex 7.152990503872279 25.625184089179754 3
vertex 9.105647262686716 18.337769855541488 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 7.152990503872279 25.625184089179754 3
vertex 8.912960010569419 25.625184089179754 3
vertex 8.795064408563695 26.065176465854037 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 7.152990503872279 25.625184089179754 3
vertex 8.795064408563695 26.065176465854037 3
vertex 0 26.065176465854037 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 7.152990503872279 25.625184089179754 3
vertex 0 26.065176465854037 3
vertex 0 25.625184089179754 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 8.795064408563695 26.065176465854037 3
vertex 11.692841887430896 26.841633601161597 3
vertex 0 26.841633601161597 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 8.795064408563695 26.065176465854037 3
vertex 0 26.841633601161597 3
vertex 0 26.065176465854037 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 20 19.114226990849048 3
vertex 20 26.841633601161597 3
vertex 11.692841887430896 26.841633601161597 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 20 19.114226990849048 3
vertex 11.692841887430896 26.841633601161597 3
vertex 13.763394248251057 19.114226990849048 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 11.692841887430896 26.841633601161597 3
vertex 20 26.841633601161597 3
vertex 20 30 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 11.692841887430896 26.841633601161597 3
vertex 20 30 3
vertex 0 30 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 11.692841887430896 26.841633601161597 3
vertex 0 30 3
vertex 0 26.841633601161597 3
endloop
endfacet
facet normal -0.9659258262890684 -0.25881904510252046 0
outer loop
vertex 6.325765385825234 17.121320343559645 3
vertex 6.325765385825233 17.121320343559642 5
vertex 4.255213025005067 24.848726953872188 5
endloop
endfacet
facet normal -0.9659258262890684 -0.25881904510252046 0
outer loop
vertex 6.325765385825234 17.121320343559645 3
vertex 4.255213025005067 24.848726953872188 5
vertex 4.255213025005069 24.848726953872195 3
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 9.22354286469244 17.897777478867205 3
vertex 9.105647262686716 18.337769855541488 3
vertex 7.152990503872279 25.625184089179754 3
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 9.22354286469244 17.897777478867205 3
vertex 7.152990503872279 25.625184089179754 3
vertex 7.152990503872272 25.62518408917975 5
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 9.22354286469244 17.897777478867205 3
vertex 7.152990503872272 25.62518408917975 5
vertex 9.223542864692437 17.897777478867205 5
endloop
endfacet
facet normal 0.2588190451025201 -0.9659258262890685 0
outer loop
vertex 13.76339424825106 19.114226990849048 5.000000000000002
vertex 10.865616769383855 18.33776985554149 5.000000000000002
vertex 10.865616769383854 18.337769855541488 3
endloop
endfacet
facet normal 0.2588190451025201 -0.9659258262890685 0
outer loop
vertex 13.76339424825106 19.114226990849048 5.000000000000002
vertex 10.865616769383854 18.337769855541488 3
vertex 13.763394248251057 19.114226990849048 3
endloop
endfacet
facet normal 0.2588190451025201 -0.9659258262890685 0
outer loop
vertex 9.223542864692437 17.897777478867205 5
vertex 6.325765385825233 17.121320343559642 5
vertex 6.325765385825234 17.121320343559645 3
endloop
endfacet
facet normal 0.2588190451025201 -0.9659258262890685 0
outer loop
vertex 9.223542864692437 17.897777478867205 5
vertex 6.325765385825234 17.121320343559645 3
vertex 9.22354286469244 17.897777478867205 3
endloop
endfacet
facet normal -0.2588190451025201 0.9659258262890685 0
outer loop
vertex 4.255213025005067 24.848726953872188 5
vertex 7.152990503872272 25.62518408917975 5
vertex 7.152990503872279 25.625184089179754 3
endloop
endfacet
facet normal -0.2588190451025201 0.9659258262890685 0
outer loop
vertex 4.255213025005067 24.848726953872188 5
vertex 7.152990503872279 25.625184089179754 3
vertex 4.255213025005069 24.848726953872195 3
endloop
endfacet
facet normal -0.2588190451025201 0.9659258262890685 0
outer loop
vertex 8.795064408563688 26.065176465854037 5.000000000000002
vertex 11.692841887430891 26.841633601161597 5.000000000000002
vertex 11.692841887430896 26.841633601161597 3
endloop
endfacet
facet normal -0.2588190451025201 0.9659258262890685 0
outer loop
vertex 8.795064408563688 26.065176465854037 5.000000000000002
vertex 11.692841887430896 26.841633601161597 3
vertex 8.795064408563695 26.065176465854037 3
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 13.763394248251057 10.885773009150949 5
vertex 10.865616769383854 11.66223014445851 5
vertex 8.795064408563688 3.9348235341459645 5
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 13.763394248251057 10.885773009150949 5
vertex 8.795064408563688 3.9348235341459645 5
vertex 11.692841887430891 3.1583663988384014 5
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 9.223542864692437 12.102222521132795 5
vertex 6.325765385825233 12.878679656440358 5
vertex 4.255213025005067 5.1512730461278124 5
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 9.223542864692437 12.102222521132795 5
vertex 4.255213025005067 5.1512730461278124 5
vertex 7.152990503872272 4.374815910820249 5
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 9.223542864692437 17.897777478867205 5
vertex 7.152990503872272 25.62518408917975 5
vertex 4.255213025005067 24.848726953872188 5
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 9.223542864692437 17.897777478867205 5
vertex 4.255213025005067 24.848726953872188 5
vertex 6.325765385825233 17.121320343559642 5
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 13.76339424825106 19.114226990849048 5.000000000000002
vertex 11.692841887430891 26.841633601161597 5.000000000000002
vertex 8.795064408563688 26.065176465854037 5.000000000000002
endloop
endfacet
facet normal 0 0 1
outer loop
vertex 13.76339424825106 19.114226990849048 5.000000000000002
vertex 8.795064408563688 26.065176465854037 5.000000000000002
vertex 10.865616769383855 18.33776985554149 5.000000000000002
endloop
endfacet
facet normal -0.9659258262890686 -0.2588190451025198 1.2949804842696717e-15
outer loop
vertex 8.912960010569419 25.625184089179754 3
vertex 10.865616769383854 18.337769855541488 3
vertex 10.865616769383855 18.33776985554149 5.000000000000002
endloop
endfacet
facet normal -0.9659258262890686 -0.2588190451025198 1.2949804842696717e-15
outer loop
vertex 8.912960010569419 25.625184089179754 3
vertex 10.865616769383855 18.33776985554149 5.000000000000002
vertex 8.795064408563688 26.065176465854037 5.000000000000002
endloop
endfacet
facet normal -0.9659258262890686 -0.2588190451025198 1.2949804842696717e-15
outer loop
vertex 8.912960010569419 25.625184089179754 3
vertex 8.795064408563688 26.065176465854037 5.000000000000002
vertex 8.795064408563695 26.065176465854037 3
endloop
endfacet
facet normal 0.9659258262890685 0.2588190451025201 0
outer loop
vertex 13.763394248251057 19.114226990849048 3
vertex 11.692841887430896 26.841633601161597 3
vertex 11.692841887430891 26.841633601161597 5.000000000000002
endloop
endfacet
facet normal 0.9659258262890685 0.2588190451025201 0
outer loop
vertex 13.763394248251057 19.114226990849048 3
vertex 11.692841887430891 26.841633601161597 5.000000000000002
vertex 13.76339424825106 19.114226990849048 5.000000000000002
endloop
endfacet
facet normal -0.9659258262890684 0.25881904510252046 0
outer loop
vertex 4.2552130250050695 5.1512730461278045 3
vertex 4.255213025005067 5.1512730461278124 5
vertex 6.325765385825233 12.878679656440358 5
endloop
endfacet
facet normal -0.9659258262890684 0.25881904510252046 0
outer loop
vertex 4.2552130250050695 5.1512730461278045 3
vertex 6.325765385825233 12.878679656440358 5
vertex 6.325765385825235 12.878679656440358 3
endloop
endfacet
facet normal 0.9659258262890683 -0.2588190451025207 3.885780586188049e-15
outer loop
vertex 9.223542864692437 12.102222521132795 5
vertex 7.152990503872272 4.374815910820249 5
vertex 7.152990503872278 4.374815910820243 3
endloop
endfacet
facet normal 0.9659258262890683 -0.2588190451025207 3.885780586188049e-15
outer loop
vertex 9.223542864692437 12.102222521132795 5
vertex 7.152990503872278 4.374815910820243 3
vertex 9.105647262686716 11.66223014445851 3
endloop
endfacet
facet normal 0.9659258262890683 -0.2588190451025207 3.885780586188049e-15
outer loop
vertex 9.223542864692437 12.102222521132795 5
vertex 9.105647262686716 11.66223014445851 3
vertex 9.22354286469244 12.102222521132795 3
endloop
endfacet
facet normal 0.2588190451025213 0.9659258262890682 0
outer loop
vertex 6.325765385825233 12.878679656440358 5
vertex 9.223542864692437 12.102222521132795 5
vertex 9.22354286469244 12.102222521132795 3
endloop
endfacet
facet normal 0.2588190451025213 0.9659258262890682 0
outer loop
vertex 6.325765385825233 12.878679656440358 5
vertex 9.22354286469244 12.102222521132795 3
vertex 6.325765385825235 12.878679656440358 3
endloop
endfacet
facet normal 0.2588190451025213 0.9659258262890682 0
outer loop
vertex 10.865616769383854 11.66223014445851 5
vertex 13.763394248251057 10.885773009150949 5
vertex 13.763394248251055 10.885773009150947 3
endloop
endfacet
facet normal 0.2588190451025213 0.9659258262890682 0
outer loop
vertex 10.865616769383854 11.66223014445851 5
vertex 13.763394248251055 10.885773009150947 3
vertex 10.86561676938385 11.66223014445851 3
endloop
endfacet
facet normal -0.25881904510251985 -0.9659258262890686 0
outer loop
vertex 11.692841887430891 3.1583663988384014 5
vertex 8.795064408563688 3.9348235341459645 5
vertex 8.795064408563677 3.934823534145964 3
endloop
endfacet
facet normal -0.25881904510251985 -0.9659258262890686 0
outer loop
vertex 11.692841887430891 3.1583663988384014 5
vertex 8.795064408563677 3.934823534145964 3
vertex 11.692841887430882 3.1583663988384045 3
endloop
endfacet
facet normal -0.25881904510251985 -0.9659258262890686 0
outer loop
vertex 7.152990503872272 4.374815910820249 5
vertex 4.255213025005067 5.1512730461278124 5
vertex 4.2552130250050695 5.1512730461278045 3
endloop
endfacet
facet normal -0.25881904510251985 -0.9659258262890686 0
outer loop
vertex 7.152990503872272 4.374815910820249 5
vertex 4.2552130250050695 5.1512730461278045 3
vertex 7.152990503872278 4.374815910820243 3
endloop
endfacet
facet normal -0.9659258262890679 0.25881904510252246 5.087862197432846e-15
outer loop
vertex 8.912960010569401 4.374815910820243 3
vertex 8.795064408563677 3.934823534145964 3
vertex 8.795064408563688 3.9348235341459645 5
endloop
endfacet
facet normal -0.9659258262890679 0.25881904510252246 5.087862197432846e-15
outer loop
vertex 8.912960010569401 4.374815910820243 3
vertex 8.795064408563688 3.9348235341459645 5
vertex 10.865616769383854 11.66223014445851 5
endloop
endfacet
facet normal -0.9659258262890679 0.25881904510252246 5.087862197432846e-15
outer loop
vertex 8.912960010569401 4.374815910820243 3
vertex 10.865616769383854 11.66223014445851 5
vertex 10.86561676938385 11.66223014445851 3
endloop
endfacet
facet normal 0.9659258262890681 -0.25881904510252174 0
outer loop
vertex 13.763394248251057 10.885773009150949 5
vertex 11.692841887430891 3.1583663988384014 5
vertex 11.692841887430882 3.1583663988384045 3
endloop
endfacet
facet normal 0.9659258262890681 -0.25881904510252174 0
outer loop
vertex 13.763394248251057 10.885773009150949 5
vertex 11.692841887430882 3.1583663988384045 3
vertex 13.763394248251055 10.885773009150947 3
endloop
endfacet
endsolid csg.js