Skip to content

hw: carte TinySensor v3.0 (schéma + PCB) et firmware associé - #47

Merged
arcadien merged 21 commits into
masterfrom
hw/schematic-upgrade
Nov 7, 2026
Merged

arcadien merged 21 commits into
masterfrom
hw/schematic-upgrade

Conversation

@arcadien

@arcadien arcadien commented Nov 7, 2026

Copy link
Copy Markdown
Owner

Résumé

Révision matérielle v3.0 issue de la revue schéma/PCB du 2026-11-06, plus les deux évolutions firmware qu'elle impose.

Hardware (hardware/tinysensor/)

  • Revue schéma (R1–R18) et PCB (P1–P20) persistée dans review/2026-11-06/ (ERC, DRC, netlist, rendus) ; suivi dans BACKLOG.md.
  • PCB v3.0 : D1, pont diviseur PA1, protection inversion Q1, îlot GND, sélecteur SDO (JP6), keep-outs de découpe. Schéma resynchronisé (rev 3.0).
  • Alimentation : 2×AA/AAA + step-up 3,3 V externe sur J2 (header 1×03) ; TPS63020 requis en 18650 si BME280 monté. Sérigraphie à jour.
  • Variante LM35 : module 5 V commuté par BC327 sur PB2 (J8) — VARIANTE_LM35.md.
  • REWORK_v2.2.md : guide de rework des cartes v2.2 (champignon, TPS63020 en lieu et place du module J2).
  • Scripts de génération/patch KiCad dans scripts/.

Firmware (RBD)

  • PLAT-POWER-003 : rail capteurs et data radio maintenus bas en hibernation, pas de pull-up sur PA5 (MISO) vers le rail capteurs.
  • PLAT-POWER-006 : USE_SWITCHED_5V — PB2 piloté bas pendant la fenêtre de mesure pour alimenter le module 5 V externe (Attiny84aHal, docs/architecture.md, CLAUDE.md).

Test plan

  • CI : lint clang-format, tests natifs, builds AVR
  • ERC/DRC KiCad propres sur la v3.0
  • Validation banc : consommation en hibernation (PLAT-POWER-003), commutation 5 V sur PB2 (PLAT-POWER-006)

🤖 Generated with Claude Code

arcadien and others added 21 commits November 6, 2026 16:10
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, no pull-up into the sensor rail

Hardware review R3/R4 (hardware/tinysensor/BACKLOG.md).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… pull-up into the sensor rail

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… GND island, SDO selector, cut-line keep-outs)

Built by scripts/make_v3_pcb.py from the v2.2 board (KiCad 10 pcbnew).
DRC: 0 unconnected, no clearance/short errors; schematic parity
pending until the schematic is updated to v3.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Schematic (KiCad 10 format): D1 turned, PA1 on BAT_SENSE with R7/R8/C7,
battery block redrawn with Q1 AO3401A on RAW IN / BT1 18650, J11/J12
removed, J3 + J14 sensor connectors with JP6 SDO selector, C8 radio
decoupling, R9 RESET pull-up, C5/C6 footprints, 2.7 mm holes.
PCB footprints linked to the symbols and pad nets taken from the netlist.
Orphan footprints (J13 terminal, 18650 holder) moved to the project
library, dead library entries removed.

DRC with schematic parity: 0 footprint errors, 0 unconnected pads,
only J10's malformed courtyard (library footprint) left as error.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… P7)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…measurements (USE_SWITCHED_5V)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… switch the off-board 5 V module (USE_SWITCHED_5V)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep both last-updated entries (PLAT-POWER-006 switched 5 V on PB2,
TECH-HAL-001 / TECH-MAIN-001 file-scope BMx280).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@arcadien
arcadien merged commit b44ba71 into master Nov 7, 2026
10 checks passed
@arcadien arcadien mentioned this pull request Nov 7, 2026
@arcadien
arcadien deleted the hw/schematic-upgrade branch November 7, 2026 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant