ESPAltherma icon indicating copy to clipboard operation
ESPAltherma copied to clipboard

Support for ESP32-CAM modules

Open excieve opened this issue 1 year ago • 1 comments

Although Ai-Thinker ESP32-CAM module and the clones can work with the generic esp32 environment, there are some specifics different from the esp32doit-devkit-v1 board configuration used in it.

With this change OTA actually works fine through the following changes:

  • board configuration set to esp32cam
  • partitions spec set to min_spiffs.csv, which allows for OTA partitions to be set up on the image (unlike the default one)
  • ArduinoOTA timeout changed from the default 1s to 3s — I found that otherwise it bails out too often before completing, especially if the wireless connection isn't ideal

Additionally, this adds a helpful WiFi status indication through the on-board red LED present on those modules at pin 33. When set to LOW it will turn on and it will turn off when set to HIGH.

excieve avatar Jun 12 '23 19:06 excieve