-
Notifications
You must be signed in to change notification settings - Fork 2
ESP32 Camera WebServer
blahlt edited this page Oct 13, 2019
·
1 revision
- ArduinoIDE einam į File->Preferences ir prie Additional Boards Manager URLs įrašom https://dl.espressif.com/dl/package_esp32_index.json (jei reikia url atskiriam kablelio simboliu)
- Tools->Board->Boards Manager... ir paieškos laukelyje įrašome esp32
- Spaudžiam Install ant esp32 by Espressif Systems
- Parenkam Tools->Boards->ESP32 Wrover Module
- Parenkam Tools->Partition Scheme->Huge APP (3MB No OTA)
- Atidarom projektą File->Examples->ESP32->Camera->CameraWebServer
- Pakeičiam kameros modelį:
//#define CAMERA_MODEL_WROVER_KIT
#define CAMERA_MODEL_AI_THINKER- Įrašom Wifi nustatymus:
const char* ssid = "xxxxxx";
const char* password = "xxxxxx";- Sujungiam IO0<->GND ir spaudžiam Reset
- Spaudžiam Upload
Sketch uses 2241938 bytes (71%) of program storage space. Maximum is 3145728 bytes.
Global variables use 52696 bytes (16%) of dynamic memory, leaving 274984 bytes for local variables. Maximum is 327680 bytes.
esptool.py v2.6
Serial port COM4
Connecting......
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: AB:CD:EF:GH:IJ:KL
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 601.2 kbit/s)...
Hash of data verified.
Compressed 16832 bytes to 10888...
Writing at 0x00001000... (100 %)
Wrote 16832 bytes (10888 compressed) at 0x00001000 in 0.3 seconds (effective 524.0 kbit/s)...
Hash of data verified.
Compressed 2242048 bytes to 1795613...
Writing at 0x00010000... (0 %)
Writing at 0x00014000... (1 %)
...
Writing at 0x001c0000... (99 %)
Writing at 0x001c4000... (100 %)
Wrote 2242048 bytes (1795613 compressed) at 0x00010000 in 34.7 seconds (effective 516.6 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 134...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (134 compressed) at 0x00008000 in 0.1 seconds (effective 180.7 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
- Atjungiam IO0<->GND ir spaudžiam Reset