Cov txheej txheem:
- Kauj ruam 1: Xav tau
- Kauj Ruam 2: Ua Tus Kav hlau txais xov
- Kauj Ruam 3: Soldering Esp Shield
- Kauj ruam 4: Coding
- Kauj Ruam 5: Kev thaiv kab
- Kauj Ruam 6: Xaus
Video: LORA Kub thiab Vaum Sensor: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Hauv cov lus qhia no koj yuav kawm ua lub ntsej muag uas xa cov ntaub ntawv mus rau LORA server. No yuav xa:
- Cua kub
- Vaum sensor
Koj tuaj yeem siv cov lus qhia no los ua lub node uas koj tuaj yeem siv ua server.
Kauj ruam 1: Xav tau
Sensornode:
- NPE 2305
- capacitive noo noo sensor
- arduino pro mini 3.3v 8mhz
- esp zog
- xwm rf95
- xaim rau lub kav hlau txais xov thiab kev sib txuas (Kuv siv 0.8 hli cov tub ntxhais hlau)
- txiv neej rau txiv neej jumper cables
- poj niam rau poj niam jumper cables
- daim ntawv qhia zaub mov
- CP2102 usb to TTL
Cov Cuab Yeej:
- cam khwb cia hlau
- sab txiav
- hlau stripper
Kauj Ruam 2: Ua Tus Kav hlau txais xov
Rau tus kav hlau txais xov Kuv siv qee qhov txuas txuas ntawm kuv 2x2x0.8mm lossis 2x2 20awg tsheb npav cable. Ntawm cov khoom network koj tuaj yeem xaiv koj li tranceiver thiab kav hlau txais xov zaus hauv ib lub tebchaws.
- 868mhz 3.25 nti lossis 8.2 cm (qhov no yog qhov kuv siv)
- 915mhz 3 nti lossis 7.8 cm
- 433mhz 3 nti lossis 16.5cm
Kauj Ruam 3: Soldering Esp Shield
- Tshem cov resistors ntawm daim thaiv esp (saib R1 txog R3 hauv daim teb liab)
- Muab cov rfm95 nti tso rau ntawm daim thaiv esp.
- Muab cov pinheaders tso rau ntawm daim thaiv esp
- Muab cov kav hlau txais xov txuas rau ntawm daim thaiv esp. Tsis txhob siv yam tsis muaj lub kav hlau txais xov koj tuaj yeem ua rau daim thaiv puas tsuaj.
- Yog tias tus pinheaders tsis tau txuas rau ntawm arduino solder cov no ib yam
Kauj ruam 4: Coding
Kuv paub tias kuv tuaj yeem siv DTR kom rov pib dua lub arduino tab sis hauv kuv qhov xwm txheej kuv tau yuam kev xa cov cai. Yog li kuv kuj tau siv phau ntawv rov pib dua hauv phau ntawv qhia no yog li yog tias koj muaj teeb meem tib yam koj tuaj yeem daws nws los ntawm kev rov pib dua phau ntawv.
-
Hlau tus arduino rau CP2102 raws li hauv qab no:
- CP2102 txd -> Arduino pro mini rx
- CP2102 rxd -> Arduino pro mini tx
- CP2102 gnd -> Arduino pro mini gnd
- CP2102 3.3 -> Arduino pro mini vcc
- Qhib lub schetch hauv arduino lub tswv yim
- Xaiv pawg thawj coj saib arduino pro mini
- Xaiv atmega 328p 3.3v 8mhz hauv qab tus txheej txheem
- Xaiv koj qhov chaw nres nkoj com
- Nyem rau khawm upload
- Thaum cov cai tau suav sau thaum lub sijhawm koj pom bautrate (saib daim duab) nias lub pob pib dua ntawm arduino pro mini (cp2102 tsis rov pib dua lub rooj tsavxwm) tseem nco ntsoov kaw koj cov ntawv saib thaum ua haujlwm.
Kauj Ruam 5: Kev thaiv kab
- Hlau hlau arduino zoo li hauv daim duab kos saum toj no
- Tam sim no koj arduino yuav tsum xa cov ntaub ntawv mus rau server server.
AM2305 qhov tseeb yog 3 lub xaim sensor yog li koj tsis xav tau tus tiv thaiv. Tsuas yog xaim lub sensor zoo li hauv daim duab saum toj no. Cov xim yog tib yam. Yog tias koj siv DHT22 hloov chaw koj yuav tsum txuas tus 10k resistor ntawm liab (5V) thiab daj (cov ntaub ntawv) xov hlau.
Kauj Ruam 6: Xaus
Hauv cov lus qhia no koj tau kawm ua lub ntsuas cua uas xa cov ntaub ntawv mus rau LORA lub qhov rooj. Nws xa qhov kub thiab txias ntawm qhov piv txwv lub tsev cog khoom. Txoj hauv kev no koj tuaj yeem saib xyuas koj ib puag ncig thiab koj tuaj yeem npaj npaj cog koj cov zaub siv cov ntaub ntawv no. Tsis tas li koj tuaj yeem siv lub ntsuas ntsuas no los txiav txim siab thaum qhib lub qhov rai lossis pib kiv cua.
Pom zoo:
Nws Pib Cua Txias Siv Servo thiab DHT11 Kub thiab Vaum Sensor Nrog Arduino: 8 Kauj Ruam
Auto Cooling Fan Siv Servo thiab DHT11 Kub thiab Vaum Sensor Nrog Arduino: Hauv qhov kev qhia no peb yuav kawm paub pib li cas & tig kiv cua thaum qhov kub nce siab tshaj ib qib
ESP8266 NodeMCU Access Point (AP) rau Web Server Nrog DT11 Kub Sensor thiab Luam Ntawv Kub & Vaum Hauv Browser: 5 Kauj Ruam
ESP8266 NodeMCU Access Point (AP) rau Web Server Nrog DT11 Kub Sensor thiab Luam Ntawv Kub & Vaum Hauv Browser: Nyob zoo cov phooj ywg hauv feem ntau ntawm cov haujlwm peb siv ESP8266 thiab hauv feem ntau ntawm cov haujlwm peb siv ESP8266 ua lub vev xaib kom cov ntaub ntawv tuaj yeem nkag tau rau txhua lub cuab yeej hla wifi los ntawm kev nkag mus rau Webserver tuav los ntawm ESP8266 tab sis qhov teeb meem tsuas yog peb xav tau lub router ua haujlwm rau
Yuav Ua Li Cas Siv DHT11 Kub Sensor Nrog Arduino thiab Luam Kub Kub thiab Vaum: 5 Kauj Ruam
Yuav Ua Li Cas Siv DHT11 Kub Sensor Nrog Arduino thiab Luam Kub Kub thiab Vaum: Lub DHT11 sensor tau siv los ntsuas kub thiab av noo. Lawv yog cov khoom siv hluav taws xob nrov tshaj plaws.Qhov DHT11 cov av noo thiab ntsuas kub ua rau nws yooj yim ntxiv cov av noo thiab ntsuas kub rau koj li DIY cov phiaj xwm hluav taws xob. Nws yog rau
ESP32 NTP Kev Ntsuas Kub Ua Haujlwm Kub Kub Nrog Steinhart-Hart Kho thiab Tswb Kub: 7 Kauj Ruam (nrog Duab)
ESP32 NTP Kev Ntsuas Kub Ua Haujlwm Ntsuas Kub nrog Steinhart-Hart Kev Kho thiab Tswb Kub: Tseem tab tom taug kev kom ua tiav "qhov haujlwm yuav los tom ntej", "ESP32 NTP Kev Ntsuas Kub Kev Ntsuas Kub Ua Noj Nrog Steinhart-Hart Kev Kho thiab Tswb Kub" yog Cov Ntawv Qhia qhia yuav ua li cas kuv ntxiv NTP ntsuas kub, piezo b
Kub thiab Vaum Zaub thiab Sau Cov Ntaub Ntawv Nrog Arduino thiab Ua: 13 Kauj Ruam (nrog Duab)
Kub thiab Vaum Zaub thiab Sau Cov Ntaub Ntawv Nrog Arduino thiab Ua: Intro: Qhov no yog Txoj Haujlwm uas siv Arduino board, Sensor (DHT11), lub khoos phis tawj Windows thiab Kev Ua Haujlwm (rub tawm dawb) program los tso saib Kub, Cov ntaub ntawv vaum hauv digital thiab bar kab ntawv, tso tawm lub sijhawm thiab hnub tim thiab suav lub sijhawm suav