Cov txheej txheem:

ESP 32 Lub Koob Yees Duab Tshaj Tawm Video Tshaj WiFi - Pib Nrog ESP 32 CAM Pawg Thawj Coj: 8 Kauj Ruam
ESP 32 Lub Koob Yees Duab Tshaj Tawm Video Tshaj WiFi - Pib Nrog ESP 32 CAM Pawg Thawj Coj: 8 Kauj Ruam

Video: ESP 32 Lub Koob Yees Duab Tshaj Tawm Video Tshaj WiFi - Pib Nrog ESP 32 CAM Pawg Thawj Coj: 8 Kauj Ruam

Video: ESP 32 Lub Koob Yees Duab Tshaj Tawm Video Tshaj WiFi - Pib Nrog ESP 32 CAM Pawg Thawj Coj: 8 Kauj Ruam
Video: ESP32 Remote Computing #esp32berry #arduinoVNC #thatproject 2024, Kaum ib hlis
Anonim
Image
Image

ESP32-CAM yog lub koob yees duab me me nrog ESP32-S nti uas raug nqi kwv yees li $ 10. Dhau li ntawm OV2640 lub koob yees duab, thiab ntau GPIOs los txuas cov khoom siv sab nraud, nws kuj tseem muaj daim npav microSD daim npav uas tuaj yeem muaj txiaj ntsig khaws cov duab coj los ntawm lub koob yees duab lossis khaws cov ntaub ntawv los ua haujlwm rau cov neeg siv khoom.

Kauj Ruam 1: Cov Cheeb Tsam Yuav Tsum Tau:

Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau

Yuav nws kom pheej yig:

ESP CAM:

www.utsource.net/itm/p/8673370.html

FTDI:

///////////////////////////////////////////////////////////////

ESP 32 Cam Board:

www.banggood.in/Geekcreit-ESP32-CAM-WiFi-B…

www.banggood.in/3-Pcs-Geekcreit-ESP32-CAM-…

FTDI:

Kauj ruam 2: Tus Pin Configuration & Nta

Pin Kho & Nta
Pin Kho & Nta

Qhov tsawg tshaj plaws 802.11b/g/n Wi-Fi BT SoC moduleLow

hwj chim 32-ntsis CPU, kuj tseem tuaj yeem ua haujlwm thov daim ntawv thov

Txog li 160MHz moos ceev, cov ntsiab lus suav lub zog mus txog 600 DMIPS

Ua-hauv 520 KB SRAM, sab nraud 4MPSRAM

Txhawb UART/SPI/I2C/PWM/ADC/DAC

Txhawb nqa OV2640 thiab OV7670 lub koob yees duab, teeb nyem teeb tsa

Txhawb cov duab WiFI upload

Txhawb daim npav TF Txhawb ntau hom kev pw tsaug zog

Embedded Lwip thiab FreeRTOSSupports STA/AP/STA+AP hom haujlwm

Txhawb Smart Config/AirKiss thev naus laus zis

Kev txhawb nqa rau chaw nres nkoj txuas hauv zos thiab hloov khoom dua tshiab firmware (FOTA)

Pins siv rau microSD daim npav nyeem ntawv: GPIO 14: CLKGPIO 15: CMDGPIO 2: Cov Ntaub Ntawv 0GPIO 4: Cov Ntaub Ntawv 1 (tseem txuas nrog lub on-board LED) GPIO 12: Cov ntaub ntawv 2GPIO 13: Cov ntaub ntawv 3

Kauj Ruam 3: Nruab ESP 32 Boards hauv Arduino IDE

Image
Image

Thov xa daim vis dis aus no mus ntxiv ESP32 Boards hauv Arduino IDE

ESP 32 Boards Txuas:

Kauj ruam 4: Code

Schematics rau Programming Board
Schematics rau Programming Board

Hauv koj li Arduino IDE, mus rau Cov Ntaub Ntawv> Piv Txwv> ESP32> Lub Koob Yees Duab thiab qhib lub CameraWebServer piv txwv.

LOS YOG Rub tawm cov cai los ntawm no:

electronicguru.in/wp-content/uploads/2019/…

Kauj ruam 5: Schematics rau Programming Board

ESP32-CAM tsis muaj lub USB txuas, yog li koj yuav tsum siv FTDI txhawm rau upload cov cai los ntawm U0R thiab U0T pins (tus lej txuas) hauv ESP32 CAM Board.

Thov xa cov schematics hauv qab no

Kauj Ruam 6: Tshaj Tawm Txoj Cai

Ua ntej rub tawm cov cai, koj yuav tsum tau nkag mus rau koj li wifi daim ntawv pov thawj hauv ntu hauv qab no ntawm cov cai:

const char* ssid = "REPLACE_WITH_YOUR_SSID";

const char* password = "REPLACE_WITH_YOUR_PASSWORD";

thiab xyuas kom tseeb tias koj xaiv lub koob yees duab zoo.

Raws li ntawm no peb tab tom siv AI-THINKER Qauv yog li xaiv cov hauv qab no Yog li, tawm tswv yim tag nrho lwm cov qauv thiab tsis pom zoo qhov no:

#define CAMERA_MODEL_AI_THINKER

ua raws cov kauj ruam no txhawm rau upload cov cai: Mus rau Cov Cuab Yeej> Pawg Thawj Coj thiab xaiv ESP32 Wrover Module Mus rau Cov Cuab Yeej> Chaw Nres Nkoj thiab xaiv COM chaw nres nkoj ESP32 txuas nrog rau hauv Cov Cuab Yeej> Txheej Txheem Txheej Txheem, xaiv "APP Loj (3MB Tsis Muaj OTA)" Tom qab ntawd, nyem khawm upload kom tso cov cai.

Kauj Ruam 7: Tau Txais IP Los Ntawm Serial Monitor

Tau IP los ntawm Serial Monitor
Tau IP los ntawm Serial Monitor

Tshem lub jumper txuas ntawm GPIO0 & GND ces, Qhib Serial Monitor nrog tus lej baud: 115200. Nias ESP32-CAM on-board Reset khawm thiab tos kom IP tshwm thiab tos ob peb feeb thiab tom qab ntawd rov pib dua.

Kauj Ruam 8: Nws Lub Sijhawm Los Xyuas Cov Kwj Video

Image
Image

Qhib koj tus browser thiab xyuas kom tseeb tias koj lub PC txuas nrog tib lub network zoo li ESP32 CAM thiab tom qab ntawd ntaus IP thiab nyem rau ntawm lub pob kwj thiab koj yuav tau txais cov vis dis aus zoo sib xws.

Yog Xav Paub Cov Ntaub Ntawv Thov saib cov vis dis aus.

Pom zoo: