Cov txheej txheem:
- Kauj Ruam 1: Cov Tshuaj
- Kauj Ruam 2: Daim Ntawv Teev Npe
- Kauj Ruam 3: 3d Luam Ntawv
- Kauj Ruam 4: Coding Esp8266
- Kauj Ruam 5: Kauj Ruam Kawg thiab Kev Xav
Video: Kev Tswj Chaw Taws Teeb: ESP8266 Nrog Npib Cell: 5 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Qhov teeb meem loj siv ESPs yog kev siv hluav taws xob thaum Wifi "nce", txog 100-200mA, nce siab txog 300mA. Cov coincells ib txwm xa ob peb mA, nce mus txog 20-40mA. Tab sis rau ESPs qhov hluav taws xob yuav tawg. Peb xav tau "kev pab me ntsis ntawm kuv tus phooj ywg": supercap. Cov khoom siv hluav taws xob xa tawm tam sim no txaus rau lub zog Wifi thiab xa xov, hauv qhov no hloov qhov hais kom ua. Lwm qhov kev xaiv yog datalogger uas yuav tsum sawv txhua ob peb teev rau ob peb feeb.
Hauv cov lus qhia no kuv siv Esp8266 los tsim lub chaw taws teeb tswj rau phillips hue teeb.
Kauj Ruam 1: Cov Tshuaj
Ua ntej tshaj plaws peb yuav tsum paub tias nws tsis muaj lub tswv yim zoo los txuas lub roj teeb thiab lub hau yooj yim.
Kev them nqi tam sim no los ntawm xov tooj ntawm tes mus rau lub hau yuav tsum tau txo nrog tus tiv thaiv. Cov lus qhia tshwj xeeb rau kuv cov xov tooj ntawm tes qhia peb txog qhov siab tshaj tam sim no ntawm 25mA.
Ohm txoj cai: R = U/I -> 3V/25mA = 120 Ohm.
Supercap muaj lub peev xwm txaus los ua lub zog ESP rau 10-20 vib nas this. Yog tias koj siv tus IP chaw nyob zoo li kuv ua, ESP tsuas yog sawv los li 1-2 vib nas this xa/tau txais nws cov lus thiab poob rau hauv "pw tsaug zog" kom txog rau thaum lub khawm pib dua.
Ob txoj kev xaiv rau schematic:
1. Txuas cov khoom ncaj qha thiab siv qhov hloov pauv hloov rau kev nqis tes ua, saib daim duab. Hauv qhov no peb yuav tsum ua kom ntseeg tau tias wemos xav tau lub zog me me li sai tau, yog li peb yuav tsum tshem tawm 3.3V tus tswj hwm thiab muab khoom rau uart-ic.
2. Peb siv lub khawm hloov uas cais cov khoom los ntawm wemos. Qhov tsis zoo yog tias koj yuav tsum nias lub pob rau 1-2 vib nas this kom txog thaum ua tiav. (teeb rau lossis tawm)
Kauj Ruam 2: Daim Ntawv Teev Npe
Thawj Yam Yuav Tsum Tau:
- Wemos D1 mini
- Npib Cell CR2450
- Npib Cell Socket
- Supercap 3.3F 3.0V siv ib qho nrog me me tso tawm tam sim no
- Resistor 120 hli
- xov hlau
Qhov Yuav Tsum Tau Kawm Thib Ob:
Soldering hlau
3D Tshuab Luam Ntawv rau cov ntaub ntawv luam tawm
los yog
lwm yam me me (siv) rooj plaub
los yog
phab ntsa hloov
Kauj Ruam 3: 3d Luam Ntawv
Nov yog qee cov ntaub ntawv stl rau rooj plaub me me uas lub rooj tsavxwm haum raws nraim
Kuv siv cov ntawv luam ib txwm muaj nrog infill ntawm 30% thiab 0.2 hli txheej siab.
Lub pob qhov rooj kuj tau luam tawm yog li koj tuaj yeem siv khawm rov pib dua rau kev nqis tes ua thiab tsis tas yuav siv lub pob ntxiv. Ua daim tiab thiab lub ntsej muag rau lub pob qhov rooj vim qhov khoom me me heev
Kauj Ruam 4: Coding Esp8266
Ua ntej koj xav tau Arduino IDE. Then koj yuav tsum teeb tsa lub tsev qiv ntawv rau Esp8266.
Koj yuav pom ntau qhov kev qhia ntawm no ntawm cov lus qhia yuav ua li cas npaj cov khoom me me no:-)
Rau kev txuas nrawm dua/hloov pauv peb siv tus IP chaw nyob zoo li qub.
Tom qab qhib daim duab txuas nrog Arduino IDE koj yuav tsum ua qee qhov kev teeb tsa nyob ntawm koj li WIFI hauv zos.
n
IPAddress rooj vag (192, 168, 178, 1);
ip chaw nyob ntawm koj lub zos wifi router qhov twg lub choj hue txuas nrog
Tus IP chaw nyob IP (192, 168, 178, 216);
IP chaw nyob ntawm koj qhov kev hloov pauv, paub txog kev siv chaw nyob siab nyob hauv thaj tsam ntawm 200-250 uas tsis siv rau lwm yam khoom siv
IPAddress subnet (255, 255, 255, 0);
int lub teeb = 2;
tus naj npawb ntawm koj lub teeb uas tau hloov
const char hueHubIP = "192.168.178.57";
ip chaw nyob ntawm tus choj hue
const char hueUsername = "hue choj username"
koj yuav tsum tsim lub npe tso cai siv tus choj hue, saib ntawm qhov kev qhia no
const int hueHubPort = 80;
ib txwm "80"
const char ssid = "SSID"; // network SSID (npe)
const char pass = "password"; // network password
thaum kawg SSID thiab tus password ntawm koj lub wifi
Tom qab hloov cov chaw no koj tau npaj rau upload!
Kauj Ruam 5: Kauj Ruam Kawg thiab Kev Xav
Nco ntsoov ua ntej them lub hau ua ntej txuas rau wemos vim tias Esp8266 tam sim ntawd pib ua wifi txuas tom qab rov pib dua/txuas lub zog.
Saib kev sib dhos hauv video
kom txuag hluav taws xob txuas tus pin 4 thiab 16 ntawm uart-ic thiab tshem tawm qhov ntsuas hluav taws xob, thov nco ntsoov tom qab ntawd nws tsis tuaj yeem ua haujlwm wemos ntawm USB !!
Pom zoo:
ESP8266 - Kev Kho Vaj Tsev Nrog Timer thiab Kev Tswj Chaw Taws Teeb Ntawm Is Taws Nem / ESP8266: 7 Cov Kauj Ruam (nrog Duab)
ESP8266 - Dej Irrigation Nrog Timer thiab Kev Tswj Chaw Taws Teeb Ntawm Is Taws Nem / ESP8266: ESP8266 - Kev ywg dej nyob deb tswj thiab nrog sijhawm rau zaub zaub, paj vaj thiab nyom. Nws siv ESP-8266 Circuit Court thiab hydraulic / hluav taws xob valve rau cov chaw tso dej rau dej kom zoo.Qhov Zoo: Tus nqi qis (~ US $ 30,00) nkag tau sai Commands ov
Chaw Ua Si Chaw Taws Teeb Chaw Tswj Hluav Taws Xob Wireless 3D Luam Tsheb: 7 Cov Kauj Ruam (nrog Duab)
Chaw Ua Si Chaw Taws Teeb Chaw Tswj Hluav Taws Xob Wireless 3D Luam Tsheb: Leej twg tsis nyiam twv txiaj? Sib tw thiab Sib ntaus hauv Ntiaj Teb Virtual ntawm Chaw Ua Si thiab Xbox !! Yog li, coj qhov kev lom zem rau lub neej tiag tiag Kuv tau ua Cov Lus Qhia no uas kuv yuav qhia koj li cas koj tuaj yeem siv ib qho Chaw Ua Si Chaw Taws Teeb Chaw Taws Teeb (Wired
Bluetooth Chaw Taws Teeb Tswj Chaw Teeb - Retrofit. Lub Teeb Hloov Tseem Ua Haujlwm, Tsis Muaj Kev Sau Ntawv Ntxiv: 9 Kauj Ruam (nrog Duab)
Bluetooth Chaw Taws Teeb Tswj Kev Teeb - Retrofit. Lub Teeb Hloov Tseem Ua Haujlwm, Tsis Muaj Kev Sau Ntxiv: Hloov Kho Lub Kaum Ib Hlis 25, 2017 - Rau Lub Hwj Chim Siab ntawm qhov haujlwm no uas tuaj yeem tswj tau kilowatts ntawm kev thauj mus los saib Retrofit BLE Kev Tswj rau Kev Siv Lub Hwj Chim Siab - Tsis Xav Tau Ntxiv Ntxiv Qee cov BLE cov laug cam / software sib sau ua ke
Ordinary Cov Khoom Siv Hluav Taws Xob Hloov pauv mus rau Plaub-channel RC Qho Chaw Taws Teeb Chaw Taws Teeb: 4 Cov Kauj Ruam
Ordinary Cov Khoom Siv Hluav Taws Xob hloov pauv mus rau plaub-channel RC Toy Remote Control: 将 将 通用 遥控 器 转换 转换 玩具 玩具 模型 使用 的 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62方法 方法 非常。 只需 准备 一些 瓦楞纸 瓦楞纸 板 板 , , , 然后 然后
Cov Neeg Hlau Tswj Chaw Taws Teeb Siv Arduino thiab TV Chaw Taws Teeb: 11 Kauj Ruam
Kev Tswj Tus Neeg Siv Hluav Taws Xob Siv Arduino thiab TV Chaw Taws Teeb: Lub tsheb tswj chaw taws teeb no tuaj yeem txav mus los siv ib qho kev siv tej thaj chaw deb xws li TV, AC thiab lwm yam. los ntawm kev siv IR tus txais, uas yog lub ntsuas phoo pheej yig heev nyob rau hauv