Skip to content

Commit 5ff3c74

Browse files
Merge pull request #50 from rfvermut/main
UI Board
2 parents 890ada7 + 7565b24 commit 5ff3c74

23 files changed

+55775
-2
lines changed

Hardware/CoverUI/.gitignore

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# For PCBs designed using KiCad: https://www.kicad.org/
2+
# Format documentation: https://kicad.org/help/file-formats/
3+
4+
# Temporary files
5+
*.000
6+
*.bak
7+
*.bck
8+
*.kicad_pcb-bak
9+
*.kicad_sch-bak
10+
*-backups
11+
*.kicad_prl
12+
*.sch-bak
13+
*~
14+
_autosave-*
15+
*.tmp
16+
*-save.pro
17+
*-save.kicad_pcb
18+
fp-info-cache
19+
20+
# Netlist files (exported from Eeschema)
21+
*.net
22+
23+
# Autorouter files (exported from Pcbnew)
24+
*.dsn
25+
*.ses
26+
27+
# Exported BOM files
28+
*.xml
29+
*.csv
30+
31+
replicate_layout.log
32+
33+
# Kibot tmp files
34+
*-drc.txt
35+
*-erc.txt
36+
kibot_errors.filter
37+
*.kicad_pro-bak
38+
release

Hardware/CoverUI/CoverUI-cache.lib

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
EESchema-LIBRARY Version 2.4
2+
#encoding utf-8
3+
#
4+
# Device_LED
5+
#
6+
DEF Device_LED D 0 40 N N 1 F N
7+
F0 "D" 0 100 50 H V C CNN
8+
F1 "Device_LED" 0 -100 50 H V C CNN
9+
F2 "" 0 0 50 H I C CNN
10+
F3 "" 0 0 50 H I C CNN
11+
$FPLIST
12+
LED*
13+
LED_SMD:*
14+
LED_THT:*
15+
$ENDFPLIST
16+
DRAW
17+
P 2 0 1 10 -50 -50 -50 50 N
18+
P 2 0 1 0 -50 0 50 0 N
19+
P 4 0 1 10 50 -50 50 50 -50 0 50 -50 N
20+
P 5 0 1 0 -120 -30 -180 -90 -150 -90 -180 -90 -180 -60 N
21+
P 5 0 1 0 -70 -30 -130 -90 -100 -90 -130 -90 -130 -60 N
22+
X K 1 -150 0 100 R 50 50 1 1 P
23+
X A 2 150 0 100 L 50 50 1 1 P
24+
ENDDRAW
25+
ENDDEF
26+
#
27+
# Mechanical_MountingHole_Pad
28+
#
29+
DEF Mechanical_MountingHole_Pad H 0 40 N N 1 F N
30+
F0 "H" 0 250 50 H V C CNN
31+
F1 "Mechanical_MountingHole_Pad" 0 175 50 H V C CNN
32+
F2 "" 0 0 50 H I C CNN
33+
F3 "" 0 0 50 H I C CNN
34+
$FPLIST
35+
MountingHole*Pad*
36+
$ENDFPLIST
37+
DRAW
38+
C 0 50 50 0 1 50 N
39+
X 1 1 0 -100 100 U 50 50 1 1 I
40+
ENDDRAW
41+
ENDDEF
42+
#
43+
# Switch_SW_MEC_5G
44+
#
45+
DEF Switch_SW_MEC_5G SW 0 40 N N 1 F N
46+
F0 "SW" 50 100 50 H V L CNN
47+
F1 "Switch_SW_MEC_5G" 0 -60 50 H V C CNN
48+
F2 "" 0 200 50 H I C CNN
49+
F3 "" 0 200 50 H I C CNN
50+
$FPLIST
51+
SW*MEC*5G*
52+
$ENDFPLIST
53+
DRAW
54+
C -80 0 20 0 1 0 N
55+
C 80 0 20 0 1 0 N
56+
P 2 0 1 0 0 50 0 120 N
57+
P 2 0 1 0 100 50 -100 50 N
58+
X A 1 -200 0 100 R 50 50 0 1 P
59+
X B 3 200 0 100 L 50 50 0 1 P
60+
X A 2 -200 0 100 R 50 50 1 1 P N
61+
X B 4 200 0 100 L 50 50 1 1 P N
62+
ENDDRAW
63+
ENDDEF
64+
#
65+
# power_GND
66+
#
67+
DEF power_GND #PWR 0 0 Y Y 1 F P
68+
F0 "#PWR" 0 -250 50 H I C CNN
69+
F1 "power_GND" 0 -150 50 H V C CNN
70+
F2 "" 0 0 50 H I C CNN
71+
F3 "" 0 0 50 H I C CNN
72+
DRAW
73+
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
74+
X GND 1 0 0 0 D 50 50 1 1 W N
75+
ENDDRAW
76+
ENDDEF
77+
#
78+
#End Library

Hardware/CoverUI/CoverUI.kibot.yaml

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
kibot:
2+
version: 1
3+
4+
preflight:
5+
run_drc: true
6+
run_erc: true
7+
8+
set_text_variables:
9+
- name: 'git_version'
10+
# Replace n.m.i with n.m."x"
11+
command: >
12+
git describe --tags | sed -E 's/^(v[0-9]+\.[0-9]+)\.([0-9]+)/\1.x/'
13+
update_xml: true
14+
15+
outputs:
16+
- name: 'bom'
17+
comment: 'Used to generate the BoM in CSV, HTML, TSV, TXT, XML or XLSX format using the internal BoM.'
18+
type: 'kibom' # reads bom.ini in contrast with 'bom'
19+
dir: 'release'
20+
options:
21+
format: CSV
22+
23+
- name: 'ibom'
24+
comment: 'Generates an interactive web page useful to identify the position of the components in the PCB.'
25+
type: 'ibom'
26+
dir: 'release'
27+
options:
28+
extra_fields: LCSC
29+
highlight_pin1: true
30+
31+
- name: 'write_gerber_drill'
32+
comment: 'This is the information for the drilling machine in gerber format.'
33+
type: 'gerb_drill'
34+
dir: 'release/gerber_cover'
35+
36+
- name: 'write_gerber'
37+
comment: 'This is the main fabrication format for the PCB.'
38+
type: 'gerber'
39+
dir: 'release/gerber_cover'
40+
layers: 'selected'
41+
42+
- name: 'gerber'
43+
comment: 'Generates a compressed file containing gerber files.'
44+
type: 'compress'
45+
dir: 'release'
46+
options:
47+
files:
48+
# [string=''] Destination directory inside the archive, empty means the same of the file
49+
- dest: '.'
50+
source: 'release/gerber_cover/*'
51+
52+
- name: 'position'
53+
comment: 'Generates the file with position information for the PCB components, used by the pick and place machine.'
54+
type: 'position'
55+
dir: 'release'
56+
57+
- name: 'pcbdraw_svg'
58+
comment: 'Exports the PCB as a 2D model (SVG, PNG or JPG).'
59+
type: 'pcbdraw'
60+
dir: 'release'
61+
options:
62+
format: 'svg'
63+
64+
- name: 'pcbdraw_png'
65+
comment: 'Exports the PCB as a 2D model (SVG, PNG or JPG).'
66+
type: 'pcbdraw'
67+
dir: 'release'
68+
options:
69+
format: 'png'
70+
71+
- name: 'pcbdraw_svg_bottom'
72+
comment: 'Exports the PCB as a 2D model (SVG, PNG or JPG).'
73+
type: 'pcbdraw'
74+
dir: 'release'
75+
options:
76+
bottom: true
77+
format: 'svg'
78+
79+
- name: 'pcbdraw_png_bottom'
80+
comment: 'Exports the PCB as a 2D model (SVG, PNG or JPG).'
81+
type: 'pcbdraw'
82+
dir: 'release'
83+
options:
84+
bottom: true
85+
format: 'png'
86+
87+
- name: 'render_3d'
88+
comment: "Exports the image generated by KiCad's 3D viewer."
89+
type: 'render_3d'
90+
dir: 'release'
91+
options:
92+
rotate_x: 1
93+
rotate_y: 1
94+
ray_tracing: true
95+
wait_render: -600
96+
zoom: 2

0 commit comments

Comments
 (0)