Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Ntxiv Koj Cov Ntaus rau LoggingPlatform
- Kauj Ruam 2: Kev Kho Vajtse Txuas
- Kauj Ruam 3: Upload Software Xav Tau Rau Ntaus Ntawv (Windows Qhia)
- Kauj Ruam 4: Txheeb Xyuas Koj Cov Ntaub Ntawv ntawm Desktop lossis Txawb
Video: MicroPython ntawm Pheej Yig $ 3 ESP8266 WeMos D1 Mini rau 2x Kub Kub Logging, Wifi thiab Txawb Stats: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Nrog me me pheej yig ESP8266 nti / ntaus ntawv koj tuaj yeem teev cov ntaub ntawv kub sab nraum, hauv chav, tsev cog khoom, chav kuaj mob, chav txias lossis lwm qhov chaw dawb kiag li. Qhov piv txwv no peb yuav siv los ntsuas cua txias hauv chav sov, sab hauv thiab sab nraum.
Cov cuab yeej yuav txuas nrog internet ntawm Wifi
Koj yuav tuaj yeem tshawb xyuas qhov kev nyeem tshiab kawg ntawm koj lub xov tooj ntawm tes, desktop lossis lwm yam khoom siv nrog browser
Khoom siv
Koj xav tau cov khoom kho vajtse txhawm rau txiav cov cuab yeej Koj tuaj yeem yuav cov cuab yeej xav tau ntawm no (yam tsawg kawg nkaus xav tau):
- WeMos D1 mini
- micro USB cable
- 2x DS18B20 waterproof nrog module board
Kuj zoo kom muaj:
- USB charger rau Fais fab koj lub cuab yeej
- Waterproof thaiv
Kauj Ruam 1: Ntxiv Koj Cov Ntaus rau LoggingPlatform
Ntawm no koj tuaj yeem ntxiv koj lub cuab yeej kom tau txais cov yuam sij api xav tau tom qab:
Kauj Ruam 2: Kev Kho Vajtse Txuas
Txuas 2x DS18B20 Tawm rau WeMos D1 hauv
DS18B20 siv onewire thiab tuaj yeem txuas nrog tus pin tib yam, tab sis koj ua kom yooj yim txuas yam tsis muaj soldering, peb yuav txuas sib cais.
Daim duab piv txwv ntawm daim duab 1
Nco ntsoov tias DIgital inputs/outputs ntawm WeMos D1 mini tsis zoo ib yam li hauv cov cai, ntawm no yog piv txwv hloov pauv, qhov no yog vim li cas hauv cov cai peb siv tus pin 4 thiab 5, tab sis ntawm cov laug cam tau sau ua D1, D2 raws li ntawm daim duab 2
Kauj Ruam 3: Upload Software Xav Tau Rau Ntaus Ntawv (Windows Qhia)
Txuas lub cuab yeej rau USB ntawm koj Windows PC Rub tawm thiab nruab Python ntawm no:
Rub tawm thiab khiav uPyCraft IDE cov cuab yeej los nyem koj NodeMCU ntawm no: uPyCraft.exe
Image 1: Xaiv COM chaw nres nkoj (qhov no yog ib txwm muaj ntau dua yog tias koj tsis muaj lwm yam khoom siv txuas nrog)
Duab 2:
Hlawv microPython rub tawm lub firmware rau lub cuab yeej Yog tias koj muaj pyBoard lossis ntaus ntawv nrog lub khoos phis tawj ua ntej koj tuaj yeem hla cov kauj ruam no
Rub tawm MicroPython firmware rau NodeMCU ntawm no:
Duab 3:
Upload LoggingForest cov cai yooj yim piv txwv rau ntaus ntawv Rub tus lej piv txwv ntawm no: main.py
Siv cov ntawv qhia zaub mov-> Txuag nplooj ntawv lossis CTRL+S txhawm rau rub tawm los ntawm nplooj ntawv no main.py
Tam sim no qhib cov ntawv hauv uPiCraft cov cuab yeej thiab hloov pauv tsis tau txais ntawm loggingforest.com lub vev xaib
Duab 4:
Download tau thiab khiav
Kauj Ruam 4: Txheeb Xyuas Koj Cov Ntaub Ntawv ntawm Desktop lossis Txawb
Tom qab ntawd koj lub cuab yeej yuav pib xa cov ntaub ntawv mus rau kev txiav ntoo thiab koj tuaj yeem pom nws nyob ntawd Duab 1: Hauv kev txiav ntoo txiav cov cuab yeej hloov kho tsuas yog txhais lub npe thiab tus nqi
Duab 2:
Nyem rau saib ua ntej
Duab 3:
Thiab koj yuav pom cov ntaub ntawv zoo, kub hauv chav txias thiab sab nraud kub
Pom zoo:
NodeMCU Lua Pheej Yig 6 $ Board nrog MicroPython Kub thiab Vaum Logging, Wifi thiab Txawb Stats: 4 Cov Kauj Ruam
NodeMCU Lua Pheej Yig 6 $ Board nrog MicroPython Kub thiab Vaum Logging, Wifi thiab Txawb Stats: Qhov no yog huab cua huab cua chaw nres tsheb, koj tuaj yeem tshawb xyuas cov ntaub ntawv ntawm koj lub xov tooj lossis siv qee lub xov tooj raws li cov duab nyob nrog NodeMCU ntaus ntawv koj tuaj yeem teev cov ntsuas kub thiab cov av noo sab nraum. , hauv chav, tsev cog khoom, lab, chav txias lossis lwm qhov chaw ua tiav
Pheej Yig Qhov Chaw Nkag Nkag Pheej Yig Pheej Yig: 6 Kauj Ruam (nrog Duab)
Pheej Yig Qhov Chaw Nkaum Nkag Pheej Yig: CreditI zoo nkauj heev theej Savjee qhov kev siv tab sis tsis txhob siv Shelly Kuv siv Sonoff Basic. Txheeb xyuas nws lub vev xaib thiab YouTube Channel
Yuav Ua Li Cas Txawb Txawb Txawb Txawb Tsheb Ntawm Bluetooth: 4 Cov Kauj Ruam
Yuav Ua Li Cas Txawb Txawb Chaw Taws Teeb Tsheb Ntawm Bluetooth: Yuav Ua Li Cas Txawb Txawb Txawb Tsheb ntawm Bluetooth | Indian LifeHacker
Arduino thiab SIM900 GSM GPRS 3G Kub thiab Vaum Logging, Txawb Stats: 4 Cov Kauj Ruam
Arduino thiab SIM900 GSM GPRS 3G Kub thiab Vaum Logging, Txawb Xovtooj: Nrog Arduino UNO R3, SIM900 Shield THIAB DHT22 koj tuaj yeem teev cov ntsuas kub thiab cov av noo sab nraum, hauv chav, tsev cog khoom, lab, chav txias lossis lwm qhov chaw dawb kiag li. Qhov piv txwv no peb yuav siv los ntsuas qhov kub thiab txias hauv chav.Device yuav
Multi-Touch Interface ntawm Pheej Yig (Yeej Pheej Yig): 3 Cov Kauj Ruam
Multi-Touch Interface ntawm Pheej Yig (Pheej Yig Heev): Nov yog kuv thawj Kev Qhia yog li thov ua zoo. Nov yog yuav ua li cas thiaj kov tau ntau tus neeg tawm ntawm koj lub rooj rau nyiaj tsawg heev. Thaum kawg tau txais daim vis dis aus tso tawm, thov txim txog qhov tsis zoo-tus nqi kuv lub laptop tsis zoo txhua