ArduCAM Mini ESP8266 Web Camera

69,715

132

36

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!

Supplies:

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.

Share

Recommendations

  • Classroom Science Contest

    Classroom Science Contest
  • Party Challenge

    Party Challenge
  • Woodworking Contest

    Woodworking Contest

36 Discussions

0
None
MohammadR68

1 year ago

Hello Sir, I've a problem here. my serial monitor says it has detected camera but no webpage is opening at that ip address. i've tried to modify the code but it's still not responding. what problems can happen? please help me.

5 replies
0
None
unitopMKMohammadR68

Reply 1 year ago

Hi,

I have the same Problem, did you solve it ?

0
None
MohammadR68unitopMK

Reply 1 year ago

Yes solved. I used the example code of arducam websocket library. Then i modified it to generate the page automatically. The streaming is messy but pictures are okay.

0
None
VemulapallyPMohammadR68

Reply 1 year ago

Hi,

Can you please help me how to do it. I can see from my serial monitor the server started but i cannot access the website. I am unable to open the website at that ipaddress.

0
None
MohammadR68VemulapallyP

Reply 1 year ago

Sure bro. I'm mostly active on facebook. if you can contact me there it would be easy for me :)

0
None
g2ranjanMohammadR68

Reply 16 days ago

hey,
can you help me out building one of this module for web streming
looking forward to your reply

0
None
markcnz

Question 7 weeks 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?

0
None
an25

1 year ago

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

"Can not find OV2640 module! Pid: 254"

What am I doing wrong?

1 reply
0
None
PatrickA135an25

Reply 7 weeks ago

Hi there, I got the same error. It's just a wiring/bad dupoint wire issue. Check your configuration once again.

0
None
unitopMK

1 year ago

I have a problem to open a webpage (192.168.1.203).

The serial monitor says webpage is started but it does not open the Webpage with that ip address.

What must I do to solve that problem ?

5 replies
0
None
kai hengLunitopMK

Reply 1 year ago

Hi. I seem to have the same problem... Can you please tell me how you solved it?

0
None
MohammadR68kai hengL

Reply 1 year ago

You should try the examples first. And you can contact me :)

0
None
裕斗

6 months ago

Hello. I have a question.
Where is the setting of the pins (D 0, D 7 etc) used in this program?

0
None
WilliamLawrence

10 months ago

Hello sir,

My serial monitor is not giving me any information. I copied the code word for word and double checked the wiring. Please help.

0
None
AfaqueM

Question 10 months ago

Hello, I have OV9655 and OV2640, can they also be interfaced with ESP8266?

0
None
Ko7Al

2 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!