Compare commits
47 Commits
fe3a7975c5
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| b7ffcefe61 | |||
| f04493bcd1 | |||
| e84799ca64 | |||
| a67b8fe123 | |||
| 0d21f201a8 | |||
| 9df9dc85b3 | |||
| 29ceb800b5 | |||
| 76fda99eee | |||
| 98e85899db | |||
| 77521f485e | |||
| bc352c1ef9 | |||
| 3e4ffe054e | |||
| a3efce4b15 | |||
| 9d4f103f3b | |||
| 14ea99b19e | |||
| 5881a12bf2 | |||
| 65c245e1f2 | |||
| 4cc6da8e05 | |||
| 0d15a5aa94 | |||
| 322f5afbb1 | |||
| 788bdf1d99 | |||
| a07c2176a1 | |||
| 0ecab2ae47 | |||
| b612cc3bcd | |||
| 29cd66dd2f | |||
| e46114806a | |||
| e828dc4a13 | |||
| f7b4757be6 | |||
| c4f8c0662b | |||
| 519b772dfd | |||
| dd8bf45675 | |||
| 3351a0cab8 | |||
| 66cc4cfc8f | |||
| 3c2354b0f1 | |||
| e4342258bd | |||
| 2f1c467b8d | |||
| e68695c7df | |||
| 485c5bf7e4 | |||
| c96fcff3ab | |||
| cb4059b84a | |||
| ca5583c799 | |||
| 39c10124fd | |||
| 9c63e68db6 | |||
| 3cae36f24b | |||
| d6d60f1417 | |||
| 8ef0b56bab | |||
| 5f3dd6fbe4 |
7
.gitattributes
vendored
Normal file
7
.gitattributes
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
*.csv filter=bom_csv
|
||||||
|
*.html filter=bom_html
|
||||||
|
*.gbr filter=gerber
|
||||||
|
*.gbrjob filter=gbrjob
|
||||||
|
*.xml filter=xml
|
||||||
|
*.kicad_pcb filter=kicad_pcb_f
|
||||||
|
*.net filter=net_filter
|
||||||
20
.gitconfig
Normal file
20
.gitconfig
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
[filter "bom_csv"]
|
||||||
|
clean = sed -E 's/^BoM Date:.*$/BoM Date:Date/'
|
||||||
|
smudge = sed -E \"s/BoM Date:Date/BoM Date:,`date +\\\"%a %d %b %Y %X %:::z\\\"`/\"
|
||||||
|
[filter "bom_html"]
|
||||||
|
clean = sed -E 's/^<tr><td>BoM Date<\\/td><td>.*$/<tr><td>BoM Date<\\/td><td>Date<\\/td><\\/tr>/'
|
||||||
|
smudge = sed -E \"s/<tr><td>BoM Date<\\/td><td>Date<\\/td><\\/tr>/<tr><td>BoM Date<\\/td><td>`date +\\\"%a %d %b %Y %X %:::z\\\"`<\\/td><\\/tr>/\"
|
||||||
|
[filter "gerber"]
|
||||||
|
clean = sed -E -e 's/^%TF.CreationDate,.*$/%TF.CreationDate,Date%/' -e 's/^G04 Created by KiCad.*$/G04 Created by KiCad*/'
|
||||||
|
smudge = sed -E \"s/%TF.CreationDate,Date%/%TF.CreationDate,`date +%Y-%m-%dT%H:%M:%S%:z`/\"
|
||||||
|
[filter "gbrjob"]
|
||||||
|
clean = sed -E 's/\"CreationDate\":.*/\"CreationDate\": \"Date\"/'
|
||||||
|
smudge = sed -E \"s/\\\"CreationDate\\\": \\\"Date\\\"/\\\"CreationDate\\\": \\\"`date +%Y-%m-%dT%H:%M:%S%:z`\\\"/\"
|
||||||
|
[filter "xml"]
|
||||||
|
clean = sed -E -e 's/^ <date>.*<\\/date>/ <date>Date2<\\/date>/' -e 's/^ <date>.*<\\/date>/ <date>Date1<\\/date>/'
|
||||||
|
smudge = sed -E -e \"s/<date>Date1<\\/date>/<date>`date +\\\"%a %d %b %Y %X %:::z\\\"`<\\/date>/\" -e \"s/<date>Date2<\\/date>/<date>`date +\\\"%Y-%m-%d\\\"`<\\/date>/\"
|
||||||
|
[filter "kicad_pcb_f"]
|
||||||
|
clean = sed -E 's/\\(host pcbnew ([[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+).*/\\(host pcbnew \\1\\)/'
|
||||||
|
[filter "net_filter"]
|
||||||
|
clean = sed -E -e 's/\\(date \\\".*\\\"\\)/\\(date \\\"Date\\\"\\)/'
|
||||||
|
smudge = sed -E -e \"s/\\(date \\\"Date\\\"\\)/\\(date \\\"`date +\\\"%a %d %b %Y %X %:::z\\\"`\\\"\\)/\"
|
||||||
23
.gitea/workflows/doc-generation.yml
Normal file
23
.gitea/workflows/doc-generation.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: docs-generation
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- '**.kicad_sch'
|
||||||
|
- '**.kicad_pcb'
|
||||||
|
- '**.kicad_pro'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
docs-generation:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: INTI-CMNB/KiBot@v1.8.1
|
||||||
|
with:
|
||||||
|
config: config.kibot.yaml
|
||||||
|
schema: 'CommonSense.kicad_sch'
|
||||||
|
board: 'CommonSense.kicad_pcb'
|
||||||
|
- name: upload results
|
||||||
|
uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
|
with:
|
||||||
|
commit_message: 'Update Docs'
|
||||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -28,6 +28,10 @@ fp-info-cache
|
|||||||
# Exported BOM files
|
# Exported BOM files
|
||||||
*.xml
|
*.xml
|
||||||
*.csv
|
*.csv
|
||||||
|
bom/
|
||||||
|
|
||||||
# Backups
|
# Backups
|
||||||
*-backups
|
*-backups
|
||||||
|
|
||||||
|
# Kiri files
|
||||||
|
.kiri/
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -118,14 +118,14 @@
|
|||||||
"min_hole_to_hole": 0.25,
|
"min_hole_to_hole": 0.25,
|
||||||
"min_microvia_diameter": 0.19999999999999998,
|
"min_microvia_diameter": 0.19999999999999998,
|
||||||
"min_microvia_drill": 0.09999999999999999,
|
"min_microvia_drill": 0.09999999999999999,
|
||||||
"min_resolved_spokes": 2,
|
"min_resolved_spokes": 1,
|
||||||
"min_silk_clearance": 0.0,
|
"min_silk_clearance": 0.0,
|
||||||
"min_text_height": 0.7999999999999999,
|
"min_text_height": 0.7999999999999999,
|
||||||
"min_text_thickness": 0.08,
|
"min_text_thickness": 0.08,
|
||||||
"min_through_hole_diameter": 0.3,
|
"min_through_hole_diameter": 0.3,
|
||||||
"min_track_width": 0.127,
|
"min_track_width": 0.127,
|
||||||
"min_via_annular_width": 0.09999999999999999,
|
"min_via_annular_width": 0.049999999999999996,
|
||||||
"min_via_diameter": 0.6,
|
"min_via_diameter": 0.39999999999999997,
|
||||||
"solder_mask_clearance": 0.0,
|
"solder_mask_clearance": 0.0,
|
||||||
"solder_mask_min_width": 0.0,
|
"solder_mask_min_width": 0.0,
|
||||||
"solder_mask_to_copper_clearance": 0.0,
|
"solder_mask_to_copper_clearance": 0.0,
|
||||||
@@ -175,6 +175,8 @@
|
|||||||
0.0,
|
0.0,
|
||||||
0.15,
|
0.15,
|
||||||
0.2,
|
0.2,
|
||||||
|
0.25,
|
||||||
|
0.35,
|
||||||
0.4,
|
0.4,
|
||||||
0.6
|
0.6
|
||||||
],
|
],
|
||||||
@@ -183,6 +185,10 @@
|
|||||||
"diameter": 0.0,
|
"diameter": 0.0,
|
||||||
"drill": 0.0
|
"drill": 0.0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"diameter": 0.4,
|
||||||
|
"drill": 0.3
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"diameter": 0.6,
|
"diameter": 0.6,
|
||||||
"drill": 0.3
|
"drill": 0.3
|
||||||
@@ -455,6 +461,23 @@
|
|||||||
"via_diameter": 0.9,
|
"via_diameter": 0.9,
|
||||||
"via_drill": 0.4,
|
"via_drill": 0.4,
|
||||||
"wire_width": 6
|
"wire_width": 6
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"bus_width": 12,
|
||||||
|
"clearance": 0.127,
|
||||||
|
"diff_pair_gap": 0.25,
|
||||||
|
"diff_pair_via_gap": 0.25,
|
||||||
|
"diff_pair_width": 0.2,
|
||||||
|
"line_style": 0,
|
||||||
|
"microvia_diameter": 0.3,
|
||||||
|
"microvia_drill": 0.1,
|
||||||
|
"name": "RF - 50Ohm",
|
||||||
|
"pcb_color": "rgba(0, 0, 0, 0.000)",
|
||||||
|
"schematic_color": "rgba(0, 0, 0, 0.000)",
|
||||||
|
"track_width": 0.35,
|
||||||
|
"via_diameter": 0.6,
|
||||||
|
"via_drill": 0.3,
|
||||||
|
"wire_width": 6
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"meta": {
|
"meta": {
|
||||||
@@ -463,9 +486,17 @@
|
|||||||
"net_colors": null,
|
"net_colors": null,
|
||||||
"netclass_assignments": null,
|
"netclass_assignments": null,
|
||||||
"netclass_patterns": [
|
"netclass_patterns": [
|
||||||
|
{
|
||||||
|
"netclass": "RF - 50Ohm",
|
||||||
|
"pattern": "/RF"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"netclass": "Power",
|
"netclass": "Power",
|
||||||
"pattern": "+3V3"
|
"pattern": "+3V0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"netclass": "Power",
|
||||||
|
"pattern": "+BATT"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
21
LICENSE
Normal file
21
LICENSE
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2024 Andreas Tsouchlos
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
15
README.md
15
README.md
@@ -1,10 +1,17 @@
|
|||||||
# CommonSense
|
# CommonSense
|
||||||
|
|
||||||
A BLE-based PCB for measuring humidity and temperature
|
A BLE-based PCB for measuring humidity and temperature.
|
||||||
|
|
||||||
## Downloading libraries
|
After cloning, the libraries can be downloaded using
|
||||||
|
|
||||||
After cloning, the libraries have to be downloaded using
|
|
||||||
```bash
|
```bash
|
||||||
$ git submodule update --init
|
$ git submodule update --init
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## PCB
|
||||||
|
|
||||||
|
<img width=400 src="./doc/generated/CommonSense-top.svg" />
|
||||||
|
<img width=400 src="./doc/generated/CommonSense-bottom.svg" />
|
||||||
|
|
||||||
|
## Schematic
|
||||||
|
|
||||||
|
<img src="./doc/generated/CommonSense-schematic.svg" />
|
||||||
|
|||||||
50
config.kibot.yaml
Normal file
50
config.kibot.yaml
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
kibot:
|
||||||
|
version: 1
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
- name: 'schematic pdf'
|
||||||
|
comment: 'Schematic pdf generation'
|
||||||
|
type: 'pdf_sch_print'
|
||||||
|
dir: 'doc/generated'
|
||||||
|
- name: 'schematic svg'
|
||||||
|
comment: 'Schematic pdf generation'
|
||||||
|
type: 'svg_sch_print'
|
||||||
|
dir: 'doc/generated'
|
||||||
|
options:
|
||||||
|
background_color: true
|
||||||
|
- name: 'pcbdraw top svg'
|
||||||
|
comment: 'PCB top image generation'
|
||||||
|
type: 'pcbdraw'
|
||||||
|
dir: 'doc/generated'
|
||||||
|
options:
|
||||||
|
bottom: false
|
||||||
|
style: 'set-blue-cu'
|
||||||
|
show_components: 'none'
|
||||||
|
- name: 'pcbdraw top pdn'
|
||||||
|
comment: 'PCB top image generation'
|
||||||
|
type: 'pcbdraw'
|
||||||
|
dir: 'doc/generated'
|
||||||
|
options:
|
||||||
|
format: 'png'
|
||||||
|
dpi: 600
|
||||||
|
bottom: false
|
||||||
|
style: 'set-blue-cu'
|
||||||
|
show_components: 'none'
|
||||||
|
- name: 'pcbdraw bottom svg'
|
||||||
|
comment: 'PCB bottom image generation'
|
||||||
|
type: 'pcbdraw'
|
||||||
|
options:
|
||||||
|
bottom: true
|
||||||
|
style: 'set-blue-cu'
|
||||||
|
show_components: 'none'
|
||||||
|
dir: 'doc/generated'
|
||||||
|
- name: 'pcbdraw bottom png'
|
||||||
|
comment: 'PCB bottom image generation'
|
||||||
|
type: 'pcbdraw'
|
||||||
|
options:
|
||||||
|
format: 'png'
|
||||||
|
dpi: 600
|
||||||
|
bottom: true
|
||||||
|
style: 'set-blue-cu'
|
||||||
|
show_components: 'none'
|
||||||
|
dir: 'doc/generated'
|
||||||
BIN
doc/generated/CommonSense-bottom.png
Normal file
BIN
doc/generated/CommonSense-bottom.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 91 KiB |
967
doc/generated/CommonSense-bottom.svg
Normal file
967
doc/generated/CommonSense-bottom.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 110 KiB |
BIN
doc/generated/CommonSense-schematic.pdf
Normal file
BIN
doc/generated/CommonSense-schematic.pdf
Normal file
Binary file not shown.
62707
doc/generated/CommonSense-schematic.svg
Normal file
62707
doc/generated/CommonSense-schematic.svg
Normal file
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 1.1 MiB |
BIN
doc/generated/CommonSense-top.png
Normal file
BIN
doc/generated/CommonSense-top.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 124 KiB |
2387
doc/generated/CommonSense-top.svg
Normal file
2387
doc/generated/CommonSense-top.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 430 KiB |
Submodule encyclopedia_galactica updated: bac59732f9...0187699e02
Reference in New Issue
Block a user