KS5001 ESP32-CAM Development Board WiFi+Bluetooth Module with OV2640 Camera (Black and Eco-friendly): Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
Line 8: Line 8:


ESP-32CAM adopts DIP sealed package and can be used directly by plug-in, realizing the rapid production of products, providing customers with high-reliability connection methods, in support for various IoT hardware terminal occasions. <br>
ESP-32CAM adopts DIP sealed package and can be used directly by plug-in, realizing the rapid production of products, providing customers with high-reliability connection methods, in support for various IoT hardware terminal occasions. <br>


* Adopt low-consumption, double core 32 bit CPU, can be taken as a application processor.
* Adopt low-consumption, double core 32 bit CPU, can be taken as a application processor.

Revision as of 10:08, 7 January 2022


5001-1.png

Description

ESP32-CAM has a very competitive small-size camera module in the industry. It can work independently as the smallest system, with a size of only 27*40.5*4.5mm, and a deep sleep current as low as 6mA.
ESP-32CAM can be widely used in various IoT applications, home smart devices, industrial wireless control, wireless monitoring, QR wireless identification, wireless positioning system signals and other IoT applications.

ESP-32CAM adopts DIP sealed package and can be used directly by plug-in, realizing the rapid production of products, providing customers with high-reliability connection methods, in support for various IoT hardware terminal occasions.


  • Adopt low-consumption, double core 32 bit CPU, can be taken as a application processor.
  • The main frequency is up to 240MHz, and the computing power reaches to 600 DMIPS.
  • Built-in 520 KB SRAM,external 8MB PSRAM.
  • Compatible with UART/SPI/I2C/PWM/ADC/DAC ports.
  • Support OV2640 and OV7670 cameras,with a built-in flashing light.
  • Support TF card, multiple sleep modes, WIFI upload and STA/AP/STA+AP working mode.
  • Built-in Lwip and FreeRTOS.
  • Support Smart Config/AirKiss smart config.
  • Support second development.


5001-2.png

图片3(2).png

Parameters:

  • Power supply range: 5V
  • Working current: 2A
  • Deep sleep current: 6mA
  • Product size: 27mm * 40.5mm

Connection Diagram


5001-4.png

5001-5.png

Step 1: wire up the USB to serial module and the ESP32-CAM development board
5001-6.png

Step 2: Insert the camera and a SD card into the ESP32-CAM development board, and interface the external power wire of the ESP32-CAM board with the control board.(USB cable can’t supply large current to drive the development board, thus, the external power more than 5V 500mA is needed.)
5001-7.png

Step 3:Connect the external DC power to the control board, MINI USB to the USB to serial module
5001-8.png

Set up the test environment:
If you find5001-9.pngin the board type of the Arduino IDE, you can skip to set up the environment.

Configure esp32:Go to Arduino-->File-->Preferences +comma,
Configure ESP url
Copy “https://dl.espressif.com/dl/package_esp32_index.json”to “Additional Board Manager URLs”


5001-10.png


5001-11.png

Configure the development board:Open Tools-->Board: “Arduino UNO”-->Boards Manager)
Search esp32 to select the version and install it;)


5001-12.png

5001-13.png

5001-14.png

If the installing is successful, you can find ESP32 Wrover Module, as shown below;

5001-15.png

Programming

Step 1: Through the short circuit between IO0 and GND on ESP32-CAM board, the module is activated to program.


5001-16.png

Step 2:make sure the parameters of serial port and board type correct
5001-17.png

Select sample


5001-18.png

Modify the camera type: change into esp32-cam


5001-19.png

Configure WiFi:


5001-20.png

Compile:


5001-21.png

Click5001-22.png and the IDE shows connecting....______ , then press the reset button of the ESP32-CAM board to upload test code


5001-23.png

5001-24.png

If the IDE shows the following picture as follows, the test code is uploaded successfully. After programming, open serial monitor in the upper right corner of the Arduino.


5001-25.png

Test

Select 11500 baud rate, remove IO0 and GND wire. Press reset button, LED indicator will flash. If fail to connect WiFi, press the reset button again.


5001-26.png

5001-27.png


Step 1: connect the computer to the development board though WiFi, and paste the above displayed IP address in the searching box of Google or Foxfire browser. (Other browsers may not compatible)


5001-28.png


Step 2: set the parameters as follows and click Start Stream. Then the camera will start work, the WiFi module will heat and serial port will display numerous communication data. You don’t need to worry about.


5001-29.png


Test Result

The video screen will appear Note: IP address should be displayed normally on serial monitor, the camera should be wired up and video screen is clear.

Note:

  • 1.The input power is least 5V 2A; otherwise pictures will show abnormally
  • 2.ESP32 GPIO32 pin controls the power of the camber; when the camera works, pull down GPIO32.
  • 3.As IO0 is connected to XCLK, hang the IO0 and avoid connecting high or low levels when using it.
  • 4.The default firmwares are included when delivered from factory, yet we don’t provide the way to download them. Please be cautious about operation if programming other firmwares.

More Tutorials:

For more details, click the following link:

https://aithinker.blog.csdn.net/article/details/108000974