Elegoo smart car v4.0 wifi connnection issue

Hello,

I received an Elegoo smart car 4.0 for Christmas but the wifi would never show up. So I downloaded Arduino and the program files from Elelgoo so I could reinstall everything. There are 2 programs that I see, "Main Program (Ardunio UNO)" & "Code of camera (ESP32)".

I opened and uploaded the "main program" with no issues or errors. But when I uploaded the "code of camera" I got the error below. I've read that the wifi is part of the camera, so maybe this is the issue?

Now that I tried to upload the camera code, my robot is no longer working. It's just making a buzzing noise at me. please help, thanks!

Files location for Elegoo programs

https://drive.google.com/drive/folders/1FmqoM8KrJYJkFXHQnQBTL6xnNQ4cgTCa

And here is the error text that i copied

Arduino: 1.8.19 (Windows 10), Board: "Arduino Uno"

In file included from C:\Users\Home\Documents\ELEGOO Smart Robot Car Kit V4.0 2021.12.24\02 Manual & Main Program & APP\04 Code of Carmer (ESP32)\ESP32-WROVER-Camera\ESP32_CameraServer_AP_20211130\ESP32_CameraServer_AP_20211130.ino:10:0:
CameraWebServer_AP.h:12:10: fatal error: esp_camera.h: No such file or directory
#include "esp_camera.h"
^~~~~~~~~~~~~~
compilation terminated.
exit status 1
esp_camera.h: No such file or directory

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

1 Like

You are missing an "esp_camera" library. Did they include one?

It looks like the code is based on an older version of the ESP32 core, specifically:
File->Examples->ESP32->Camera->CameraWebServer

Try compiling that example.

Hi. I just got there.
You need to register the right board in the Arduino IDE, the AI Thinker ESP32-CAM, which you get from getting an updated list of boards from ESP32 Espressif, the original creator of the board (I guess). You add this link in the Preferences as Additional Boards Manager:
https://dl.espressif.com/dl/package_esp32_index.json
(a lil' Arduino IDE restart can help)
Then a board partition scheme will appear in tools, select HUGE APP instead of the default one (or the sketch will be too big).
(I may miss a part where you look up for the ESP Camera, but too be honest I can't remember if I installed it myself afterward or got it provided automatically).

Edit: got the wrong ESP32 board originally, fixed that. Also: I'm still struggling to upload this myself, so that's just one step solved.

I am having trouble ESP32 Camera for elegoo smart car V4 keeps coming up

ESP32_CameraServer fatal error: CameraWebServer_AP.h: No such file or directory

Arduino: Board: "AI Thinker ESP32-CAM, 240MHz (WiFi/BT), QIO, 80MHz"

ESP32_CameraServer:10:32: fatal error: CameraWebServer_AP.h: No such file or directory.
please help

I opened File -> Examples -> ESP32 -> Camera -> CameraWebServer example and it uses:
#include "esp_camera.h"
Maybe they changed the ESP32 #include files since that sketch was written.

Find this file "WiFi fix program for camera module.zip" it's to big or I would upload it.

Check this link: "Camera module FAQ.pdf - Google Drive"

Connect the module to your Arduino IDE and follow these notes from the supplied "Notes.txt" in the above zip.

// WARNING!!! Make sure that you have selected Board ---> ESP32 Dev Module
// Partition Scheme ---> Huge APP (3MB No OTA/1MB SPIFFS)
// PSRAM ---> enabled

From the zip file open the folder for the WiFi channel you want to use and then open "ESP32_CameraServer_AP_20220120.ino" from that folder with Arduino IDE. Compile and download.

You now see a flashing green light until a device connects to this webserver.

Look for an SSID like "ELEGOO-xxxxxxxxxx" where xxx is like a MAC address

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.