Cov txheej txheem:
- Kauj Ruam 1: ESP8266 WeMos D1 R1 WiFI Processor Nrog Uno
- Kauj Ruam 2: ESP32-Cam Ai-Thinker Nrog OV2640
- Kauj Ruam 3: Cov Lus Qhia Dav Dav
- Kauj ruam 4: Schematic
- Kauj Ruam 5: Nruab ESP32 Board
- Kauj Ruam 6: Kev Txhim Kho
- Kauj Ruam 7: Ua kom tiav
Video: Capture & Send Images With ESP32-Cam Siv ESP8266 WeMos D1 R1 Wifi Processor Nrog Uno: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Kev ntes cov duab siv ESP32-Cam (OV2640) siv ESP8266 WeMos D1 R1 WiFI Processor nrog Uno thiab xa nws mus rau email, txuag rau Google Drive thiab xa mus rau Whatsapp siv Twilio.
Yuav tsum:
- ESP8266 WeMos D1 R1 WiFI Processor nrog Uno (https://protosupplies.com/product/esp8266-di-wifi-with-uno-footprint/)
- ESP32-Cam Ai-Thinker nrog OV2640 lub koob yees duab (https://robu.in/product/ai-thinker-esp32-cam-development-board-wifibluetooth-with-ov2640-camera-module/)
- Cov qhob cij
- 10 KOM resistor
- Laub khawm
Kauj Ruam 1: ESP8266 WeMos D1 R1 WiFI Processor Nrog Uno
Kauj Ruam 2: ESP32-Cam Ai-Thinker Nrog OV2640
Kauj Ruam 3: Cov Lus Qhia Dav Dav
Hauv qhov haujlwm no peb yuav siv ESP32-cam txhawm rau ntes cov duab siv OV2640 thiab xa nws mus rau email, txuag rau Google Drive thiab xa mus rau Whatsapp siv Twilio. Peb tuaj yeem siv ESP32-cam nrog FTDI programmer vim tias nws tsis tuaj nrog USB txuas tab sis hauv txoj haujlwm no, peb tab tom siv ESP8266 WeMos D1 R1 WiFI Processor nrog Uno txhawm rau tso tus lej. Ntxiv mus, peb tab tom siv Google Apps Script (https://developers.google.com/apps-script) xa cov ntaub ntawv duab mus rau email, txuag rau Google Drive thiab xa mus rau Whatsapp siv Twilio API.
Kauj ruam 4: Schematic
Muaj peb tus pin GND thiab ob tus pin rau lub zog: ib qho 3.3V lossis 5V.
UOT thiab UOR yog tus lej txuas. Koj xav tau cov pins no txhawm rau xa cov lej rau koj pawg thawj coj. Ib qho ntxiv, GPIO 0 (Io0) kuj tseem ua lub luag haujlwm tseem ceeb, txij li nws txiav txim siab seb ESP32 nyob hauv lub teeb nyem lossis tsis yog. Thaum GPIO 0 (Io0) txuas nrog GND, ESP32 nyob rau hauv hom nyem. Thaum koj ua tiav uploading
- Tshem tawm jumper hlau X
- Nias lub RST khawm
Peb siv GPIO2 rau lub laub khawm nkag
Kauj Ruam 5: Nruab ESP32 Board
Hauv qhov piv txwv no, peb siv Arduino IDE los teeb tsa ESP32-CAM board. Yog li, koj yuav tsum muaj Arduino IDE teeb tsa nrog rau ESP32 pawg thawj coj siv Arduino core rau ESP32. Ua raws li ib qho ntawm cov lus qhia tom ntej los teeb tsa ESP32 pawg thawj coj, yog tias koj tsis tau ua dhau los:
Cov lus qhia teeb tsa siv Arduino IDE Tus Thawj Saib Xyuas Haujlwm
- Kev tso tawm ruaj khov txuas:
raw.githubusercontent.com/espressif/arduin…
Pib nrog 1.6.4, Arduino tso cai teeb tsa pob khoom thib peb platform siv Tus Thawj Saib Xyuas Haujlwm. Peb muaj pob khoom muaj rau Windows, Mac OS, thiab Linux (32, 64 ntsis thiab ARM).
- Txhim kho tam sim no ntws Arduino IDE ntawm 1.8 qib lossis tom qab. Qhov tam sim no nyob ntawm Arduino lub vev xaib.
- Pib Arduino thiab qhib Qhov Nyiam Qhov rai.
- Nkag mus rau ib qho ntawm qhov txuas txuas saum toj no rau * Tus Thawj Saib Xyuas Haujlwm Ntxiv URLs * teb. Koj tuaj yeem ntxiv ntau qhov URL, cais lawv nrog tus lej.
- Qhib Tus Thawj Saib Xyuas Haujlwm los ntawm Cov Cuab Yeej> Pawg ntawv qhia zaub mov thiab teeb tsa * esp32 * platform (thiab tsis txhob hnov qab xaiv koj li `ESP32` lub rooj tsavxwm los ntawm Cov Cuab Yeej> Cov ntawv qhia zaub mov tom qab teeb tsa). Hauv peb rooj plaub yog 'ESP32 Wrover Module'.
Kauj Ruam 6: Kev Txhim Kho
Tom qab ua tiav kev teeb tsa, clone lub chaw cia khoom lossis rub tawm ncaj qha los ntawm Github thiab qhib [esp32_cam.ino] (esp32_cam.ino). Ua ntej xa cov cai, koj yuav tsum tau ntxig koj lub peev xwm network hauv cov kev hloov hauv qab no:
const char* ssid = "REPLACE_WITH_YOUR_SSID"; const char* password = "REPLACE_WITH_YOUR_PASSWORD";
Tsis tas li, tawm tswv yim txog kab qauv lub koob yees duab tshwj xeeb, hauv peb qhov xwm txheej nws yog
#define CAMERA_MODEL_AI_THINKER // Peb muaj tus qauv ntawm Esp32-cam
Ntxiv mus, koj yuav tsum hloov qhov "myScript" Google Apps Script URL nrog koj tsab ntawv URL, "myRecipient" nrog koj tus email & "mySubject" nrog koj cov ncauj lus.
Txoj hlua myScript = "/macros/s/**********/exec"; // Tsim koj li Google Apps Script thiab hloov txoj "myScript" path. String myRecipient = "youremail@gmail"; // Sau koj li email chaw nyob Txoj hlua mySubject = "Duab Captured from Arduino Esp32-Cam"; // Nkag mus rau qee qhov kev kawm
Koj tuaj yeem tsim txoj haujlwm tshiab hauv Google cov ntawv sau thiab luam cov cai los ntawm (Code.gs) thiab hloov POST thov URL nrog koj li server URL. Peb siv Siteground sib koom hosting rau lub hom phiaj no thiab ib qho yooj yim hosting tuaj yeem siv rau lub hom phiaj no.
var url = 'https://server-url/esp32/esp32.php';
Tshaj tawm koj tsab ntawv nrog kev nkag mus tsis qhia npe.
Upload (esp32.php) rau koj lub server nrog rau Twilio PHP SDK uas peb tau suav nrog hauv PHP cov ntaub ntawv. Hloov Twilio Account Sid thiab Auth Token. Nrhiav koj tus Account Sid thiab Tus Thawj Coj Token ntawm twilio.com/console.
$ sid = "xxxxxxxxxxxxx";
$ token = "xxxx";
Koj kuj tseem yuav tsum tau hloov Tus lej WhatsApp nrog tus lej uas koj tau txuas rau hauv Twilio.
-> tsim ("whatsapp:+xxxxxx", // rau
Ua ntej xa cov cai mus rau ESP32-Cam nco ntsoov tias koj tau txuas nrog GPIO 0 (Io0) rau GND yog li ESP32-cam yuav nyob rau hauv hom nyem. Tsis tas li, khaws ESP32 Wrover Module board xaiv hauv txoj haujlwm no thiab ua ntej tshaj tawm. Nias lub khawm pib dua ntawm ESP32-Cam thiab nias lub pob upload hauv Arduino IDE. Tom qab ua tiav qhib cov ntawv saib hauv IDE thiab nias lub pob pib dua ntawm ESP32-cam dua. Nws yuav txuas rau wifi sai sai. Tom qab ntawd nias lub pob nyem kom ntes thiab xa daim duab mus rau email thiab WhatsApp tus lej.
Ib feem ntawm cov cai peb siv yog coj los ntawm
Kauj Ruam 7: Ua kom tiav
Thiab qhov ntawd yog nws. Koj tuaj yeem tshawb xyuas email thiab whatsapp rau cov lus tsis ntev los no.
ESP32-CAM muab txoj hauv kev pheej yig los tsim cov phiaj xwm kev siv tshuab hauv tsev zoo dua qub uas muaj cov vis dis aus, thaij duab, thiab paub lub ntsej muag.
Pom zoo:
Tsev Automation Kauj Ruam ntawm Kauj Ruam Siv Wemos D1 Mini Nrog PCB Tsim: 4 Kauj Ruam
Tsev Automation Kauj Ruam Ib Leeg Siv Wemos D1 Mini Nrog PCB Tsim: Tsev Automation Kauj Ruam los ntawm Kauj Ruam siv Wemos D1 Mini nrog PCB Tsim cov tub ntxhais kawm ntawv qib siab. Tom qab ntawd ib tus ntawm peb cov tswv cuab tuaj
Txawb Xov Tooj Siv Yooj Yim Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: 14 Cov Kauj Ruam (nrog Duab)
Kev Siv Xov Tooj Ntawm Lub Xov Tooj Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: Koj puas tau xav tsim qhov kev ua kom txias txias? Yog tias yog, ua li cas txog kev tsim ib qho ntawm cov neeg nyiam tshaj plaws thiab txhua tus nyiam cov khoom siv xws li Lub Xov Tooj Txawb !!!. Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav tsim lub xov tooj txawb yooj yim siv STM li cas
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: 6 Kauj Ruam
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: Cov lus qhia no piav qhia yuav ua li cas thiaj tsim tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward) , Sab laug, Txoj Cai, Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) xav tau Kev nrug deb hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tau tus kheej
Yuav Siv Li Cas Wemos ESP-Wroom-02 D1 Mini WiFi Module ESP8266 + 18650 los ntawm Kev Siv Blynk: 10 Kauj Ruam
Yuav Ua Li Cas Siv Wemos ESP-Wroom-02 D1 Mini WiFi Module ESP8266 + 18650 los ntawm Kev Siv Blynk: Kev qhia tshwj xeeb: Sib xws nrog nodemcu 18650 them nqi kev sib sau ua ke Qhov taw qhia LED (ntsuab txhais tau tias liab liab txhais tau tias them) tuaj yeem siv thaum them Hloov Hloov tswj lub zog hluav taws xob SMT txuas tuaj yeem siv rau hom pw tsaug zog · 1 ntxiv
Yuav Siv Arduino WeMos D1 WiFi UNO ESP8266 IOT IDE Compatible Board los ntawm Kev Siv Blynk: 10 Kauj Ruam
Yuav Siv Arduino WeMos D1 WiFi UNO ESP8266 IOT IDE Compatible Board los ntawm Kev Siv Blynk: Arduino WeMos D1 WiFi UNO ESP8266 IOT IDE Compatible BoardDescription: WiFi ESP8266 Development Board WEMOS D1. WEMOS D1 yog WIFI pawg thawj coj txhim kho raws ESP8266 12E. Kev ua haujlwm zoo ib yam li NODEMCU, tshwj tsis yog tias kho vajtse tau tsim