Introduction: ArduCAM Mini ESP8266 Web Camera

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

Picture of 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.

Comments

mgtmASU (author)2017-08-03

can i use ov7670 camera ??

an25 (author)2017-07-27

Congratulations on the post! Can you help me with the error:

"Can not find OV2640 module! Pid: 254"

What am I doing wrong?

Ameet kumar (author)2017-06-22

Hello! Please inform me that can I use any USB webcam in place of arducam mini camera. If yes, then please let me know How can I use it.

nodoubtman (author)2017-05-04

Thank you so much finally someone made it!!!

Rsoni111 (author)2017-04-12

Thanks for this post. What modules were included to flash ESP8266-12e (nodemcu)?

Ko7Al (author)2017-03-23

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!

ettare (author)2017-03-06

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.

ettare made it! (author)2017-03-06

When I capture an image, the browser immediately reports "Maximum Data Storage Reached" and the picture captured is blocky.

Flash size is 4M(3M SPIFFS), but 4M(1M SPIFFS) just gives goobledook on the Serial Monitor.

Any thoughts?

Mousepotato01 (author)2017-02-26

Does it need to be the


  • ESP8266-12E module or can it be any arduino with IDE now that there is so many?
Maker Saga (author)2017-02-24

I'm amazed that an ESP8266 has enough power to do such a thing!

About This Instructable

8,879views

94favorites

License:

Bio: Will write code for food. :) If you need help with any of your embedded Arduino applications please send me a message.
More by dmainmon:ArduCAM Mini ESP8266 Web CameraESP8266-12E DHT ThermostatESP8266 OLED Clock IoT Using AJAX
Add instructable to: