This Tutorial is a demo of how to use ArduCAM Mini 2MP/5MP camera module
on ArduCAM ESP8266 UNO.
- This demo needs:
ArduCAM ESP8266 UNO Board(x1),
ArduCAM Mini 2MP camera module(x1).
- Getting Started ESP8266 with Arduino IDE
1.Installing with Boards Manager Install Arduino 1.6.8 from the Arduino website.Starting Arduino and open Preferences window and entering the following link into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas:
Open Boards Manager from Tools ->Board menu and install ArduCAM_ESP8266_UNO addon package.
- Note if you download failed, you need to delete the C:\Users\Your computer name\AppData\Local\Arduino15\ folder, and then restart the Arduino IDE, repeat the above operation.
2.Using Arduino IDE After installation of ArduCAM ESP8266 UNO board add-on package, you can select this board from the Tool->Board menu.
And there several ready to use examples from the File->Examples->ArduCAM.You can use these examples directly or as a starting point to develop your own code.
Select ArduCAM_ESP8266_UNO board from Tools->Board menu.
Select the example from File->Examples->ArduCAM->ESP8266->ArduCAM_ESP8266_UNO_Capture
Configure the camera setting You need to modify the memorysaver.h file in order to enable OV2640_MINI_2MP or OV5642_MINI_5MP_PLUS or OV5640_MINI_5MP_PLUS camera modules.
Only one camera can be enabled at a time.The memorysaver.h file is located at C:\Users\Your computer name\AppData\Local\Arduino15\packages\ ArduCAM_ESP8266_UNO\hardware\ArduCAM_ESP8266_UNO\
3.There are 5 examples for both ArduCAM Mini 2MPand ArduCAM Mini 5MP camera modules. (ArduCAM ESP8266 V1 has been discontinued ).
ArduCAM_ESP8266_Capture:this example uses HTTP protocol to capture still or video over home wifi network from ArduCAM Mini 2MP/5MP and display on the web browser. You can change the value of wifiType to select Station or AP mode. If you use Station mode the ssid and password should be modifies before uploading.
After uploading, the board IP address is 192.168.4.1. You can figure out the IP address through the serial monitor.The default serial monitor baudrate setting is 115200bps.
From your PC , go to the WiFi setting page. You should see an Access Point (AP) which the SSID name “arducam_esp8266” on the AP scan result list. Choose the “arducam_esp8266″ AP to connect to it. This AP’s password is “”.
Finally, open the index.html or video.html, input the IP address obtained from the serial monitor then take pictures or videos. The html files are located at
C:\Users\Your computer name\AppData\Local\Arduino15\packages\ArduCAM_ESP8266_UNO\hardware\ArduCAM_ESP8266_UNO\
Also you can use ArduCAM_Host_V2.0_Windows Host app.You can download it on https://github.com/ArduCAM/Arduino/tree/master/ArduCAM/examples/host_app.
ArduCAM_ESP8266_V1_Capture2SD(or ArduCAM_ESP8266_V1_Capture2SD):this example takes time elapse still photos using ArduCAM Mini 2MP/5MP and then stored on the TF/SD card. The LED indicates when the TF/SD card is writing.
ArduCAM_ESP8266_V1_Video2SD(or ArduCAM_ESP8266_V2_Video2SD):this example takes motion JPEG video clips using ArduCAM Mini 2MP/5MP and then stored on the TF/SD card as AVI format,about 4 minutes to complete.