Skip to content

Commit

Permalink
pcb v0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-gilligan committed Feb 25, 2025
1 parent 258b5fd commit 91afe77
Show file tree
Hide file tree
Showing 33 changed files with 30,472 additions and 30,921 deletions.
114 changes: 55 additions & 59 deletions .github/workflows/kicad.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,76 +9,72 @@ on:
schedule:
- cron: '43 5 * * 3'

jobs:
ERC:
runs-on: ubuntu-latest
container: ghcr.io/inti-cmnb/kicad8_auto:latest

steps:
- uses: actions/checkout@v4

- name: Run ERC
run: |
[ -f *.kicad_sch ] && kibot -d Fabrication -s update_xml,run_drc -i
- name: Retrieve results
uses: actions/upload-artifact@v4
with:
name: ERC_Output
path: Fabrication

DRC:
runs-on: ubuntu-latest
container: ghcr.io/inti-cmnb/kicad8_auto:latest
needs: ERC

steps:
- uses: actions/checkout@v4

- name: Run DRC
run: |
[ -f *.kicad_pcb ] && kibot -d Fabrication -s update_xml,erc -i
permissions:
contents: write

- name: Retrieve results
uses: actions/upload-artifact@v4
with:
name: DRC_Output
path: Fabrication

FabSch:
name: Schematic fabrication files
jobs:
# ERC:
# runs-on: ubuntu-latest
# container: ghcr.io/inti-cmnb/kicad8_auto:latest
#
# steps:
# - uses: actions/checkout@v4
#
# - name: Run ERC
# run: |
# [ -f *.kicad_sch ] && kibot -d Fabrication -s update_xml,run_drc -i
#
# - name: Retrieve results
# uses: actions/upload-artifact@v4
# with:
# name: ERC_Output
# path: pcb/Fabrication
#
# DRC:
# runs-on: ubuntu-latest
# container: ghcr.io/inti-cmnb/kicad8_auto:latest
# needs: ERC
#
# steps:
# - uses: actions/checkout@v4
#
# - name: Run DRC
# run: |
# [ -f *.kicad_pcb ] && kibot -d Fabrication -s update_xml,erc -i
#
# - name: Retrieve results
# uses: actions/upload-artifact@v4
# with:
# name: DRC_Output
# path: pcb/Fabrication

Fab:
name: Fabrication files
runs-on: ubuntu-latest
container: ghcr.io/inti-cmnb/kicad8_auto:latest
needs: ERC

container: ghcr.io/inti-cmnb/kicad8_auto_full:latest

steps:
- uses: actions/checkout@v4

- name: Run schematic stuff
run: |
[ -f *.kicad_sch ] && kibot -d Fabrication -s drc,erc print_sch bom_html
- name: Retrieve results
uses: actions/upload-artifact@v4
with:
name: FabSch_Output
path: Fabrication

FabPCB:
name: PCB fabrication files
runs-on: ubuntu-latest
container: ghcr.io/inti-cmnb/kicad8_auto_full:latest
needs: DRC

steps:
- uses: actions/checkout@v4

- name: Run PCB stuff
run: |
[ -f *.kicad_pcb ] && kibot -d Fabrication -s all print_front gerbers _blender_3d_top
- name: Retrieve results
uses: actions/upload-artifact@v4
with:
name: FabPCB_Output
path: Fabrication
name: Fab_Output
path: pcb/Fabrication

- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: pcb/Fabrication/*

# needs: ERC
# needs: DRC
28 changes: 18 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,32 @@ Because the board would need to fit into the chassis of a Nokia 3310 and because
![3D render of front of adapter board](./front.jpg)
![3D render of back of adapter board](./back.jpg)

## Setting up web environment

## Setting up rp environment

## Setting up board
### Ordering Board
### Disassemble 3310
### Install Hardware Test Program
### Reassemble 3310
### Manual Test
### Install Custom Software

### TODO
#### Sooner
##### Hardware
- Come up with better name
- dress up repo
- create example that plays RTTTL (and writes it to screen)
- USB-C (USB needs to be replaced anyways, JLCPCB does not stock part in current design)
- swap positions of USB with debug connectors
- move debug connections further inside chassis
- LiPo charging
- power button (circuit 'down-stream' from charging, jumper for bypass)
- main speaker connection
- backlight LEDs (many options but prudent to go with whatever uses least power, is simplest)
- accomodate headset connection TRRS 2.5 (probably just swap for 3.5): mic shares onboard mic connection. left channel = big speaker, right channel = buzzer
- accomodate onboard microphone. use TRRS connection as 'breakout'
- backlight LEDs (many options but prudent to go with whatever uses least power, is simplest. use transistor to drive LED directly from battery/power)
- Come up with better name
- double check usb footprint
- add back supercap rtc

C92589 switch

##### Software
- create example that plays RTTTL (and writes it to screen)
- Snake
- USB text entry
- use text_input for inputing secret for TOTP (drives the need for inputting numeric digits easily and RTC)
Expand All @@ -40,5 +47,6 @@ Because the board would need to fit into the chassis of a Nokia 3310 and because
- flex pcb for keypad?
- LTE modem?
- e-ink display?
- power button used for BOOT/RUN?

https://serdisplib.sourceforge.net/ser/pcd8544.html
Binary file removed pcb/nokia-backups/nokia-2024-12-09_231438.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2024-12-09_231947.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2024-12-09_232959.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2024-12-09_233758.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2024-12-10_063919.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2024-12-10_064958.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2024-12-10_070121.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2024-12-12_220637.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2024-12-13_063531.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2024-12-13_065225.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2024-12-13_065903.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2024-12-13_071225.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2024-12-13_071906.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2024-12-14_212041.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2024-12-14_225236.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2024-12-14_230539.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2024-12-15_091922.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2024-12-28_202438.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2025-02-14_152617.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2025-02-19_205351.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2025-02-19_210742.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2025-02-19_230201.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2025-02-19_230956.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2025-02-19_231653.zip
Binary file not shown.
Binary file removed pcb/nokia-backups/nokia-2025-02-20_005600.zip
Binary file not shown.
Binary file modified pcb/nokia-bottom-pos.numbers
Binary file not shown.
Loading

0 comments on commit 91afe77

Please sign in to comment.