ArduCAM Mini ESP8266 Web Camera

101,705

147

53

Introduction: ArduCAM Mini ESP8266 Web Camera

About: Will write code for food. :) If you need help with any of your embedded Arduino applications please send me a message.

This video demonstrates using an ArduCAM Mini with an ESP8266-12E development board. The ESP8266 web interface allows jpeg files to be captured and stored to the onboard memory. The stored files can be accessed and displayed on a web browser. The interface also allows video streaming!

This little web camera can be used in many ways. A spy camera, time lapse camera, nanny cam, wildlife cam, etc. I'm planning on using as part of my high tech chicken coop security system: another project for another day!

Step 1: What You Need

Hardware

  • ArduCAM Mini module
  • ESP8266-12E module
  • Jumper wires, male/female

Software

Step 2: Source Code

This video illustrates the source code features of the Arduino IDE sketch. I had a hard time finding working source code examples so I decided to write my own. There includes a fix for common ArduCAM issues like dark image captures and blocky chopped distorted images. The application allows video capture and streaming to a web browser. It also allows capture to the onboard ESP8266 memory. These images are listed on the web browser where they can be viewed and downloaded.

If you've never used the Arduino IDE with an ESP8266-12E, you will need to import some libraries. The following video demonstrates how to get your ESP8266-12E connected to the Arduino IDE:

Step 3: Using the ArduCAM Mini Application

While the application is designed to be used as a stand alone web interface it can also be accessed by another web server. The stored images, live captures and streamed video can be accessed in several ways.

First, they can all be accessed directly on a web browser.

To embed in a web page an HTML image tag can be used:

I hope this helps you get started using the ArduCAM Mini with the ESP8266-12E.

Let me know if this helped you!

I'd love to hear how people are using the application.

Microcontroller Contest 2017

Participated in the
Microcontroller Contest 2017

Sensors Contest 2017

Participated in the
Sensors Contest 2017

1 Person Made This Project!

Recommendations

  • Pocket-Sized Speed Challenge

    Pocket-Sized Speed Challenge
  • Super-Size Speed Challenge

    Super-Size Speed Challenge
  • Audio Challenge 2020

    Audio Challenge 2020

53 Discussions

0
tkraspilabs
tkraspilabs

25 days ago

I tried with arducam mini 2mp plus , didn't success , any idea? thank

0
kruse648
kruse648

10 months ago

I have a arducam ov2640 mini "plus". Only difference between modules I could find on internet is it has more fifo memory 8m vs 384k of mini. Get only x, no image. Select mini as module since software won't let me select "plus". Using esp8266 modemcu2. Selected 4M flash.

2
L.D.T
L.D.T

Question 10 months ago on Step 3

I'm using an ArduCAM ESP8266 UNO Board loaded with your sketch and attached to an OV5642 Mini Module Camera. The sketch is set to "station" mode and I have not made any other changes. Everything works with no error messages, except I don't get an image on my webpage. All I get is "1.jpg" with a small "x" box and no image. This package works using the "ArduCAM_ESP8266_UNO_Capture" sketch. What am I missing?

Com Port Output.pngBrowser Webpage.png
0
bitcoinsharjah
bitcoinsharjah

10 months ago

Good tutorial,How to record live stream from esp to cloud or harddisk.

0
MohammadR68
MohammadR68

1 year ago

With esp 32 you can use ov7670

0
deepake2
deepake2

Reply 1 year ago

Thanks

0
Ko7Al
Ko7Al

3 years ago

Could it work as security cam?

Is it possible to send fotos to e-mail?

What have to be changed in the code?

Thanks, great job!

0
deepake2
deepake2

Reply 1 year ago

You can use raspberry pi or you can use gsm module

0
MohammadR68
MohammadR68

Reply 2 years ago

The answer can be yes but I don't know how

0
Bardia2002
Bardia2002

Question 2 years ago on Step 3

First off, I would like to say that I love your review. It is very informative, and has been very helpful.

However, the link for how to access the video stream is broken. How do you see and control a video stream from the arducam? This is for a very large project. I am controlling a robot with an arduino mega256 and I am planning to connect the esp8266 and arducam to it, so the robot has a fpv livestream when it moves. Do you have any tips?

0
adityaekbote24
adityaekbote24

Answer 1 year ago

You can make a app for controlling the robot and viewing the live stream using MIT app inventor.

0
ettare
ettare

3 years ago

Oops, rtfm...

Buffer size reduced to 2048 and images are now ok.

I still have a problem with "Maximum Data Storage Reached" and image files not displaying on the browser.

0
MohammadR68
MohammadR68

Reply 1 year ago

This is new, may be your code configuration are not okay.

0
Mousepotato01
Mousepotato01

3 years ago

Does it need to be the


  • ESP8266-12E module or can it be any arduino with IDE now that there is so many?
0
MohammadR68
MohammadR68

Reply 1 year ago

of course the wifi module needs to be used. you can use any ide.

0
MohammadR68
MohammadR68

Reply 1 year ago

Sorry for late reply bro. I did that a long time ago. But I can help you a bit. but I would suggest you to start with esp32 now. It's more fast and efficient and even easier.

0
markcnz
markcnz

Question 1 year ago on Introduction

This looks pretty cool.

Is the USB cable connected to the ESP8266-12E only supplying power? Or does the USB cable need to be connected to something like a laptop?