init commit

This commit is contained in:
ahtn 2017-09-16 13:13:17 +10:00
commit 7d94a96bda
17 changed files with 40323 additions and 0 deletions

21
.gitignore vendored Normal file
View File

@ -0,0 +1,21 @@
# For PCBs designed using KiCad: http://www.kicad-pcb.org/
# Temporary files
*.000
*.bak
*.bck
*.kicad_pcb-bak
*~
_autosave-*
*.tmp
# Netlist files (exported from Eeschema)
*.net
# Autorouter files (exported from Pcbnew)
*.dsn
*.ses
# Exported BOM files
*.xml
*.csv

438
one-key/LICENSE Normal file
View File

@ -0,0 +1,438 @@
Attribution-NonCommercial-ShareAlike 4.0 International
=======================================================================
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Creative Commons makes its licenses and related
information available on an "as-is" basis. Creative Commons gives no
warranties regarding its licenses, any material licensed under their
terms and conditions, or any related information. Creative Commons
disclaims all liability for damages resulting from their use to the
fullest extent possible.
Using Creative Commons Public Licenses
Creative Commons public licenses provide a standard set of terms and
conditions that creators and other rights holders may use to share
original works of authorship and other material subject to copyright
and certain other rights specified in the public license below. The
following considerations are for informational purposes only, are not
exhaustive, and do not form part of our licenses.
Considerations for licensors: Our public licenses are
intended for use by those authorized to give the public
permission to use material in ways otherwise restricted by
copyright and certain other rights. Our licenses are
irrevocable. Licensors should read and understand the terms
and conditions of the license they choose before applying it.
Licensors should also secure all rights necessary before
applying our licenses so that the public can reuse the
material as expected. Licensors should clearly mark any
material not subject to the license. This includes other CC-
licensed material, or material used under an exception or
limitation to copyright. More considerations for licensors:
wiki.creativecommons.org/Considerations_for_licensors
Considerations for the public: By using one of our public
licenses, a licensor grants the public permission to use the
licensed material under specified terms and conditions. If
the licensor's permission is not necessary for any reason--for
example, because of any applicable exception or limitation to
copyright--then that use is not regulated by the license. Our
licenses grant only permissions under copyright and certain
other rights that a licensor has authority to grant. Use of
the licensed material may still be restricted for other
reasons, including because others have copyright or other
rights in the material. A licensor may make special requests,
such as asking that all changes be marked or described.
Although not required by our licenses, you are encouraged to
respect those requests where reasonable. More_considerations
for the public:
wiki.creativecommons.org/Considerations_for_licensees
=======================================================================
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
Public License
By exercising the Licensed Rights (defined below), You accept and agree
to be bound by the terms and conditions of this Creative Commons
Attribution-NonCommercial-ShareAlike 4.0 International Public License
("Public License"). To the extent this Public License may be
interpreted as a contract, You are granted the Licensed Rights in
consideration of Your acceptance of these terms and conditions, and the
Licensor grants You such rights in consideration of benefits the
Licensor receives from making the Licensed Material available under
these terms and conditions.
Section 1 -- Definitions.
a. Adapted Material means material subject to Copyright and Similar
Rights that is derived from or based upon the Licensed Material
and in which the Licensed Material is translated, altered,
arranged, transformed, or otherwise modified in a manner requiring
permission under the Copyright and Similar Rights held by the
Licensor. For purposes of this Public License, where the Licensed
Material is a musical work, performance, or sound recording,
Adapted Material is always produced where the Licensed Material is
synched in timed relation with a moving image.
b. Adapter's License means the license You apply to Your Copyright
and Similar Rights in Your contributions to Adapted Material in
accordance with the terms and conditions of this Public License.
c. BY-NC-SA Compatible License means a license listed at
creativecommons.org/compatiblelicenses, approved by Creative
Commons as essentially the equivalent of this Public License.
d. Copyright and Similar Rights means copyright and/or similar rights
closely related to copyright including, without limitation,
performance, broadcast, sound recording, and Sui Generis Database
Rights, without regard to how the rights are labeled or
categorized. For purposes of this Public License, the rights
specified in Section 2(b)(1)-(2) are not Copyright and Similar
Rights.
e. Effective Technological Measures means those measures that, in the
absence of proper authority, may not be circumvented under laws
fulfilling obligations under Article 11 of the WIPO Copyright
Treaty adopted on December 20, 1996, and/or similar international
agreements.
f. Exceptions and Limitations means fair use, fair dealing, and/or
any other exception or limitation to Copyright and Similar Rights
that applies to Your use of the Licensed Material.
g. License Elements means the license attributes listed in the name
of a Creative Commons Public License. The License Elements of this
Public License are Attribution, NonCommercial, and ShareAlike.
h. Licensed Material means the artistic or literary work, database,
or other material to which the Licensor applied this Public
License.
i. Licensed Rights means the rights granted to You subject to the
terms and conditions of this Public License, which are limited to
all Copyright and Similar Rights that apply to Your use of the
Licensed Material and that the Licensor has authority to license.
j. Licensor means the individual(s) or entity(ies) granting rights
under this Public License.
k. NonCommercial means not primarily intended for or directed towards
commercial advantage or monetary compensation. For purposes of
this Public License, the exchange of the Licensed Material for
other material subject to Copyright and Similar Rights by digital
file-sharing or similar means is NonCommercial provided there is
no payment of monetary compensation in connection with the
exchange.
l. Share means to provide material to the public by any means or
process that requires permission under the Licensed Rights, such
as reproduction, public display, public performance, distribution,
dissemination, communication, or importation, and to make material
available to the public including in ways that members of the
public may access the material from a place and at a time
individually chosen by them.
m. Sui Generis Database Rights means rights other than copyright
resulting from Directive 96/9/EC of the European Parliament and of
the Council of 11 March 1996 on the legal protection of databases,
as amended and/or succeeded, as well as other essentially
equivalent rights anywhere in the world.
n. You means the individual or entity exercising the Licensed Rights
under this Public License. Your has a corresponding meaning.
Section 2 -- Scope.
a. License grant.
1. Subject to the terms and conditions of this Public License,
the Licensor hereby grants You a worldwide, royalty-free,
non-sublicensable, non-exclusive, irrevocable license to
exercise the Licensed Rights in the Licensed Material to:
a. reproduce and Share the Licensed Material, in whole or
in part, for NonCommercial purposes only; and
b. produce, reproduce, and Share Adapted Material for
NonCommercial purposes only.
2. Exceptions and Limitations. For the avoidance of doubt, where
Exceptions and Limitations apply to Your use, this Public
License does not apply, and You do not need to comply with
its terms and conditions.
3. Term. The term of this Public License is specified in Section
6(a).
4. Media and formats; technical modifications allowed. The
Licensor authorizes You to exercise the Licensed Rights in
all media and formats whether now known or hereafter created,
and to make technical modifications necessary to do so. The
Licensor waives and/or agrees not to assert any right or
authority to forbid You from making technical modifications
necessary to exercise the Licensed Rights, including
technical modifications necessary to circumvent Effective
Technological Measures. For purposes of this Public License,
simply making modifications authorized by this Section 2(a)
(4) never produces Adapted Material.
5. Downstream recipients.
a. Offer from the Licensor -- Licensed Material. Every
recipient of the Licensed Material automatically
receives an offer from the Licensor to exercise the
Licensed Rights under the terms and conditions of this
Public License.
b. Additional offer from the Licensor -- Adapted Material.
Every recipient of Adapted Material from You
automatically receives an offer from the Licensor to
exercise the Licensed Rights in the Adapted Material
under the conditions of the Adapter's License You apply.
c. No downstream restrictions. You may not offer or impose
any additional or different terms or conditions on, or
apply any Effective Technological Measures to, the
Licensed Material if doing so restricts exercise of the
Licensed Rights by any recipient of the Licensed
Material.
6. No endorsement. Nothing in this Public License constitutes or
may be construed as permission to assert or imply that You
are, or that Your use of the Licensed Material is, connected
with, or sponsored, endorsed, or granted official status by,
the Licensor or others designated to receive attribution as
provided in Section 3(a)(1)(A)(i).
b. Other rights.
1. Moral rights, such as the right of integrity, are not
licensed under this Public License, nor are publicity,
privacy, and/or other similar personality rights; however, to
the extent possible, the Licensor waives and/or agrees not to
assert any such rights held by the Licensor to the limited
extent necessary to allow You to exercise the Licensed
Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this
Public License.
3. To the extent possible, the Licensor waives any right to
collect royalties from You for the exercise of the Licensed
Rights, whether directly or through a collecting society
under any voluntary or waivable statutory or compulsory
licensing scheme. In all other cases the Licensor expressly
reserves any right to collect such royalties, including when
the Licensed Material is used other than for NonCommercial
purposes.
Section 3 -- License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the
following conditions.
a. Attribution.
1. If You Share the Licensed Material (including in modified
form), You must:
a. retain the following if it is supplied by the Licensor
with the Licensed Material:
i. identification of the creator(s) of the Licensed
Material and any others designated to receive
attribution, in any reasonable manner requested by
the Licensor (including by pseudonym if
designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of
warranties;
v. a URI or hyperlink to the Licensed Material to the
extent reasonably practicable;
b. indicate if You modified the Licensed Material and
retain an indication of any previous modifications; and
c. indicate the Licensed Material is licensed under this
Public License, and include the text of, or the URI or
hyperlink to, this Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any
reasonable manner based on the medium, means, and context in
which You Share the Licensed Material. For example, it may be
reasonable to satisfy the conditions by providing a URI or
hyperlink to a resource that includes the required
information.
3. If requested by the Licensor, You must remove any of the
information required by Section 3(a)(1)(A) to the extent
reasonably practicable.
b. ShareAlike.
In addition to the conditions in Section 3(a), if You Share
Adapted Material You produce, the following conditions also apply.
1. The Adapter's License You apply must be a Creative Commons
license with the same License Elements, this version or
later, or a BY-NC-SA Compatible License.
2. You must include the text of, or the URI or hyperlink to, the
Adapter's License You apply. You may satisfy this condition
in any reasonable manner based on the medium, means, and
context in which You Share Adapted Material.
3. You may not offer or impose any additional or different terms
or conditions on, or apply any Effective Technological
Measures to, Adapted Material that restrict exercise of the
rights granted under the Adapter's License You apply.
Section 4 -- Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that
apply to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
to extract, reuse, reproduce, and Share all or a substantial
portion of the contents of the database for NonCommercial purposes
only;
b. if You include all or a substantial portion of the database
contents in a database in which You have Sui Generis Database
Rights, then the database in which You have Sui Generis Database
Rights (but not its individual contents) is Adapted Material,
including for purposes of Section 3(b); and
c. You must comply with the conditions in Section 3(a) if You Share
all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not
replace Your obligations under this Public License where the Licensed
Rights include other Copyright and Similar Rights.
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
c. The disclaimer of warranties and limitation of liability provided
above shall be interpreted in a manner that, to the extent
possible, most closely approximates an absolute disclaimer and
waiver of all liability.
Section 6 -- Term and Termination.
a. This Public License applies for the term of the Copyright and
Similar Rights licensed here. However, if You fail to comply with
this Public License, then Your rights under this Public License
terminate automatically.
b. Where Your right to use the Licensed Material has terminated under
Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided
it is cured within 30 days of Your discovery of the
violation; or
2. upon express reinstatement by the Licensor.
For the avoidance of doubt, this Section 6(b) does not affect any
right the Licensor may have to seek remedies for Your violations
of this Public License.
c. For the avoidance of doubt, the Licensor may also offer the
Licensed Material under separate terms or conditions or stop
distributing the Licensed Material at any time; however, doing so
will not terminate this Public License.
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
License.
Section 7 -- Other Terms and Conditions.
a. The Licensor shall not be bound by any additional or different
terms or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the
Licensed Material not stated herein are separate from and
independent of the terms and conditions of this Public License.
Section 8 -- Interpretation.
a. For the avoidance of doubt, this Public License does not, and
shall not be interpreted to, reduce, limit, restrict, or impose
conditions on any use of the Licensed Material that could lawfully
be made without permission under this Public License.
b. To the extent possible, if any provision of this Public License is
deemed unenforceable, it shall be automatically reformed to the
minimum extent necessary to make it enforceable. If the provision
cannot be reformed, it shall be severed from this Public License
without affecting the enforceability of the remaining terms and
conditions.
c. No term or condition of this Public License will be waived and no
failure to comply consented to unless expressly agreed to by the
Licensor.
d. Nothing in this Public License constitutes or may be interpreted
as a limitation upon, or waiver of, any privileges and immunities
that apply to the Licensor or You, including from the legal
processes of any jurisdiction or authority.
=======================================================================
Creative Commons is not a party to its public
licenses. Notwithstanding, Creative Commons may elect to apply one of
its public licenses to material it publishes and in those instances
will be considered the “Licensor.” The text of the Creative Commons
public licenses is dedicated to the public domain under the CC0 Public
Domain Dedication. Except for the limited purpose of indicating that
material is shared under a Creative Commons public license or as
otherwise permitted by the Creative Commons policies published at
creativecommons.org/policies, Creative Commons does not authorize the
use of the trademark "Creative Commons" or any other trademark or logo
of Creative Commons without its prior written consent including,
without limitation, in connection with any unauthorized modifications
to any of its public licenses or any other arrangements,
understandings, or agreements concerning use of licensed material. For
the avoidance of doubt, this paragraph does not form part of the
public licenses.
Creative Commons may be contacted at creativecommons.org.

View File

@ -0,0 +1,39 @@
(module Pin_Header_Angled_1x04_Pitch1.27mm_no_silk (layer F.Cu) (tedit 59BC8733)
(descr "Through hole angled pin header, 1x04, 1.27mm pitch, 4.0mm pin length, single row")
(tags "Through hole angled pin header THT 1x04 1.27mm single row")
(fp_text reference J2 (at 2.4325 -1.635) (layer Cmts.User)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Conn_01x04 (at 2.4325 5.445) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 1.5 -0.635) (end 1.5 4.445) (layer F.Fab) (width 0.1))
(fp_line (start 1.5 4.445) (end 0.5 4.445) (layer F.Fab) (width 0.1))
(fp_line (start 0.5 4.445) (end 0.5 -0.385) (layer F.Fab) (width 0.1))
(fp_line (start 0.5 -0.385) (end 0.75 -0.635) (layer F.Fab) (width 0.1))
(fp_line (start -0.2 -0.2) (end 0.5 -0.2) (layer F.Fab) (width 0.1))
(fp_line (start -0.2 -0.2) (end -0.2 0.2) (layer F.Fab) (width 0.1))
(fp_line (start -0.2 0.2) (end 0.5 0.2) (layer F.Fab) (width 0.1))
(fp_line (start -0.2 1.07) (end 0.5 1.07) (layer F.Fab) (width 0.1))
(fp_line (start -0.2 1.07) (end -0.2 1.47) (layer F.Fab) (width 0.1))
(fp_line (start -0.2 1.47) (end 0.5 1.47) (layer F.Fab) (width 0.1))
(fp_line (start -0.2 2.34) (end 0.5 2.34) (layer F.Fab) (width 0.1))
(fp_line (start -0.2 2.34) (end -0.2 2.74) (layer F.Fab) (width 0.1))
(fp_line (start -0.2 2.74) (end 0.5 2.74) (layer F.Fab) (width 0.1))
(fp_line (start -0.2 3.61) (end 0.5 3.61) (layer F.Fab) (width 0.1))
(fp_line (start -0.2 3.61) (end -0.2 4.01) (layer F.Fab) (width 0.1))
(fp_line (start -0.2 4.01) (end 0.5 4.01) (layer F.Fab) (width 0.1))
(fp_line (start -1.15 -1.15) (end -1.15 4.95) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.15 4.95) (end 6 4.95) (layer F.CrtYd) (width 0.05))
(fp_line (start 6 4.95) (end 6 -1.15) (layer F.CrtYd) (width 0.05))
(fp_line (start 6 -1.15) (end -1.15 -1.15) (layer F.CrtYd) (width 0.05))
(pad 1 thru_hole rect (at 0 0) (size 1 1) (drill 0.65) (layers *.Cu *.Mask))
(pad 2 thru_hole oval (at 0 1.27) (size 1 1) (drill 0.65) (layers *.Cu *.Mask))
(pad 3 thru_hole oval (at 0 2.54) (size 1 1) (drill 0.65) (layers *.Cu *.Mask))
(pad 4 thru_hole oval (at 0 3.81) (size 1 1) (drill 0.65) (layers *.Cu *.Mask))
(model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Angled_1x04_Pitch1.27mm.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)

6
one-key/fp-lib-table Normal file
View File

@ -0,0 +1,6 @@
(fp_lib_table
(lib (name usb_connector)(type KiCad)(uri "$(KIPRJMOD)/usb_connector.pretty")(options "")(descr ""))
(lib (name key_switch)(type KiCad)(uri "$(KIPRJMOD)/key_switch.pretty")(options "")(descr ""))
(lib (name qfn)(type KiCad)(uri "$(KIPRJMOD)/qfn.pretty")(options "")(descr ""))
(lib (name connectors)(type KiCad)(uri "$(KIPRJMOD)/connectors.pretty")(options "")(descr ""))
)

View File

@ -0,0 +1,21 @@
(module Cherry_MX_Matias_No_Silk_Border (layer F.Cu) (tedit 59743552)
(tags switch)
(fp_text reference K1_1 (at 0 6) (layer Cmts.User)
(effects (font (thickness 0.3048)))
)
(fp_text value SW_PUSH (at 1 3.5) (layer B.Fab) hide
(effects (font (thickness 0.3048)) (justify mirror))
)
(pad "" np_thru_hole circle (at 5.08 0) (size 1.7 1.7) (drill 1.7) (layers *.Cu *.Mask F.SilkS))
(pad 2 thru_hole circle (at 2.5 -3.683) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at 3.81 -2.54) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 0 0) (size 4 4) (drill 4) (layers *.Cu *.Mask F.SilkS))
(pad "" np_thru_hole circle (at -5.08 0) (size 1.7 1.7) (drill 1.7) (layers *.Cu *.Mask F.SilkS))
(pad 1 thru_hole circle (at -2.54 -5.08) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask))
(pad 1 thru_hole circle (at -2.5 -4) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask))
(model cherry_mx1.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)

203
one-key/one-key-cache.lib Normal file
View File

@ -0,0 +1,203 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# +3V3
#
DEF +3V3 #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "+3V3" 0 140 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
ALIAS +3.3V
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 +3V3 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# +5V
#
DEF +5V #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "+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
#
# C
#
DEF C C 0 10 N Y 1 F N
F0 "C" 25 100 50 H V L CNN
F1 "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
#
# C8051F38x_32
#
DEF C8051F38x_32 U 0 40 Y Y 1 F N
F0 "U" -750 1000 60 H V C CNN
F1 "C8051F38x_32" 0 -50 60 H V C CNN
F2 "" 0 -550 60 H I C CNN
F3 "" 0 -550 60 H I C CNN
DRAW
S -800 950 800 -1050 0 1 0 N
X P0.1 1 -1000 -300 200 R 50 50 1 1 B
X P0.0 2 -1000 -200 200 R 50 50 1 1 B
X GND 3 0 -1250 200 U 50 50 1 1 W
X D+ 4 -1000 650 200 R 50 50 1 1 B
X D- 5 -1000 550 200 R 50 50 1 1 B
X VDD 6 200 1150 200 D 50 50 1 1 w
X REGIN 7 -150 1150 200 D 50 50 1 1 W
X VBUS 8 -1000 800 200 R 50 50 1 1 I
X C2CK/RST 9 -1000 350 200 R 50 50 1 1 B
X C2D/P3.0 10 -1000 250 200 R 50 50 1 1 B
X P1.6 20 1000 200 200 L 50 50 1 1 B
X P0.4 30 -1000 -600 200 R 50 50 1 1 B
X P2.7 11 1000 -900 200 L 50 50 1 1 B
X P1.5 21 1000 300 200 L 50 50 1 1 B
X P0.3 31 -1000 -500 200 R 50 50 1 1 B
X P2.6 12 1000 -800 200 L 50 50 1 1 B
X P1.4 22 1000 400 200 L 50 50 1 1 B
X P0.2 32 -1000 -400 200 R 50 50 1 1 B
X P2.5 13 1000 -700 200 L 50 50 1 1 B
X P1.3 23 1000 500 200 L 50 50 1 1 B
X P2.4 14 1000 -600 200 L 50 50 1 1 B
X P1.2 24 1000 600 200 L 50 50 1 1 B
X P2.3 15 1000 -500 200 L 50 50 1 1 B
X P1.1 25 1000 700 200 L 50 50 1 1 B
X P2.2 16 1000 -400 200 L 50 50 1 1 B
X P1.0 26 1000 800 200 L 50 50 1 1 B
X P2.1 17 1000 -300 200 L 50 50 1 1 B
X P0.7 27 -1000 -900 200 R 50 50 1 1 B
X P2.0 18 1000 -200 200 L 50 50 1 1 B
X P0.6 28 -1000 -800 200 R 50 50 1 1 B
X P1.7 19 1000 100 200 L 50 50 1 1 B
X P0.5 29 -1000 -700 200 R 50 50 1 1 B
ENDDRAW
ENDDEF
#
# Conn_01x04
#
DEF Conn_01x04 J 0 40 Y N 1 F N
F0 "J" 0 200 50 H V C CNN
F1 "Conn_01x04" 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*:*_??x*mm*
Connector*:*1x??x*mm*
Pin?Header?Straight?1X*
Pin?Header?Angled?1X*
Socket?Strip?Straight?1X*
Socket?Strip?Angled?1X*
$ENDFPLIST
DRAW
S -50 -195 0 -205 1 1 6 N
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 50 -250 1 1 10 f
X Pin_1 1 -200 100 150 R 50 50 1 1 P
X Pin_2 2 -200 0 150 R 50 50 1 1 P
X Pin_3 3 -200 -100 150 R 50 50 1 1 P
X Pin_4 4 -200 -200 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# GND
#
DEF GND #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -250 50 H I C CNN
F1 "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
#
# PWR_FLAG
#
DEF PWR_FLAG #FLG 0 0 N N 1 F P
F0 "#FLG" 0 75 50 H I C CNN
F1 "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
X pwr 1 0 0 0 U 50 50 0 0 w
P 6 0 1 0 0 0 0 50 -40 75 0 100 40 75 0 50 N
ENDDRAW
ENDDEF
#
# SW_Push
#
DEF SW_Push SW 0 40 N N 1 F N
F0 "SW" 50 100 50 H V L CNN
F1 "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
#
# USB_OTG
#
DEF USB_OTG J 0 40 Y Y 1 F N
F0 "J" -200 450 50 H V L CNN
F1 "USB_OTG" -200 350 50 H V L CNN
F2 "" 150 -50 50 H I C CNN
F3 "" 150 -50 50 H I C CNN
$FPLIST
USB*
$ENDFPLIST
DRAW
C -150 85 25 0 1 10 F
C -25 135 15 0 1 10 F
S -200 -300 200 300 0 1 10 f
S -5 -300 5 -270 0 1 0 N
S 10 50 -20 20 0 1 10 F
S 200 -205 170 -195 0 1 0 N
S 200 -105 170 -95 0 1 0 N
S 200 -5 170 5 0 1 0 N
S 200 195 170 205 0 1 0 N
P 2 0 1 10 -75 85 25 85 N
P 4 0 1 10 -125 85 -100 85 -50 135 -25 135 N
P 4 0 1 10 -100 85 -75 85 -50 35 0 35 N
P 4 0 1 10 25 110 25 60 75 85 25 110 F
P 5 0 1 0 -170 220 -70 220 -80 190 -160 190 -170 220 F
P 9 0 1 0 -185 230 -185 220 -175 190 -175 180 -65 180 -65 190 -55 220 -55 230 -185 230 N
X VBUS 1 300 200 100 L 50 50 1 1 W
X D- 2 300 -100 100 L 50 50 1 1 P
X D+ 3 300 0 100 L 50 50 1 1 P
X ID 4 300 -200 100 L 50 50 1 1 P
X GND 5 0 -400 100 U 50 50 1 1 W
X Shield 6 -100 -400 100 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
#End Library

658
one-key/one-key.kicad_pcb Normal file
View File

@ -0,0 +1,658 @@
(kicad_pcb (version 4) (host pcbnew 4.0.7)
(general
(links 25)
(no_connects 5)
(area 156.224999 88.974999 170.775001 103.525001)
(thickness 1.6)
(drawings 4)
(tracks 127)
(zones 0)
(modules 8)
(nets 35)
)
(page A4)
(layers
(0 F.Cu signal)
(31 B.Cu signal)
(32 B.Adhes user)
(33 F.Adhes user)
(34 B.Paste user)
(35 F.Paste user)
(36 B.SilkS user)
(37 F.SilkS user)
(38 B.Mask user)
(39 F.Mask user)
(40 Dwgs.User user)
(41 Cmts.User user)
(42 Eco1.User user)
(43 Eco2.User user)
(44 Edge.Cuts user)
(45 Margin user)
(46 B.CrtYd user)
(47 F.CrtYd user)
(48 B.Fab user)
(49 F.Fab user)
)
(setup
(last_trace_width 0.155)
(trace_clearance 0.155)
(zone_clearance 0.508)
(zone_45_only no)
(trace_min 0.155)
(segment_width 0.2)
(edge_width 0.15)
(via_size 0.55)
(via_drill 0.3)
(via_min_size 0.4)
(via_min_drill 0.3)
(uvia_size 0.3)
(uvia_drill 0.1)
(uvias_allowed no)
(uvia_min_size 0)
(uvia_min_drill 0)
(pcb_text_width 0.3)
(pcb_text_size 1.5 1.5)
(mod_edge_width 0.15)
(mod_text_size 1 1)
(mod_text_width 0.15)
(pad_size 2 2)
(pad_drill 1.35)
(pad_to_mask_clearance 0.2)
(aux_axis_origin 0 0)
(visible_elements FFFFFF3F)
(pcbplotparams
(layerselection 0x00030_80000001)
(usegerberextensions false)
(excludeedgelayer true)
(linewidth 0.100000)
(plotframeref false)
(viasonmask false)
(mode 1)
(useauxorigin false)
(hpglpennumber 1)
(hpglpenspeed 20)
(hpglpendiameter 15)
(hpglpenoverlay 2)
(psnegative false)
(psa4output false)
(plotreference true)
(plotvalue true)
(plotinvisibletext false)
(padsonsilk false)
(subtractmaskfromsilk false)
(outputformat 1)
(mirror false)
(drillshape 1)
(scaleselection 1)
(outputdirectory ""))
)
(net 0 "")
(net 1 GND)
(net 2 +3V3)
(net 3 "Net-(J1-Pad6)")
(net 4 "Net-(J1-Pad4)")
(net 5 "Net-(J1-Pad3)")
(net 6 "Net-(J1-Pad2)")
(net 7 "Net-(J2-Pad2)")
(net 8 "Net-(J2-Pad3)")
(net 9 "Net-(U1-Pad2)")
(net 10 "Net-(U1-Pad8)")
(net 11 "Net-(U1-Pad27)")
(net 12 "Net-(U1-Pad28)")
(net 13 "Net-(U1-Pad29)")
(net 14 "Net-(U1-Pad30)")
(net 15 "Net-(U1-Pad31)")
(net 16 "Net-(U1-Pad32)")
(net 17 +5V)
(net 18 "Net-(U1-Pad11)")
(net 19 "Net-(U1-Pad12)")
(net 20 "Net-(U1-Pad13)")
(net 21 "Net-(U1-Pad14)")
(net 22 "Net-(U1-Pad15)")
(net 23 "Net-(U1-Pad16)")
(net 24 "Net-(U1-Pad17)")
(net 25 "Net-(U1-Pad18)")
(net 26 "Net-(U1-Pad19)")
(net 27 "Net-(U1-Pad20)")
(net 28 "Net-(U1-Pad21)")
(net 29 "Net-(U1-Pad22)")
(net 30 "Net-(U1-Pad23)")
(net 31 "Net-(U1-Pad24)")
(net 32 "Net-(U1-Pad25)")
(net 33 "Net-(U1-Pad26)")
(net 34 "Net-(SW1-Pad2)")
(net_class Default "This is the default net class."
(clearance 0.155)
(trace_width 0.155)
(via_dia 0.55)
(via_drill 0.3)
(uvia_dia 0.3)
(uvia_drill 0.1)
(add_net +3V3)
(add_net +5V)
(add_net GND)
(add_net "Net-(J1-Pad2)")
(add_net "Net-(J1-Pad3)")
(add_net "Net-(J1-Pad4)")
(add_net "Net-(J1-Pad6)")
(add_net "Net-(J2-Pad2)")
(add_net "Net-(J2-Pad3)")
(add_net "Net-(SW1-Pad2)")
(add_net "Net-(U1-Pad11)")
(add_net "Net-(U1-Pad12)")
(add_net "Net-(U1-Pad13)")
(add_net "Net-(U1-Pad14)")
(add_net "Net-(U1-Pad15)")
(add_net "Net-(U1-Pad16)")
(add_net "Net-(U1-Pad17)")
(add_net "Net-(U1-Pad18)")
(add_net "Net-(U1-Pad19)")
(add_net "Net-(U1-Pad2)")
(add_net "Net-(U1-Pad20)")
(add_net "Net-(U1-Pad21)")
(add_net "Net-(U1-Pad22)")
(add_net "Net-(U1-Pad23)")
(add_net "Net-(U1-Pad24)")
(add_net "Net-(U1-Pad25)")
(add_net "Net-(U1-Pad26)")
(add_net "Net-(U1-Pad27)")
(add_net "Net-(U1-Pad28)")
(add_net "Net-(U1-Pad29)")
(add_net "Net-(U1-Pad30)")
(add_net "Net-(U1-Pad31)")
(add_net "Net-(U1-Pad32)")
(add_net "Net-(U1-Pad8)")
)
(module connectors:Pin_Header_Angled_1x04_Pitch1.27mm_no_silk (layer B.Cu) (tedit 59BC8733) (tstamp 59BC6020)
(at 158 98.5 180)
(descr "Through hole angled pin header, 1x04, 1.27mm pitch, 4.0mm pin length, single row")
(tags "Through hole angled pin header THT 1x04 1.27mm single row")
(path /59BC8422)
(fp_text reference J2 (at 2.4325 1.635 180) (layer Cmts.User)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Conn_01x04 (at 2.4325 -5.445 180) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_line (start 1.5 0.635) (end 1.5 -4.445) (layer B.Fab) (width 0.1))
(fp_line (start 1.5 -4.445) (end 0.5 -4.445) (layer B.Fab) (width 0.1))
(fp_line (start 0.5 -4.445) (end 0.5 0.385) (layer B.Fab) (width 0.1))
(fp_line (start 0.5 0.385) (end 0.75 0.635) (layer B.Fab) (width 0.1))
(fp_line (start -0.2 0.2) (end 0.5 0.2) (layer B.Fab) (width 0.1))
(fp_line (start -0.2 0.2) (end -0.2 -0.2) (layer B.Fab) (width 0.1))
(fp_line (start -0.2 -0.2) (end 0.5 -0.2) (layer B.Fab) (width 0.1))
(fp_line (start -0.2 -1.07) (end 0.5 -1.07) (layer B.Fab) (width 0.1))
(fp_line (start -0.2 -1.07) (end -0.2 -1.47) (layer B.Fab) (width 0.1))
(fp_line (start -0.2 -1.47) (end 0.5 -1.47) (layer B.Fab) (width 0.1))
(fp_line (start -0.2 -2.34) (end 0.5 -2.34) (layer B.Fab) (width 0.1))
(fp_line (start -0.2 -2.34) (end -0.2 -2.74) (layer B.Fab) (width 0.1))
(fp_line (start -0.2 -2.74) (end 0.5 -2.74) (layer B.Fab) (width 0.1))
(fp_line (start -0.2 -3.61) (end 0.5 -3.61) (layer B.Fab) (width 0.1))
(fp_line (start -0.2 -3.61) (end -0.2 -4.01) (layer B.Fab) (width 0.1))
(fp_line (start -0.2 -4.01) (end 0.5 -4.01) (layer B.Fab) (width 0.1))
(fp_line (start -1.15 1.15) (end -1.15 -4.95) (layer B.CrtYd) (width 0.05))
(fp_line (start -1.15 -4.95) (end 6 -4.95) (layer B.CrtYd) (width 0.05))
(fp_line (start 6 -4.95) (end 6 1.15) (layer B.CrtYd) (width 0.05))
(fp_line (start 6 1.15) (end -1.15 1.15) (layer B.CrtYd) (width 0.05))
(pad 1 thru_hole rect (at 0 0 180) (size 1 1) (drill 0.65) (layers *.Cu *.Mask)
(net 17 +5V))
(pad 2 thru_hole oval (at 0 -1.27 180) (size 1 1) (drill 0.65) (layers *.Cu *.Mask)
(net 7 "Net-(J2-Pad2)"))
(pad 3 thru_hole oval (at 0 -2.54 180) (size 1 1) (drill 0.65) (layers *.Cu *.Mask)
(net 8 "Net-(J2-Pad3)"))
(pad 4 thru_hole oval (at 0 -3.81 180) (size 1 1) (drill 0.65) (layers *.Cu *.Mask)
(net 1 GND))
(model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Angled_1x04_Pitch1.27mm.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module Capacitors_SMD:C_0402_NoSilk (layer B.Cu) (tedit 59BC87AF) (tstamp 59BC5FF5)
(at 169.1 96.9 270)
(descr "Capacitor SMD 0402, reflow soldering, AVX (see smccp.pdf)")
(tags "capacitor 0402")
(path /59BC6727)
(attr smd)
(fp_text reference C1 (at 5.6 0 360) (layer B.SilkS)
(effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror))
)
(fp_text value 0.1uF (at 0 -1.27 270) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %R (at 0 1.27 270) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_line (start -0.5 -0.25) (end -0.5 0.25) (layer B.Fab) (width 0.1))
(fp_line (start 0.5 -0.25) (end -0.5 -0.25) (layer B.Fab) (width 0.1))
(fp_line (start 0.5 0.25) (end 0.5 -0.25) (layer B.Fab) (width 0.1))
(fp_line (start -0.5 0.25) (end 0.5 0.25) (layer B.Fab) (width 0.1))
(fp_line (start -1 0.4) (end 1 0.4) (layer B.CrtYd) (width 0.05))
(fp_line (start -1 0.4) (end -1 -0.4) (layer B.CrtYd) (width 0.05))
(fp_line (start 1 -0.4) (end 1 0.4) (layer B.CrtYd) (width 0.05))
(fp_line (start 1 -0.4) (end -1 -0.4) (layer B.CrtYd) (width 0.05))
(pad 1 smd rect (at -0.55 0 270) (size 0.6 0.5) (layers B.Cu B.Paste B.Mask)
(net 17 +5V))
(pad 2 smd rect (at 0.55 0 270) (size 0.6 0.5) (layers B.Cu B.Paste B.Mask)
(net 1 GND))
(model Capacitors_SMD.3dshapes/C_0402.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module Capacitors_SMD:C_0402_NoSilk (layer B.Cu) (tedit 59BC87A4) (tstamp 59BC5FFB)
(at 163 100.8 270)
(descr "Capacitor SMD 0402, reflow soldering, AVX (see smccp.pdf)")
(tags "capacitor 0402")
(path /59BC6754)
(attr smd)
(fp_text reference C2 (at 1.7 0 360) (layer B.SilkS)
(effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror))
)
(fp_text value 1uF (at 0 -1.27 270) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %R (at 0 1.27 270) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_line (start -0.5 -0.25) (end -0.5 0.25) (layer B.Fab) (width 0.1))
(fp_line (start 0.5 -0.25) (end -0.5 -0.25) (layer B.Fab) (width 0.1))
(fp_line (start 0.5 0.25) (end 0.5 -0.25) (layer B.Fab) (width 0.1))
(fp_line (start -0.5 0.25) (end 0.5 0.25) (layer B.Fab) (width 0.1))
(fp_line (start -1 0.4) (end 1 0.4) (layer B.CrtYd) (width 0.05))
(fp_line (start -1 0.4) (end -1 -0.4) (layer B.CrtYd) (width 0.05))
(fp_line (start 1 -0.4) (end 1 0.4) (layer B.CrtYd) (width 0.05))
(fp_line (start 1 -0.4) (end -1 -0.4) (layer B.CrtYd) (width 0.05))
(pad 1 smd rect (at -0.55 0 270) (size 0.6 0.5) (layers B.Cu B.Paste B.Mask)
(net 17 +5V))
(pad 2 smd rect (at 0.55 0 270) (size 0.6 0.5) (layers B.Cu B.Paste B.Mask)
(net 1 GND))
(model Capacitors_SMD.3dshapes/C_0402.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module Capacitors_SMD:C_0402_NoSilk (layer B.Cu) (tedit 59BC87AC) (tstamp 59BC6001)
(at 167.5 96.8)
(descr "Capacitor SMD 0402, reflow soldering, AVX (see smccp.pdf)")
(tags "capacitor 0402")
(path /59BC6871)
(attr smd)
(fp_text reference C3 (at -0.05 5.7) (layer B.SilkS)
(effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror))
)
(fp_text value 0.1uF (at 0 -1.27) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %R (at 0 1.27) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_line (start -0.5 -0.25) (end -0.5 0.25) (layer B.Fab) (width 0.1))
(fp_line (start 0.5 -0.25) (end -0.5 -0.25) (layer B.Fab) (width 0.1))
(fp_line (start 0.5 0.25) (end 0.5 -0.25) (layer B.Fab) (width 0.1))
(fp_line (start -0.5 0.25) (end 0.5 0.25) (layer B.Fab) (width 0.1))
(fp_line (start -1 0.4) (end 1 0.4) (layer B.CrtYd) (width 0.05))
(fp_line (start -1 0.4) (end -1 -0.4) (layer B.CrtYd) (width 0.05))
(fp_line (start 1 -0.4) (end 1 0.4) (layer B.CrtYd) (width 0.05))
(fp_line (start 1 -0.4) (end -1 -0.4) (layer B.CrtYd) (width 0.05))
(pad 1 smd rect (at -0.55 0) (size 0.6 0.5) (layers B.Cu B.Paste B.Mask)
(net 2 +3V3))
(pad 2 smd rect (at 0.55 0) (size 0.6 0.5) (layers B.Cu B.Paste B.Mask)
(net 1 GND))
(model Capacitors_SMD.3dshapes/C_0402.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module Capacitors_SMD:C_0402_NoSilk (layer B.Cu) (tedit 59BC878A) (tstamp 59BC6007)
(at 164 100.8 270)
(descr "Capacitor SMD 0402, reflow soldering, AVX (see smccp.pdf)")
(tags "capacitor 0402")
(path /59BC686B)
(attr smd)
(fp_text reference C4 (at 1.7 -0.7 360) (layer B.SilkS)
(effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror))
)
(fp_text value 1uF (at 0 -1.27 270) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_text user %R (at 0 1.27 270) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_line (start -0.5 -0.25) (end -0.5 0.25) (layer B.Fab) (width 0.1))
(fp_line (start 0.5 -0.25) (end -0.5 -0.25) (layer B.Fab) (width 0.1))
(fp_line (start 0.5 0.25) (end 0.5 -0.25) (layer B.Fab) (width 0.1))
(fp_line (start -0.5 0.25) (end 0.5 0.25) (layer B.Fab) (width 0.1))
(fp_line (start -1 0.4) (end 1 0.4) (layer B.CrtYd) (width 0.05))
(fp_line (start -1 0.4) (end -1 -0.4) (layer B.CrtYd) (width 0.05))
(fp_line (start 1 -0.4) (end 1 0.4) (layer B.CrtYd) (width 0.05))
(fp_line (start 1 -0.4) (end -1 -0.4) (layer B.CrtYd) (width 0.05))
(pad 1 smd rect (at -0.55 0 270) (size 0.6 0.5) (layers B.Cu B.Paste B.Mask)
(net 2 +3V3))
(pad 2 smd rect (at 0.55 0 270) (size 0.6 0.5) (layers B.Cu B.Paste B.Mask)
(net 1 GND))
(model Capacitors_SMD.3dshapes/C_0402.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module key_switch:Cherry_MX_Matias_No_Silk_Border (layer B.Cu) (tedit 59BC8171) (tstamp 59BC8094)
(at 163.5 96.25)
(tags switch)
(path /59BC89F2)
(fp_text reference SW1 (at 0 -6) (layer Cmts.User)
(effects (font (thickness 0.3048)))
)
(fp_text value SW_Push (at 1 -3.5) (layer F.Fab) hide
(effects (font (thickness 0.3048)))
)
(pad 2 thru_hole circle (at 2.5 3.683) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask)
(net 34 "Net-(SW1-Pad2)"))
(pad 2 thru_hole circle (at 3.81 2.54) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask)
(net 34 "Net-(SW1-Pad2)"))
(pad "" np_thru_hole circle (at 0 0) (size 4 4) (drill 4) (layers *.Cu *.Mask B.SilkS))
(pad "" np_thru_hole circle (at -5.08 0) (size 1.7 1.7) (drill 1.7) (layers *.Cu *.Mask B.SilkS))
(pad 1 thru_hole circle (at -2.54 5.08) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask)
(net 1 GND))
(pad 1 thru_hole circle (at -2.5 4) (size 2.5 2.5) (drill 1.5) (layers *.Cu *.Mask)
(net 1 GND))
(model cherry_mx1.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module usb_connector:micro_usb_no_silk (layer B.Cu) (tedit 59BC86E6) (tstamp 59BC6018)
(at 160.5 92.2)
(path /59BC6B97)
(fp_text reference J1 (at -3.9 -4.05) (layer Cmts.User)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value USB_OTG (at -0.07 -4.18) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(pad 6 smd rect (at -3.2 0.25) (size 1.3 1) (layers B.Cu B.Paste B.Mask)
(net 3 "Net-(J1-Pad6)"))
(pad 6 smd rect (at 3.2 0.25) (size 1.3 1) (layers B.Cu B.Paste B.Mask)
(net 3 "Net-(J1-Pad6)"))
(pad "" np_thru_hole circle (at -1.95 0.14) (size 0.6 0.6) (drill 0.6) (layers *.Cu *.Mask))
(pad 6 smd rect (at -1.15 -2) (size 1.9 1.9) (layers B.Cu B.Paste B.Mask)
(net 3 "Net-(J1-Pad6)"))
(pad 6 thru_hole circle (at -2.825 -2) (size 2 2) (drill 1.35) (layers *.Cu *.Mask)
(net 3 "Net-(J1-Pad6)"))
(pad 5 smd rect (at 1.3 1.05) (size 0.4 2.1) (layers B.Cu B.Paste B.Mask)
(net 1 GND))
(pad 4 smd rect (at 0.65 1.05) (size 0.4 2.1) (layers B.Cu B.Paste B.Mask)
(net 4 "Net-(J1-Pad4)"))
(pad 3 smd rect (at 0 1.05) (size 0.4 2.1) (layers B.Cu B.Paste B.Mask)
(net 5 "Net-(J1-Pad3)"))
(pad 2 smd rect (at -0.65 1.05) (size 0.4 2.1) (layers B.Cu B.Paste B.Mask)
(net 6 "Net-(J1-Pad2)"))
(pad 1 smd rect (at -1.3 1.05) (size 0.4 2.1) (layers B.Cu B.Paste B.Mask)
(net 17 +5V))
(pad 6 thru_hole circle (at 2.825 -2) (size 2 2) (drill 1.35) (layers *.Cu *.Mask)
(net 3 "Net-(J1-Pad6)"))
(pad 6 smd rect (at 1.15 -2) (size 1.9 1.9) (layers B.Cu B.Paste B.Mask)
(net 3 "Net-(J1-Pad6)"))
(pad "" np_thru_hole circle (at 1.95 0.14) (size 0.6 0.6) (drill 0.6) (layers *.Cu *.Mask))
)
(module qfn:QFN-32-1EP_5x5mm_Pitch0.5mm (layer B.Cu) (tedit 59BC8661) (tstamp 59BC6051)
(at 167.6 92.2 90)
(descr "UH Package; 32-Lead Plastic QFN (5mm x 5mm); (see Linear Technology QFN_32_05-08-1693.pdf)")
(tags "QFN 0.5")
(path /59BC66D6)
(attr smd)
(fp_text reference U1 (at 0 3.75 90) (layer Cmts.User)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value C8051F38x_32 (at 0 -3.75 90) (layer B.Fab)
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
)
(fp_line (start -2.625 2.625) (end -2.625 2.125) (layer B.SilkS) (width 0.15))
(fp_circle (center -2.625 2.625) (end -2.825 2.775) (layer B.SilkS) (width 0.15))
(fp_line (start -1.5 2.5) (end 2.5 2.5) (layer B.Fab) (width 0.15))
(fp_line (start 2.5 2.5) (end 2.5 -2.5) (layer B.Fab) (width 0.15))
(fp_line (start 2.5 -2.5) (end -2.5 -2.5) (layer B.Fab) (width 0.15))
(fp_line (start -2.5 -2.5) (end -2.5 1.5) (layer B.Fab) (width 0.15))
(fp_line (start -2.5 1.5) (end -1.5 2.5) (layer B.Fab) (width 0.15))
(fp_line (start -3 3) (end -3 -3) (layer B.CrtYd) (width 0.05))
(fp_line (start 3 3) (end 3 -3) (layer B.CrtYd) (width 0.05))
(fp_line (start -3 3) (end 3 3) (layer B.CrtYd) (width 0.05))
(fp_line (start -3 -3) (end 3 -3) (layer B.CrtYd) (width 0.05))
(fp_line (start 2.625 2.625) (end 2.625 2.1) (layer B.SilkS) (width 0.15))
(fp_line (start -2.625 -2.625) (end -2.625 -2.1) (layer B.SilkS) (width 0.15))
(fp_line (start 2.625 -2.625) (end 2.625 -2.1) (layer B.SilkS) (width 0.15))
(fp_line (start -2.625 2.625) (end -2.1 2.625) (layer B.SilkS) (width 0.15))
(fp_line (start -2.625 -2.625) (end -2.1 -2.625) (layer B.SilkS) (width 0.15))
(fp_line (start 2.625 -2.625) (end 2.1 -2.625) (layer B.SilkS) (width 0.15))
(fp_line (start 2.625 2.625) (end 2.1 2.625) (layer B.SilkS) (width 0.15))
(pad 1 smd rect (at -2.4 1.75 90) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 34 "Net-(SW1-Pad2)"))
(pad 2 smd rect (at -2.4 1.25 90) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 9 "Net-(U1-Pad2)"))
(pad 3 smd rect (at -2.4 0.75 90) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 1 GND))
(pad 4 smd rect (at -2.4 0.25 90) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 5 "Net-(J1-Pad3)"))
(pad 5 smd rect (at -2.4 -0.25 90) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 6 "Net-(J1-Pad2)"))
(pad 6 smd rect (at -2.4 -0.75 90) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 2 +3V3))
(pad 7 smd rect (at -2.4 -1.25 90) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 17 +5V))
(pad 8 smd rect (at -2.4 -1.75 90) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 10 "Net-(U1-Pad8)"))
(pad 9 smd rect (at -1.75 -2.4) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 8 "Net-(J2-Pad3)"))
(pad 10 smd rect (at -1.25 -2.4) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 7 "Net-(J2-Pad2)"))
(pad 11 smd rect (at -0.75 -2.4) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 18 "Net-(U1-Pad11)"))
(pad 12 smd rect (at -0.25 -2.4) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 19 "Net-(U1-Pad12)"))
(pad 13 smd rect (at 0.25 -2.4) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 20 "Net-(U1-Pad13)"))
(pad 14 smd rect (at 0.75 -2.4) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 21 "Net-(U1-Pad14)"))
(pad 15 smd rect (at 1.25 -2.4) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 22 "Net-(U1-Pad15)"))
(pad 16 smd rect (at 1.75 -2.4) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 23 "Net-(U1-Pad16)"))
(pad 17 smd rect (at 2.4 -1.75 90) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 24 "Net-(U1-Pad17)"))
(pad 18 smd rect (at 2.4 -1.25 90) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 25 "Net-(U1-Pad18)"))
(pad 19 smd rect (at 2.4 -0.75 90) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 26 "Net-(U1-Pad19)"))
(pad 20 smd rect (at 2.4 -0.25 90) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 27 "Net-(U1-Pad20)"))
(pad 21 smd rect (at 2.4 0.25 90) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 28 "Net-(U1-Pad21)"))
(pad 22 smd rect (at 2.4 0.75 90) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 29 "Net-(U1-Pad22)"))
(pad 23 smd rect (at 2.4 1.25 90) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 30 "Net-(U1-Pad23)"))
(pad 24 smd rect (at 2.4 1.75 90) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 31 "Net-(U1-Pad24)"))
(pad 25 smd rect (at 1.75 2.4) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 32 "Net-(U1-Pad25)"))
(pad 26 smd rect (at 1.25 2.4) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 33 "Net-(U1-Pad26)"))
(pad 27 smd rect (at 0.75 2.4) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 11 "Net-(U1-Pad27)"))
(pad 28 smd rect (at 0.25 2.4) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 12 "Net-(U1-Pad28)"))
(pad 29 smd rect (at -0.25 2.4) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 13 "Net-(U1-Pad29)"))
(pad 30 smd rect (at -0.75 2.4) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 14 "Net-(U1-Pad30)"))
(pad 31 smd rect (at -1.25 2.4) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 15 "Net-(U1-Pad31)"))
(pad 32 smd rect (at -1.75 2.4) (size 0.7 0.25) (layers B.Cu B.Paste B.Mask)
(net 16 "Net-(U1-Pad32)"))
(pad 33 smd rect (at 0.8625 -0.8625 90) (size 1.725 1.725) (layers B.Cu B.Paste B.Mask)
(solder_paste_margin_ratio -0.2))
(pad 33 smd rect (at 0.8625 0.8625 90) (size 1.725 1.725) (layers B.Cu B.Paste B.Mask)
(solder_paste_margin_ratio -0.2))
(pad 33 smd rect (at -0.8625 -0.8625 90) (size 1.725 1.725) (layers B.Cu B.Paste B.Mask)
(solder_paste_margin_ratio -0.2))
(pad 33 smd rect (at -0.8625 0.8625 90) (size 1.725 1.725) (layers B.Cu B.Paste B.Mask)
(solder_paste_margin_ratio -0.2))
(model ${KISYS3DMOD}/Housings_DFN_QFN.3dshapes/QFN-32-1EP_5x5mm_Pitch0.5mm.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(gr_line (start 156.3 103.45) (end 156.3 89.05) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 170.7 103.45) (end 156.3 103.45) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 170.7 89.05) (end 170.7 103.45) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 156.3 89.05) (end 170.7 89.05) (angle 90) (layer Edge.Cuts) (width 0.15))
(segment (start 158 102.31) (end 157.71 102.31) (width 0.155) (layer F.Cu) (net 1) (status 30))
(segment (start 157.71 102.31) (end 157.1 101.7) (width 0.155) (layer F.Cu) (net 1) (tstamp 59BC6C61) (status 10))
(segment (start 161.8 91.7) (end 161.8 93.25) (width 0.155) (layer B.Cu) (net 1) (tstamp 59BC6C70) (status 20))
(via (at 161.8 91.7) (size 0.55) (drill 0.3) (layers F.Cu B.Cu) (net 1))
(segment (start 160.1 93.4) (end 161.8 91.7) (width 0.155) (layer F.Cu) (net 1) (tstamp 59BC6C6C))
(segment (start 158.1 93.4) (end 160.1 93.4) (width 0.155) (layer F.Cu) (net 1) (tstamp 59BC6C6A))
(segment (start 157.1 94.4) (end 158.1 93.4) (width 0.155) (layer F.Cu) (net 1) (tstamp 59BC6C65))
(segment (start 157.1 101.7) (end 157.1 94.4) (width 0.155) (layer F.Cu) (net 1) (tstamp 59BC6C62))
(segment (start 158 102.31) (end 159.71 102.31) (width 0.155) (layer B.Cu) (net 1) (status 10))
(segment (start 164.25 101.3) (end 164.8 101.3) (width 0.155) (layer B.Cu) (net 1) (status 10))
(segment (start 169.1 100.4) (end 169.1 97.45) (width 0.155) (layer B.Cu) (net 1) (tstamp 59BC6AF7) (status 20))
(segment (start 167.5 102) (end 169.1 100.4) (width 0.155) (layer B.Cu) (net 1) (tstamp 59BC6AF5))
(segment (start 165.5 102) (end 167.5 102) (width 0.155) (layer B.Cu) (net 1) (tstamp 59BC6AF3))
(segment (start 164.8 101.3) (end 165.5 102) (width 0.155) (layer B.Cu) (net 1) (tstamp 59BC6AF1))
(segment (start 168.35 94.6) (end 168.35 95.05) (width 0.155) (layer B.Cu) (net 1) (status 10))
(segment (start 168.05 96.35) (end 168.05 96.8) (width 0.155) (layer B.Cu) (net 1) (tstamp 59BC6A8E) (status 20))
(segment (start 168.6 95.8) (end 168.05 96.35) (width 0.155) (layer B.Cu) (net 1) (tstamp 59BC6A8D))
(segment (start 168.6 95.3) (end 168.6 95.8) (width 0.155) (layer B.Cu) (net 1) (tstamp 59BC6A8C))
(segment (start 168.35 95.05) (end 168.6 95.3) (width 0.155) (layer B.Cu) (net 1) (tstamp 59BC6A8B))
(segment (start 169.1 97.45) (end 168.7 97.45) (width 0.155) (layer B.Cu) (net 1) (status 10))
(segment (start 168.7 97.45) (end 168.05 96.8) (width 0.155) (layer B.Cu) (net 1) (tstamp 59BC6A83) (status 20))
(segment (start 163.25 101.3) (end 164.25 101.3) (width 0.155) (layer B.Cu) (net 1) (status 30))
(segment (start 159.71 102.31) (end 160.98 101.04) (width 0.155) (layer B.Cu) (net 1) (tstamp 59BC6B03) (status 20))
(segment (start 163.25 101.3) (end 161.24 101.3) (width 0.155) (layer B.Cu) (net 1) (status 30))
(segment (start 161.24 101.3) (end 160.98 101.04) (width 0.155) (layer B.Cu) (net 1) (tstamp 59BC6AFE) (status 30))
(segment (start 164 100.25) (end 164 99.6) (width 0.155) (layer B.Cu) (net 2))
(segment (start 164 99.6) (end 166.8 96.8) (width 0.155) (layer B.Cu) (net 2) (tstamp 59BC90BD))
(segment (start 166.8 96.8) (end 166.95 96.8) (width 0.155) (layer B.Cu) (net 2) (tstamp 59BC90BF))
(segment (start 166.85 94.6) (end 166.85 95.05) (width 0.155) (layer B.Cu) (net 2) (status 10))
(segment (start 166.95 96.35) (end 166.95 96.8) (width 0.155) (layer B.Cu) (net 2) (tstamp 59BC69EE) (status 20))
(segment (start 166.6 96) (end 166.95 96.35) (width 0.155) (layer B.Cu) (net 2) (tstamp 59BC69EC))
(segment (start 166.6 95.3) (end 166.6 96) (width 0.155) (layer B.Cu) (net 2) (tstamp 59BC69EB))
(segment (start 166.85 95.05) (end 166.6 95.3) (width 0.155) (layer B.Cu) (net 2) (tstamp 59BC69EA))
(segment (start 164.6 99) (end 162.3 99) (width 0.155) (layer F.Cu) (net 5))
(segment (start 167.85 94.6) (end 167.85 95.45) (width 0.155) (layer B.Cu) (net 5) (status 10))
(segment (start 168 95.6) (end 164.6 99) (width 0.155) (layer F.Cu) (net 5) (tstamp 59BC69CD))
(via (at 168 95.6) (size 0.55) (drill 0.3) (layers F.Cu B.Cu) (net 5))
(segment (start 167.85 95.45) (end 168 95.6) (width 0.155) (layer B.Cu) (net 5) (tstamp 59BC69C9))
(segment (start 161 97.3) (end 161 96.7) (width 0.155) (layer F.Cu) (net 5) (tstamp 59BC917A))
(segment (start 160.8 97.5) (end 161 97.3) (width 0.155) (layer F.Cu) (net 5) (tstamp 59BC9179))
(segment (start 160.8 98.2) (end 160.8 97.5) (width 0.155) (layer F.Cu) (net 5) (tstamp 59BC9178))
(segment (start 161.2 98.6) (end 160.8 98.2) (width 0.155) (layer F.Cu) (net 5) (tstamp 59BC9177))
(segment (start 161.9 98.6) (end 161.2 98.6) (width 0.155) (layer F.Cu) (net 5) (tstamp 59BC9176))
(segment (start 162.3 99) (end 161.9 98.6) (width 0.155) (layer F.Cu) (net 5) (tstamp 59BC9175))
(segment (start 160.5 96.2) (end 160.5 93.25) (width 0.155) (layer B.Cu) (net 5) (tstamp 59BC6BF2) (status 20))
(segment (start 161 96.7) (end 160.5 96.2) (width 0.155) (layer B.Cu) (net 5) (tstamp 59BC6BF1))
(via (at 161 96.7) (size 0.55) (drill 0.3) (layers F.Cu B.Cu) (net 5))
(segment (start 164.4 98.6) (end 162.4 98.6) (width 0.155) (layer F.Cu) (net 6))
(via (at 161.4 98) (size 0.55) (drill 0.3) (layers F.Cu B.Cu) (net 6))
(segment (start 161.4 98) (end 159.85 96.45) (width 0.155) (layer B.Cu) (net 6) (tstamp 59BC6BE6))
(segment (start 159.85 93.25) (end 159.85 96.45) (width 0.155) (layer B.Cu) (net 6) (tstamp 59BC6BE7) (status 20))
(segment (start 167.2 95.6) (end 167.2 95.8) (width 0.155) (layer F.Cu) (net 6))
(segment (start 167.2 95.8) (end 164.4 98.6) (width 0.155) (layer F.Cu) (net 6) (tstamp 59BC69BA))
(segment (start 167.35 95.45) (end 167.35 94.6) (width 0.155) (layer B.Cu) (net 6) (status 10))
(via (at 167.2 95.6) (size 0.55) (drill 0.3) (layers F.Cu B.Cu) (net 6))
(segment (start 167.35 95.45) (end 167.2 95.6) (width 0.155) (layer B.Cu) (net 6) (tstamp 59BC6994))
(segment (start 161.8 98) (end 161.4 98) (width 0.155) (layer F.Cu) (net 6) (tstamp 59BC9172))
(segment (start 162.4 98.6) (end 161.8 98) (width 0.155) (layer F.Cu) (net 6) (tstamp 59BC9171))
(segment (start 162.95 93.45) (end 162.9 93.45) (width 0.155) (layer B.Cu) (net 7))
(segment (start 165.2 93.45) (end 163 93.45) (width 0.155) (layer B.Cu) (net 7))
(via (at 162.55 93.1) (size 0.55) (drill 0.3) (layers F.Cu B.Cu) (net 7))
(segment (start 162.55 93.1) (end 161.4 93.1) (width 0.155) (layer F.Cu) (net 7) (tstamp 59BC91C5))
(segment (start 161.4 93.1) (end 161.3 93.2) (width 0.155) (layer F.Cu) (net 7) (tstamp 59BC91C6))
(segment (start 159.7 94.8) (end 159.7 95) (width 0.155) (layer F.Cu) (net 7) (tstamp 59BC91A9))
(segment (start 161.3 93.2) (end 159.7 94.8) (width 0.155) (layer F.Cu) (net 7) (tstamp 59BC91A8))
(segment (start 163 93.45) (end 162.95 93.45) (width 0.155) (layer B.Cu) (net 7))
(segment (start 162.9 93.45) (end 162.55 93.1) (width 0.155) (layer B.Cu) (net 7) (tstamp 59BC91D0))
(segment (start 159.7 98.5) (end 158.43 99.77) (width 0.155) (layer F.Cu) (net 7) (tstamp 59BC6BFE) (status 20))
(segment (start 159.7 94.9) (end 159.7 95) (width 0.155) (layer F.Cu) (net 7) (tstamp 59BC6BFA))
(segment (start 159.7 95) (end 159.7 98.5) (width 0.155) (layer F.Cu) (net 7) (tstamp 59BC91AC))
(segment (start 158.43 99.77) (end 158 99.77) (width 0.155) (layer F.Cu) (net 7) (tstamp 59BC6C01) (status 30))
(segment (start 165.2 93.95) (end 164.45 93.95) (width 0.155) (layer B.Cu) (net 8))
(segment (start 161.5 93.9) (end 161.3 94.1) (width 0.155) (layer F.Cu) (net 8) (tstamp 59BC91B8))
(segment (start 161.6 93.9) (end 161.5 93.9) (width 0.155) (layer F.Cu) (net 8) (tstamp 59BC91B7))
(segment (start 162.6 93.9) (end 161.6 93.9) (width 0.155) (layer F.Cu) (net 8) (tstamp 59BC91B6))
(via (at 162.6 93.9) (size 0.55) (drill 0.3) (layers F.Cu B.Cu) (net 8))
(segment (start 164.4 93.9) (end 162.6 93.9) (width 0.155) (layer B.Cu) (net 8) (tstamp 59BC91B4))
(segment (start 164.45 93.95) (end 164.4 93.9) (width 0.155) (layer B.Cu) (net 8) (tstamp 59BC91B3))
(segment (start 158 101.04) (end 158 100.9) (width 0.155) (layer F.Cu) (net 8))
(segment (start 158 100.9) (end 158.4 100.5) (width 0.155) (layer F.Cu) (net 8) (tstamp 59BC9192))
(segment (start 159.3 99.6) (end 160.2 98.7) (width 0.155) (layer F.Cu) (net 8) (tstamp 59BC9184))
(segment (start 160.2 95.2) (end 160.2 98.7) (width 0.155) (layer F.Cu) (net 8) (tstamp 59BC6C1C))
(segment (start 161.4 94) (end 161.3 94.1) (width 0.155) (layer F.Cu) (net 8) (tstamp 59BC6C18))
(segment (start 161.3 94.1) (end 160.2 95.2) (width 0.155) (layer F.Cu) (net 8) (tstamp 59BC91BB))
(segment (start 159.3 99.6) (end 158.4 100.5) (width 0.155) (layer F.Cu) (net 8))
(segment (start 158 101.04) (end 158 101) (width 0.155) (layer F.Cu) (net 8))
(segment (start 158 101.04) (end 158.06 101.04) (width 0.155) (layer B.Cu) (net 8) (status 30))
(segment (start 166 95.6) (end 166 95.46159) (width 0.155) (layer B.Cu) (net 17))
(segment (start 166.35 95.11159) (end 166.35 94.6) (width 0.155) (layer B.Cu) (net 17) (tstamp 59BC9168))
(segment (start 166 95.46159) (end 166.35 95.11159) (width 0.155) (layer B.Cu) (net 17) (tstamp 59BC9167))
(segment (start 163 100.25) (end 163 100) (width 0.155) (layer B.Cu) (net 17))
(segment (start 163 100) (end 166 97) (width 0.155) (layer B.Cu) (net 17) (tstamp 59BC90B3))
(segment (start 166 97) (end 166 96.5) (width 0.155) (layer B.Cu) (net 17) (tstamp 59BC90B4))
(segment (start 166 96.5) (end 166 95.6) (width 0.155) (layer B.Cu) (net 17) (tstamp 59BC90B7))
(segment (start 163 100.25) (end 163 100.2) (width 0.155) (layer B.Cu) (net 17))
(segment (start 162.9 100.15) (end 162.9 99.7) (width 0.155) (layer B.Cu) (net 17))
(segment (start 161.8 98.6) (end 158.5 98.6) (width 0.155) (layer B.Cu) (net 17) (tstamp 59BC80C3))
(segment (start 161.8 98.6) (end 162.7 99.5) (width 0.155) (layer B.Cu) (net 17) (tstamp 59BC80C4))
(segment (start 162.7 99.5) (end 162.9 99.7) (width 0.155) (layer B.Cu) (net 17))
(segment (start 162.9 100.15) (end 163 100.25) (width 0.155) (layer B.Cu) (net 17) (tstamp 59BC8102))
(segment (start 163 100.1) (end 163 100.25) (width 0.155) (layer B.Cu) (net 17) (tstamp 59BC80FE))
(segment (start 162.9 100.15) (end 163 100.25) (width 0.155) (layer B.Cu) (net 17) (tstamp 59BC80F1))
(segment (start 158 98.5) (end 158.4 98.5) (width 0.155) (layer B.Cu) (net 17))
(segment (start 158.4 98.5) (end 158.5 98.6) (width 0.155) (layer B.Cu) (net 17) (tstamp 59BC80C2))
(segment (start 169.1 96.35) (end 169.1 95.7) (width 0.155) (layer B.Cu) (net 17) (status 10))
(segment (start 168.6 95) (end 166.8 95) (width 0.155) (layer F.Cu) (net 17) (tstamp 59BC6A95))
(segment (start 169.2 95.6) (end 168.6 95) (width 0.155) (layer F.Cu) (net 17) (tstamp 59BC6A94))
(via (at 169.2 95.6) (size 0.55) (drill 0.3) (layers F.Cu B.Cu) (net 17))
(segment (start 169.1 95.7) (end 169.2 95.6) (width 0.155) (layer B.Cu) (net 17) (tstamp 59BC6A91))
(segment (start 166 95.6) (end 166.2 95.6) (width 0.155) (layer F.Cu) (net 17))
(segment (start 166.1 95.7) (end 166 95.6) (width 0.155) (layer B.Cu) (net 17) (tstamp 59BC6A16))
(via (at 166 95.6) (size 0.55) (drill 0.3) (layers F.Cu B.Cu) (net 17))
(segment (start 166.2 95.6) (end 166.8 95) (width 0.155) (layer F.Cu) (net 17) (tstamp 59BC6A69))
(segment (start 157.2 97.1) (end 157.2 95.2) (width 0.155) (layer B.Cu) (net 17))
(segment (start 158 98.5) (end 158 97.9) (width 0.155) (layer B.Cu) (net 17) (status 10))
(segment (start 158 97.9) (end 157.2 97.1) (width 0.155) (layer B.Cu) (net 17) (tstamp 59BC6616))
(segment (start 158.65 93.75) (end 159.2 93.75) (width 0.155) (layer B.Cu) (net 17) (tstamp 59BC6886) (status 20))
(segment (start 157.2 95.2) (end 158.65 93.75) (width 0.155) (layer B.Cu) (net 17) (tstamp 59BC6885))
(segment (start 159.2 93.4) (end 159.2 92.8) (width 0.155) (layer B.Cu) (net 17) (tstamp 59BC661C) (status 30))
(segment (start 158 98.44) (end 158.06 98.44) (width 0.155) (layer B.Cu) (net 17) (status 30))
(segment (start 169.1 101.5) (end 167.12 99.52) (width 0.155) (layer F.Cu) (net 34) (tstamp 59BC6B60) (status 20))
(via (at 169.1 101.5) (size 0.55) (drill 0.3) (layers F.Cu B.Cu) (net 34))
(segment (start 169.8 100.8) (end 169.1 101.5) (width 0.155) (layer B.Cu) (net 34) (tstamp 59BC6B5C))
(segment (start 169.8 94.8) (end 169.8 100.8) (width 0.155) (layer B.Cu) (net 34) (tstamp 59BC6B59))
(segment (start 167.12 99.52) (end 166.905 99.52) (width 0.155) (layer F.Cu) (net 34) (tstamp 59BC6B61) (status 30))
(segment (start 169.6 94.6) (end 169.8 94.8) (width 0.155) (layer B.Cu) (net 34) (tstamp 59BC6B58))
(segment (start 169.35 94.6) (end 169.6 94.6) (width 0.155) (layer B.Cu) (net 34) (status 10))
)

63
one-key/one-key.pro Normal file
View File

@ -0,0 +1,63 @@
update=Sat 16 Sep 2017 13:08:37 AEST
version=1
last_client=kicad
[pcbnew]
version=1
LastNetListRead=
UseCmpFile=1
PadDrill=0.600000000000
PadDrillOvalY=0.600000000000
PadSizeH=1.500000000000
PadSizeV=1.500000000000
PcbTextSizeV=1.500000000000
PcbTextSizeH=1.500000000000
PcbTextThickness=0.300000000000
ModuleTextSizeV=1.000000000000
ModuleTextSizeH=1.000000000000
ModuleTextSizeThickness=0.150000000000
SolderMaskClearance=0.000000000000
SolderMaskMinWidth=0.000000000000
DrawSegmentWidth=0.200000000000
BoardOutlineThickness=0.100000000000
ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[general]
version=1
[eeschema]
version=1
LibDir=../one-key
[eeschema/libraries]
LibName1=power
LibName2=device
LibName3=transistors
LibName4=conn
LibName5=linear
LibName6=regul
LibName7=74xx
LibName8=cmos4000
LibName9=adc-dac
LibName10=memory
LibName11=xilinx
LibName12=microcontrollers
LibName13=dsp
LibName14=microchip
LibName15=analog_switches
LibName16=motorola
LibName17=texas
LibName18=intel
LibName19=audio
LibName20=interface
LibName21=digital-audio
LibName22=philips
LibName23=display
LibName24=cypress
LibName25=siliconi
LibName26=opto
LibName27=atmel
LibName28=contrib
LibName29=valves
LibName30=silabs
LibName31=switches
LibName32=usb_connector

335
one-key/one-key.sch Normal file
View File

@ -0,0 +1,335 @@
EESchema Schematic File Version 2
LIBS:power
LIBS:device
LIBS:transistors
LIBS:conn
LIBS:linear
LIBS:regul
LIBS:74xx
LIBS:cmos4000
LIBS:adc-dac
LIBS:memory
LIBS:xilinx
LIBS:microcontrollers
LIBS:dsp
LIBS:microchip
LIBS:analog_switches
LIBS:motorola
LIBS:texas
LIBS:intel
LIBS:audio
LIBS:interface
LIBS:digital-audio
LIBS:philips
LIBS:display
LIBS:cypress
LIBS:siliconi
LIBS:opto
LIBS:atmel
LIBS:contrib
LIBS:valves
LIBS:silabs
LIBS:switches
LIBS:usb_connector
LIBS:one-key-cache
EELAYER 25 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L C8051F38x_32 U1
U 1 1 59BC66D6
P 4500 2900
F 0 "U1" H 3750 3900 60 0000 C CNN
F 1 "C8051F38x_32" H 4500 2850 60 0000 C CNN
F 2 "Housings_DFN_QFN:QFN-32-1EP_5x5mm_Pitch0.5mm" H 4500 2350 60 0001 C CNN
F 3 "" H 4500 2350 60 0001 C CNN
1 4500 2900
1 0 0 -1
$EndComp
$Comp
L C C1
U 1 1 59BC6727
P 4200 1350
F 0 "C1" H 4225 1450 50 0000 L CNN
F 1 "0.1uF" V 4050 1300 50 0000 L CNN
F 2 "Capacitors_SMD:C_0402_NoSilk" H 4238 1200 50 0001 C CNN
F 3 "" H 4200 1350 50 0001 C CNN
1 4200 1350
0 1 1 0
$EndComp
$Comp
L C C2
U 1 1 59BC6754
P 4200 1550
F 0 "C2" H 4225 1650 50 0000 L CNN
F 1 "1uF" V 4350 1500 50 0000 L CNN
F 2 "Capacitors_SMD:C_0402_NoSilk" H 4238 1400 50 0001 C CNN
F 3 "" H 4200 1550 50 0001 C CNN
1 4200 1550
0 1 1 0
$EndComp
$Comp
L C C4
U 1 1 59BC686B
P 4850 1550
F 0 "C4" H 4875 1650 50 0000 L CNN
F 1 "1uF" V 4700 1500 50 0000 L CNN
F 2 "Capacitors_SMD:C_0402_NoSilk" H 4888 1400 50 0001 C CNN
F 3 "" H 4850 1550 50 0001 C CNN
1 4850 1550
0 -1 -1 0
$EndComp
$Comp
L C C3
U 1 1 59BC6871
P 4850 1350
F 0 "C3" H 4875 1450 50 0000 L CNN
F 1 "0.1uF" V 5000 1200 50 0000 L CNN
F 2 "Capacitors_SMD:C_0402_NoSilk" H 4888 1200 50 0001 C CNN
F 3 "" H 4850 1350 50 0001 C CNN
1 4850 1350
0 -1 -1 0
$EndComp
$Comp
L GND #PWR01
U 1 1 59BC69D8
P 5000 1750
F 0 "#PWR01" H 5000 1500 50 0001 C CNN
F 1 "GND" H 5000 1600 50 0000 C CNN
F 2 "" H 5000 1750 50 0001 C CNN
F 3 "" H 5000 1750 50 0001 C CNN
1 5000 1750
1 0 0 -1
$EndComp
$Comp
L GND #PWR02
U 1 1 59BC6AED
P 4050 1750
F 0 "#PWR02" H 4050 1500 50 0001 C CNN
F 1 "GND" H 4050 1600 50 0000 C CNN
F 2 "" H 4050 1750 50 0001 C CNN
F 3 "" H 4050 1750 50 0001 C CNN
1 4050 1750
1 0 0 -1
$EndComp
$Comp
L +3.3V #PWR03
U 1 1 59BC6B24
P 4700 1100
F 0 "#PWR03" H 4700 950 50 0001 C CNN
F 1 "+3.3V" H 4700 1240 50 0000 C CNN
F 2 "" H 4700 1100 50 0001 C CNN
F 3 "" H 4700 1100 50 0001 C CNN
1 4700 1100
1 0 0 -1
$EndComp
NoConn ~ 2750 2450
NoConn ~ 2350 2650
$Comp
L GND #PWR04
U 1 1 59BC6CDD
P 2450 2850
F 0 "#PWR04" H 2450 2600 50 0001 C CNN
F 1 "GND" H 2450 2700 50 0000 C CNN
F 2 "" H 2450 2850 50 0001 C CNN
F 3 "" H 2450 2850 50 0001 C CNN
1 2450 2850
1 0 0 -1
$EndComp
NoConn ~ 3500 2100
$Comp
L GND #PWR05
U 1 1 59BC6D91
P 4500 4350
F 0 "#PWR05" H 4500 4100 50 0001 C CNN
F 1 "GND" H 4500 4200 50 0000 C CNN
F 2 "" H 4500 4350 50 0001 C CNN
F 3 "" H 4500 4350 50 0001 C CNN
1 4500 4350
1 0 0 -1
$EndComp
NoConn ~ 5500 3800
NoConn ~ 5500 3700
NoConn ~ 5500 3600
NoConn ~ 5500 3500
NoConn ~ 5500 3400
NoConn ~ 5500 3300
NoConn ~ 5500 3200
NoConn ~ 5500 3100
NoConn ~ 5500 2800
NoConn ~ 5500 2700
NoConn ~ 5500 2600
NoConn ~ 5500 2500
NoConn ~ 5500 2400
NoConn ~ 5500 2300
NoConn ~ 5500 2200
NoConn ~ 5500 2100
NoConn ~ 3500 3800
NoConn ~ 3500 3700
NoConn ~ 3500 3600
NoConn ~ 3500 3500
NoConn ~ 3500 3400
NoConn ~ 3500 3300
NoConn ~ 3500 3100
Wire Wire Line
4700 1100 4700 1750
Connection ~ 4700 1550
Wire Wire Line
5000 1350 5000 1750
Connection ~ 5000 1550
Connection ~ 4700 1350
Connection ~ 4350 1550
Connection ~ 4350 1350
Wire Wire Line
4050 1350 4050 1750
Connection ~ 4050 1550
Wire Wire Line
2750 2250 3500 2250
Wire Wire Line
2750 2350 3500 2350
Wire Wire Line
2450 2650 2450 2850
Wire Wire Line
4500 4150 4500 4350
$Comp
L Conn_01x04 J2
U 1 1 59BC8422
P 2800 2850
F 0 "J2" H 2800 3050 50 0000 C CNN
F 1 "Conn_01x04" H 2800 2550 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Angled_1x04_Pitch1.27mm" H 2800 2850 50 0001 C CNN
F 3 "" H 2800 2850 50 0001 C CNN
1 2800 2850
-1 0 0 -1
$EndComp
$Comp
L GND #PWR06
U 1 1 59BC8562
P 3150 3050
F 0 "#PWR06" H 3150 2800 50 0001 C CNN
F 1 "GND" H 3150 2900 50 0000 C CNN
F 2 "" H 3150 3050 50 0001 C CNN
F 3 "" H 3150 3050 50 0001 C CNN
1 3150 3050
1 0 0 -1
$EndComp
Wire Wire Line
3000 3050 3150 3050
Wire Wire Line
3250 2550 3500 2550
Wire Wire Line
3500 2650 3350 2650
$Comp
L SW_Push SW1
U 1 1 59BC89F2
P 2800 3650
F 0 "SW1" H 2850 3750 50 0000 L CNN
F 1 "SW_Push" H 2800 3590 50 0000 C CNN
F 2 "key_switch:Cherry_MX_Matias_No_Silk_Border" H 2800 3850 50 0001 C CNN
F 3 "" H 2800 3850 50 0001 C CNN
1 2800 3650
1 0 0 -1
$EndComp
$Comp
L GND #PWR07
U 1 1 59BC8C94
P 2500 3800
F 0 "#PWR07" H 2500 3550 50 0001 C CNN
F 1 "GND" H 2500 3650 50 0000 C CNN
F 2 "" H 2500 3800 50 0001 C CNN
F 3 "" H 2500 3800 50 0001 C CNN
1 2500 3800
-1 0 0 -1
$EndComp
Wire Wire Line
2600 3650 2500 3650
Wire Wire Line
2500 3650 2500 3800
$Comp
L +5V #PWR08
U 1 1 59BC8F84
P 2850 1750
F 0 "#PWR08" H 2850 1600 50 0001 C CNN
F 1 "+5V" H 2850 1890 50 0000 C CNN
F 2 "" H 2850 1750 50 0001 C CNN
F 3 "" H 2850 1750 50 0001 C CNN
1 2850 1750
1 0 0 -1
$EndComp
Wire Wire Line
4350 1100 4350 1750
Wire Wire Line
4350 1100 3150 1100
Wire Wire Line
3150 1100 3150 2050
Wire Wire Line
3150 2050 2750 2050
Wire Wire Line
2850 1750 2850 2050
Connection ~ 2850 2050
$Comp
L PWR_FLAG #FLG09
U 1 1 59BC904D
P 2650 1700
F 0 "#FLG09" H 2650 1775 50 0001 C CNN
F 1 "PWR_FLAG" H 2650 1850 50 0000 C CNN
F 2 "" H 2650 1700 50 0001 C CNN
F 3 "" H 2650 1700 50 0001 C CNN
1 2650 1700
1 0 0 -1
$EndComp
Wire Wire Line
2650 1700 2650 1800
Wire Wire Line
2650 1800 2850 1800
Connection ~ 2850 1800
$Comp
L +5V #PWR010
U 1 1 59BC90F8
P 3150 2750
F 0 "#PWR010" H 3150 2600 50 0001 C CNN
F 1 "+5V" H 3150 2890 50 0000 C CNN
F 2 "" H 3150 2750 50 0001 C CNN
F 3 "" H 3150 2750 50 0001 C CNN
1 3150 2750
1 0 0 -1
$EndComp
Wire Wire Line
3000 2750 3150 2750
Wire Wire Line
3350 2650 3350 2850
Wire Wire Line
3350 2850 3000 2850
Wire Wire Line
3250 2550 3250 2950
Wire Wire Line
3250 2950 3000 2950
Wire Wire Line
3000 3650 3300 3650
Wire Wire Line
3300 3650 3300 3200
Wire Wire Line
3300 3200 3500 3200
$Comp
L USB_OTG J?
U 1 1 59BC971A
P 2450 2250
F 0 "J?" H 2250 2700 50 0000 L CNN
F 1 "USB_OTG" H 2250 2600 50 0000 L CNN
F 2 "" H 2600 2200 50 0001 C CNN
F 3 "" H 2600 2200 50 0001 C CNN
1 2450 2250
1 0 0 -1
$EndComp
$EndSCHEMATC

View File

@ -0,0 +1,74 @@
(module QFN-32-1EP_5x5mm_Pitch0.5mm (layer F.Cu) (tedit 59BC8661)
(descr "UH Package; 32-Lead Plastic QFN (5mm x 5mm); (see Linear Technology QFN_32_05-08-1693.pdf)")
(tags "QFN 0.5")
(attr smd)
(fp_text reference U1 (at 0 -3.75) (layer Cmts.User)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value C8051F38x_32 (at 0 3.75) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -2.625 -2.625) (end -2.625 -2.125) (layer F.SilkS) (width 0.15))
(fp_circle (center -2.625 -2.625) (end -2.825 -2.775) (layer F.SilkS) (width 0.15))
(fp_line (start -1.5 -2.5) (end 2.5 -2.5) (layer F.Fab) (width 0.15))
(fp_line (start 2.5 -2.5) (end 2.5 2.5) (layer F.Fab) (width 0.15))
(fp_line (start 2.5 2.5) (end -2.5 2.5) (layer F.Fab) (width 0.15))
(fp_line (start -2.5 2.5) (end -2.5 -1.5) (layer F.Fab) (width 0.15))
(fp_line (start -2.5 -1.5) (end -1.5 -2.5) (layer F.Fab) (width 0.15))
(fp_line (start -3 -3) (end -3 3) (layer F.CrtYd) (width 0.05))
(fp_line (start 3 -3) (end 3 3) (layer F.CrtYd) (width 0.05))
(fp_line (start -3 -3) (end 3 -3) (layer F.CrtYd) (width 0.05))
(fp_line (start -3 3) (end 3 3) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.625 -2.625) (end 2.625 -2.1) (layer F.SilkS) (width 0.15))
(fp_line (start -2.625 2.625) (end -2.625 2.1) (layer F.SilkS) (width 0.15))
(fp_line (start 2.625 2.625) (end 2.625 2.1) (layer F.SilkS) (width 0.15))
(fp_line (start -2.625 -2.625) (end -2.1 -2.625) (layer F.SilkS) (width 0.15))
(fp_line (start -2.625 2.625) (end -2.1 2.625) (layer F.SilkS) (width 0.15))
(fp_line (start 2.625 2.625) (end 2.1 2.625) (layer F.SilkS) (width 0.15))
(fp_line (start 2.625 -2.625) (end 2.1 -2.625) (layer F.SilkS) (width 0.15))
(pad 1 smd rect (at -2.4 -1.75) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at -2.4 -1.25) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 3 smd rect (at -2.4 -0.75) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 4 smd rect (at -2.4 -0.25) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 5 smd rect (at -2.4 0.25) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 6 smd rect (at -2.4 0.75) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 7 smd rect (at -2.4 1.25) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 8 smd rect (at -2.4 1.75) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 9 smd rect (at -1.75 2.4 90) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 10 smd rect (at -1.25 2.4 90) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 11 smd rect (at -0.75 2.4 90) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 12 smd rect (at -0.25 2.4 90) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 13 smd rect (at 0.25 2.4 90) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 14 smd rect (at 0.75 2.4 90) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 15 smd rect (at 1.25 2.4 90) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 16 smd rect (at 1.75 2.4 90) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 17 smd rect (at 2.4 1.75) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 18 smd rect (at 2.4 1.25) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 19 smd rect (at 2.4 0.75) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 20 smd rect (at 2.4 0.25) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 21 smd rect (at 2.4 -0.25) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 22 smd rect (at 2.4 -0.75) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 23 smd rect (at 2.4 -1.25) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 24 smd rect (at 2.4 -1.75) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 25 smd rect (at 1.75 -2.4 90) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 26 smd rect (at 1.25 -2.4 90) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 27 smd rect (at 0.75 -2.4 90) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 28 smd rect (at 0.25 -2.4 90) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 29 smd rect (at -0.25 -2.4 90) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 30 smd rect (at -0.75 -2.4 90) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 31 smd rect (at -1.25 -2.4 90) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 32 smd rect (at -1.75 -2.4 90) (size 0.7 0.25) (layers F.Cu F.Paste F.Mask))
(pad 33 smd rect (at 0.8625 0.8625) (size 1.725 1.725) (layers F.Cu F.Paste F.Mask)
(solder_paste_margin_ratio -0.2))
(pad 33 smd rect (at 0.8625 -0.8625) (size 1.725 1.725) (layers F.Cu F.Paste F.Mask)
(solder_paste_margin_ratio -0.2))
(pad 33 smd rect (at -0.8625 0.8625) (size 1.725 1.725) (layers F.Cu F.Paste F.Mask)
(solder_paste_margin_ratio -0.2))
(pad 33 smd rect (at -0.8625 -0.8625) (size 1.725 1.725) (layers F.Cu F.Paste F.Mask)
(solder_paste_margin_ratio -0.2))
(model ${KISYS3DMOD}/Housings_DFN_QFN.3dshapes/QFN-32-1EP_5x5mm_Pitch0.5mm.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)

13
one-key/silabs.dcm Normal file
View File

@ -0,0 +1,13 @@
EESchema-DOCLIB Version 2.0
#
$CMP C8051F38x_32
D C8051F38x 32 pin
K C8051F381, C8051F383, C8051F385, C8051F387, C8051F38C
$ENDCMP
#
$CMP C8051F38x_48
D C8051F38x 48 pin
K C8051F380, C8051F382, C8051F384, C8051F386
$ENDCMP
#
#End Doc Library

108
one-key/silabs.lib Normal file
View File

@ -0,0 +1,108 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# C8051F38x_32
#
DEF C8051F38x_32 U 0 40 Y Y 1 F N
F0 "U" -750 1000 60 H V C CNN
F1 "C8051F38x_32" 0 -50 60 H V C CNN
F2 "" 0 -550 60 H I C CNN
F3 "" 0 -550 60 H I C CNN
DRAW
S -800 950 800 -1050 0 1 0 N
X P0.1 1 -1000 -300 200 R 50 50 1 1 B
X P0.0 2 -1000 -200 200 R 50 50 1 1 B
X GND 3 0 -1250 200 U 50 50 1 1 W
X D+ 4 -1000 650 200 R 50 50 1 1 B
X D- 5 -1000 550 200 R 50 50 1 1 B
X VDD 6 200 1150 200 D 50 50 1 1 w
X REGIN 7 -150 1150 200 D 50 50 1 1 W
X VBUS 8 -1000 800 200 R 50 50 1 1 I
X C2CK/RST 9 -1000 350 200 R 50 50 1 1 B
X C2D/P3.0 10 -1000 250 200 R 50 50 1 1 B
X P1.6 20 1000 200 200 L 50 50 1 1 B
X P0.4 30 -1000 -600 200 R 50 50 1 1 B
X P2.7 11 1000 -900 200 L 50 50 1 1 B
X P1.5 21 1000 300 200 L 50 50 1 1 B
X P0.3 31 -1000 -500 200 R 50 50 1 1 B
X P2.6 12 1000 -800 200 L 50 50 1 1 B
X P1.4 22 1000 400 200 L 50 50 1 1 B
X P0.2 32 -1000 -400 200 R 50 50 1 1 B
X P2.5 13 1000 -700 200 L 50 50 1 1 B
X P1.3 23 1000 500 200 L 50 50 1 1 B
X P2.4 14 1000 -600 200 L 50 50 1 1 B
X P1.2 24 1000 600 200 L 50 50 1 1 B
X P2.3 15 1000 -500 200 L 50 50 1 1 B
X P1.1 25 1000 700 200 L 50 50 1 1 B
X P2.2 16 1000 -400 200 L 50 50 1 1 B
X P1.0 26 1000 800 200 L 50 50 1 1 B
X P2.1 17 1000 -300 200 L 50 50 1 1 B
X P0.7 27 -1000 -900 200 R 50 50 1 1 B
X P2.0 18 1000 -200 200 L 50 50 1 1 B
X P0.6 28 -1000 -800 200 R 50 50 1 1 B
X P1.7 19 1000 100 200 L 50 50 1 1 B
X P0.5 29 -1000 -700 200 R 50 50 1 1 B
ENDDRAW
ENDDEF
#
# C8051F38x_48
#
DEF C8051F38x_48 U 0 40 Y Y 1 F N
F0 "U" -750 1550 60 H V C CNN
F1 "C8051F38x_48" 0 0 60 H V C CNN
F2 "" 0 0 60 H I C CNN
F3 "" 0 0 60 H I C CNN
DRAW
S -800 1500 800 -1500 0 1 0 N
X P0.5 1 -1000 -100 200 R 50 50 1 1 B
X P0.4 2 -1000 0 200 R 50 50 1 1 B
X P0.3 3 -1000 100 200 R 50 50 1 1 B
X P0.2 4 -1000 200 200 R 50 50 1 1 B
X P0.1 5 -1000 300 200 R 50 50 1 1 B
X P0.0 6 -1000 400 200 R 50 50 1 1 B
X GND 7 0 -1700 200 U 50 50 1 1 W
X D+ 8 -1000 1200 200 R 50 50 1 1 B
X D- 9 -1000 1100 200 R 50 50 1 1 B
X P4.2 20 1000 -700 200 L 50 50 1 1 B
X P3.0 30 1000 400 200 L 50 50 1 1 B
X P1.6 40 -1000 -1100 200 R 50 50 1 1 B
X REGIN 11 -150 1700 200 D 50 50 1 1 W
X P4.1 21 1000 -600 200 L 50 50 1 1 B
X P2.7 31 1000 600 200 L 50 50 1 1 B
X P1.5 41 -1000 -1000 200 R 50 50 1 1 B
X VBUS 12 -1000 1350 200 R 50 50 1 1 I
X P4.0 22 1000 -500 200 L 50 50 1 1 B
X P2.6 32 1000 700 200 L 50 50 1 1 B
X P1.4 42 -1000 -900 200 R 50 50 1 1 B
X C2CK/RST 13 -1000 900 200 R 50 50 1 1 B
X P3.7 23 1000 -300 200 L 50 50 1 1 B
X P2.5 33 1000 800 200 L 50 50 1 1 B
X P1.3 43 -1000 -800 200 R 50 50 1 1 B
X C2D 14 -1000 800 200 R 50 50 1 1 B
X P3.6 24 1000 -200 200 L 50 50 1 1 B
X P2.4 34 1000 900 200 L 50 50 1 1 B
X P1.2 44 -1000 -700 200 R 50 50 1 1 B
X P4.7 15 1000 -1200 200 L 50 50 1 1 B
X P3.5 25 1000 -100 200 L 50 50 1 1 B
X P2.3 35 1000 1000 200 L 50 50 1 1 B
X P1.1 45 -1000 -600 200 R 50 50 1 1 B
X P4.6 16 1000 -1100 200 L 50 50 1 1 B
X P3.4 26 1000 0 200 L 50 50 1 1 B
X P2.2 36 1000 1100 200 L 50 50 1 1 B
X P1.0 46 -1000 -500 200 R 50 50 1 1 B
X P4.5 17 1000 -1000 200 L 50 50 1 1 B
X P3.3 27 1000 100 200 L 50 50 1 1 B
X P2.1 37 1000 1200 200 L 50 50 1 1 B
X P0.7 47 -1000 -300 200 R 50 50 1 1 B
X P4.4 18 1000 -900 200 L 50 50 1 1 B
X P3.2 28 1000 200 200 L 50 50 1 1 B
X P2.0 38 1000 1300 200 L 50 50 1 1 B
X P0.6 48 -1000 -200 200 R 50 50 1 1 B
X P4.3 19 1000 -800 200 L 50 50 1 1 B
X P3.1 29 1000 300 200 L 50 50 1 1 B
X P1.7 39 -1000 -1200 200 R 50 50 1 1 B
X VDD VDD 200 1700 200 D 50 50 1 1 w
ENDDRAW
ENDDEF
#
#End Library

1383
one-key/switches.lib Normal file

File diff suppressed because it is too large Load Diff

2545
one-key/usb_connector.dcm Normal file

File diff suppressed because it is too large Load Diff

34370
one-key/usb_connector.lib Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,25 @@
(module micro-usb (layer F.Cu) (tedit 58D0B5BC)
(fp_text reference REF** (at 6.33 -1.02) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value micro-usb (at -0.07 4.18) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 4.05 3.45) (end 4.05 -2.12) (layer F.SilkS) (width 0.15))
(fp_line (start 4.05 -2.12) (end -3.97 -2.12) (layer F.SilkS) (width 0.15))
(fp_line (start -4.05 -2.12) (end -4.05 3.45) (layer F.SilkS) (width 0.15))
(fp_line (start -4.05 3.45) (end 4.05 3.45) (layer F.SilkS) (width 0.15))
(pad 6 smd rect (at -3.2 -0.25) (size 1.3 1) (layers F.Cu F.Paste F.Mask))
(pad 6 smd rect (at 3.2 -0.25) (size 1.3 1) (layers F.Cu F.Paste F.Mask))
(pad "" np_thru_hole circle (at -1.95 -0.14) (size 0.6 0.6) (drill 0.6) (layers *.Cu *.Mask))
(pad 6 smd rect (at -1.15 2) (size 1.9 1.9) (layers F.Cu F.Paste F.Mask))
(pad 6 thru_hole oval (at -2.825 2) (size 0.75 2.15) (drill oval 0.45 1.55) (layers *.Cu *.Mask))
(pad 5 smd rect (at 1.3 -1.05) (size 0.4 2.1) (layers F.Cu F.Paste F.Mask))
(pad 4 smd rect (at 0.65 -1.05) (size 0.4 2.1) (layers F.Cu F.Paste F.Mask))
(pad 3 smd rect (at 0 -1.05) (size 0.4 2.1) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at -0.65 -1.05) (size 0.4 2.1) (layers F.Cu F.Paste F.Mask))
(pad 1 smd rect (at -1.3 -1.05) (size 0.4 2.1) (layers F.Cu F.Paste F.Mask))
(pad 6 thru_hole oval (at 2.825 2) (size 0.75 2.15) (drill oval 0.45 1.55) (layers *.Cu *.Mask))
(pad 6 smd rect (at 1.15 2) (size 1.9 1.9) (layers F.Cu F.Paste F.Mask))
(pad "" np_thru_hole circle (at 1.95 -0.14) (size 0.6 0.6) (drill 0.6) (layers *.Cu *.Mask))
)

View File

@ -0,0 +1,21 @@
(module micro_usb_no_silk (layer F.Cu) (tedit 59BC85A0)
(fp_text reference J1 (at -3.175 -2.921 180) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value USB_OTG (at -0.07 4.18) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(pad 6 smd rect (at -3.2 -0.25) (size 1.3 1) (layers F.Cu F.Paste F.Mask))
(pad 6 smd rect (at 3.2 -0.25) (size 1.3 1) (layers F.Cu F.Paste F.Mask))
(pad "" np_thru_hole circle (at -1.95 -0.14) (size 0.6 0.6) (drill 0.6) (layers *.Cu *.Mask))
(pad 6 smd rect (at -1.15 2) (size 1.9 1.9) (layers F.Cu F.Paste F.Mask))
(pad 6 thru_hole circle (at -2.825 2) (size 2 2) (drill 1.35) (layers *.Cu *.Mask))
(pad 5 smd rect (at 1.3 -1.05) (size 0.4 2.1) (layers F.Cu F.Paste F.Mask))
(pad 4 smd rect (at 0.65 -1.05) (size 0.4 2.1) (layers F.Cu F.Paste F.Mask))
(pad 3 smd rect (at 0 -1.05) (size 0.4 2.1) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at -0.65 -1.05) (size 0.4 2.1) (layers F.Cu F.Paste F.Mask))
(pad 1 smd rect (at -1.3 -1.05) (size 0.4 2.1) (layers F.Cu F.Paste F.Mask))
(pad 6 thru_hole circle (at 2.825 2) (size 2 2) (drill 1.35) (layers *.Cu *.Mask))
(pad 6 smd rect (at 1.15 2) (size 1.9 1.9) (layers F.Cu F.Paste F.Mask))
(pad "" np_thru_hole circle (at 1.95 -0.14) (size 0.6 0.6) (drill 0.6) (layers *.Cu *.Mask))
)