Cov txheej txheem:
- Kauj Ruam 1: Daim Ntawv Teev Npe
- Kauj Ruam 2: Sib dhos Chassis
- Kauj Ruam 3: Txuas Cov Hluav Taws Xob
- Kauj Ruam 4: Npaj Pan/Tilt Platform
- Kauj Ruam 5: Npaj MB102 Breadboard Power Supply Module
- Kauj Ruam 6: Kev Xeem Kawg thiab Sib Sau Cov Neeg Hlau
- Kauj ruam 7: Upload Code
- Kauj Ruam 8: Tau txais IP Chaw Nyob
- Kauj Ruam 9: Tswj Koj Cov Neeg Saib Xyuas Yees Duab
- Kauj Ruam 10: Tswj Koj Tus Neeg Hlau Hauv Is Taws Nem
Video: Neeg Saib Xyuas Yees Duab: 10 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Xav txog yog tias koj muaj tus neeg hlau uas muaj lub koob yees duab ntawm lub nkoj thiab tuaj yeem tswj tau hauv Is Taws Nem.
Nws yuav qhib ntau txoj hauv kev los siv nws. Piv txwv li, koj tuaj yeem xa tus neeg hlau mus rau chav ua noj txhawm rau txheeb xyuas yog tias koj yuam kev tso lub lauj kaub rau ntawm lub qhov cub!
Kuv tau sim sim siv ESP32-CAM cov laug cam txhim kho thiab pom tias nrog ESP32-CAM nws tuaj yeem ua tau yooj yim.
ESP32-CAM yog lub koob yees duab me me nrog ESP32-S nti uas raug nqi kwv yees li $ 10- $ 15.
ESP32-CAM module tuaj yeem ua haujlwm nrog Arduino IDE. ESP32-CAM tus qauv kuj tseem muaj ob peb GPIO pins txuas rau sab nrauv kho vajtse.
Yog li, cia peb pib!
Kauj Ruam 1: Daim Ntawv Teev Npe
Daim Ntawv Teev Npe:
ESP32-CAM x1
FT232RL FTDI Mini USB x1 - rau kev tso tus lej rau ESP32 -CAM
Dual Channel DC Tsav Tsav L298N x1
Adafruit (PID 3244) Mini Round Robot Chassis Kit - 2WD nrog DC Motors x1 - Kuv tau siv lub chassis no, tab sis koj tuaj yeem ua koj tus kheej lossis yuav lwm lub chassis muaj. Qhov peb xav tau ntawm no yog lub log thiab DC Motors
18650 Roj Teeb Nrog x1
18650 Roj teeb x2 (raws li kev xaiv plaub lub roj teeb AA thiab nws tus tuav tuaj yeem siv tau hloov ntawm 18650 roj teeb)
Mini Pan/ Tilt Platform w/ 2 SG-90 Servos x1
MB102 Breadboard Power Supply Module x1
iRobbie-A iOS App
Kauj Ruam 2: Sib dhos Chassis
Sib sau cov neeg hlau chassis nrog ob lub tshuab DC, 3 lub log thiab mini L298N lub cev muaj zog tsav tswj. Siv siv daim kab xev txhawm rau txhawm rau txuas lub tshuab tsav lub cev rau lub platform.
Kauj Ruam 3: Txuas Cov Hluav Taws Xob
Txuas cov xov hlau raws li qhia hauv kab lus.
Kauj Ruam 4: Npaj Pan/Tilt Platform
Rub tawm cov xov hlau los ntawm sab saum toj ntawm lub chassis platform. Npaj cov xov hluav taws xob los ntawm SG-90 servos ntawm Pan/Tilt platform. Hauv txoj haujlwm no peb xav tau tsuas yog Tilt servo.
Txuas lub Yias/Tilt rau saum lub chassis platform.
Kauj Ruam 5: Npaj MB102 Breadboard Power Supply Module
Siv MB102 Breadboard Power Supply Module yog nyob ntawm yeem. Koj tuaj yeem nqa 5V thiab Av rau ESP32-CAM thiab servo motor los ntawm L298N tsav tsheb, tab sis kuv pom tias nrog MB102 nws yooj yim dua. Lub zog txhawb lub zog muaj lub zog khawm thiab ua rau koj muaj kev yooj yim dua nrog thaiv.
Txhawm rau txuas tus qauv rau lub chassis platform, Kuv tau tshem cov pins hauv qab ntawm MB102. Tom qab ntawd, Kuv txuas nws mus rau sab saum toj ntawm lub chassis nrog ob tog sided mounting daim kab xev.
Kauj Ruam 6: Kev Xeem Kawg thiab Sib Sau Cov Neeg Hlau
Txuas txhua ntu siv cov txheej txheem. Siv ib qho ua npuas dej thiab ob tog sib txuas daim kab xev txhawm rau txuas ESP32-CAM mus rau Pan/Tilt platform.
Kauj ruam 7: Upload Code
Nruab ESP32 Ntxiv rau ntawm Arduino IDE:
Ua raws li ib qho ntawm cov lus qhia tom ntej los teeb tsa ESP32 ntxiv rau, yog tias koj tseem tsis tau:
Txhim kho ESP32 Board hauv Arduino IDE (Windows cov lus qhia)
Txhim kho ESP32 Board hauv Arduino IDE (Mac thiab Linux cov lus qhia)
Rub tawm cov cai los ntawm no
Nco ntsoov tias koj muaj ob lub tab nrog cov cai hauv Arduino IDE: esp32_cam_car thiab app_httpd.cpp raws li pom ntawm lub vijtsam.
Ua ntej rub tawm cov cai, koj yuav tsum ntxig koj lub peev xwm network hauv cov kev hloov hauv qab no: const char* ssid = "Your_WIFI_Network" const char* password = "Your_WIFI_Password"
Txuas ESP32-CAM lub rooj tsavxwm rau koj lub computer siv FTDI programmer. Ua raws li daim duab schematic.
Tseem ceeb: GPIO 0 xav tau txuas nrog GND kom koj thiaj li tuaj yeem xa cov cai.
Nias ESP32-CAM on-board RST khawm ua ntej rub tawm cov cai. Khiav Arduino IDE thiab nyem Upload kom tsim thiab nyem cov duab kos rau koj lub cuab yeej.
Kauj Ruam 8: Tau txais IP Chaw Nyob
Tom qab xa cov cai, tshem tawm GPIO 0 los ntawm GND.
Qhib Serial Monitor ntawm tus nqi baud ntawm 115200. Nias ESP32-CAM on-board RST khawm. ESP32-CAM IP chaw nyob yuav tsum tau qhia hauv Serial Monitor.
Kauj Ruam 9: Tswj Koj Cov Neeg Saib Xyuas Yees Duab
Tshem tawm ESP32-CAM los ntawm FTDI programmer.
Txuas ESP32-CAM rov qab mus rau Pan/Tilt platform, tig lub zog thiab nias ESP32-CAM on-board RST khawm.
Rub tawm App los ntawm no Rub lub App ntawm koj iPhone, nkag mus rau ESP32-CAM IP chaw nyob thiab ua si nrog tus neeg hlau!
Kauj Ruam 10: Tswj Koj Tus Neeg Hlau Hauv Is Taws Nem
Koj yuav tsum qhib koj lub router teeb tsa. (google yuav ua li cas rau koj lub router). Muaj koj yuav pom qee qhov chaw, suav nrog qee yam raws kab ntawm Kev Xa Mus lossis Chaw Xa Ntawv Xa Mus.
Qhov tseem ceeb uas yuav tsum tau nco ntawm no yog "Port Range" thiab "Device" lossis "IP address".
Hauv "Port Range" koj yuav tsum ntaus 80-81.
Rau "Ntaus" koj yuav tsum xaiv koj li ESP32-CAM ntaus ntawv. Hauv qee tus routers koj yuav tsum tso tus IP chaw nyob ntawm koj ESP32-CAM hloov lub npe ntaus ntawv.
Mus rau www.whatsmyip.org thiab luam koj tus IP. Siv tus IP no hauv App thaum koj nyob sab nraum koj lub tsev network.
Pom zoo:
Router Ua Tus Yees Duab Yees Duab rau IP Lub Koob Yees Duab: 3 Kauj Ruam
Router Ua Tus Yees Duab Yees Duab rau IP Lub Koob Yees Duab: Qee tus routers muaj lub zog CPU thiab USB-chaw nres nkoj ntawm lub rooj tsavxwm thiab tuaj yeem siv los ua tus kaw video kaw lus ntxiv rau kev khiav haujlwm, txhawm rau khaws thiab faib cov vis dis aus thiab suab los ntawm IP-koob yees duab uas ntws tsuas yog H264/265 RTSP (zoo li pheej yig niaj hnub no nyob zoo
IP Lub Koob Yees Duab Zaub/Saib Xyuas Siv Raspberry Pi: 4 Cov Kauj Ruam
IP Lub Koob Yees Duab/Saib Xyuas Siv Raspberry Pi: Thaum ntsuas qhov tsim nyog NVR cov kev xaiv, Kuv dawm taw hla lub koob yees duab tso rau qhov chaw cia uas tso cai rau koj los tso saib ntau lub network lub koob yees duab yees duab pub. Nws kuj tseem txhawb kev hloov pauv ntawm ntau cov ntxaij vab tshaus thiab peb yuav siv txoj haujlwm ntawd rau qhov no
IOT Raws Li Cov Neeg Saib Xyuas Cov Neeg Mob: 7 Kauj Ruam
IOT Raws Li Cov Neeg Saib Xyuas Cov Neeg Mob: QHOV TSEEB: Hauv ntiaj teb niaj hnub no, tib neeg muaj kev pheej hmoo kis mob ntau ntxiv vim lawv txoj kev ua neej thiab kev noj zaub mov zoo. Hauv qhov xwm txheej zoo li no, kev saib xyuas cov neeg mob kev noj qab haus huv muaj lub luag haujlwm tseem ceeb los ua. Kev saib xyuas kev noj qab haus huv yog thaj chaw tseem ceeb thiab txhim kho sai. Cov adv
Kev Nyuaj Siab: Kev Saib Xyuas thiab Saib Xyuas Ntxiv rau Kev Teeb Meem: 9 Cov Kauj Ruam
Hard Drive: Kev Saib Xyuas thiab Kev Saib Xyuas Ntxiv Teeb Meem: Daim duab saum toj no yog Hard Drive ib txwm muaj. Cov no yog cov tsav tsheb feem ntau siv niaj hnub no, tab sis tsis tas yuav nrawm tshaj. Tib neeg siv tus tsav no rau nws tus nqi qis dua gigabyte thiab lub neej ntev dua. Phau ntawv qhia no yuav qhia koj txog qhov sib txawv
Lub Koob Yees Duab Saib Xyuas Lub Vev Xaib: 8 Kauj Ruam (nrog Duab)
Lub Koob Yees Duab Saib Xyuas Lub Vev Xaib: Lub hom phiaj ntawm txoj haujlwm no yog los qhia, yuav ua li cas txhawm rau txhim kho kev saib xyuas nrog lub vev xaib-nplooj interface. Lub vev xaib tuaj yeem tig mus rau hauv txoj kab ntsug lossis kab rov tav hla lub interface, tab sis tsuas yog nyob hauv thaj tsam uas ciam teb cov cim yuav tso cai. Kev sib