TA0670 ESP32 DEVELOPMENT BOARD WITH OV2640 CAMERA MODULE WI-FI & BLUETOOTH FOR ARDUINO

Author: Aus Electronics Direct   Date Posted:18 March 2022 

TA0670 ESP32 DEVELOPMENT BOARD WITH OV2640 CAMERA MODULE WI-FI & BLUETOOTH FOR ARDUINO

Connection Diagram

1. Build ESP32 Development environment

Build the environment: https://esp-idf.readthedocs.io/zh_CN/latest/get-started/index.html

Operations in virtual machine:

To help developers to get started easily, we integrate esp32 and esp8266 into lubuntu 32bit virtual machine. Please open the virtual machine on VMware12 environment above. Users need to download it by themselves.

Virtual machine setting recommendation

  • 2-core CPU
  • 1G memory at least
  • Virtual machine account: ai-thinker
  • Password: aithinker

Functions

  • Integrate ESP32 and ESP8266
  • Support one-click update

Operations steps

  • Download image, virtual machine image address: http://download3.dfrobot.com.cn/files/lubuntu_esp32_v2.0.7z

  • Install VMware12, open VMware software, import the virtual machine image

  • Open LX terminal, enter catelogue: /home/ai-thinker/esp_demo/hello_world                                                                               

  • Input make menuconfig, revise serial port at Serial flasher config→Default serial port

  • Input make help to check compiling instruction.

  • Input make-j5 to compile source codes.

  • Plug the esp32 module, connect to computer when detecting serial tool, and input command make flash monitor. then you can download binary files to esp32 moddule and check the serial port debug information.

Note: do not change the files in /home/ai-thinker/esp catelogue, otherwise compiling error may happen.

The version of esp-idf used in this demo is 3.01-c(c2b39f4a5f4234d3276bec40d42132589739d655) Download address: https://github.com/espressif/esp-idf/releases/tag/v3.0.1-rc

2. Download

3. Revise parameters

Input "make menuconfig", configure WIFI and Camera parameters.

4. Open file app_main.c, revise CAMERA_FRAME_SIZE, MERA_FRAME_SIZE(picture size) macro define(default configure JPEG)

5. Input "make flash monitor" onto terminal, compile the project and burn.

6. Check the serial port information or module IP information. Input http://module ip address+"/jpg to get the image, and please make sure that your computer and module are in the same LAN.

For example, the address the module got is 192.168.40.148.

Input "http://192.168.40.148/jpg" into the broswer, then you can get the image information.

 

 

 

 

 

 


Leave a comment

Comments have to be approved before showing up