wip README

This commit is contained in:
Christophe Robillard 2025-12-26 17:39:07 +01:00
parent 6669d38cbc
commit b24637e7ec

View file

@ -4,7 +4,7 @@ Le micro-controller qui collecte des infos depuis une carte rfid et qui l'envoie
## INSTALL ## INSTALL
Adafruit Huzzah Feather ESP8266 Adafruit Huzzah Feather ESP32
``` ```
@ -13,6 +13,7 @@ reboot
``` ```
# Adapter à ESP32 C6
Tools -> Board Manager -> Adafruit Huzzah Feather ESP8266 Tools -> Board Manager -> Adafruit Huzzah Feather ESP8266
Pour serial port, indiquer 115200 baud Pour serial port, indiquer 115200 baud
@ -30,5 +31,66 @@ Installer dans le répertoire sketchbook (par defaut ~/Arduino)
Edit - Include Library - Manage Libraries Edit - Include Library - Manage Libraries
WifiManager WifiManager
---
Install board esp32
# Composants utilisés
Lipo ...
[Led 5mm-4pin-YB-Cathode](https://fr.aliexpress.com/item/1005006151369157.html?spm=a2g0o.order_list.order_list_main.29.7a3f5e5bWRmuK8&gatewayAdapt=glo2fra)
Voltage : 3V
Max forward current : 20mA
Max forward voltage : 3.2V
Question à poser à Jonathan
- en sortie de mon pin, j'ai 3.3V
ma led a un max forward current à 20mA
je compte mettre une resistance de U=RI R = U/I soit 3.3/0.020 = 165ohms
pour mesurer l'intensité que j'ai juste avant la led, je pose où mes sondes ?
https://ledcalculator.org/fr/?power=3.3&ledforward=3.1&ledcurrentrating=10&numberofleds=1&output=wiring
[LED RGB](https://fr.aliexpress.com/item/1005006151369157.html?spm=a2g0o.order_list.order_list_main.29.7a3f5e5bWRmuK8&gatewayAdapt=glo2fra#nav-specification)
Red : 2.1V 200ohm 6mA trouver entre 200 et 300ohm
Blue : 3.1V
Green: 3.1V
# Upload
Entrer en bootload mode :
Presser bouton BOOT, puis reset, puis relacher reset, puis relacher button
ne plus alimenter le rfid ou alors via 3.3V pin
upload depuis arduino ide
si besoin changer le cablage
appuyer sur reset
[RFID-RC1522]
3V3
RST
GND
IRQ
MISO
MOSI
SCK
SDA (SS)
Livebox-7E90
6NzLbLVNEQnbCq3HCh
# A acheter
- fil
- esp32
- cartes
- sockets femelles
21h39 debut batterie pleine
13:42 4.102V 89.6%
16h -> -0.1 V