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
- ArduCAM Mini module
- ESP8266-12E module
- Jumper wires, male/female
- Arduino IDE dowload available here: http://www.arduino.cc
- Download the source code sketch and libraries available here: https://github.com/dmainmon/ArduCAM-mini-ESP8266-1...
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.
- http://ipAddress/capture - single image capture
- http://ipAddress/stream - video streaming
- http://ipAddress/pics/1.jpg - view stored image
To embed in a web page an HTML image tag can be used:
- <img src="http://ipAddress/capture">
- <img src="http://ipAddress/stream">
- <img src="http://ipAddress/pics/1.jpg">
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.