Commit Graph

193 Commits (0c78dd54e4557f46998014cc040fb41d35d5ac4d)

Author SHA1 Message Date
Miroslav Pivovarsky 0c78dd54e4 camera, web: Refresh Snapshot captured by the photo task 2026-11-04 14:37:39 +01:00
Miroslav Pivovarsky cbe39aa9c7 OTA: ISRG Root X1 and Root YR certificates, larger stack for the firmware download from GitHub
- github.com redirects the download to release-assets.githubusercontent.com with a Let's Encrypt certificate
- SystemNtpOtaUpdate task stack 6400 B
2026-11-04 14:37:37 +01:00
Miroslav Pivovarsky fa119db7e4 web: HTML and CSS with no-cache and ETag of the build 2026-11-04 14:37:36 +01:00
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 9c20dc65ed fw_build: fix the comments in the header (PR #130)
Co-authored-by: muesli <146378+muesli@users.noreply.github.com>
2026-11-04 14:37:19 +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 db0112e9c2
Update README.md 2025-01-02 21:28:35 +01:00
Miroslav Pivovarsky 9a70b1c31b update picture 2025-01-02 21:27:35 +01:00
Miroslav Pivovarsky d42ba99511 added picture 2025-01-02 21:19:43 +01:00
Miroslav Pivovarsky 0b1f3b75cd
Merge pull request #67 from devsfan3/patch-1
Update README
2025-01-02 21:01:26 +01:00
Miroslav Pivovarsky 8dd9cf66e9 fix typo 2025-01-02 20:18:19 +01:00
Miroslav Pivovarsky 10cb00fdcd update build script 2025-01-02 20:17:04 +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 5888e42c9d
Update README.md 2024-12-28 13:05:06 +01:00
Miroslav Pivovarsky 1770b0bc62
Update README.md 2024-12-28 13:03:55 +01:00
Miroslav Pivovarsky 734fe6325b Updated documentation for ESP32-S3 WROOM Freenove 2024-12-28 12:58:21 +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 aebd048651 Merge branch 'master' of https://github.com/prusa3d/Prusa-Firmware-ESP32-Cam 2024-11-26 21:58:37 +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 5d0527e7a2
Merge pull request #89 from muesli/readme-link
Fix Freenove ESP32-S3 link
2024-11-25 16:59:27 +01:00
Christian Muehlhaeuser bc8d613edb Fix Freenove ESP32-S3 link 2024-11-22 02:44:43 +01:00
Miroslav Pivovarsky 78ed136785 update readme 2024-11-20 21:15:35 +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