Install the firmware
One button, no tools. The device then sets itself up from your phone.
You need
- An ESP32-S3 board with two USB-C ports, such as the ESP32-S3-DevKitC-1. 4 MB of flash is enough.
- A Holtek USB-zyTemp CO₂ sensor, the one inside the TFA AirCO2ntrol Mini and similar meters.
- On the DevKitC-1, the USB-OTG solder jumper must be closed so the USB port powers the sensor. Boards with a USB power switch work out of the box.
- Chrome or Edge on a computer. Firefox and Safari cannot talk to serial ports.
Install
- Connect the board's COM port (the one next to the UART chip, not the USB-OTG port) to the computer.
- Press the button, pick the serial port in the dialog, confirm. A fresh board takes about a minute.
Then
- Plug the sensor into the board's USB port. Power the board from the COM port.
- On your phone, join the Wi-Fi network
AirMonitor-XXXX. The setup page opens by itself; if not, openhttp://192.168.4.1/. - Pick your home Wi-Fi, enter the password, save. The device restarts and is reachable at
http://airmonitor-xxxx.local/or at the address your router gave it.
If the port does not show up
- Windows may need the CH9102 or CP210x driver from the chip vendor; macOS and Linux have them built in.
- Use a data cable, not a charge-only one.
- Close other programs that may hold the port, such as a serial monitor.
Without a browser
The same image, airmonitor.bin, flashed with esptool:
esptool --chip esp32s3 -p PORT -b 115200 write-flash 0x0 airmonitor.bin
Or with Espressif Flash Download Tool on Windows: chip ESP32-S3, file airmonitor.bin at address 0x0, SPI mode DIO.