![]() ![]() You can safely remove the connection between GPIO0 and GND on the ESP32-CAM to exit writing (uploading) mode so that you can run your code and communicate freely using the serial connection through the ESP8266. After compiling you should see output from esptool.py printed in red showing that connection was established and if everything is alright showing upload progress. Don't worry if the compiling is taking a lot of time. To contain the ssid and password for your Wi-Fi.Īfter that upload the code to your board by clicking the Upload button (looks like a right arrow). Then you should change the lines const char* ssid = "*********" Again on most Chinese ESP32-CAM boards with OV2640 camera that is the line: #define CAMERA_MODEL_AI_THINKER ![]() There you should comment all models except the one that comes with your ESP32-CAM. There my favorite example (and the most impressive one) is the Camera > CameraWebServer.Īfter the example has opened locate the line where it says "Select camera model". To do this go to File > Examples > ESP32. ![]() Now let's open an example from the esp32 library. Most Chinese ESP32-CAM boards correspond to "AI Thinker ESP32-CAM" but yours may be different so make sure you select the right option here. You also have to choose a board by selecting Tools > Board >. Then go to Tools > Port in the Arduino IDE and select that port. Note: As a prerequisite to this step you need to have Arduino IDE installed as well as the ESP32 add-on.Īfter you've successfully connected all the pins from the first step it's time to plug the USB cable into the ESP8266 and into your PC.įirst, you have to locate which port is the serial connection to the ESP8266, and by extension the ESP32-CAM, established on. ![]()
0 Comments
Leave a Reply. |