On va commencer à jouer avec les petites boards Lilygo.
Ne connaissant rien, je met tout en vrac ici.
Ca semble être cette petite board :
Ca ressemble à ça, et quand je la branche, je vois ça qui apparait :
Ca marche en Python3, c'est pratique, et on va faire un venv pour pas péter notre Os.
mkdir esptool cd esptool python3 -m venv source bin/activate pip install esptool
Et Zou !
$ esptool.py chip_id
esptool.py v4.8.1 Found 2 serial ports Serial port /dev/ttyACM1 Connecting.... Detecting chip type... ESP32 Chip is ESP32-PICO-D4 (revision v1.0) Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: 98:cd:ac:xx:ha:ha Uploading stub... Running stub... Stub running... Warning: ESP32 has no Chip ID. Reading MAC instead. MAC: 98:cd:ac:f3:d1:e0 Hard resetting via RTS pin... (esptool)
$ esptool.py flash_id
esptool.py v4.8.1 Found 2 serial ports Serial port /dev/ttyACM1 Connecting.... Detecting chip type... Unsupported detection protocol, switching and trying again... Connecting......... Detecting chip type... ESP32 Chip is ESP32-PICO-D4 (revision v1.0) Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: 98:cd:ac:f3:d1:e0 Uploading stub... Running stub... Stub running... Manufacturer: c8 Device: 4016 Detected flash size: 4MB Flash voltage set by a strapping pin to 3.3V Hard resetting via RTS pin...