Esp32cam: Difference between revisions

From RevSpace
Jump to navigation Jump to search
Line 24: Line 24:


=== platformio ===
=== platformio ===
[[bertrik]] made an attempt to build the CameraWebServer example as a platformio project: https://github.com/bertrik/CameraWebServer
The CameraWebServer example can be compiled as a platformio project: https://github.com/bertrik/CameraWebServer


To build the code, clone the git repo above, cd into it, then type
To build the code, clone the git repo above, cd into it, then type
   pio run
   pio run


To upload it to the board:
To upload it to the board (put a jumper between IO0 and GND):
   pio run -t upload
   pio run -t upload


To watch the debug output:
To watch the debug output (remove the jumper):
   pio device monitor
   pio device monitor



Revision as of 19:58, 29 January 2019

Project ESP32-CAM
ESP32-CAM.jpg
Cheap webcams with Wifi, what could possibly go wrong?
Status Initializing
Contact noopwafel, Sebastius
Last Update 2019-01-29


Introduction

It's an ESP32 board with a camera, running a web server, so it acts as an inexpensive webcam.

Hardware

To flash the module, do not forget the jumper between pins IO0 and GND!

Software

platformio

The CameraWebServer example can be compiled as a platformio project: https://github.com/bertrik/CameraWebServer

To build the code, clone the git repo above, cd into it, then type

 pio run

To upload it to the board (put a jumper between IO0 and GND):

 pio run -t upload

To watch the debug output (remove the jumper):

 pio device monitor

Platformio can be installed on a Debian Linux system as follows:

 sudo apt-get install python-pip
 sudo pip install platformio
 pio upgrade