Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 2.53 KB

README.md

File metadata and controls

56 lines (37 loc) · 2.53 KB

Esparducam

A low cost network camera for the ESP8266

This repository contains code and schematics to build a development board joining the ESP8266 with the Arducam Mini module. Build surveillance cameras, read your water meter, attach one to your kite.

Esparducam board

The board design allows for small breakout boards to be attached. There currently is a breakout board the the RFM69C, an ESP12 board with pogo pins and one for swappable ESP12 modules.

Oh, the accompanying blog posts are here and here.

###Usage

Clone the ESP Open RTOS repository. See the documentation for how to add your SSID name and password.

git clone --recursive https://github.com/Superhouse/esp-open-rtos.git

Add nedded extra modules to ESP Open RTOS ("EOR"):

cd esp-open-rtos/extras
git clone https://github.com/kanflo/eor-spi.git spi
git clone https://github.com/kanflo/eor-spiflash.git spiflash
git clone https://github.com/kanflo/eor-http-upload.git http-upload

Set the environment variable $EOR_ROOTto point to your EOR repository:

export EOR_ROOT=/path/to/esp-open-rtos

Clone this repository, make and flash:

git clone https://github.com/kanflo/esparducam.git
cd esparducam
make -j8 && make flash

When flashing has completed, open a serial terminal to learn the IP number of your board. Open a web brower, point it to your IP and an image should be captured and displayed. While in the serial terminal, type help for a list of supported commands.

Start the python script server.py and type upload:<your IP> to capture, upload and display an image on your computer.

If you connect a PIR module [eBay] to the JST connector you can use the command motion:on:<your ip> to have the board capture and upload an image when motion is detected.

###Limitations

This is work in progress and there is currently very little error handling. Simultaneous clients will break the camera demo.

Licensed under the MIT license. Have fun!