Compare commits

..

17 Commits

Author SHA1 Message Date
b7ffcefe61 Fix paths in workflow trigger (#3)
Reviewed-on: https://git.mercurial-manifold.eu/an.tsouchlos/commonsense-hw/pulls/3
Co-authored-by: Andreas Tsouchlos <an.tsouchlos@gmail.com>
Co-committed-by: Andreas Tsouchlos <an.tsouchlos@gmail.com>
2024-10-20 14:15:14 +00:00
f04493bcd1 Add MIT license (#2)
Reviewed-on: https://git.mercurial-manifold.eu/an.tsouchlos/commonsense-hw/pulls/2
Co-authored-by: Andreas Tsouchlos <an.tsouchlos@gmail.com>
Co-committed-by: Andreas Tsouchlos <an.tsouchlos@gmail.com>
2024-10-20 13:36:46 +00:00
e84799ca64 Add doc generation workflow (#1)
Co-authored-by: an.tsouchlos <an.tsouchlos@users.noreply.github.com>
Reviewed-on: https://git.mercurial-manifold.eu/an.tsouchlos/commonsense-hw/pulls/1
Co-authored-by: Andreas Tsouchlos <an.tsouchlos@gmail.com>
Co-committed-by: Andreas Tsouchlos <an.tsouchlos@gmail.com>
2024-10-20 13:31:11 +00:00
a67b8fe123 Fix component values 2023-09-07 11:59:02 +02:00
0d21f201a8 Update PCB from schematic 2023-08-26 20:49:58 +02:00
9df9dc85b3 Add 1k value to LED resistor 2023-08-26 20:48:31 +02:00
29ceb800b5 Update to newest version of library 2023-08-22 22:10:19 +02:00
76fda99eee Change crystal capacitor values 2023-08-22 22:09:05 +02:00
98e85899db Change constraints to fix design errors 2023-08-08 18:53:33 +03:00
77521f485e Add stitching vias to RF trace 2023-08-08 18:46:36 +03:00
bc352c1ef9 Move pin headers to ensure multiple of 2.54mm spacing; Add proper via stitching 2023-08-08 18:39:26 +03:00
3e4ffe054e Move I2C pullups closer to nrf chip; Moved I2C lines further appart 2023-08-06 18:01:26 +03:00
a3efce4b15 Check out newest version of library and update component 2023-08-05 03:14:44 +03:00
9d4f103f3b Change battery holder value to component number 2023-08-05 03:06:04 +03:00
14ea99b19e Add antenna datasheet 2023-08-05 02:44:20 +03:00
5881a12bf2 Changed Antenna icon to chip antenna and fixed designator 2023-08-05 02:37:50 +03:00
65c245e1f2 Add kiri directory to gitignore 2023-08-05 02:27:27 +03:00
17 changed files with 67180 additions and 890 deletions

7
.gitattributes vendored Normal file
View 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
View 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\\\"`\\\"\\)/\"

View 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'

3
.gitignore vendored
View File

@@ -32,3 +32,6 @@ bom/
# Backups
*-backups
# Kiri files
.kiri/

File diff suppressed because it is too large Load Diff

View File

@@ -124,8 +124,8 @@
"min_text_thickness": 0.08,
"min_through_hole_diameter": 0.3,
"min_track_width": 0.127,
"min_via_annular_width": 0.09999999999999999,
"min_via_diameter": 0.6,
"min_via_annular_width": 0.049999999999999996,
"min_via_diameter": 0.39999999999999997,
"solder_mask_clearance": 0.0,
"solder_mask_min_width": 0.0,
"solder_mask_to_copper_clearance": 0.0,
@@ -185,6 +185,10 @@
"diameter": 0.0,
"drill": 0.0
},
{
"diameter": 0.4,
"drill": 0.3
},
{
"diameter": 0.6,
"drill": 0.3

View File

@@ -201,49 +201,113 @@
)
)
)
(symbol "Device:Antenna" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
(property "Reference" "AE" (at -1.905 1.905 0)
(symbol "Device:Antenna_Chip" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
(property "Reference" "AE" (at 0 5.08 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "Antenna" (at -1.905 0 0)
(property "Value" "Antenna_Chip" (at 0 3.175 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "" (at 0 0 0)
(property "Footprint" "" (at -2.54 4.445 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 0 0 0)
(property "Datasheet" "~" (at -2.54 4.445 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "antenna" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Antenna" (at 0 0 0)
(property "ki_description" "Ceramic chip antenna with pin for PCB trace" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "Antenna_0_1"
(symbol "Antenna_Chip_0_1"
(polyline
(pts
(xy 0 2.54)
(xy 0 -3.81)
(xy -2.54 0)
(xy -2.54 -0.635)
)
(stroke (width 0.254) (type default))
(fill (type none))
)
(polyline
(pts
(xy 1.27 2.54)
(xy 0 -2.54)
(xy -1.27 2.54)
(xy -2.54 0)
(xy -1.27 0)
)
(stroke (width 0.254) (type default))
(fill (type none))
)
(polyline
(pts
(xy 1.27 0)
(xy 2.54 0)
)
(stroke (width 0.254) (type default))
(fill (type none))
)
(polyline
(pts
(xy 1.27 1.27)
(xy 1.27 -1.27)
)
(stroke (width 0.254) (type default))
(fill (type none))
)
(polyline
(pts
(xy 2.54 -0.635)
(xy 2.54 0)
)
(stroke (width 0) (type default))
(fill (type none))
)
(polyline
(pts
(xy 2.54 6.985)
(xy 2.54 -1.905)
)
(stroke (width 0.254) (type default))
(fill (type none))
)
(polyline
(pts
(xy -1.27 1.27)
(xy -1.27 -1.27)
(xy -1.27 0)
)
(stroke (width 0.254) (type default))
(fill (type none))
)
(polyline
(pts
(xy 3.81 6.985)
(xy 2.54 1.905)
(xy 1.27 6.985)
)
(stroke (width 0.254) (type default))
(fill (type none))
)
(polyline
(pts
(xy -0.635 1.27)
(xy 0.635 1.27)
(xy 0.635 -1.27)
(xy -0.635 -1.27)
(xy -0.635 1.27)
)
(stroke (width 0.254) (type default))
(fill (type none))
)
)
(symbol "Antenna_1_1"
(pin input line (at 0 -5.08 90) (length 2.54)
(name "A" (effects (font (size 1.27 1.27))))
(symbol "Antenna_Chip_1_1"
(pin input line (at -2.54 -2.54 90) (length 2.54)
(name "FEED" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 2.54 -2.54 90) (length 2.54)
(name "PCB_Trace" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "Device:Battery_Cell" (pin_numbers hide) (pin_names (offset 0) hide) (in_bom yes) (on_board yes)
@@ -1065,6 +1129,9 @@
(property "ki_keywords" "SHT41-AD1B-R2" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "High-Accuracy, Ultra-Low-Power, 16-bit\nRelative Humidity and Temperature Sensor" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "DFN4_SHT41_SEN DFN4_SHT41_SEN-M DFN4_SHT41_SEN-L" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
@@ -1561,7 +1628,7 @@
(junction (at 217.17 60.96) (diameter 0) (color 0 0 0 0)
(uuid 2bbc9882-fe25-4b3c-b592-f58d591854a2)
)
(junction (at 255.27 109.22) (diameter 0) (color 0 0 0 0)
(junction (at 248.92 109.22) (diameter 0) (color 0 0 0 0)
(uuid 31931e47-646b-44ab-a416-57a1bb33f861)
)
(junction (at 140.97 132.08) (diameter 0) (color 0 0 0 0)
@@ -1573,7 +1640,7 @@
(junction (at 158.75 142.24) (diameter 0) (color 0 0 0 0)
(uuid 5a18b747-2f07-44dc-93d2-8b3e5b247ca6)
)
(junction (at 255.27 101.6) (diameter 0) (color 0 0 0 0)
(junction (at 248.92 101.6) (diameter 0) (color 0 0 0 0)
(uuid 6791acc8-2ef0-42b6-baa9-00a517e8efcc)
)
(junction (at 144.78 60.96) (diameter 0) (color 0 0 0 0)
@@ -1624,6 +1691,7 @@
(no_connect (at 210.82 111.76) (uuid 449da4f4-65b2-4768-866a-be412be0523b))
(no_connect (at 210.82 109.22) (uuid 45d4bbd9-0313-45ce-9786-46106f4b1120))
(no_connect (at 167.64 130.81) (uuid 5344900e-9f12-41f7-8291-8013f80b46aa))
(no_connect (at 269.24 101.6) (uuid 6a4574ad-b65a-4e2b-a98f-e053bbba6ee4))
(no_connect (at 180.34 130.81) (uuid 6c66acba-b194-4a8f-b7d4-d0f81c8c83ea))
(no_connect (at 170.18 130.81) (uuid 8010b65c-7e63-4b45-b5e5-78127d322e01))
(no_connect (at 177.8 130.81) (uuid 80b630ee-2420-4c10-b356-ce9cf513d667))
@@ -1719,7 +1787,7 @@
(stroke (width 0) (type default))
(uuid 2278abb5-f375-4dd2-bf4b-f7e8a6a405ce)
)
(wire (pts (xy 265.43 101.6) (xy 270.51 101.6))
(wire (pts (xy 259.08 101.6) (xy 264.16 101.6))
(stroke (width 0) (type default))
(uuid 22b33564-2237-4ba8-b123-0ab19ad16694)
)
@@ -1811,7 +1879,7 @@
(stroke (width 0) (type default))
(uuid 44d28151-7e56-4e2a-9a75-5f5d0fbccaf6)
)
(wire (pts (xy 255.27 101.6) (xy 257.81 101.6))
(wire (pts (xy 248.92 101.6) (xy 251.46 101.6))
(stroke (width 0) (type default))
(uuid 484992fc-adb3-4535-b0c1-d83ed70e8822)
)
@@ -1879,7 +1947,7 @@
(stroke (width 0) (type default))
(uuid 61997e14-02a3-4e67-8eb6-91f21d55f86a)
)
(wire (pts (xy 210.82 99.06) (xy 242.57 99.06))
(wire (pts (xy 210.82 99.06) (xy 236.22 99.06))
(stroke (width 0) (type default))
(uuid 682ddd9b-1ae8-4703-9e2f-31ddcd3f951f)
)
@@ -1891,7 +1959,7 @@
(stroke (width 0) (type default))
(uuid 6add105c-7171-4488-85cf-87f584d86172)
)
(wire (pts (xy 210.82 101.6) (xy 255.27 101.6))
(wire (pts (xy 210.82 101.6) (xy 248.92 101.6))
(stroke (width 0) (type default))
(uuid 6d178cb7-b763-4ec3-8729-53ef0a8eded1)
)
@@ -1947,7 +2015,7 @@
(stroke (width 0) (type default))
(uuid 84340e84-86da-4cb3-93e5-b5f83ea46bf2)
)
(wire (pts (xy 242.57 99.06) (xy 242.57 109.22))
(wire (pts (xy 236.22 99.06) (xy 236.22 109.22))
(stroke (width 0) (type default))
(uuid 84c318c3-934c-4d2f-8d95-4667cfcad85f)
)
@@ -1975,7 +2043,7 @@
(stroke (width 0) (type default))
(uuid 934545a7-757b-437e-a4aa-d1ea3a383732)
)
(wire (pts (xy 242.57 109.22) (xy 255.27 109.22))
(wire (pts (xy 236.22 109.22) (xy 248.92 109.22))
(stroke (width 0) (type default))
(uuid 96bfd1a7-94fd-4040-97fd-aa21cc14db3a)
)
@@ -2163,7 +2231,7 @@
(stroke (width 0) (type default))
(uuid cfcb1fe1-78f5-4a8e-865b-44cb36ecfe46)
)
(wire (pts (xy 255.27 109.22) (xy 255.27 110.49))
(wire (pts (xy 248.92 109.22) (xy 248.92 110.49))
(stroke (width 0) (type default))
(uuid d18973ec-47bc-4252-8eb3-732149f8cbce)
)
@@ -2437,7 +2505,7 @@
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 572a9799-6844-4b5b-ad8f-3bde36d88a17)
)
(label "RF" (at 266.7 101.6 0) (fields_autoplaced)
(label "RF" (at 260.35 101.6 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 57424307-ce6a-4586-8e45-2016f50e77f0)
)
@@ -2617,7 +2685,7 @@
(property "Reference" "C2" (at 104.14 91.44 90)
(effects (font (size 1.27 1.27)))
)
(property "Value" "12pF" (at 104.14 97.79 90)
(property "Value" "19p" (at 104.14 97.79 90)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric" (at 102.87 94.9452 0)
@@ -2734,7 +2802,7 @@
(property "Reference" "C8" (at 220.98 87.63 90)
(effects (font (size 1.27 1.27)))
)
(property "Value" "100pF" (at 228.6 87.63 90)
(property "Value" "100p" (at 228.6 87.63 90)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric" (at 228.6 89.2048 0)
@@ -2790,19 +2858,19 @@
)
)
(symbol (lib_id "power:GND") (at 255.27 110.49 0) (mirror y) (unit 1)
(symbol (lib_id "power:GND") (at 248.92 110.49 0) (mirror y) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 1cd99337-60e9-4391-b576-1aa640ef440f)
(property "Reference" "#PWR018" (at 255.27 116.84 0)
(property "Reference" "#PWR018" (at 248.92 116.84 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 255.27 115.57 0)
(property "Value" "GND" (at 248.92 115.57 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 255.27 110.49 0)
(property "Footprint" "" (at 248.92 110.49 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 255.27 110.49 0)
(property "Datasheet" "" (at 248.92 110.49 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid c988501a-f686-4c2f-b176-991eb8ef4f74))
@@ -3002,7 +3070,7 @@
(property "Footprint" "encyclopedia_galactica:ECS-.327-12.5-12R-TR" (at 115.57 87.63 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 115.57 87.63 0)
(property "Datasheet" "https://www.mouser.de/datasheet/2/122/ECX-12R-1314062.pdf" (at 115.57 87.63 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 5a2aa3bd-5659-4e6a-b123-a1d9ca4228b6))
@@ -3077,6 +3145,32 @@
)
)
(symbol (lib_id "Device:Antenna_Chip") (at 266.7 99.06 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 4c90000e-70b6-452f-8152-24e803a9fe21)
(property "Reference" "AE1" (at 266.7 90.17 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "2108838-1" (at 266.7 92.71 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "encyclopedia_galactica:2108838-1" (at 264.16 94.615 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "https://www.te.com/commerce/DocumentDelivery/DDEController?Action=showdoc&DocId=Data+Sheet%7F2108838%7FA2%7Fpdf%7FEnglish%7FENG_DS_2108838_A2.pdf%7F2108838-1" (at 264.16 94.615 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid b450ac60-f1cd-470e-9c69-97f703de45ab))
(pin "2" (uuid 46c3632a-476e-4e23-bd2a-153b4d5ea6b3))
(instances
(project "CommonSense"
(path "/38fbf0b5-ae68-401e-b1a9-e916ed01fc13"
(reference "AE1") (unit 1)
)
)
)
)
(symbol (lib_id "Device:C") (at 144.78 66.04 0) (mirror x) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 4e153c1e-562b-47d4-ac10-9a9993abab30)
@@ -3114,7 +3208,7 @@
(property "Reference" "C1" (at 109.22 85.09 90)
(effects (font (size 1.27 1.27)))
)
(property "Value" "12pF" (at 104.14 85.09 90)
(property "Value" "19p" (at 104.14 85.09 90)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric" (at 102.87 80.3148 0)
@@ -3142,10 +3236,10 @@
(symbol (lib_id "Device:C") (at 251.46 66.04 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 566e2bda-4877-4dac-8a61-64ae1419765c)
(property "Reference" "C10" (at 254 62.23 90)
(property "Reference" "C10" (at 248.92 62.23 90)
(effects (font (size 1.27 1.27)))
)
(property "Value" "12pF" (at 254 69.85 90)
(property "Value" "8p" (at 254 62.23 90)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric" (at 255.27 65.0748 0)
@@ -3525,19 +3619,19 @@
)
)
(symbol (lib_id "Device:C") (at 255.27 105.41 0) (mirror x) (unit 1)
(symbol (lib_id "Device:C") (at 248.92 105.41 0) (mirror x) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 8b6920ae-cadd-4ab9-8565-1b4a3b991f58)
(property "Reference" "C12" (at 251.46 104.14 0)
(property "Reference" "C12" (at 245.11 104.14 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "0.8pF" (at 251.46 106.68 0)
(property "Value" "0.8p" (at 245.11 106.68 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric" (at 256.2352 101.6 0)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric" (at 249.8852 101.6 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 255.27 105.41 0)
(property "Datasheet" "~" (at 248.92 105.41 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 787ad12c-d9d2-465a-8d28-986dd4c930a9))
@@ -3556,16 +3650,16 @@
)
)
(symbol (lib_id "Device:R") (at 72.39 44.45 0) (mirror y) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(symbol (lib_id "Device:R") (at 72.39 44.45 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 912785de-b81a-44ce-853b-c26bea5861e7)
(property "Reference" "R1" (at 69.85 43.18 0)
(effects (font (size 1.27 1.27)) (justify left))
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "R" (at 69.85 45.72 0)
(effects (font (size 1.27 1.27)) (justify left))
(property "Value" "1k" (at 69.85 45.72 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "Resistor_SMD:R_0603_1608Metric" (at 74.168 44.45 90)
(property "Footprint" "Resistor_SMD:R_0603_1608Metric" (at 70.612 44.45 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 72.39 44.45 0)
@@ -4083,7 +4177,7 @@
(property "Reference" "C11" (at 248.92 82.55 90)
(effects (font (size 1.27 1.27)))
)
(property "Value" "12pF" (at 254 82.55 90)
(property "Value" "8p" (at 254 82.55 90)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric" (at 255.27 79.7052 0)
@@ -4139,19 +4233,19 @@
)
)
(symbol (lib_id "Device:L") (at 261.62 101.6 90) (unit 1)
(symbol (lib_id "Device:L") (at 255.27 101.6 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid db84adc7-abe9-4612-9256-bea8d1ab0a96)
(property "Reference" "L1" (at 260.35 99.06 90)
(property "Reference" "L1" (at 254 99.06 90)
(effects (font (size 1.27 1.27)))
)
(property "Value" "3.9nH" (at 261.62 102.87 90)
(property "Value" "3.9nH" (at 255.27 102.87 90)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "Resistor_SMD:R_0603_1608Metric" (at 261.62 101.6 0)
(property "Footprint" "Resistor_SMD:R_0603_1608Metric" (at 255.27 101.6 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 261.62 101.6 0)
(property "Datasheet" "~" (at 255.27 101.6 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 5da50e85-5b08-43eb-b427-4bc17c9574bd))
@@ -4247,36 +4341,6 @@
)
)
(symbol (lib_id "Device:Antenna") (at 270.51 96.52 0) (mirror y) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid e2d8e1a3-c8d6-4806-a137-543999a190e8)
(property "Reference" "2108838-1" (at 271.78 90.17 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "~" (at 267.97 98.425 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "encyclopedia_galactica:2108838-1" (at 270.51 96.52 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "https://www.te.com/commerce/DocumentDelivery/DDEController?Action=showdoc&DocId=Data+Sheet%7F2108838%7FA2%7Fpdf%7FEnglish%7FENG_DS_2108838_A2.pdf%7F2108838-1" (at 270.51 96.52 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid ded497e4-d10b-4a03-962c-a9519b172789))
(instances
(project "CommonSense"
(path "/38fbf0b5-ae68-401e-b1a9-e916ed01fc13"
(reference "2108838-1") (unit 1)
)
)
(project "nodemcu_humidity_shield"
(path "/523ef776-806b-43b6-937c-22b5e6ba7731"
(reference "2450AT14A0100T1") (unit 1)
)
)
)
)
(symbol (lib_id "power:GND") (at 63.5 142.24 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid e309a73f-67ab-4388-aacc-6692902ad243)
@@ -4364,7 +4428,7 @@
(property "Reference" "BT1" (at 29.21 58.42 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "Battery_Cell" (at 29.21 60.96 0)
(property "Value" "3034" (at 29.21 60.96 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Battery:BatteryHolder_Keystone_3034_1x20mm" (at 27.94 55.626 90)

21
LICENSE Normal file
View 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.

View File

@@ -1,10 +1,17 @@
# 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 have to be downloaded using
After cloning, the libraries can be downloaded using
```bash
$ 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
View 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'

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 430 KiB