Instalación

Install

Instalar el firmware

Install the firmware

Conecta la placa por USB-C y pulsa el botón. El navegador se encarga: no hay que instalar ESP-IDF, ni Python, ni drivers.

Plug the board in over USB-C and press the button. The browser does the rest: no ESP-IDF, no Python, no drivers to install.

Necesitas Chrome, Edge u Opera en un ordenador. Esto usa WebSerial, que Safari y Firefox no implementan, y que desde el móvil no funciona. Si tu navegador no vale, el botón aparecerá desactivado.
You need Chrome, Edge or Opera on a computer. This uses WebSerial, which Safari and Firefox don't implement and which doesn't work on phones at all. If your browser can't do it, the button will say so.

Cómo va

How it goes

  1. Conecta la placa al ordenador con un cable USB-C de datos. Los cables de solo carga no valen, y es el fallo más habitual.
  2. Connect the board with a USB-C data cable. Charge-only cables won't work, and that's the most common problem.
  3. Pulsa el botón y elige el puerto en la lista que saca el navegador. En un Mac suele llamarse usbmodem.
  4. Press the button and pick the port from the browser's list. On a Mac it's usually called usbmodem.
  5. Espera. Tarda alrededor de un minuto y la placa se reinicia sola al terminar.
  6. Wait. It takes about a minute and the board restarts on its own.
  7. Al arrancar sin red configurada abre un punto de acceso llamado SEN66-XXXXXX. Conéctate y entra en 192.168.4.1 para poner tu WiFi.
  8. With no network configured it opens an access point called SEN66-XXXXXX. Connect to it and open 192.168.4.1 to set your WiFi.

A partir de ahí no necesitas volver aquí: el propio aparato se actualiza por WiFi desde su panel web.

After that you won't need this page again: the device updates itself over WiFi from its own web panel.

Actualizar no borra tu configuración. La WiFi y el broker viven en una zona de memoria que el instalador no toca. Si alguna vez quieres empezar de cero, el propio instalador tiene una opción de borrado — pero entonces habrá que volver a configurarlo todo.

Updating doesn't wipe your settings. WiFi and broker live in a memory area the installer leaves alone. If you ever want a clean slate, the installer has an erase option — but then you'll have to set everything up again.

Si no arranca

If it doesn't start

Algunas placas necesitan entrar a mano en modo de programación: mantén pulsado BOOT, pulsa y suelta RESET, y suelta BOOT. Luego vuelve a intentarlo.

Some boards need to be put into programming mode by hand: hold BOOT, press and release RESET, then let go of BOOT. Then try again.

Antes de conectar el sensor, léete el esquema de cableado: el SEN66 va a 3,3 V y a dos pines de distancia hay 5 V.

Before wiring the sensor, read the wiring guide: the SEN66 runs at 3.3 V and there's 5 V two pins away.

Compilarlo tú

Building it yourself

Si prefieres no fiarte de un binario ajeno —que es razonable—, el código está entero y se compila con ESP-IDF 5.3 o posterior:

If you'd rather not trust someone else's binary — which is fair — the source is all there and builds with ESP-IDF 5.3 or newer:

git clone https://github.com/socquique/Monitor-SEN66
cd Monitor-SEN66
idf.py build
idf.py -p /dev/ttyUSB0 flash monitor