Skip to content

Commit

Permalink
Proper Prototype (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
KenwoodFox authored Apr 6, 2022
1 parent cc868e5 commit fce5276
Show file tree
Hide file tree
Showing 9 changed files with 20,708 additions and 151 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/aprn-pi_builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ jobs:
name: APRN-Pi-Hardware
path: _hardwareOutput

- name: Discord notification if failed
if: ${{ failure() }}
uses: appleboy/discord-action@master
with:
webhook_id: ${{ secrets.WEBHOOK_ID }}
webhook_token: ${{ secrets.WEBHOOK_TOKEN }}
args: "Building new board failed, most likely a DRC check."

make_docs:
runs-on: ubuntu-latest
name: Build Docs
Expand Down Expand Up @@ -65,6 +73,9 @@ jobs:
name: APRN-Pi-Hardware
path: _hardwareOutput

# Convert svg graphics
- run: convert -density 300 _hardwareOutput/APRN-pi-schematic.svg _hardwareOutput/APRN-pi-schematic.png

- run: cd Docs && make latexpdf

- run: mv Docs/_build/latex/*.pdf Docs/_build/latex/APRN-Pi-Manual.pdf
Expand All @@ -74,6 +85,37 @@ jobs:
name: APRN-Pi-Manual
path: Docs/_build/latex/APRN-Pi-Manual.pdf

dev-publish:
# publish only to devs
runs-on: ubuntu-latest
name: Dev-Publish
needs: [make_docs, KiCad_Hardware]

steps:
# Download artifacts
- uses: actions/download-artifact@v2
with:
name: APRN-Pi-Manual

- uses: actions/download-artifact@v2
with:
name: APRN-Pi-Hardware

- name: send custom message with args
uses: appleboy/discord-action@master
with:
webhook_id: ${{ secrets.WEBHOOK_ID }}
webhook_token: ${{ secrets.WEBHOOK_TOKEN }}
file: "APRN-Pi-Manual.pdf"
args: APRN-Pi Just got an update!

- name: send custom message with args
uses: appleboy/discord-action@master
with:
webhook_id: ${{ secrets.WEBHOOK_ID }}
webhook_token: ${{ secrets.WEBHOOK_TOKEN }}
file: "APRN-pi-3D_top.png"

publish:
# Only run on tags
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
Expand All @@ -82,6 +124,11 @@ jobs:
needs: [make_docs, KiCad_Hardware]

steps:
# Be in our repo
- uses: actions/checkout@v2
with:
fetch-depth: 0

# Download artifacts
- uses: actions/download-artifact@v2
with:
Expand All @@ -97,6 +144,8 @@ jobs:

- run: cp *.step _staging/

- run: cp PCBWay/*.zip _staging/APRN-pi-$(git rev-parse --short HEAD)-PCBWay.zip

- name: Upload Docs to release
uses: svenstaro/upload-release-action@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions Docs/electronics/electronics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ Electronics
Schematics
==========

.. image:: ../../_hardwareOutput/APRN-pi-schematic.svg
:scale: 100%
.. image:: ../../_hardwareOutput/APRN-pi-schematic.png
:width: 800
11 changes: 9 additions & 2 deletions Docs/introduction/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,12 @@ Introduction
APRN-Pi Docs
==============

Thanks for reading! None of this is
filled out yet!
The APRN-Pi is a raspberry pi hat I designed to create an easy to use 2M interface
for a few other projects I'd been working on.

The original idea came from the hams at ``#hamradio`` on `Libera Chat <https://libera.chat/>`_, and
other helpful information came from w6ipa's work with his `PIRIM <https://www.tindie.com/products/w6ipa/radio-interface-module-pirim-for-raspberry-pi/>`_ and I could not have made this
without help from all of them and my elmer.

These docs should be a quick reference but since I may use the APRN-Pi in multiple different projects
its safe to say that some expansion will be needed!
16,868 changes: 16,791 additions & 77 deletions Hardware/APRN-pi_board/APRN-pi.kicad_pcb

Large diffs are not rendered by default.

163 changes: 156 additions & 7 deletions Hardware/APRN-pi_board/APRN-pi.kicad_pro
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,133 @@
"board": {
"design_settings": {
"defaults": {
"board_outline_line_width": 0.1,
"copper_line_width": 0.2,
"board_outline_line_width": 0.09999999999999999,
"copper_line_width": 0.19999999999999998,
"copper_text_italic": false,
"copper_text_size_h": 1.5,
"copper_text_size_v": 1.5,
"copper_text_thickness": 0.3,
"copper_text_upright": false,
"courtyard_line_width": 0.049999999999999996,
"dimension_precision": 4,
"dimension_units": 3,
"dimensions": {
"arrow_length": 1270000,
"extension_offset": 500000,
"keep_text_aligned": true,
"suppress_zeroes": false,
"text_position": 0,
"units_format": 1
},
"fab_line_width": 0.09999999999999999,
"fab_text_italic": false,
"fab_text_size_h": 1.0,
"fab_text_size_v": 1.0,
"fab_text_thickness": 0.15,
"fab_text_upright": false,
"other_line_width": 0.15,
"other_text_italic": false,
"other_text_size_h": 1.0,
"other_text_size_v": 1.0,
"other_text_thickness": 0.15,
"other_text_upright": false,
"pads": {
"drill": 0.762,
"height": 1.524,
"width": 1.524
},
"silk_line_width": 0.15,
"silk_text_italic": false,
"silk_text_size_h": 1.0,
"silk_text_size_v": 1.0,
"silk_text_thickness": 0.15
"silk_text_thickness": 0.15,
"silk_text_upright": false,
"zones": {
"45_degree_only": false,
"min_clearance": 0.508
}
},
"diff_pair_dimensions": [],
"diff_pair_dimensions": [
{
"gap": 0.0,
"via_gap": 0.0,
"width": 0.0
}
],
"drc_exclusions": [],
"meta": {
"version": 2
},
"rule_severities": {
"annular_width": "error",
"clearance": "error",
"copper_edge_clearance": "error",
"courtyards_overlap": "error",
"diff_pair_gap_out_of_range": "error",
"diff_pair_uncoupled_length_too_long": "error",
"drill_out_of_range": "error",
"duplicate_footprints": "warning",
"extra_footprint": "warning",
"footprint_type_mismatch": "error",
"hole_clearance": "error",
"hole_near_hole": "error",
"invalid_outline": "error",
"item_on_disabled_layer": "error",
"items_not_allowed": "error",
"length_out_of_range": "error",
"malformed_courtyard": "error",
"microvia_drill_out_of_range": "error",
"missing_courtyard": "ignore",
"missing_footprint": "warning",
"net_conflict": "warning",
"npth_inside_courtyard": "ignore",
"padstack": "error",
"pth_inside_courtyard": "ignore",
"shorting_items": "error",
"silk_over_copper": "warning",
"silk_overlap": "warning",
"skew_out_of_range": "error",
"through_hole_pad_without_hole": "error",
"too_many_vias": "error",
"track_dangling": "warning",
"track_width": "error",
"tracks_crossing": "error",
"unconnected_items": "error",
"unresolved_variable": "error",
"via_dangling": "warning",
"zone_has_empty_net": "error",
"zones_intersect": "error"
},
"rules": {
"allow_blind_buried_vias": false,
"allow_microvias": false,
"max_error": 0.005,
"min_clearance": 0.0,
"min_copper_edge_clearance": 0.0,
"min_hole_clearance": 0.25,
"min_hole_to_hole": 0.25,
"min_microvia_diameter": 0.19999999999999998,
"min_microvia_drill": 0.09999999999999999,
"min_silk_clearance": 0.0,
"min_through_hole_diameter": 0.3,
"min_track_width": 0.19999999999999998,
"min_via_annular_width": 0.049999999999999996,
"min_via_diameter": 0.39999999999999997,
"solder_mask_clearance": 0.0,
"solder_mask_min_width": 0.0
"solder_mask_min_width": 0.0,
"use_height_for_length_calcs": true
},
"track_widths": [],
"via_dimensions": []
"track_widths": [
0.0
],
"via_dimensions": [
{
"diameter": 0.0,
"drill": 0.0
}
],
"zones_allow_external_fillets": false,
"zones_use_no_outline": true
},
"layer_presets": []
},
Expand Down Expand Up @@ -260,6 +367,48 @@
"via_diameter": 0.8,
"via_drill": 0.4,
"wire_width": 6.0
},
{
"bus_width": 12.0,
"clearance": 0.2,
"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": "Power",
"nets": [
"+5V",
"Net-(C4-Pad1)"
],
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.8128,
"via_diameter": 0.8,
"via_drill": 0.4,
"wire_width": 6.0
},
{
"bus_width": 12.0,
"clearance": 0.2,
"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",
"nets": [
"ANT",
"Net-(FL1-Pad3)"
],
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.844969,
"via_diameter": 0.8,
"via_drill": 0.4,
"wire_width": 6.0
}
],
"meta": {
Expand Down
Loading

0 comments on commit fce5276

Please sign in to comment.