(SKU: B0082)ArduCAM ESP8266 UNO

From UCTRONICS
Revision as of 09:58, 20 April 2018 by Uctronics (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
ArduCAM ESP8266 UNO
Manufacturer   Arducam
Item Weight   0.8 ounces
ASIN   B01ESRYA2Y
first available   April 25, 2016

ArduCAM now released a ESP8266 based Arduino board for ArduCAM mini camera modules while keeping the same form of factors and pinout as the standard Arduino UNO R3 board. The high light this ESP8266 board is that it well mates with ArduCAM mini 2MP and 5MP camera modules, supports Lithium battery power supply and recharging and with build in SD card slot. It can be an ideal solution for home security and IoT camera applications.

  • ESP8266 UNO based Arduino board for Arducam mini camera modules while keeping the same form of factors and pinout as the standard Arduino UNO R3 board
  • Build in ESP8266-12E Module
  • Interface specially designed for Arducam mini module camera shield with OV2640 2 megapixels lens (ASIN:B012UXNDOY) / OV5642 5 megapixels lens (ASIN:B013JUKZ48), not included
  • 11 digital input/output pins, IO ports are 3.3V tolerant
  • 1 analog input(3.2V max input)


Pictures

Hardware

Features

  • Build in ESP8266-12E Module
  • 11 digital input/output pins, IO ports are 3.3V tolerant
  • 1 analog input(3.2V max input)
  • ArduCAM Mini 2MP/5MP camera interface
  • Lithium battery recharging 3.7V/500mA max
  • Building in SD/TF card socket
  • 7-12V power jack input
  • Build in micro USB-Serial interface
  • Compatible with Arduino IDE

Pin Definition

ESP8266-2.png
Note that the SD/TF card CS pin is shared with UART TX signal, so the UART and the SD/TF can’t be used at the same time.



ESP8266-3.png
The board has build in Lithium battery charger, which accepts default 3.7V/500mA Lithium battery. The charging indicator and charging current setting can be found from the Figure.

Software

ESP8266 UNO Tutorial

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)

Step1:Installing with Boards Manager

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:

http://www.arducam.com/downloads/ESP8266_UNO/package_ArduCAM_index.json
ESP8266-4.1.1.jpg

Note that the installed package source file is located in the C:\Users\Your computer name\AppData\Local\Arduino15\ folder,here is C:\Users\zk109\AppData\Local\Arduino15\ for example.

Open Boards Manager from Tools ->Board menu and install ArduCAM_ESP8266_UNO addon package.

ESP8266-4.1.2.jpg



ESP8266-4.1.3.jpg

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.

ESP8266-4.1.4.jpg

Step2:Using Arduino IDE

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.

ESP8266-4.2.1.jpg

Select the example from File->Examples->ArduCAM->ESP8266->ArduCAM_ESP8266_UNO_Capture

ESP8266-4.2.2.jpg

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\2.2.2\libraries\ArduCAM

ESP8266-4.2.3.jpg

Demos

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.

ESP8266-4.3.1.jpg

AP mode: 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.

ESP8266-4.3.2.jpg

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 “”.

ESP8266-4.3.3.jpg

You have three ways to see the video streaming :

  • 1. Use the index.html

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\2.2.2\libraries\ArduCAM\examples\ESP8266\ArduCAM_ESP8266_Capture\html_2640

ESP8266-4.3.4.jpg
  • 2. Use ArduCAM_Host_V2.0_Windows Host app.

You can download it on

https://github.com/ArduCAM/Arduino/tree/master/ArduCAM/examples/host_app.
ESP8266-4.3.5.jpg
  • 3.Use Arducam.apk
Arducam.apk.png

For detail operations, please refer to the video demos:

https://www.youtube.com/watch?v=n1dDGNpbxGM&feature=youtu.be
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.

Trouble Shooting