- Download the latest Arduino IDE appropriate for your operating system (https://www.arduino.cc/en/software)
- Open the Arduino IDE
- Open the Preferences window
- In the "Additional Board Manager URLs" field, paste the following:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
- In the "Additional Board Manager URLs" field, paste the following:
- Close/save the Preferences window
- Open the Boards Manager
- Type "esp32" in the search field and select "esp32 by Espressif Systems" (NOT "Arduino ESP32 Boards")
- Install version 2.0.17
- Type "esp32" in the search field and select "esp32 by Espressif Systems" (NOT "Arduino ESP32 Boards")
- Open the Libraries Manager
- Type "sht4x" in the search field and select "Sensirion I2C SHT4x"
- Install version 1.1.0
- Type "arduino-timer" in the earch field and select "arduino-timer"
- Install version 3.0.1
- Type "sht4x" in the search field and select "Sensirion I2C SHT4x"
- Install the CH9102 USB-to-serial drivers (Windows/MacOS)
- Note: These drivers do not appear to work on MacOS 14.5
Important
Do not allow Arduino IDE to update the esp32 board library to any 3.x version, as there are breaking Ethernet changes in this new release.