docs: mapping connecteurs PCB ↔ ttyAMA + correction S88 wiring

CLAUDE.md: ajout du tableau de mapping silkscreen PCB (NPM1/2/3, SARA)
vers /dev/ttyAMAx pour aider à brancher les capteurs UART au bon
endroit (le S88 va sur un connecteur NPM libre).

S88/README.md: corrige le tableau de câblage qui référençait ttyAMA0
(non exposé sur la PCB custom) et renvoie vers le mapping du CLAUDE.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
PaulVua
2026-06-01 16:37:40 +02:00
parent 54d0387c1d
commit c5856eb64b
2 changed files with 22 additions and 4 deletions

View File

@@ -22,9 +22,22 @@ NebuleAir Pro 4G is an environmental monitoring system running on Raspberry Pi 4
- BME280: Temperature, humidity, pressure via I2C (0x76)
- NSRT MK4: Noise sensor via I2C (0x48)
- SARA R4/R5: 4G cellular modem (ttyAMA2)
- Senseair S88: CO2 sensor via Modbus RTU (any free ttyAMA — port configurable, see admin.html)
- Wind meter: via ADS1115 ADC
- MPPT: Solar charger monitoring
**Custom PCB connector → UART port mapping:**
| PCB silkscreen | Linux device |
|---|---|
| NPM1 | /dev/ttyAMA5 |
| NPM2 | /dev/ttyAMA4 |
| NPM3 | /dev/ttyAMA3 |
| SARA | /dev/ttyAMA2 |
ttyAMA0 is the Pi's primary UART (header pins), not exposed on the custom PCB.
When adding a new UART sensor (e.g. S88), it goes on one of the free NPM connectors.
**Software Stack:**
- OS: Raspberry Pi OS (Linux)
- Web server: Apache2