mirror of
https://github.com/deunix-educ/voice-assistant.git
synced 2026-11-26 20:19:43 +01:00
Câblage du R503 sur la WROOM (repli de la S3) : schéma, bascule, mesures
Le brochage existait (GPIO 16, 17, 34 dans pins_esp32_wroom.h, validé sur matériel aux étapes F1 à F4) mais sans schéma. - docs/wiring-esp32-wroom-fingerprint.svg (+ .png) : montage complet (micro, ampli, haut-parleur, R503, PTT, LED d'état et de démonstration, rails, découplage), dans le style du schéma de la S3. wiring.svg est inchangé (décision du 2026-10-19). - BROCHAGE.md : §1.6 table S3 -> WROOM et procédure (identifiants Wi-Fi propres à chaque carte, une seule carte à la fois sur le broker, empreintes gardées dans le capteur) ; §8 mesures du R503 (8e à 8l, 13 à 15) ; §10 GPIO 16, 17, 34 ; en-tête et §1.3b. - README FR/EN et CONTEXT.md (fichiers, décision, journal). Vérifié : rendu relu, chacune des douze liaisons du schéma comparée à pins_esp32_wroom.h (à la main). Non vérifié : le montage réel de la WROOM. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
+13
-1
@@ -264,6 +264,7 @@ firmware/src/FingerprintEnrollment.h enregistrement d'un doigt (automate)
|
|||||||
firmware/src/FingerprintTrigger.h doigt posé / reconnu / levé = session de parole [F3, sans Arduino]
|
firmware/src/FingerprintTrigger.h doigt posé / reconnu / levé = session de parole [F3, sans Arduino]
|
||||||
firmware/include/pins_esp32_wroom.h, pins_esp32_s3_mini.h brochage et nom de chaque carte [F5]
|
firmware/include/pins_esp32_wroom.h, pins_esp32_s3_mini.h brochage et nom de chaque carte [F5]
|
||||||
docs/wiring-esp32-s3.svg (+ .png) schéma de câblage de la S3 Mini : rails, découplage, R503 [F5]
|
docs/wiring-esp32-s3.svg (+ .png) schéma de câblage de la S3 Mini : rails, découplage, R503 [F5]
|
||||||
|
docs/wiring-esp32-wroom-fingerprint.svg (+ .png) schéma de la WROOM avec R503, LED de démonstration (repli de la S3)
|
||||||
server/voice_server/fingerprint_book.py emplacement du capteur → nom (config.yaml) [F2]
|
server/voice_server/fingerprint_book.py emplacement du capteur → nom (config.yaml) [F2]
|
||||||
tools/finger.py make finger-list|enroll|delete, par MQTT [F2]
|
tools/finger.py make finger-list|enroll|delete, par MQTT [F2]
|
||||||
server/tests/test_fingerprint_packet.py, test_fingerprint_enrollment.py, test_fingerprint_trigger.py,
|
server/tests/test_fingerprint_packet.py, test_fingerprint_enrollment.py, test_fingerprint_trigger.py,
|
||||||
@@ -309,7 +310,8 @@ TLS (option de l'étape 15, non activée).
|
|||||||
(aujourd'hui `home/#` en lecture-écriture), sécurité matérielle (impulsion bornée, état au démarrage). Alternative étudiée :
|
(aujourd'hui `home/#` en lecture-écriture), sécurité matérielle (impulsion bornée, état au démarrage). Alternative étudiée :
|
||||||
ESPHome (voir le journal). Feuille de route : `docs/FEUILLE-DE-ROUTE-NOEUDS.md`.
|
ESPHome (voir le journal). Feuille de route : `docs/FEUILLE-DE-ROUTE-NOEUDS.md`.
|
||||||
- Après `git merge main` : le firmware de `main` n'a pas le capteur ; relire `main.cpp` en cas de conflit.
|
- Après `git merge main` : le firmware de `main` n'a pas le capteur ; relire `main.cpp` en cas de conflit.
|
||||||
- Décisions de l'utilisateur (2026-10-19) : le schéma WROOM (`wiring.svg`) **reste tel quel** (sans R503 ni LED de démonstration) ;
|
- Décisions de l'utilisateur (2026-10-19) : le schéma WROOM (`wiring.svg`) **reste tel quel** (sans R503 ni LED de démonstration ;
|
||||||
|
le repli de la S3 a son propre schéma depuis le 2026-10-20, `wiring-esp32-wroom-fingerprint.svg`) ;
|
||||||
**pas de liste de réseaux** dans le portail (le nom se recopie à l'identique).
|
**pas de liste de réseaux** dans le portail (le nom se recopie à l'identique).
|
||||||
- Points ouverts : portail à surveiller (hypothèse non prouvée d'un `WebServer` bloqué par une connexion inactive, un premier essai a
|
- Points ouverts : portail à surveiller (hypothèse non prouvée d'un `WebServer` bloqué par une connexion inactive, un premier essai a
|
||||||
échoué sans cause établie) ; début de phrase parfois mal capté par Whisper (« est-elle » pour « allume ») ; signal Wi-Fi de la S3
|
échoué sans cause établie) ; début de phrase parfois mal capté par Whisper (« est-elle » pour « allume ») ; signal Wi-Fi de la S3
|
||||||
@@ -1230,3 +1232,13 @@ profils vocaux, enregistrements (wav/mp3), modèles, journaux et environnements
|
|||||||
Non vérifié : carte alimentée sur Vin sans hôte USB (d'après `isPlugged()`, aucun blocage attendu). Le premier échec du portail
|
Non vérifié : carte alimentée sur Vin sans hôte USB (d'après `isPlugged()`, aucun blocage attendu). Le premier échec du portail
|
||||||
(« AP ok, 192.168.4.1 impossible ») avait la même chronologie (trois lignes écrites avant `_server->begin()`, débloqué par mon
|
(« AP ok, 192.168.4.1 impossible ») avait la même chronologie (trois lignes écrites avant `_server->begin()`, débloqué par mon
|
||||||
ouverture du port) : probable, non prouvé. Autre constat du jour : le R503 ne répondait plus (fil débranché), il répond de nouveau.
|
ouverture du port) : probable, non prouvé. Autre constat du jour : le R503 ne répondait plus (fil débranché), il répond de nouveau.
|
||||||
|
- **2026-10-20** — **Câblage du R503 sur la WROOM (repli de la S3)** (demande : « faire le wiring du fingerprint avec esp32 wroom au cas
|
||||||
|
où l'S3 tombe en panne »). Le brochage existait déjà (`pins_esp32_wroom.h` : GPIO 16, 17, 34 ; BROCHAGE §1.3b ; validé sur matériel aux
|
||||||
|
étapes F1 à F4, 2026-10-18) mais sans schéma, et `wiring.svg` doit rester tel quel. Ajouts : `docs/wiring-esp32-wroom-fingerprint.svg`
|
||||||
|
(montage complet : micro, ampli, haut-parleur, R503, PTT, LED d'état et de démonstration, rails, découplage ; même style que le schéma
|
||||||
|
de la S3 ; les liaisons DIN de l'ampli et WAKEUP du R503 traversent la carte et sont donc dessinées en pastilles étiquetées) ;
|
||||||
|
BROCHAGE §1.6 (table S3 → WROOM et procédure : identifiants Wi-Fi propres à chaque carte (NVS), une seule carte à la fois sur le
|
||||||
|
broker, empreintes gardées dans le capteur), §8 (mesures du R503 : lignes 8e à 8l et 13 à 15), §10 (GPIO 16, 17, 34), en-tête ;
|
||||||
|
README FR et EN. Vérifié : rendu relu à l'œil (deux séries de libellés qui se touchaient, corrigées) ; chacune des douze liaisons du
|
||||||
|
schéma comparée à `pins_esp32_wroom.h`, à la main (concordantes). Non vérifié : le montage réel de la WROOM d'après ce schéma (aucun
|
||||||
|
matériel touché) ; la cohérence schéma / brochage n'est pas testée automatiquement (comme pour le schéma de la S3).
|
||||||
|
|||||||
+3
-2
@@ -57,8 +57,9 @@ You put an enrolled finger on the sensor, speak, and lift it: the session lasts
|
|||||||
|
|
||||||
### Wiring
|
### Wiring
|
||||||
|
|
||||||
**Full diagram: [docs/wiring.svg](docs/wiring.svg)** (ESP32 WROOM) or **[docs/wiring-esp32-s3.svg](docs/wiring-esp32-s3.svg)** (ESP32-S3 Mini, with the R503 sensor) — detailed pinout, power
|
**Full diagram: [docs/wiring.svg](docs/wiring.svg)** (ESP32 WROOM, no sensor), **[docs/wiring-esp32-wroom-fingerprint.svg](docs/wiring-esp32-wroom-fingerprint.svg)**
|
||||||
budget and multimeter checks (in French): **[docs/BROCHAGE.md](docs/BROCHAGE.md)**.
|
(ESP32 WROOM with the R503 sensor, the fallback for the S3) or **[docs/wiring-esp32-s3.svg](docs/wiring-esp32-s3.svg)** (ESP32-S3 Mini, with the R503 sensor) — detailed pinout, power
|
||||||
|
budget, multimeter checks and moving from one board to the other (§1.6), all in French: **[docs/BROCHAGE.md](docs/BROCHAGE.md)**.
|
||||||
|
|
||||||
```
|
```
|
||||||
ESP32 INMP441 (microphone)
|
ESP32 INMP441 (microphone)
|
||||||
|
|||||||
@@ -56,8 +56,9 @@ On pose un doigt enregistré sur le capteur, on parle, on le lève : la session
|
|||||||
|
|
||||||
### Câblage
|
### Câblage
|
||||||
|
|
||||||
**Schéma complet : [docs/wiring.svg](docs/wiring.svg)** (ESP32 WROOM) ou **[docs/wiring-esp32-s3.svg](docs/wiring-esp32-s3.svg)** (ESP32-S3 Mini, avec le capteur R503) — brochage détaillé,
|
**Schéma complet : [docs/wiring.svg](docs/wiring.svg)** (ESP32 WROOM, sans capteur), **[docs/wiring-esp32-wroom-fingerprint.svg](docs/wiring-esp32-wroom-fingerprint.svg)**
|
||||||
bilan de consommation et vérifications au multimètre : **[docs/BROCHAGE.md](docs/BROCHAGE.md)**.
|
(ESP32 WROOM avec le capteur R503, repli de la S3) ou **[docs/wiring-esp32-s3.svg](docs/wiring-esp32-s3.svg)** (ESP32-S3 Mini, avec le capteur R503) — brochage détaillé,
|
||||||
|
bilan de consommation, vérifications au multimètre et passage d'une carte à l'autre (§1.6) : **[docs/BROCHAGE.md](docs/BROCHAGE.md)**.
|
||||||
|
|
||||||
```
|
```
|
||||||
ESP32 INMP441 (micro)
|
ESP32 INMP441 (micro)
|
||||||
|
|||||||
+78
-3
@@ -1,6 +1,7 @@
|
|||||||
# Brochage et câblage — ESP32-WROOM-32 (ou ESP32-S3 Mini, §1.5) + INMP441 + MAX98357A
|
# Brochage et câblage — ESP32-WROOM-32 (ou ESP32-S3 Mini, §1.5) + INMP441 + MAX98357A
|
||||||
|
|
||||||
Document de référence du câblage. Schémas visuels : [wiring.svg](wiring.svg) (ESP32 WROOM) et
|
Document de référence du câblage. Schémas visuels : [wiring.svg](wiring.svg) (ESP32 WROOM, sans capteur),
|
||||||
|
[wiring-esp32-wroom-fingerprint.svg](wiring-esp32-wroom-fingerprint.svg) (ESP32 WROOM avec le capteur R503 : le repli de la S3, §1.6) et
|
||||||
[wiring-esp32-s3.svg](wiring-esp32-s3.svg) (ESP32-S3 Mini, avec le capteur R503)
|
[wiring-esp32-s3.svg](wiring-esp32-s3.svg) (ESP32-S3 Mini, avec le capteur R503)
|
||||||
(clic droit → « Open Preview » dans VSCodium, ou ouverture dans un navigateur).
|
(clic droit → « Open Preview » dans VSCodium, ou ouverture dans un navigateur).
|
||||||
|
|
||||||
@@ -82,6 +83,11 @@ TX et RX sont **croisés** : le TX d'un côté va au RX de l'autre. Les couleurs
|
|||||||
revendeurs : se fier à l'étiquette du connecteur. GPIO 34 n'a pas de résistance interne, ce qui convient
|
revendeurs : se fier à l'étiquette du connecteur. GPIO 34 n'a pas de résistance interne, ce qui convient
|
||||||
puisque le capteur pilote lui-même la ligne. ESP32-S3 Mini : voir §1.5.
|
puisque le capteur pilote lui-même la ligne. ESP32-S3 Mini : voir §1.5.
|
||||||
|
|
||||||
|
Schéma de **tout le montage** (micro, ampli, haut-parleur, capteur, bouton, LED, rails et découplage) :
|
||||||
|
**[wiring-esp32-wroom-fingerprint.svg](wiring-esp32-wroom-fingerprint.svg)** (aperçu :
|
||||||
|
[wiring-esp32-wroom-fingerprint.png](wiring-esp32-wroom-fingerprint.png)). Ce câblage du capteur est celui des étapes F1 à F4,
|
||||||
|
**validées sur la WROOM le 2026-10-18**. Passer de la S3 à la WROOM, ou l'inverse : §1.6.
|
||||||
|
|
||||||
### 1.5 Carte ESP32-S3 Mini — branche `fingerprint`, étape F5
|
### 1.5 Carte ESP32-S3 Mini — branche `fingerprint`, étape F5
|
||||||
|
|
||||||
Schéma complet, avec rails d'alimentation et découplage : **[wiring-esp32-s3.svg](wiring-esp32-s3.svg)** (aperçu : [wiring-esp32-s3.png](wiring-esp32-s3.png)).
|
Schéma complet, avec rails d'alimentation et découplage : **[wiring-esp32-s3.svg](wiring-esp32-s3.svg)** (aperçu : [wiring-esp32-s3.png](wiring-esp32-s3.png)).
|
||||||
@@ -138,6 +144,52 @@ firmware ne la pilote pas. D'où la LED d'état externe, comme sur la WROOM (ell
|
|||||||
port s'appelle **`/dev/ttyACM0`** (pas `ttyUSB0`), et il disparaît et revient à chaque reset. Si le téléversement
|
port s'appelle **`/dev/ttyACM0`** (pas `ttyUSB0`), et il disparaît et revient à chaque reset. Si le téléversement
|
||||||
ne démarre pas tout seul : maintenir **BOOT**, appuyer sur **RESET**, relâcher RESET puis BOOT, et relancer.
|
ne démarre pas tout seul : maintenir **BOOT**, appuyer sur **RESET**, relâcher RESET puis BOOT, et relancer.
|
||||||
|
|
||||||
|
### 1.6 Repli : remplacer la S3 par la WROOM (ou l'inverse)
|
||||||
|
|
||||||
|
La WROOM sert de carte de secours : mêmes composants, même firmware, même serveur. Seuls changent les **numéros de GPIO**
|
||||||
|
et le téléversement. Schéma du montage complet sur la WROOM :
|
||||||
|
**[wiring-esp32-wroom-fingerprint.svg](wiring-esp32-wroom-fingerprint.svg)**. Les valeurs ci-dessous sont celles des deux
|
||||||
|
fichiers de brochage ([S3](../firmware/include/pins_esp32_s3_mini.h), [WROOM](../firmware/include/pins_esp32_wroom.h)).
|
||||||
|
|
||||||
|
| Signal | S3 Mini | **WROOM** | Remarque côté WROOM |
|
||||||
|
|---|---|---|---|
|
||||||
|
| INMP441 `SCK` | 5 | **25** | |
|
||||||
|
| INMP441 `WS` | 6 | **26** | |
|
||||||
|
| INMP441 `SD` | 7 | **33** | |
|
||||||
|
| MAX98357A `BCLK` | 13 | **27** | |
|
||||||
|
| MAX98357A `LRC` | 12 | **14** | |
|
||||||
|
| MAX98357A `DIN` | 11 | **22** | |
|
||||||
|
| Bouton PTT (l'autre borne à GND) | 10 | **4** | |
|
||||||
|
| LED d'état | 9 | **2** | la LED bleue de la carte est aussi sur GPIO 2 : la LED externe est facultative |
|
||||||
|
| LED de démonstration | 8 | **21** | |
|
||||||
|
| R503 jaune (TX du capteur) | 1 | **16** | `RX2` : croisé, le TX du capteur arrive sur un RX |
|
||||||
|
| R503 marron (RX du capteur) | 2 | **17** | `TX2` |
|
||||||
|
| R503 bleu (WAKEUP) | 4 | **34** | entrée seule, sans résistance interne : c'est le capteur qui pilote la ligne |
|
||||||
|
| 5 V (ampli) | `5V` | **`VIN`** | |
|
||||||
|
| 3,3 V (INMP441, R503 rouge et blanc) | `3V3` | **`3V3`** | |
|
||||||
|
| Masse | `GND` | **`GND`** | l'une des deux broches `GND` |
|
||||||
|
|
||||||
|
Si le montage utilise des rails de plaque d'essai (comme sur les schémas), **seuls trois fils partent de la carte vers les
|
||||||
|
rails** (5 V, 3,3 V, masse) : les fils des modules vers les rails ne bougent pas.
|
||||||
|
|
||||||
|
**Procédure**
|
||||||
|
|
||||||
|
1. **Débrancher** l'USB des deux cartes, et l'alimentation 5 V si la S3 était alimentée par `5V`/`Vin` : on ne câble jamais sous tension (§7).
|
||||||
|
2. Déplacer les fils **un signal à la fois**, dans l'ordre du tableau, de la S3 vers la WROOM. Garder le même code couleur
|
||||||
|
(§1.1 à §1.3b), puis raccorder 5 V, 3,3 V et masse.
|
||||||
|
3. Faire les mesures du §8 (continuité du R503 comprise : lignes 8e à 8l), **carte débranchée**.
|
||||||
|
4. Brancher la WROOM et téléverser : `make fw-upload` (c'est l'environnement par défaut, `esp32dev`, sur `/dev/ttyUSB0` ;
|
||||||
|
groupe `dialout`). Le démarrage doit afficher `# carte : ESP32 WROOM (esp32dev)`, puis `# empreinte : poignee de main : ok`
|
||||||
|
et `capacite 200 empreintes`.
|
||||||
|
5. **Wi-Fi** : les identifiants sont gardés **dans la carte** (NVS). La WROOM a les siens, la S3 ne les lui transmet pas. Si
|
||||||
|
le réseau a changé depuis la dernière utilisation de la WROOM, refaire le portail : bouton PTT tenu à la mise sous tension
|
||||||
|
(`WIFI_CONFIG_HOLD_MS`, 3 s), réseau `VoiceAssist-Config`, page http://192.168.4.1.
|
||||||
|
6. **Une seule carte à la fois** sur le broker : les deux s'appellent `esp32-01`, elles s'éjecteraient l'une l'autre.
|
||||||
|
7. Rien à changer côté serveur. Les **empreintes restent dans le capteur** : le R503 déplacé garde ses doigts, il n'y a rien à
|
||||||
|
réenregistrer.
|
||||||
|
|
||||||
|
Pour revenir à la S3, faire l'inverse avec la même table.
|
||||||
|
|
||||||
### 1.4 Haut-parleur
|
### 1.4 Haut-parleur
|
||||||
|
|
||||||
| Caractéristique | Valeur conseillée |
|
| Caractéristique | Valeur conseillée |
|
||||||
@@ -390,6 +442,22 @@ bout du fil : une soudure sèche laisse passer le fil mais pas le signal.
|
|||||||
| 8c | pastille `L/R` du module ↔ `GND` | passant |
|
| 8c | pastille `L/R` du module ↔ `GND` | passant |
|
||||||
| 8d | `GPIO 33` ↔ `GND` | **coupé** |
|
| 8d | `GPIO 33` ↔ `GND` | **coupé** |
|
||||||
|
|
||||||
|
### Capteur R503 (branche `fingerprint`, ESP32 WROOM)
|
||||||
|
|
||||||
|
Même consigne : carte **hors tension**, mesure sur le connecteur ou la soudure du capteur. Les numéros de GPIO sont ceux
|
||||||
|
de la WROOM (§1.3b) ; sur la S3, voir la table du §1.5.
|
||||||
|
|
||||||
|
| # | Mesure | Attendu |
|
||||||
|
|---|---|---|
|
||||||
|
| 8e | `R503 rouge` ↔ `ESP32 3V3` | passant |
|
||||||
|
| 8f | `R503 blanc` ↔ `ESP32 3V3` | passant |
|
||||||
|
| 8g | `R503 noir` ↔ `ESP32 GND` | passant |
|
||||||
|
| 8h | `R503 rouge` ↔ `GND` | **coupé** (sinon court-circuit : le 3,3 V de la carte tombe) |
|
||||||
|
| 8i | `R503 jaune` ↔ `GPIO 16` | passant |
|
||||||
|
| 8j | `R503 marron` ↔ `GPIO 17` | passant |
|
||||||
|
| 8k | `R503 bleu` ↔ `GPIO 34` | passant |
|
||||||
|
| 8l | `GPIO 16` ↔ `GPIO 17` | **coupé** (jaune et marron ne se touchent pas) |
|
||||||
|
|
||||||
Puis USB branché :
|
Puis USB branché :
|
||||||
|
|
||||||
| # | Mesure | Attendu |
|
| # | Mesure | Attendu |
|
||||||
@@ -398,9 +466,13 @@ Puis USB branché :
|
|||||||
| 10 | tension `VIN` / `GND` | 4,6 à 5,1 V |
|
| 10 | tension `VIN` / `GND` | 4,6 à 5,1 V |
|
||||||
| 11 | tension `GPIO 4` / `GND`, bouton relâché | ≈ 3,3 V (pull-up interne) |
|
| 11 | tension `GPIO 4` / `GND`, bouton relâché | ≈ 3,3 V (pull-up interne) |
|
||||||
| 12 | tension `GPIO 4` / `GND`, bouton appuyé | ≈ 0 V |
|
| 12 | tension `GPIO 4` / `GND`, bouton appuyé | ≈ 0 V |
|
||||||
|
| 13 | tension `R503 rouge` / `GND` | 3,2 à 3,4 V |
|
||||||
|
| 14 | tension `GPIO 34` / `GND`, doigt absent | ≈ 3,3 V (le capteur tient la ligne haute au repos) |
|
||||||
|
| 15 | tension `GPIO 34` / `GND`, doigt posé sur le capteur | ≈ 0 V |
|
||||||
|
|
||||||
Le test 11 exige que le firmware soit déjà téléversé : le pull-up est activé par
|
Le test 11 exige que le firmware soit déjà téléversé : le pull-up est activé par
|
||||||
`pinMode(INPUT_PULLUP)`.
|
`pinMode(INPUT_PULLUP)`. Les tests 14 et 15 supposent le fil blanc (3,3VT) alimenté : c'est lui qui alimente la détection de
|
||||||
|
toucher. Le test décisif reste le démarrage de la carte : `# empreinte : poignee de main : ok`.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -443,6 +515,9 @@ Ce tableau est celui de l'**ESP32 WROOM** ; celui de l'ESP32-S3 Mini est au §1.
|
|||||||
| 27 | MAX98357A `BCLK` | 2 |
|
| 27 | MAX98357A `BCLK` | 2 |
|
||||||
| 33 | INMP441 `SD` | 1 |
|
| 33 | INMP441 `SD` | 1 |
|
||||||
| 21 | LED de démonstration domotique (« la lumière » de la pièce) | 11 |
|
| 21 | LED de démonstration domotique (« la lumière » de la pièce) | 11 |
|
||||||
|
| 16 | R503 jaune (TX du capteur), `RX2` | F1 |
|
||||||
|
| 17 | R503 marron (RX du capteur), `TX2` | F1 |
|
||||||
|
| 34 | R503 bleu (WAKEUP), entrée seule | F1 |
|
||||||
|
|
||||||
### LED de démonstration (étape 11, facultative)
|
### LED de démonstration (étape 11, facultative)
|
||||||
|
|
||||||
@@ -454,7 +529,7 @@ Courant : (3,3 V − 2,0 V) / 330 Ω ≈ 4 mA, bien sous les 12 mA conseillés p
|
|||||||
GPIO 21 est libre et sans rôle au démarrage (pas une broche de *strapping*). Elle
|
GPIO 21 est libre et sans rôle au démarrage (pas une broche de *strapping*). Elle
|
||||||
figure « la lumière » de la pièce de la carte ; volets et porte sont simulés
|
figure « la lumière » de la pièce de la carte ; volets et porte sont simulés
|
||||||
(état affiché sur la liaison série). Un module relais se brancherait au même endroit.
|
(état affiché sur la liaison série). Un module relais se brancherait au même endroit.
|
||||||
Cette LED n'est pas dessinée sur `wiring.svg`.
|
Cette LED n'est pas dessinée sur `wiring.svg` ; elle l'est sur les deux schémas avec le capteur R503.
|
||||||
|
|
||||||
Les valeurs sont définies une seule fois, dans
|
Les valeurs sont définies une seule fois, dans
|
||||||
[firmware/include/config.h](../firmware/include/config.h). Toute modification de
|
[firmware/include/config.h](../firmware/include/config.h). Toute modification de
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 432 KiB |
@@ -0,0 +1,252 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1400 1040" width="1400" height="1040" font-family="DejaVu Sans, Arial, Helvetica, sans-serif">
|
||||||
|
<!-- Schéma de câblage : ESP32 WROOM + INMP441 + MAX98357A + HP + capteur R503 + bouton + LED (repli de la S3) -->
|
||||||
|
<!-- Fond blanc explicite : le schéma reste lisible en thème sombre. -->
|
||||||
|
<rect x="0" y="0" width="1400" height="1040" fill="#ffffff"/>
|
||||||
|
<style>
|
||||||
|
.box { fill:#f7f7f4; stroke:#333333; stroke-width:2; }
|
||||||
|
.title { font-size:17px; font-weight:bold; fill:#1a1a1a; }
|
||||||
|
.sub { font-size:12px; fill:#555555; }
|
||||||
|
.pin { font-size:12px; fill:#1a1a1a; }
|
||||||
|
.pinused { font-size:12px; font-weight:bold; fill:#1a1a1a; }
|
||||||
|
.lbl { font-size:12px; fill:#333333; }
|
||||||
|
.tickl { stroke:#999999; stroke-width:1.5; }
|
||||||
|
.w { fill:none; stroke-width:2.4; stroke-linejoin:round; }
|
||||||
|
.gnd { stroke:#333333; }
|
||||||
|
.sig { stroke:#6b6b6b; }
|
||||||
|
.v33 { stroke:#cc2222; }
|
||||||
|
.v5 { stroke:#e08214; }
|
||||||
|
.clk { stroke:#1f6fd0; }
|
||||||
|
.ws { stroke:#12855d; }
|
||||||
|
.data { stroke:#8a3fc0; }
|
||||||
|
.yel { stroke:#d4a800; }
|
||||||
|
.brn { stroke:#8b5a2b; }
|
||||||
|
.cyan { stroke:#0aa0d8; }
|
||||||
|
.warn { font-size:12px; font-weight:bold; fill:#b30000; }
|
||||||
|
</style>
|
||||||
|
<text x="30" y="40" class="title" style="font-size:22px">Assistant vocal local — câblage ESP32 WROOM avec le capteur R503</text>
|
||||||
|
<text x="30" y="62" class="sub">Repli de la S3 · ESP32 WROOM (DevKit V1) · INMP441 (micro I2S) · MAX98357A (ampli I2S) · haut-parleur · capteur d'empreinte R503 · bouton PTT · LED d'état et de démonstration</text>
|
||||||
|
<text x="830" y="100" class="title" text-anchor="middle">ESP32 WROOM (DevKit V1, 30 broches)</text>
|
||||||
|
<rect x="700" y="110" width="260" height="590" rx="6" class="box"/>
|
||||||
|
<text x="830" y="688" class="sub" text-anchor="middle" style="font-size:11px">vue logique — numéros sérigraphiés</text>
|
||||||
|
<text x="712" y="140" class="pin">EN</text>
|
||||||
|
<line class="tickl" x1="690" y1="135" x2="700" y2="135"/>
|
||||||
|
<text x="948" y="140" class="pin" text-anchor="end">GPIO 23</text>
|
||||||
|
<line class="tickl" x1="960" y1="135" x2="970" y2="135"/>
|
||||||
|
<text x="712" y="178" class="pin">GPIO 36</text>
|
||||||
|
<line class="tickl" x1="690" y1="173" x2="700" y2="173"/>
|
||||||
|
<text x="948" y="178" class="pinused" text-anchor="end">GPIO 22</text>
|
||||||
|
<line class="tickl" x1="960" y1="173" x2="970" y2="173"/>
|
||||||
|
<text x="712" y="216" class="pin">GPIO 39</text>
|
||||||
|
<line class="tickl" x1="690" y1="211" x2="700" y2="211"/>
|
||||||
|
<text x="948" y="216" class="pin" text-anchor="end">TX0</text>
|
||||||
|
<line class="tickl" x1="960" y1="211" x2="970" y2="211"/>
|
||||||
|
<text x="712" y="254" class="pinused">GPIO 34</text>
|
||||||
|
<line class="tickl" x1="690" y1="249" x2="700" y2="249"/>
|
||||||
|
<text x="948" y="254" class="pin" text-anchor="end">RX0</text>
|
||||||
|
<line class="tickl" x1="960" y1="249" x2="970" y2="249"/>
|
||||||
|
<text x="712" y="292" class="pin">GPIO 35</text>
|
||||||
|
<line class="tickl" x1="690" y1="287" x2="700" y2="287"/>
|
||||||
|
<text x="948" y="292" class="pinused" text-anchor="end">GPIO 21</text>
|
||||||
|
<line class="tickl" x1="960" y1="287" x2="970" y2="287"/>
|
||||||
|
<text x="712" y="330" class="pin">GPIO 32</text>
|
||||||
|
<line class="tickl" x1="690" y1="325" x2="700" y2="325"/>
|
||||||
|
<text x="948" y="330" class="pin" text-anchor="end">GPIO 19</text>
|
||||||
|
<line class="tickl" x1="960" y1="325" x2="970" y2="325"/>
|
||||||
|
<text x="712" y="368" class="pinused">GPIO 33</text>
|
||||||
|
<line class="tickl" x1="690" y1="363" x2="700" y2="363"/>
|
||||||
|
<text x="948" y="368" class="pin" text-anchor="end">GPIO 18</text>
|
||||||
|
<line class="tickl" x1="960" y1="363" x2="970" y2="363"/>
|
||||||
|
<text x="712" y="406" class="pinused">GPIO 25</text>
|
||||||
|
<line class="tickl" x1="690" y1="401" x2="700" y2="401"/>
|
||||||
|
<text x="948" y="406" class="pin" text-anchor="end">GPIO 5</text>
|
||||||
|
<line class="tickl" x1="960" y1="401" x2="970" y2="401"/>
|
||||||
|
<text x="712" y="444" class="pinused">GPIO 26</text>
|
||||||
|
<line class="tickl" x1="690" y1="439" x2="700" y2="439"/>
|
||||||
|
<text x="948" y="444" class="pinused" text-anchor="end">GPIO 17 (TX2)</text>
|
||||||
|
<line class="tickl" x1="960" y1="439" x2="970" y2="439"/>
|
||||||
|
<text x="712" y="482" class="pinused">GPIO 27</text>
|
||||||
|
<line class="tickl" x1="690" y1="477" x2="700" y2="477"/>
|
||||||
|
<text x="948" y="482" class="pinused" text-anchor="end">GPIO 16 (RX2)</text>
|
||||||
|
<line class="tickl" x1="960" y1="477" x2="970" y2="477"/>
|
||||||
|
<text x="712" y="520" class="pinused">GPIO 14</text>
|
||||||
|
<line class="tickl" x1="690" y1="515" x2="700" y2="515"/>
|
||||||
|
<text x="948" y="520" class="pinused" text-anchor="end">GPIO 4</text>
|
||||||
|
<line class="tickl" x1="960" y1="515" x2="970" y2="515"/>
|
||||||
|
<text x="712" y="558" class="pin">GPIO 12</text>
|
||||||
|
<line class="tickl" x1="690" y1="553" x2="700" y2="553"/>
|
||||||
|
<text x="948" y="558" class="pinused" text-anchor="end">GPIO 2</text>
|
||||||
|
<line class="tickl" x1="960" y1="553" x2="970" y2="553"/>
|
||||||
|
<text x="712" y="596" class="pin">GPIO 13</text>
|
||||||
|
<line class="tickl" x1="690" y1="591" x2="700" y2="591"/>
|
||||||
|
<text x="948" y="596" class="pin" text-anchor="end">GPIO 15</text>
|
||||||
|
<line class="tickl" x1="960" y1="591" x2="970" y2="591"/>
|
||||||
|
<text x="712" y="634" class="pin">GND</text>
|
||||||
|
<line class="tickl" x1="690" y1="629" x2="700" y2="629"/>
|
||||||
|
<text x="948" y="634" class="pinused" text-anchor="end">GND</text>
|
||||||
|
<line class="tickl" x1="960" y1="629" x2="970" y2="629"/>
|
||||||
|
<text x="712" y="672" class="pinused">VIN (5 V)</text>
|
||||||
|
<line class="tickl" x1="690" y1="667" x2="700" y2="667"/>
|
||||||
|
<text x="948" y="672" class="pinused" text-anchor="end">3V3</text>
|
||||||
|
<line class="tickl" x1="960" y1="667" x2="970" y2="667"/>
|
||||||
|
<rect x="60" y="190" width="240" height="200" rx="6" class="box"/>
|
||||||
|
<text x="180" y="218" class="title" text-anchor="middle" style="font-size:15px">INMP441</text>
|
||||||
|
<text x="180" y="236" class="sub" text-anchor="middle">micro I2S — entrée audio</text>
|
||||||
|
<text x="180" y="254" class="warn" text-anchor="middle">3,3 V uniquement</text>
|
||||||
|
<text x="288" y="280" class="pinused" text-anchor="end">SD</text>
|
||||||
|
<line class="tickl" x1="300" y1="276" x2="310" y2="276"/>
|
||||||
|
<text x="288" y="308" class="pinused" text-anchor="end">SCK</text>
|
||||||
|
<line class="tickl" x1="300" y1="304" x2="310" y2="304"/>
|
||||||
|
<text x="288" y="336" class="pinused" text-anchor="end">WS</text>
|
||||||
|
<line class="tickl" x1="300" y1="332" x2="310" y2="332"/>
|
||||||
|
<polyline class="w data" points="300,276 670,276 670,363 690,363"/>
|
||||||
|
<polyline class="w clk" points="300,304 655,304 655,401 690,401"/>
|
||||||
|
<polyline class="w ws" points="300,332 640,332 640,439 690,439"/>
|
||||||
|
<text x="68" y="384" class="pinused">L/R</text>
|
||||||
|
<line class="tickl" x1="80" y1="390" x2="80" y2="400"/>
|
||||||
|
<text x="96" y="384" class="pinused">GND</text>
|
||||||
|
<line class="tickl" x1="110" y1="390" x2="110" y2="400"/>
|
||||||
|
<text x="136" y="384" class="pinused">VDD</text>
|
||||||
|
<line class="tickl" x1="150" y1="390" x2="150" y2="400"/>
|
||||||
|
<polyline class="w gnd" points="80,390 80,790"/>
|
||||||
|
<polyline class="w gnd" points="110,390 110,790"/>
|
||||||
|
<polyline class="w v33" points="150,390 150,750"/>
|
||||||
|
<text x="48" y="378" class="lbl" transform="rotate(-90 48 378)" style="font-size:11px">L/R → GND (canal gauche)</text>
|
||||||
|
<circle cx="80" cy="790" r="4" fill="#333333"/><circle cx="110" cy="790" r="4" fill="#333333"/><circle cx="150" cy="750" r="4" fill="#cc2222"/>
|
||||||
|
<rect x="380" y="440" width="200" height="180" rx="6" class="box"/>
|
||||||
|
<text x="470" y="498" class="title" text-anchor="middle" style="font-size:15px">MAX98357A</text>
|
||||||
|
<text x="470" y="516" class="sub" text-anchor="middle">ampli classe D mono</text>
|
||||||
|
<text x="470" y="532" class="sub" text-anchor="middle">alimenté en 5 V</text>
|
||||||
|
<text x="568" y="481" class="pinused" text-anchor="end">BCLK</text>
|
||||||
|
<line class="tickl" x1="580" y1="477" x2="590" y2="477"/>
|
||||||
|
<text x="568" y="519" class="pinused" text-anchor="end">LRC</text>
|
||||||
|
<line class="tickl" x1="580" y1="515" x2="590" y2="515"/>
|
||||||
|
<text x="568" y="557" class="pinused" text-anchor="end">DIN</text>
|
||||||
|
<line class="tickl" x1="580" y1="553" x2="590" y2="553"/>
|
||||||
|
<polyline class="w clk" points="580,477 690,477"/>
|
||||||
|
<polyline class="w ws" points="580,515 690,515"/>
|
||||||
|
<polyline class="w data" points="580,553 600,553"/>
|
||||||
|
<text x="606" y="550" class="lbl" style="font-size:11px">GPIO 22</text>
|
||||||
|
<text x="606" y="563" class="lbl" style="font-size:11px">(côté droit)</text>
|
||||||
|
<text x="392" y="494" class="pinused">+</text><text x="392" y="554" class="pinused">−</text>
|
||||||
|
<line class="tickl" x1="370" y1="490" x2="380" y2="490"/><line class="tickl" x1="370" y1="550" x2="380" y2="550"/>
|
||||||
|
<text x="420" y="614" class="pin" text-anchor="middle">GAIN</text>
|
||||||
|
<line class="tickl" x1="420" y1="620" x2="420" y2="630"/>
|
||||||
|
<text x="460" y="614" class="pin" text-anchor="middle">SD</text>
|
||||||
|
<line class="tickl" x1="460" y1="620" x2="460" y2="630"/>
|
||||||
|
<text x="510" y="614" class="pinused" text-anchor="middle">GND</text>
|
||||||
|
<line class="tickl" x1="510" y1="620" x2="510" y2="630"/>
|
||||||
|
<text x="550" y="614" class="pinused" text-anchor="middle">Vin</text>
|
||||||
|
<line class="tickl" x1="550" y1="620" x2="550" y2="630"/>
|
||||||
|
<text x="420" y="648" class="lbl" text-anchor="middle" style="font-size:11px">NC</text>
|
||||||
|
<text x="460" y="648" class="lbl" text-anchor="middle" style="font-size:11px">NC</text>
|
||||||
|
<text x="200" y="650" class="lbl" style="font-size:11px">GAIN : NC → gain 9 dB</text>
|
||||||
|
<text x="200" y="666" class="lbl" style="font-size:11px">SD : NC → ampli actif</text>
|
||||||
|
<polyline class="w gnd" points="510,630 510,790"/><circle cx="510" cy="790" r="4" fill="#333333"/>
|
||||||
|
<polyline class="w v5" points="550,630 550,830"/><circle cx="550" cy="830" r="4" fill="#e08214"/>
|
||||||
|
<rect x="200" y="470" width="130" height="100" rx="6" class="box"/>
|
||||||
|
<text x="265" y="508" class="title" text-anchor="middle" style="font-size:15px">HP</text>
|
||||||
|
<text x="265" y="530" class="sub" text-anchor="middle">4 Ω / 3 W</text>
|
||||||
|
<text x="265" y="548" class="sub" text-anchor="middle">(ou 8 Ω / 2 W)</text>
|
||||||
|
<polyline class="w gnd" points="370,490 330,490"/><polyline class="w gnd" points="370,550 330,550"/>
|
||||||
|
<text x="336" y="484" class="lbl">+</text>
|
||||||
|
<text x="200" y="590" class="lbl" style="font-size:11px">« − » jamais à la masse</text>
|
||||||
|
<polyline class="w v5" points="405,830 405,814"/>
|
||||||
|
<polyline class="w gnd" points="405,790 405,806"/>
|
||||||
|
<line x1="389" y1="814" x2="421" y2="814" stroke="#333" stroke-width="3"/>
|
||||||
|
<line x1="389" y1="806" x2="421" y2="806" stroke="#333" stroke-width="3"/>
|
||||||
|
<circle cx="405" cy="830" r="4" fill="#e08214"/><circle cx="405" cy="790" r="4" fill="#333333"/>
|
||||||
|
<text x="377" y="822" class="lbl" style="font-size:13px">+</text>
|
||||||
|
<text x="427" y="808" class="pinused">C1</text>
|
||||||
|
<polyline class="w v5" points="480,830 480,814"/>
|
||||||
|
<polyline class="w gnd" points="480,790 480,806"/>
|
||||||
|
<line x1="464" y1="814" x2="496" y2="814" stroke="#333" stroke-width="3"/>
|
||||||
|
<line x1="464" y1="806" x2="496" y2="806" stroke="#333" stroke-width="3"/>
|
||||||
|
<circle cx="480" cy="830" r="4" fill="#e08214"/><circle cx="480" cy="790" r="4" fill="#333333"/>
|
||||||
|
<text x="502" y="808" class="pinused">C2</text>
|
||||||
|
<polyline class="w v5" points="690,667 675,667 675,830"/><circle cx="675" cy="830" r="4" fill="#e08214"/>
|
||||||
|
<polyline class="w v33" points="970,667 985,667 985,750"/><circle cx="985" cy="750" r="4" fill="#cc2222"/>
|
||||||
|
<polyline class="w gnd" points="970,629 1005,629 1005,790"/><circle cx="1005" cy="790" r="4" fill="#333333"/>
|
||||||
|
<polyline class="w data" points="970,173 1000,173"/>
|
||||||
|
<text x="1008" y="170" class="lbl" style="font-size:11px">DIN de l'ampli</text>
|
||||||
|
<text x="1008" y="184" class="lbl" style="font-size:11px">(à gauche de la carte)</text>
|
||||||
|
<rect x="1090" y="267" width="160" height="40" rx="6" class="box"/>
|
||||||
|
<text x="1170" y="284" class="title" text-anchor="middle" style="font-size:12px">LED démo + 330 Ω</text>
|
||||||
|
<text x="1170" y="298" class="sub" text-anchor="middle" style="font-size:10px">« la lumière » (étape 11)</text>
|
||||||
|
<polyline class="w sig" points="970,287 1090,287"/>
|
||||||
|
<polyline class="w gnd" points="1250,287 1275,287 1275,299"/>
|
||||||
|
<g stroke="#333333" stroke-width="2.4" fill="none"><line x1="1263" y1="299" x2="1287" y2="299"/><line x1="1268" y1="305" x2="1282" y2="305"/><line x1="1273" y1="311" x2="1277" y2="311"/></g>
|
||||||
|
<text x="1292" y="309" class="lbl" style="font-size:11px">GND</text>
|
||||||
|
<rect x="1090" y="370" width="250" height="220" rx="6" class="box"/>
|
||||||
|
<text x="1102" y="405" class="pinused">Bleu · WAKEUP</text>
|
||||||
|
<text x="1102" y="443" class="pinused">Marron · RX</text>
|
||||||
|
<text x="1102" y="481" class="pinused">Jaune · TX</text>
|
||||||
|
<text x="1328" y="405" class="pinused" text-anchor="end">Rouge · 3,3 V</text>
|
||||||
|
<text x="1328" y="443" class="pinused" text-anchor="end">Blanc · 3,3VT</text>
|
||||||
|
<text x="1328" y="481" class="pinused" text-anchor="end">Noir · GND</text>
|
||||||
|
<text x="1215" y="520" class="title" text-anchor="middle" style="font-size:15px">Capteur R503</text>
|
||||||
|
<text x="1215" y="538" class="sub" text-anchor="middle">empreinte digitale (Grow)</text>
|
||||||
|
<text x="1215" y="554" class="sub" text-anchor="middle">UART 57600 bauds</text>
|
||||||
|
<text x="1215" y="570" class="warn" text-anchor="middle">alimenté en 3,3 V</text>
|
||||||
|
<text x="1215" y="584" class="sub" text-anchor="middle" style="font-size:10px">WAKEUP : haut = repos, bas = doigt</text>
|
||||||
|
<polyline class="w yel" points="970,477 1090,477"/>
|
||||||
|
<polyline class="w brn" points="970,439 1090,439"/>
|
||||||
|
<polyline class="w cyan" points="1065,401 1090,401"/>
|
||||||
|
<text x="1086" y="372" class="lbl" text-anchor="end" style="font-size:11px">GPIO 34</text>
|
||||||
|
<text x="1086" y="385" class="lbl" text-anchor="end" style="font-size:11px">(côté gauche)</text>
|
||||||
|
<text x="658" y="253" class="lbl" text-anchor="end" style="font-size:11px">fil bleu du R503 (WAKEUP) : le capteur est à droite de la carte</text>
|
||||||
|
<polyline class="w cyan" points="690,249 665,249"/>
|
||||||
|
<polyline class="w v33" points="1340,401 1376,401 1376,750"/><circle cx="1376" cy="750" r="4" fill="#cc2222"/>
|
||||||
|
<polyline class="w v33" points="1340,439 1364,439 1364,750"/><circle cx="1364" cy="750" r="4" fill="#cc2222"/>
|
||||||
|
<polyline class="w gnd" points="1340,477 1352,477 1352,790"/><circle cx="1352" cy="790" r="4" fill="#333333"/>
|
||||||
|
<polyline class="w sig" points="970,515 1050,515 1050,658 1090,658"/>
|
||||||
|
<polyline class="w sig" points="970,553 1030,553 1030,708 1090,708"/>
|
||||||
|
<rect x="1090" y="640" width="160" height="36" rx="6" class="box"/>
|
||||||
|
<text x="1170" y="656" class="title" text-anchor="middle" style="font-size:12px">Bouton PTT</text>
|
||||||
|
<text x="1170" y="670" class="sub" text-anchor="middle" style="font-size:10px">pull-up interne</text>
|
||||||
|
<rect x="1090" y="690" width="160" height="36" rx="6" class="box"/>
|
||||||
|
<text x="1170" y="706" class="title" text-anchor="middle" style="font-size:12px">LED d'état + 330 Ω</text>
|
||||||
|
<text x="1170" y="720" class="sub" text-anchor="middle" style="font-size:10px">optionnelle (LED intégrée)</text>
|
||||||
|
<polyline class="w gnd" points="1250,658 1272,658 1272,664"/>
|
||||||
|
<g stroke="#333333" stroke-width="2.4" fill="none"><line x1="1260" y1="664" x2="1284" y2="664"/><line x1="1265" y1="670" x2="1279" y2="670"/><line x1="1270" y1="676" x2="1274" y2="676"/></g>
|
||||||
|
<text x="1290" y="676" class="lbl" style="font-size:11px">GND</text>
|
||||||
|
<polyline class="w gnd" points="1250,708 1272,708 1272,714"/>
|
||||||
|
<g stroke="#333333" stroke-width="2.4" fill="none"><line x1="1260" y1="714" x2="1284" y2="714"/><line x1="1265" y1="720" x2="1279" y2="720"/><line x1="1270" y1="726" x2="1274" y2="726"/></g>
|
||||||
|
<text x="1290" y="726" class="lbl" style="font-size:11px">GND</text>
|
||||||
|
<polyline class="w v33" points="50,750 1385,750"/>
|
||||||
|
<polyline class="w gnd" points="50,790 1385,790"/>
|
||||||
|
<polyline class="w v5" points="50,830 1385,830"/>
|
||||||
|
<text x="10" y="744" class="lbl" fill="#cc2222">3,3 V</text>
|
||||||
|
<text x="10" y="784" class="lbl">GND</text>
|
||||||
|
<text x="10" y="824" class="lbl" fill="#e08214">5 V</text>
|
||||||
|
<text x="1000" y="876" class="title" style="font-size:13px">Découplage conseillé (C1, C2)</text>
|
||||||
|
<text x="1000" y="900" class="lbl">C1 = 470 µF / 16 V électrolytique, faible ESR</text>
|
||||||
|
<text x="1000" y="920" class="lbl"> polarisé : la bande imprimée est le « − »</text>
|
||||||
|
<text x="1000" y="940" class="lbl">C2 = 100 nF X7R céramique (code 104)</text>
|
||||||
|
<text x="1000" y="960" class="lbl">les deux à moins de 3 cm des broches de l'ampli</text>
|
||||||
|
<rect x="30" y="852" width="520" height="140" rx="6" fill="#ffffff" stroke="#bbbbbb" stroke-width="1.5"/>
|
||||||
|
<text x="44" y="876" class="title" style="font-size:14px">Légende</text>
|
||||||
|
<line class="w v5" x1="44" y1="896" x2="80" y2="896"/>
|
||||||
|
<text x="88" y="900" class="lbl">5 V</text>
|
||||||
|
<line class="w v33" x1="44" y1="918" x2="80" y2="918"/>
|
||||||
|
<text x="88" y="922" class="lbl">3,3 V</text>
|
||||||
|
<line class="w gnd" x1="44" y1="940" x2="80" y2="940"/>
|
||||||
|
<text x="88" y="944" class="lbl">masse / logique</text>
|
||||||
|
<line class="w clk" x1="230" y1="896" x2="266" y2="896"/>
|
||||||
|
<text x="274" y="900" class="lbl">horloge bit (SCK / BCLK)</text>
|
||||||
|
<line class="w ws" x1="230" y1="918" x2="266" y2="918"/>
|
||||||
|
<text x="274" y="922" class="lbl">mot (WS / LRC)</text>
|
||||||
|
<line class="w data" x1="230" y1="940" x2="266" y2="940"/>
|
||||||
|
<text x="274" y="944" class="lbl">données audio (SD / DIN)</text>
|
||||||
|
<line class="w yel" x1="44" y1="962" x2="80" y2="962"/><line class="w brn" x1="80" y1="962" x2="116" y2="962"/><line class="w cyan" x1="116" y1="962" x2="152" y2="962"/>
|
||||||
|
<text x="160" y="966" class="lbl">fils du R503 : jaune, marron, bleu</text>
|
||||||
|
<circle cx="52" cy="984" r="4" fill="#333333"/>
|
||||||
|
<text x="64" y="988" class="lbl" style="font-size:11px">connexion électrique — deux fils qui se croisent sans point ne sont pas reliés.</text>
|
||||||
|
<text x="580" y="876" class="warn">Masse commune obligatoire entre tous les modules.</text>
|
||||||
|
<text x="580" y="898" class="lbl">Câblez hors tension (USB débranché).</text>
|
||||||
|
<text x="580" y="916" class="lbl">INMP441 et R503 en 3,3 V : le 5 V les détruit.</text>
|
||||||
|
<text x="580" y="934" class="lbl">TX et RX sont croisés : le TX du capteur va sur GPIO 16 (RX2).</text>
|
||||||
|
<text x="580" y="952" class="lbl">GPIO 34 : entrée seule, sans résistance interne.</text>
|
||||||
|
<text x="580" y="970" class="lbl">Éviter GPIO 0, 12, 15 (démarrage), 6 à 11 (flash), 1 et 3 (USB-série).</text>
|
||||||
|
<text x="580" y="988" class="lbl">Fils I2S de 15 cm max, loin des fils du haut-parleur.</text>
|
||||||
|
<text x="580" y="1006" class="lbl">Alimentation 5 V / 2 A. Détails : docs/BROCHAGE.md §1.3b et §1.6</text>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 18 KiB |
Reference in New Issue
Block a user