-
1Get the components, an Espressif board and one of the Arducam SPI (best OV5642)
Before I suggested to get a 2 Megapixels OV2640 since generates a smaller JPG. But after many reports of burned outside pictures I suggest to start directly with a OV5642 with more resolution (Up to 5 Megapixels and exposure control in the User interface)
-
2Connect them together following the schematics
ESP32 schematics live now on this branch https://github.com/martinberlin/FS2/tree/board/esp32-oled (Also board/esp32 stable)
-
3Get the C++ code from Github. develop branch (ESP8266) and board/esp32* (ESP32)
Get all required libraries that are mentioned in the project and any other I forgot pressing the Verify in Arduino. If you use Platformio there is an ini file with 5 library dependencies here:
https://github.com/martinberlin/FS2/blob/board/esp32/platformio.ini
Pre-requisites: Have the ESP core for your board in the Arduino installed and also SPIFFs data upload plugin
https://github.com/esp8266/arduino-esp8266fs-plugin / https://github.com/me-no-dev/arduino-esp32fs-plugin (Spiffs is used for the user interface templates) -
4Upload the SPIFFs using the bigger space for your board
For Wemos D1 I used 3 MB SPIFFs. In the flash memory the web templates are saved so without this nothing will work
-
5Prepare some PHP upload endpoint
In this repository you will find: upload.php and another upload-xbm.php that returns a JSON with an XBM image as an array (Only for the board/esp32-oled)
https://github.com/martinberlin/php-gallery This will serve also as a very nice Bootstrap gallery to browse your uploaded photos -
6Test that everything works (Electronic + Upload) and 3D print a case
https://www.thingiverse.com/thing:3135141 -> 3D Files are there
-
7Put everything together and start taking pictures. Don't forget to connect first to access point CAM-autoconnect and set up the WiFi for the camera
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.