CWRM stands for Camera WiFi Remote Module. It is a ESP8266-based device that allows to trigger the focus/shutter of a camera via WiFI. It is in early stage but it works with my Canon cameraâ„¢.
- 1 x ESP8266-01 (U1)
- 2 x 2.2k ohms (R1 and R2)
- 2 x 3.3k ohms (R3 and R4)
- 2 x 2N2222 (Q1 and Q2)
- 2.5mm male stereo plug (connected to J1, for Canon cameras)
- 3.3V power supply (like 2 AAA batteries)
A STL file is provided to 3D-print a case for this module. It costs ~20 euros on Shapeways.
The module creates its own WiFi network, and then acts as a captive portal,
redirecting everything to 192.168.10.1
. A simplistic web page is served to
control the camera.
The source code can be found in the cwrm/
folder (Arduino IDE requires the
same name for both the main sketch and its directory). You can compile the
firmware using make
(recommended):
$ make clean
$ make
By default, it is compiled for release purpose. You can also compile a debug version with:
$ make debug
You will need html-minifier installed
to compile the HTML code and generate the cwrm/cwrm_generated.h
file:
$ npm install html-minifier -g
$ make compile-html
This project uses the following libraries/tools:
- AJAX lib: https://github.com/yanatan16/nanoajax
- Makefile: https://github.com/plerup/makeEspArduino
- CI build: https://github.com/adafruit/travis-ci-arduino
CWRM is released under the MIT License. See the bundled LICENSE file for details.