Commit Graph

110 Commits (28ce7cf67fc7c97f4c98e747f835b6a1e243097e)

Author SHA1 Message Date
Miroslav Pivovarsky 28ce7cf67f camera: reinit after the change of the resolution in the photo task, repeat the failed init
- the reinit from the web server released the frame buffer during the upload and the save to the SD card (crash)
- the init is repeated when the driver fails to set the frame size (OV2640 SCCB write error)
2026-11-04 14:37:34 +01:00
Miroslav Pivovarsky 2f0f4edf3e camera, web: resolutions and camera settings according to the sensor, new resolutions 1280x720 and 1920x1080 2026-11-04 14:37:33 +01:00
Miroslav Pivovarsky 90648a6594 Build: build time only from var.cpp and the ELF SHA256 2026-11-04 14:37:31 +01:00
Miroslav Pivovarsky 351a7b1cc7 Fixes from PR #147: camera reinit, WiFi, TLS, timelapse, SD card
- camera: reinit under the frame buffer semaphore, settings are not written without the sensor
- WiFi: new WiFi settings from the web without restart
- TLS handshake timeout 20 s, time limit for reading the OTA response
- timelapse: folder for each day /timelapse/YYYY-MM-DD/, an existing file gets an index
- SD card: an empty card is not reported as full or missing

Co-authored-by: robertpouliot <32142598+robertpouliot@users.noreply.github.com>
2026-11-04 14:37:30 +01:00
Miroslav Pivovarsky 6e1fd57128 EXIF: camera make and model according to the detected sensor (based on PR #140)
Co-authored-by: reznet <2987293+reznet@users.noreply.github.com>
2026-11-04 14:37:28 +01:00
Miroslav Pivovarsky 03615d696d web: descriptions of the camera settings (PR #139)
Co-authored-by: Wegerich <23041237+Wegerich@users.noreply.github.com>
2026-11-04 14:37:26 +01:00
Miroslav Pivovarsky 12a8209b1f camera: support of the MEGA_CCM sensor (PY260, M5Stack Unit CamS3 5MP)
- the sensor is detected at the first init, one firmware for OV2640 and 5MP
- unsupported resolution switches to the factory resolution instead of a restart loop
2026-11-04 14:37:25 +01:00
Miroslav Pivovarsky 6ff72f6005 Add the M5Stack Unit CamS3 board (PR #102), README changes from PR #128, #133 and #137
- reset of the configuration on GPIO8, NeoPixel flash disabled, USB CDC console
- fw_build.sh: ESP32-M5-Unit-CamS3.bin and m5stack-unit-cams3.zip
- documentation of the board from PR #102

Co-authored-by: pawelchcki <812891+pawelchcki@users.noreply.github.com>
Co-authored-by: Neeeflix <35348173+Neeeflix@users.noreply.github.com>
Co-authored-by: eric-distributed-spectrum <135993164+eric-distributed-spectrum@users.noreply.github.com>
Co-authored-by: Perchik <575397+Perchik@users.noreply.github.com>
2026-11-04 14:37:23 +01:00
Miroslav Pivovarsky 912ddc6832 Add the M5Stack Timer Camera board (PR #114)
- status LED on GPIO2, reset of the configuration on GPIO4, no SD card
- fw_build.sh: M5STACK_TIMERCAM.bin and m5stack-timercam.zip
- datasheets and pictures of the board

Co-authored-by: timmmmmmmmm <7316567+timmmmmmmmm@users.noreply.github.com>
2026-11-04 14:37:21 +01:00
Miroslav Pivovarsky dede66b69c WiFi: reconnect after the start without the network, no WiFi scan in the WiFi watchdog (PR #146)
Co-authored-by: bbouabou <6256196+bbouabou@users.noreply.github.com>
2026-11-04 14:37:19 +01:00
Miroslav Pivovarsky a9aa5636fd Fix broken stream frames, JSON of the web in PSRAM
- stream: a short frame is returned to the driver, the frame buffer is returned only when it is held
- web: JsonDocument and the serialized JSON in PSRAM, lower internal RAM usage
- WiFi: no needless STA disconnect after the service AP is turned off
2026-11-04 14:37:18 +01:00
Miroslav Pivovarsky 460b77f863 WiFi: Wi-Fi Enterprise (PEAP-MSCHAPv2) without certificate
- the web response is sent before the WiFi connect and the restart
2026-11-04 14:37:17 +01:00
Miroslav Pivovarsky f5fe311d43 Fix the firmware update from a file and the SD card status on the web, save the log before restart
- USB CDC console does not slow down the logger when the PC does not read it
2026-11-04 14:37:16 +01:00
Miroslav Pivovarsky 0109e99c14 web: fix the crash of /saved-photo.jpg, the photo is sent from a copy in PSRAM 2026-11-04 14:37:14 +01:00
Miroslav Pivovarsky 8bad94ce4f Lower internal RAM usage, stack usage of all tasks in the Verbose telemetry
- status LED blinks by esp_timer, the SystemLed task is removed
- loopTask ends after setup()
- build_opt.h: async_tcp stack 8 KB instead of 16 KB
- about 20 KB more free internal RAM on ESP32 and ESP32-S3
2026-11-04 14:37:13 +01:00
Miroslav Pivovarsky 096b5860c6 SD card: logging through a queue and a logger task
- log messages go to a ring buffer in PSRAM, only the logger task writes to the console and to the card
- new log file SysLog_NNNN.log for each start, rotation, up to LOGS_FILE_MAX_COUNT files
- detection of a removed and a full card, /get_logs reads the file in parts
- ENABLE_SD_CARD_HOTPLUG: the card is reconnected at runtime only on ESP32-S3, SD_MMC begin/end at runtime broke the camera on ESP32
- token and WiFi password are masked in the log
- camera: reinit of the camera module after repeated failed captures, it was never called
2026-11-04 14:37:12 +01:00
Miroslav Pivovarsky ae39a171e5 Migrate to arduino-esp32 3.3.12 (ESP-IDF 5.5.5) and new libraries
- ESPAsyncWebServer 3.12.1, AsyncTCP 3.5.0, ArduinoJson 7.4.3, DHTnew 0.5.5
- mbedTLS allocations of the TLS buffers in PSRAM, TLS failed without internal RAM
- adapted to the new API and behavior of the core and libraries
2026-11-04 14:37:09 +01:00
Miroslav Pivovarsky bccdc62476 web: Wi-Fi Enterprise settings on the Wi-Fi page (preparation)
- library versions in the sketch header
2026-11-04 14:37:08 +01:00
Miroslav Pivovarsky 147a6a6b68 WiFi: readable names of the WiFi events in the log 2026-11-04 14:37:07 +01:00
Miroslav Pivovarsky 9a1fea3d51 web: show the firmware file of the board on the System page 2026-11-04 14:37:06 +01:00
Miroslav Pivovarsky 78b4a91986 WiFi: connect to hidden WiFi networks 2026-11-04 14:37:05 +01:00
Miroslav Pivovarsky 8dd9cf66e9 fix typo 2025-01-02 20:18:19 +01:00
Miroslav Pivovarsky 5608b4c4c4 added ESP32-S3 WROOM Freenove board 2025-01-02 20:16:52 +01:00
Miroslav Pivovarsky df58d5d5cb update libs 2025-01-02 20:16:06 +01:00
Miroslav Pivovarsky 80711f9722
Update mcu_cfg.h 2025-01-02 20:12:03 +01:00
Miroslav Pivovarsky d7e39a1a4d
Merge pull request #92 from muesli/bump-version
Bump to v1.1.1
2025-01-02 20:08:52 +01:00
Miroslav Pivovarsky e93f7ee0e4 update pinout for ESP32-S3 wroom Freenove 2024-12-28 12:55:25 +01:00
Miroslav Pivovarsky 999968ef94 Added support for ESP32-S3 Wroom Freenove 2024-12-27 23:34:48 +01:00
Miroslav Pivovarsky 8180aa84c0 update libs 2024-12-27 23:33:40 +01:00
Christian Muehlhaeuser 7a90f47a1e Bump to v1.1.1 2024-12-03 00:08:31 +01:00
Miroslav Pivovarsky 607c768832 update jquery lib to 3.7.1 2024-11-26 21:58:18 +01:00
Miroslav Pivovarsky 41fad4bcd3 change stack size 2024-11-26 21:57:49 +01:00
Miroslav Pivovarsky 1e22640cdf update tasks stack size 2024-11-20 21:15:18 +01:00
Miroslav Pivovarsky d55035b31a Added FW version in the info message for the Prusa Connect 2024-11-20 21:14:27 +01:00
Miroslav Pivovarsky d9394e4c6b Update libs. arduino-esp32, ESPAsyncWebServer, AsyncTCP, ArduinoJson, DHTnew 2024-11-20 21:13:53 +01:00
Miroslav Pivovarsky cf6af3958f regenerate WebPage.h 2024-11-20 21:13:00 +01:00
Zev Eisenberg 4edd60f1c3 Clarify comments. 2024-10-21 22:52:59 -04:00
Zev Eisenberg 39f10d23df Fix copypasta action comment. 2024-10-21 22:51:15 -04:00
Zev Eisenberg b29b541eb3 Add newline at end of file. 2024-10-21 22:31:03 -04:00
Zev Eisenberg a80b349576 Wording. 2024-10-21 22:30:56 -04:00
Zev Eisenberg 49c4bb80fe Pluralize seconds. 2024-10-21 22:23:28 -04:00
Miroslav Pivovarsky 9bd5861a0c updated arduino-esp32 to 3.0.4 2024-08-05 18:23:57 +02:00
Miroslav Pivovarsky 218a3cb02d updated WiFi WDG 2024-08-03 21:47:15 +02:00
Miroslav Pivovarsky be284668b1 update arduino-esp32 to 3.0.3 2024-08-03 21:44:39 +02:00
Miroslav Pivovarsky 627b951155 added serial command loglevel 2024-08-03 21:44:09 +02:00
Miroslav Pivovarsky 6bf260b72c Added a parameter to disable password checks for WiFi AP networks that are not encrypted. 2024-07-31 21:26:34 +02:00
Miroslav Pivovarsky 71de485127 added help 2024-07-31 21:00:26 +02:00
Miroslav Pivovarsky d1949c0159 update docu 2024-07-12 23:36:35 +02:00
Miroslav Pivovarsky 220573519a update 2024-07-12 22:00:01 +02:00
Miroslav Pivovarsky 3f85abd5f3 update cfg for the ESP32-S3-cam board 2024-07-12 21:58:19 +02:00