Skip to content

1.0.2 Firmware for ESP32-cam

Compare
Choose a tag to compare
@johnyHV johnyHV released this 19 May 10:54
· 88 commits to master since this release

Summary


  • Fixed bug with RAM allocation.
  • Fixed bug with video stream
  • Added another WiFi network configuration
  • Added more command for camera configuration from serial console
  • Changes in the method of sending photos
  • Used mDNS record as camera name in the Prusa Connect
  • Bug fixes

This is a stable version for the ESP32-cam

Fixed bug with RAM allocation


Version of the firmware 1.0.1 had an issue with RAM memory allocation. So in this FW version, the WEB server on the camera had to be turned off, and then turned on again after sending the image to Prusa Connect. Concurrently, the stability and speed of the firmware were improved.

Fixed bug with video stream


The previous error also caused the video stream to malfunction. Currently, the video stream work at the address http://IP/stream.mjpg. The number of frames per second (FPS) depends on the quality of the Wi-Fi connection and the image resolution. Lower image resolution results in higher FPS. During an open video stream, the web server and all other camera functionalities remain operational.

From my testing, I found that at the maximum resolution of 1600x1200, I achieved approximately 3 FPS. However, at a resolution of 1024x768, I attained approximately 6-7 FPS.

Added another WiFi network configuration


In the Wi-Fi settings tab, under Advanced Wi-Fi settings, additional advanced Wi-Fi configuration options have been added.

Now, an option to turn off the service AP upon ESP32-CAM startup is available. After resetting the ESP32-CAM configuration to factory settings, the service AP is automatically enabled.

Additionally, a feature enabling the use of a static IP address for the camera on the Wi-Fi network to which the camera connects has been implemented.

The first step involves setting the IP addresses, followed by switching the setting from DHCP to a static IP address, and finally restarting the MCU.

It is necessary to clear the cache in the browser for the changes to take effect. The cache interval is set to 24 hours, meaning it is automatically deleted after 24 hours.

Added more command for camera configuration from serial console


Several additional parameters have been added for configuring the camera via the serial interface.

Changes in the method of sending photos

The previous method of sending photos caused incomplete photo transmission to Connect. The new method should resolve this issue.

Used mDNS record as camera name in the Prusa Connect

The camera name that was displayed in Prusa Connect was a static value. Currently, the mDNS record is used as the camera name.

Bug fixes


Several other errors were fixed. Additional logging was added, for better analysis. Thanks @Anheledir and @JimBim89 for the bug fix