Search found 14 matches

by esp_man
Tue Sep 26, 2023 8:25 am
Forum: ESP32 Arduino
Topic: ESP_CAM webpage code.
Replies: 17
Views: 11303

Re: ESP_CAM webpage code.

One more thing. I want simplify the html code to make the webpage window smaller (remove unnecessary buttons). But when I made any small change, html code stop working (webpage appears, but buttons don't works). So I took a close look to original code, and discovered something strange to me: <div cl...
by esp_man
Sat Sep 02, 2023 7:36 am
Forum: ESP32 Arduino
Topic: Is it possible to modify the final binary image before uploading to esp32?
Replies: 5
Views: 5585

Re: Is it possible to modify the final binary image before uploading to esp32?

tanmanh0707 wrote:
Thu Aug 31, 2023 10:30 am
Thank you for your suggestion. I did and there are 2 differences
- 32 bytes from 0xB0 to 0xCF
- The last 32 bytes
So You know now where the CRC may be.
There are online pages where you can check what CRC is used (you upload a file there).
by esp_man
Sat Sep 02, 2023 7:33 am
Forum: ESP32 Arduino
Topic: ESP32-CAM. TG1WDT_SYS_RESET.
Replies: 2
Views: 3819

Re: ESP32-CAM. TG1WDT_SYS_RESET.

Thank you for your answer. I checked, and unfortunately your solution doesn't work for me. I'm more interested in how to detect what is causing the problem. Not even what causes the problem here, but how to detect what causes problems in general (so that I can detect it myself next time). Half year ...
by esp_man
Tue Aug 29, 2023 10:09 am
Forum: ESP32 Arduino
Topic: Is it possible to modify the final binary image before uploading to esp32?
Replies: 5
Views: 5585

Re: Is it possible to modify the final binary image before uploading to esp32?

This should be possible if You also edit CRC properly. First of all, You should locate where this CRC is. For example, complie two programs. One with: unsigned char template_string[] = "This-is-template-string"; The second one with: unsigned char template_string[] = "This-is-modified-string"; And ne...
by esp_man
Sun Aug 27, 2023 1:22 pm
Forum: ESP32 Arduino
Topic: ESP32-CAM. TG1WDT_SYS_RESET.
Replies: 2
Views: 3819

ESP32-CAM. TG1WDT_SYS_RESET.

Hello. I have some troubles with modified CameraWebServer template. Not important in this moment, because I noticed that the original project has this problem too. Module don't want to connect without some resets: rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee cl...
by esp_man
Mon Aug 21, 2023 7:07 am
Forum: ESP-IDF
Topic: Does ESP32-S3 support raw data from CMOS Camera?
Replies: 1
Views: 924

Re: Does ESP32-S3 support raw data from CMOS Camera?

https://www.espressif.com/sites/default ... eet_en.pdf
Datasheet says:
CI.gif
CI.gif (4.49 KiB) Viewed 815 times
But 400x400 is sufficiently low resolution to make conversion programmatically.
by esp_man
Thu Mar 30, 2023 8:07 am
Forum: ESP32 Arduino
Topic: ESP_CAM webpage code.
Replies: 17
Views: 11303

Re: ESP_CAM webpage code.

I installed Arduino IDE 2.0, but it changed nothing with this issue. So I wrote function in CameraWebServer.ino file: void write_LED(int channel, int value) { ledcWrite(channel, value); } Declare it as external in cpp file: external void write_LED(int channel, int value); And it compiles without err...
by esp_man
Tue Mar 28, 2023 6:00 pm
Forum: ESP32 Arduino
Topic: ESP_CAM webpage code.
Replies: 17
Views: 11303

Re: ESP_CAM webpage code.

Yes, I have correct settings. Without this line code compiles properly and works on real hardware.
Also, as I previously said, all PWM functions compiles properly and works in the same project if it is used in CameraWebServer.ino file.
by esp_man
Tue Mar 28, 2023 4:16 pm
Forum: ESP32 Arduino
Topic: ESP_CAM webpage code.
Replies: 17
Views: 11303

Re: ESP_CAM webpage code.

I am assuming you have setup this LED elsewhere (ledcSetup / ledcAttachPin). Yes, as I wrote in post #6: is in the *.ino file in setup() function. What's the point of the "LED_R" variable? Only for future use. ledcWrite(0, val) don't want to work too. Or even: ledcWrite(0, 100); Don't work only bec...
by esp_man
Tue Mar 28, 2023 3:28 pm
Forum: ESP32 Arduino
Topic: ESP_CAM webpage code.
Replies: 17
Views: 11303

Re: ESP_CAM webpage code.

Adding this lines in cpp file is sufficient to reproduce the issue: At the beginning (line ~75): int LED_R; Lines ~840...850 (cmd_handler function): else if (!strcmp(variable, "contrast")) res = s->set_contrast(s, val); else if (!strcmp(variable, "LED_R")) { LED_R = val; ledcWrite(0, LED_R); } else ...