# Custom video streaming web server project - no output on serial monitor

**URL:** <https://forum.sunfounder.com/t/custom-video-streaming-web-server-project-no-output-on-serial-monitor/2628>\
**Category:** Learning kit for Arduino\
**Created:** [February 12, 2025, 11:19am UTC](https://forum.sunfounder.com/t/custom-video-streaming-web-server-project-no-output-on-serial-monitor/2628 "2025-02-12T11:19:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![pelso69](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@pelso69](https://forum.sunfounder.com/u/pelso69)\
**Post date:** [February 12, 2025, 11:19am UTC](https://forum.sunfounder.com/t/custom-video-streaming-web-server-project-no-output-on-serial-monitor/2628/1 "2025-02-12T11:19:16Z")

</div>

Hi - I have just tried to use the project “iot\_3\_html\_cam\_led” in the StarterKit. I uploaded the sketch successfully, after adding my SSID and Password and ensuring the baud rate is set correctly, but I get no output on the serial monitor - (it should output the URL for the webpage to view the camera stream).

I added a simple print statement in the loop() to check the serial output was working, and that worked fine. Any ideas why this isn’t working? I noticed the loop() is empty, which seems strange to me - is that an error in the sketch?

Thanks!

---

<div class="post-metadata">

**Author:** ![pelso69](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@pelso69](https://forum.sunfounder.com/u/pelso69)\
**Post date:** [February 12, 2025, 11:54am UTC](https://forum.sunfounder.com/t/custom-video-streaming-web-server-project-no-output-on-serial-monitor/2628/2 "2025-02-12T11:54:05Z")

</div>

As an update: I placed the code line startCameraServer(); in the loop() and I got this output repeatedly:

_ELF file SHA256: 39d21cd43_

_Rebooting…_

_��?qL�1[!aʄ])9q1!���9!�E (150) cam\_hal: cam\_dma\_config(301): frame buffer malloc failed_

_E (150) cam\_hal: cam\_config(390): cam\_dma\_config failed_

_E (150) camera: Camera config failed with error 0xffffffff_

_Camera init failed with error 0xffffffff_

_assert failed: xQueueSemaphoreTake queue.c:1709 (( pxQueue ))_

_Backtrace: 0x40082625:0x3ffb1ea0 0x4008cd7d:0x3ffb1ec0 0x400932ca:0x3ffb1ee0 0x4008d552:0x3ffb2010 0x400f87ca:0x3ffb2050 0x400e7d8a:0x3ffb2070 0x400f8d3d:0x3ffb2090 0x400f8d9d:0x3ffb20b0 0x400e6cfd:0x3ffb2100 0x4011040b:0x3ffb2120 0x400d2ac0:0x3ffb2190 0x400d2c6f:0x3ffb2250 0x400d7684:0x3ffb2270 0x4008d9f6:0x3ffb2290_

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [February 14, 2025, 3:33am UTC](https://forum.sunfounder.com/t/custom-video-streaming-web-server-project-no-output-on-serial-monitor/2628/3 "2025-02-14T03:33:15Z")

</div>

There should be two steps you have overlooked.  
Before you upload the code, enable PSRAM and set the partition scheme to Huge APP (3MB No OTA/1MB SPIFFS).  
After selecting the correct motherboard (ESP32 Dev Module) and port, click the “Upload” button.  
We explained this in 8.2 Camera Network Server. But in 8.3 Customizing the Video Streaming Web Server lesson, we did not add this point, which you may have overlooked, we will add these two steps in the tutorial later.

 ![image (13)](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/2X/d/da3031c429e6a2bcbf1eb99671416e337f9e5f3e.png)

 ![image (14)](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/2X/7/73a428e1b2806923ddb9e0fa186c2b1be73e7053.png)

---

<div class="post-metadata">

**Author:** ![pelso69](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@pelso69](https://forum.sunfounder.com/u/pelso69)\
**Post date:** [February 14, 2025, 11:55am UTC](https://forum.sunfounder.com/t/custom-video-streaming-web-server-project-no-output-on-serial-monitor/2628/4 "2025-02-14T11:55:40Z")

</div>

Thanks for the reply. I had already made those changes but with no success.

Can you tell me which camera module should be selected in the #defined list please? In other words, which camera module is supplied with the Sunfounder kit?

Thank you.

---

<div class="post-metadata">

**Author:** ![pelso69](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@pelso69](https://forum.sunfounder.com/u/pelso69)\
**Post date:** [February 14, 2025, 1:34pm UTC](https://forum.sunfounder.com/t/custom-video-streaming-web-server-project-no-output-on-serial-monitor/2628/5 "2025-02-14T13:34:29Z")

</div>

…by way of an update: I powered up my laptop and ESP board this morning and (making no changes at all to the code), it worked and gave me the ip address. I entered this address into Chrome and Safari browsers, but both said “Address unreachable”.

I then powered everything down, and powered up again to check for a consistent result, but unfortunately I again got the error “Camera init failed with error 0x105”. So I may have a flakey camera module?

Incidentally - there is no mention as to whether there should be a SD card in the board tat the camera module plugs into, so I assume it should work without one?

Thanks for any further advice you can give.

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [February 17, 2025, 2:42pm UTC](https://forum.sunfounder.com/t/custom-video-streaming-web-server-project-no-output-on-serial-monitor/2628/6 "2025-02-17T14:42:59Z")

</div>

1. After esp 32 successfully configures the network, the computer PC browser accesses the IP of esp 32 successfully configured, provided that the network of esp 32 successfully configured and the computer’s network should be in the same LAN, in order to have normal access.  
For example, your esp 32 network IP is 192.168.1.0, while the computer’s IP is 192.168.1.8, in order to access normally. If your computer’s IP is 192.168.2.1, you can’t access it.
2. Right. Whether the expansion board has an SD card inserted or not has nothing to do with the camera function, they are two functions.
3. Our camera is: ESP32-CAM for 75mm 66 degree OV2640 camera.
4. Please make sure the camera is firmly connected to the expansion board.

---

<div class="post-metadata">

**Author:** ![pelso69](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@pelso69](https://forum.sunfounder.com/u/pelso69)\
**Post date:** [February 18, 2025, 2:58pm UTC](https://forum.sunfounder.com/t/custom-video-streaming-web-server-project-no-output-on-serial-monitor/2628/7 "2025-02-18T14:58:06Z")

</div>

Thanks for the response. The cameras listed in your code are as follows:

> Blockquote

#define CAMERA\_MODEL\_WROVER\_KIT // Has PSRAM

//#define CAMERA\_MODEL\_ESP\_EYE // Has PSRAM

//#define CAMERA\_MODEL\_ESP32S3\_EYE // Has PSRAM

//#define CAMERA\_MODEL\_M5STACK\_PSRAM // Has PSRAM

//#define CAMERA\_MODEL\_M5STACK\_V2\_PSRAM // M5Camera version B Has PSRAM

//#define CAMERA\_MODEL\_M5STACK\_WIDE // Has PSRAM

//#define CAMERA\_MODEL\_M5STACK\_ESP32CAM // No PSRAM

//#define CAMERA\_MODEL\_M5STACK\_UNITCAM // No PSRAM

//#define CAMERA\_MODEL\_M5STACK\_CAMS3\_UNIT // Has PSRAM

//#define CAMERA\_MODEL\_AI\_THINKER // Has PSRAM

//#define CAMERA\_MODEL\_TTGO\_T\_JOURNAL // No PSRAM

//#define CAMERA\_MODEL\_XIAO\_ESP32S3 // Has PSRAM

// \*\* Espressif Internal Boards \*\*

//#define CAMERA\_MODEL\_ESP32\_CAM\_BOARD

//#define CAMERA\_MODEL\_ESP32S2\_CAM\_BOARD

//#define CAMERA\_MODEL\_ESP32S3\_CAM\_LCD

//#define CAMERA\_MODEL\_DFRobot\_FireBeetle2\_ESP32S3 // Has PSRAM

//#define CAMERA\_MODEL\_DFRobot\_Romeo\_ESP32S3 // Has PSRAM

> Blockquote

Can you tell me which of these is the correct camera to choose please?

---

<div class="post-metadata">

**Author:** ![pelso69](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@pelso69](https://forum.sunfounder.com/u/pelso69)\
**Post date:** [February 18, 2025, 3:33pm UTC](https://forum.sunfounder.com/t/custom-video-streaming-web-server-project-no-output-on-serial-monitor/2628/8 "2025-02-18T15:33:55Z")

</div>

I have used AI Thinker Camera, as I see the new sketch on the SunFounder page has this camera selected.

I get the IP address, and when I go there I get this display: This is not the same as the page you show so I am wondering what to do next?

 ![Screenshot 2025-02-18 at 15.30.53](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/2X/5/5b81c36e3702128b5c58b0f280a1f093cfeb23d4.jpeg)

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [February 20, 2025, 3:29pm UTC](https://forum.sunfounder.com/t/custom-video-streaming-web-server-project-no-output-on-serial-monitor/2628/9 "2025-02-20T15:29:27Z")

</div>

After you accessed the webcam, the page did not display the image, we recommend refreshing the page to see if the image can be displayed properly?  
.  
It is recommended to work with our configured webcam.
