Cov txheej txheem:

ESP32-CAM Capture Photos and Send Through E-mail Siv SPIFF Memmory. -- Tsis xav tau daim npav SD: 4 Kauj Ruam
ESP32-CAM Capture Photos and Send Through E-mail Siv SPIFF Memmory. -- Tsis xav tau daim npav SD: 4 Kauj Ruam

Video: ESP32-CAM Capture Photos and Send Through E-mail Siv SPIFF Memmory. -- Tsis xav tau daim npav SD: 4 Kauj Ruam

Video: ESP32-CAM Capture Photos and Send Through E-mail Siv SPIFF Memmory. -- Tsis xav tau daim npav SD: 4 Kauj Ruam
Video: Basic IoT Ecosystem Security 2024, Kaum ib hlis
Anonim
Image
Image
Pib Nrog ESP32-CAM Siv FTDI Programmer
Pib Nrog ESP32-CAM Siv FTDI Programmer

Nyob zoo Folks, ESP32-CAM lub rooj tsavxwm yog lub rooj txhim kho tus nqi qis uas suav nrog ESP32-S nti, lub koob yees duab OV2640, ntau GPIOs los txuas cov khoom siv sab nraud thiab daim npav microSD. Nws muaj cov lej ntawm cov ntawv thov los ntawm video streaming web server, tsim lub koob yees duab saib xyuas, thaij duab, paub lub ntsej muag thiab kuaj pom, thiab ntau ntxiv.

Ob peb hnub dhau los Kuv xav paub yog tias kuv tuaj yeem xa daim duab ntes los ntawm ESP32-CAM los ntawm E-mail. Kuv pom ntau qhov kev qhia ntawm ESP32-CAM ntes cov duab siv ESP32-CAM; txuag cov duab rau SD daim npav. Yog li kuv txiav txim siab sau tag nrho cov ntawv thov no mus rau ib qho. Daim npav SD tsis yog kev daws teeb meem zoo rau ESP32-CAM vim tias peb tsis xav tau 500 KB rau khaws cov duab. Yog li kuv tau sim tshawb fawb yog tias kuv tuaj yeem tsis quav ntsej kev siv SD-Card lossis hloov nws nrog qee qhov nco.

Kuv zoo siab heev paub tias muaj lub cim xeeb txaus muaj nyob hauv ESP-32 flash nco hu ua SPIFF nco. Yog li kuv txiav txim siab siv qhov kev daws teeb meem no thiab zam kev siv kev siv sab nraud daim npav SD li no txo tus nqi ntawm kuv txoj haujlwm.

Yog li hauv qhov kev qhia no, kuv yuav qhia yuav ua li cas:

1. Pib nrog koj li ESP-32 CAM

2. Siv SPIFF los khaws cov duab Captured

3. Siv SMTP los xa Email cov duab uas tau ntes

Khoom siv

ESP32-CAM

FTDI programmer

F2F jumper xov hlau

Kauj Ruam 1: Pib Nrog ESP32-CAM Siv FTDI Programmer

Arduino IDE tuaj yeem siv los ua haujlwm ESP32-CAM AI-Thinker pawg thawj coj txhim kho. Ib qho ntawm qhov tseem ceeb thim rov qab ntawm ESP32-CAM yog tias nws tsis muaj USB interface rau rub cov duab kos. Yog li koj yuav xav tau ib tus kws tshaj lij FTDI sab nrauv rau kev ua haujlwm ESP-32. Ua raws cov txheej txheem qhia hauv daim duab qhia hauv cov lus piav qhia.

ESP32-CAM FTDI Programmer

GND GND

5V VCC (5V)

TX0 to TX

U0T RX

GPIO0 NCO

Phau ntawv qhia no qhia yuav ua haujlwm li cas thiab xa cov lej rau ESP32-CAM (AI-Thinker) kev txhim kho pawg thawj coj siv Arduino IDE. teeb nyem thiab ntau GPIOs los txuas cov khoom siv sib txuas. Txawm li cas los xij, nws tsis muaj tus programmer built-in. Koj xav tau FTDI programmer los txuas nws rau koj lub khoos phis tawj thiab xa cov lej.

NCO TSEG: ESP-32 CAM tuaj yeem siv tau thaum nws nyob hauv hom Flash. Txhawm rau ua kom lub teeb nyem ntawm ESP32-CAM koj yuav tsum xa GPIO0 nrog GND

Tom qab xa cov cai koj yuav tsum tau tshem tawm GPIO 0 xaim txhawm rau ua kom lub teeb nyem thiab khiav ESP-32 mus rau hauv ib txwm muaj.

Kauj Ruam 2: Tshaj Tawm Lub Vev Xaib Piv Txwv rau Xeem ESP32-CAM

Ua ntej xa cov duab kos email koj xav tau kom ntseeg tau tias koj ESP32-CAM ua haujlwm tau zoo. Txog qhov no rub tawm lub vev xaib-piv txwv los ntawm ESP32-> lub koob yees duab-> web-server. Cov teeb tsa hauv qab no yuav tsum teeb tsa:

Pawg: ESP32 Wrover Module

Chaw nres nkoj: koj qhov chaw nres nkoj #

// Xaiv lub koob yees duab qauvCAMERA_MODEL_AI_THINKER

saib tag nrho lwm cov qauv.

teeb SSID thiab Lo lus zais rau koj li Wifi Access point thiab upload daim duab.

yog tias koj tuaj yeem pom cov vis dis aus los ntawm ESP32-CAM koj tau npaj txhij xa cov duab kos email.

Kauj Ruam 3: Hloov Gmail Tus Kheej Chaw (Tsawg Kev Ruaj Ntseg App)

Hloov Gmail Account Chaw (Tsawg Kev Ruaj Ntseg App)
Hloov Gmail Account Chaw (Tsawg Kev Ruaj Ntseg App)

Thawj thawj zaug koj ESP32-CAM yuav tsis tau txais kev pabcuam gmail. Yog li koj yuav tsum hloov pauv qhov chaw ntiag tug los ntawm kev nkag mus

myaccount.google.com/lesssecureapps

tso cai rau app uas tsis muaj kev nyab xeeb nkag mus rau koj tus lej nyiaj.

Kauj Ruam 4: Tshaj Tawm E-mail Daim Duab Sketch

Rub tawm cov duab kos hauv qhov kev piav qhia, muab cov hauv qab no:

#define emailSenderAccount

#define emailSenderPassword

#Txheeb xyuas emailRecipient

SSID

Lo lus zais

Nov yog nws upload daim duab.