Skip to content

Commit

Permalink
Update project to KiCADv7, crop the title image.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklik committed Jul 3, 2024
1 parent e761027 commit 669e6ec
Show file tree
Hide file tree
Showing 16 changed files with 7,562 additions and 3,556 deletions.
61 changes: 35 additions & 26 deletions .github/workflows/kicad_outputs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ on:
workflow_dispatch:

env:
schema: "hw/sch_pcb/${{ github.head_ref || github.ref_name }}.kicad_sch"
board: "hw/sch_pcb/${{ github.head_ref || github.ref_name }}.kicad_pcb"
schema: "hw/sch_pcb/${{ github.event.repository.name }}.kicad_sch"
board: "hw/sch_pcb/${{ github.event.repository.name }}.kicad_pcb"
project: ${{ github.event.repository.name }}
branch: ${{ github.head_ref || github.ref_name }}
dir: "hw/out"
Expand All @@ -33,7 +33,7 @@ jobs:
token: ${{ secrets.pat }}
ref: ${{ github.head_ref }}

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/erc.kibot.yaml
schema: ${{ env.schema }}
Expand All @@ -51,7 +51,7 @@ jobs:
token: ${{ secrets.pat }}
ref: ${{ github.head_ref }}

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/drc.kibot.yaml
schema: ${{ env.schema }}
Expand All @@ -69,7 +69,7 @@ jobs:
token: ${{ secrets.pat }}
ref: ${{ github.head_ref }}

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/schematics.kibot.yaml
schema: ${{ env.schema }}
Expand All @@ -93,30 +93,38 @@ jobs:
token: ${{ secrets.pat }}
ref: ${{ github.head_ref }}

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/placement.kibot.yaml
schema: ${{ env.schema }}
board: ${{ env.board }}
dir: ${{ env.dir }}_docs

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/xml.kibot.yaml
schema: ${{ env.schema }}
board: ${{ env.board }}
dir: ${{ env.dir }}_docs

# - name: "Rename output"
# run: |
# for file in $(find ${{env.dir}} -type f); do sudo mv "${file}" "${file//${{env.project}}/${{env.branch}}}" ; done
# for file in $(find ${{env.dir}}_docs -type f); do sudo mv "${file}" "${file//${{env.project}}/${{env.branch}}}" ; done
# - name: "Rename output"
# run: |
# for file in $(find ${{env.dir}} -type f); do sudo mv "${file}" "${file//${{env.project}}/${{env.branch}}}" ; done
# for file in $(find ${{env.dir}}_docs -type f); do sudo mv "${file}" "${file//${{env.project}}/${{env.branch}}}" ; done

- name: "Collect files"
run: |
tree
mkdir doc_xml || true ;
mv hw/sch_pcb/*.xml doc_xml/ || true;
mv hw/out_docs/*.csv doc_xml/ || true;
- uses: actions/upload-artifact@v3
if: ${{ success() }}
with:
name: doc_xml
path: hw/sch_pcb/*.xml
path: |
doc_xml
# Zde se zahazuji debugovaci videa
- uses: actions/upload-artifact@v3
Expand All @@ -138,7 +146,7 @@ jobs:
token: ${{ secrets.pat }}
ref: ${{ github.head_ref }}

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/report.kibot.yaml
schema: ${{ env.schema }}
Expand All @@ -162,7 +170,7 @@ jobs:
token: ${{ secrets.pat }}
ref: ${{ github.head_ref }}

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/ibom.kibot.yaml
schema: ${{ env.schema }}
Expand Down Expand Up @@ -191,7 +199,7 @@ jobs:
token: ${{ secrets.pat }}
ref: ${{ github.head_ref }}

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/gerbers.kibot.yaml
schema: ${{ env.schema }}
Expand All @@ -200,7 +208,7 @@ jobs:
verbose: 3

- name: "Rename output"
run: for file in $(find ${{env.dir}}_gerbers -type f); do sudo mv "${file}" "${file//${{env.project}}/${{env.branch}}}" ; done
run: for file in $(find ${{env.dir}}_gerbers -type f); do sudo mv "${file}" "${file//${{env.project}}/${{env.branch}}}" || true ; done

- uses: actions/upload-artifact@v2
if: ${{ success() }}
Expand All @@ -220,14 +228,14 @@ jobs:
token: ${{ secrets.pat }}
ref: ${{ github.head_ref }}

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/cad.kibot.yaml
schema: ${{ env.schema }}
board: ${{ env.board }}
dir: ${{ env.dir }}_cad

- uses: INTI-CMNB/KiBot@v2_dk6
- uses: INTI-CMNB/KiBot@v2_dk7
with:
config: ${{ env.kibot }}/render.kibot.yaml
schema: ${{ env.schema }}
Expand Down Expand Up @@ -280,19 +288,22 @@ jobs:
mkdir doc/img/render || true
mkdir hw || true
mkdir hw/cam_profi || true
mkdir hw/cam_profi/gbr || true
mkdir hw/cam_profi/assembly || true
mkdir hw/cam_profi/ibom || true

cp doc/assets/kibot/autogenerated.md hw/cam_profi.readme.md || true


cp -r doc_img/* doc/gen/img || true
cp -r doc_cad/cad/* doc/gen || true
cp -r hw_cam_profi/* hw/cam_profi || true
cp -r hw_cam_profi/* hw/cam_profi/gbr || true
cp -r doc_sch/docs/* doc/gen || true
cp -r doc_xml/* hw/cam_profi || true
cp -r doc_sch/img/pcb/* doc/gen/img || true
cp -r doc_placement/doc* hw/cam_profi || true
mv -r doc_placement/PnP/* hw/cam_profi/assembly || true
cp -r doc_placement/* hw/cam_profi/assembly || true
cp -r doc_report/* doc/gen || true
cp -r doc_ibom/docs/* hw/cam_profi/ibom || true
cp -r doc_ibom/docs/* hw/cam_profi || true

mv hw/cam_profi/gbr/PnP/ hw/cam_profi/assembly || true

rm -r doc_img || true
rm -r doc_cad || true
Expand All @@ -303,8 +314,6 @@ jobs:
rm -r doc_report || true
rm -r doc_ibom || true

tree

git add . -f

- uses: stefanzweifel/git-auto-commit-action@v4.16.0
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/update_actions.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: Update actions and assets repository
on:
schedule:
- cron: "0 */2 * * *"
- cron: "0 */24 * * *"

push:
paths:
- '.gitmodules'

workflow_dispatch:

jobs:
Expand All @@ -16,12 +20,15 @@ jobs:
token: ${{ secrets.pat }}
ref: ${{ github.head_ref }}


- name: Update submodules
run: |
git -C doc/assets config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'
git submodule sync doc/assets
git submodule update --init --remote doc/assets
- name: Update submodules
run: |
git submodule update --remote doc/assets/
- name: Zaktualizovat skripty
run: |
Expand Down
112 changes: 55 additions & 57 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,57 +1,55 @@
# PCRD - Plocs cosmic ray detector

Je konstrukce polovodičového detektoru kosmického záření. Hlavními přednostmi je citlivost na veškeré nabité částice, nízká energetická náročnost a nízká hmotnost. Navíc je možné v případě že interakce se zářením předá v křemíku veškerou svojí energii určit i energetické spektrum směsného pole záření.

## Technické parametry

| | | |
|--------------|---------------------|---------------------------|
| **Parametr** | **Hodnota** | **Poznámka** |
| Napájení | +/- 2.4V |   |
| Rozměry | 30.0 x 50.3 x 16 mm | Výška nad základní deskou |

## Popis konstrukce


## 3.1 Osazení


| | | | |
|------------------|-----------|-----------------------------|-----------|
| **Označení** | **Typ** | **Pouzdro** | **Počet** |
| R7 | 2M | SMD-0805 | 1 |
| C1,C2 | 100nF | SMD-0805 | 2 |
| C3,C4,C9,C10,C11 | 100n | SMD-0805 | 5 |
| C13,C17 | 330nF | SMD-0805 | 2 |
| C14 | 510pF | SMD-0805 | 1 |
| C15 | 220pF | SMD-0805 | 1 |
| C16  | 150pF | SMD-0805 | 1 |
| J2 | JUMP\_3X2 | Pin\_Header\_Straight\_2x03 | 1 |
| J3  | JUMP\_5X2 | Pin\_Header\_Straight\_2x05 | 1 |
| J4 | Out | Pin\_Header\_Straight\_2x03 | 1 |
| P1,P2,P3,P4 | \_ | MountingHole\_3mm | 4 |
| Q1 | BF862 | SOT-23 | 1 |
| R1,R2  | 4M7 | SMD-0805 | 2 |
| R8 | 3k3 | SMD-0805 | 1 |
| R9,R15 | 10k | SMD-0805 | 2 |
| R10 | 1k5 | SMD-0805 | 1 |
| R11 | 6k2 | SMD-0805 | 1 |
| R12,R13,R14 | 2k41k | SMD-0805 | 3 |
| U1 | AD8691 | tsot-5 | 1 |
| J1 | CONN1\_2 | CONN\_3\_2 | 1 |
| U2 | AD8692 | SOIC-8-N | 1 |
| C5,C8 | 2pF | 2pF\_PCB | 2 |
|   |   |   |   |
| **Varianta 1** |   |   |   |
| R3 | 1k | SMD-0805 | 1 |
| R4 | 62 | SMD-0805 | 1 |
| R5 | 100 | SMD-0805 | 1 |
| R6 | 2k | SMD-0805 | 1 |
|   |   |   |   |
| **Varianta 2** |   |   |   |
| R3 | 1k | SMD-0805 | 1 |
| R4 | 300 | SMD-0805 | 1 |
| R5 | 430 | SMD-0805 | 1 |
| R6 | 1k | SMD-0805 | 1 |


# PCRD - Plocs Cosmic Ray Detector

The PCRD is a semiconductor detector for cosmic rays. Its main advantages include sensitivity to all charged particles, low energy consumption, and low weight. Additionally, if the interaction with radiation transfers all its energy to the silicon, it is possible to determine the energy spectrum of the mixed radiation field.

## Technical Parameters

| **Parameter** | **Value** | **Note** |
|---------------|---------------------|--------------------------|
| Power Supply | +/- 2.4V | |
| Dimensions | 30.0 x 50.3 x 16 mm | Height above base board |

## Construction Description

### Mechanical Construction

The module contains mounting screws in all corners with an MLAB pitch (10.16mm). If space-saving is needed, the part of the PCB with two screws can be broken off.

## Assembly and Commissioning

### Assembly

| **Designation** | **Type** | **Package** | **Quantity** |
|-----------------|------------|----------------------------|--------------|
| R7 | 2M | SMD-0805 | 1 |
| C1, C2 | 100nF | SMD-0805 | 2 |
| C3, C4, C9, C10, C11 | 100n | SMD-0805 | 5 |
| C13, C17 | 330nF | SMD-0805 | 2 |
| C14 | 510pF | SMD-0805 | 1 |
| C15 | 220pF | SMD-0805 | 1 |
| C16 | 150pF | SMD-0805 | 1 |
| J2 | JUMP_3X2 | Pin_Header_Straight_2x03 | 1 |
| J3 | JUMP_5X2 | Pin_Header_Straight_2x05 | 1 |
| J4 | Out | Pin_Header_Straight_2x03 | 1 |
| P1, P2, P3, P4 | _ | MountingHole_3mm | 4 |
| Q1 | BF862 | SOT-23 | 1 |
| R1, R2 | 4M7 | SMD-0805 | 2 |
| R8 | 3k3 | SMD-0805 | 1 |
| R9, R15 | 10k | SMD-0805 | 2 |
| R10 | 1k5 | SMD-0805 | 1 |
| R11 | 6k2 | SMD-0805 | 1 |
| R12, R13, R14 | 2k41k | SMD-0805 | 3 |
| U1 | AD8691 | tsot-5 | 1 |
| J1 | CONN1_2 | CONN_3_2 | 1 |
| U2 | AD8692 | SOIC-8-N | 1 |
| C5, C8 | 2pF | 2pF_PCB | 2 |
| **Variant 1** | | | |
| R3 | 1k | SMD-0805 | 1 |
| R4 | 62 | SMD-0805 | 1 |
| R5 | 100 | SMD-0805 | 1 |
| R6 | 2k | SMD-0805 | 1 |
| **Variant 2** | | | |
| R3 | 1k | SMD-0805 | 1 |
| R4 | 300 | SMD-0805 | 1 |
| R5 | 430 | SMD-0805 | 1 |
| R6 | 1k | SMD-0805 | 1 |
Binary file modified doc/img/PCRD02A_top_small.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions hw/sch_pcb/PCRD02-cache.dcm

This file was deleted.

Loading

0 comments on commit 669e6ec

Please sign in to comment.