Cov txheej txheem:

ESP8266 POV Ntxuam nrog Moos thiab Web Page Hloov Kho Tshiab: 8 Kauj Ruam (nrog Duab)
ESP8266 POV Ntxuam nrog Moos thiab Web Page Hloov Kho Tshiab: 8 Kauj Ruam (nrog Duab)

Video: ESP8266 POV Ntxuam nrog Moos thiab Web Page Hloov Kho Tshiab: 8 Kauj Ruam (nrog Duab)

Video: ESP8266 POV Ntxuam nrog Moos thiab Web Page Hloov Kho Tshiab: 8 Kauj Ruam (nrog Duab)
Video: Волшебная палочка POV на ESP8266 2024, Hlis ntuj nqeg
Anonim
ESP8266 POV Kiv cua nrog Moos thiab Web Nplooj Ntawv Hloov Kho Tshiab
ESP8266 POV Kiv cua nrog Moos thiab Web Nplooj Ntawv Hloov Kho Tshiab
ESP8266 POV Ntxuam nrog Moos thiab Web Nplooj Ntawv Hloov Kho Tshiab
ESP8266 POV Ntxuam nrog Moos thiab Web Nplooj Ntawv Hloov Kho Tshiab
ESP8266 POV Ntxuam nrog Moos thiab Web Nplooj Ntawv Hloov Kho Tshiab
ESP8266 POV Ntxuam nrog Moos thiab Web Nplooj Ntawv Hloov Kho Tshiab
ESP8266 POV Kiv cua nrog Moos thiab Web Nplooj Ntawv Hloov Kho Tshiab
ESP8266 POV Kiv cua nrog Moos thiab Web Nplooj Ntawv Hloov Kho Tshiab

Qhov no yog qhov sib txawv ntawm qhov nrawm, POV (Kev Ua Phem Ntawm Lub Zeem Muag), Kiv cua uas tsis tu ncua qhia lub sijhawm, thiab ob kab lus uas tuaj yeem hloov kho "ntawm yoov."

POV Kiv cua kuj tseem yog ib nplooj ntawv web server uas tso cai rau koj hloov ob kab lus.

Txhawm rau siv POV Kiv cua, yuav tsum muaj lub wireless network nrog "cov neeg siv khoom sib koom". Yog tias koj tsis paub tias tus neeg siv khoom sib koom yog dab tsi, nws yooj yim los nrhiav. Nrhiav lwm lub khoos phis tawj ntawm koj lub network. Yog tias koj tuaj yeem pom lawv, koj muaj cov neeg siv khoom sib qhia muaj peev xwm ntawm koj lub network. (Feem ntau cov tsev so thiab cov chaw pej xeem tsis tso cai rau cov neeg siv khoom sib faib-cov neeg nyob ib leeg-rau qhov laj thawj kev nyab xeeb.)

POV siv lub tsev qiv ntawv "WifiManager" uas ua rau nws yooj yim txuas rau lub wireless network txhua qhov chaw koj nyob. Thaum txuas nrog lub wireless network, POV Ntxuam yuav tso tus IP chaw nyob uas koj xav tau los tso rau hauv koj lub vev xaib browser bar. Koj tuaj yeem hloov cov ntawv hauv POV Fan ntawm lub vev xaib.

Cov ntawv qhia no yog me ntsis siab dua qib novice. Muaj qee qhov kev sib txuas, kev khawb av, "kub kua nplaum-phom", thiab ntsuas hluav taws xob koom nrog. Yog tias koj xav tias koj niam yuav chim siab uas koj tsoo nws cov kiv cua nyiam sib nrug, thiab ua rau koj tsev neeg raug teeb meem los ntawm hluav taws xob, tej zaum koj yuav tsum ua qee yam txawv, txwv tsis pub nyeem ntxiv.

Khoom siv

Kho vajtse:

  • ESP8266 --- Qhov no tuaj yeem yog NodeMCU VIN5v-3.3Logic, Super Node VIN3.3v, Weemos VIN5v-3.3Logic, Adafruit Huzzah VIN5v-3.3Logic Sparkfun Yam VIN5v-3.3Logic, lossis liab qab ESP8266 VIN3.3v (raws li Kuv tsis mus rau hauv kev nthuav dav ntawm teeb tsa lub rooj tsav xwm rau ib qho liab qab ESP8266, yog li USB lub rooj tsav xwm muaj peev xwm hais tau yuav yooj yim dua.) Nco tseg qhov yuav tsum tau ua hauv daim duab saum toj no.
  • AMS1117-3.3v thiab 10k resistor (rau 3.3v cov laug cam)-Qhov no yog 3.3v lub zog tswj hwm. Nco tseg cov lus saum toj no, cov lus xaiv tau hais tseg ntawm ESP cov cuab yeej thiab cov hluav taws xob uas tau teev tseg ib sab ntawm lawv. Yog tias koj muaj VIN 3.3volt system, AMS1117-3.3v yog qhov tsim nyog. Qhov liab qab ESP8266 yog 3.3v.
  • Hall Sensor thiab 10k resistor --- Kuv siv 3144 ntau yam. Txawm hais tias lawv tau ntsuas rau 4.5v thiab nce, Kuv tau muaj txiaj ntsig zoo nrog 3.3v kev tsheb nqaj hlau. Kuv siv 10k tus tiv thaiv kom rov pib dua los ntawm "xau" qhov hluav taws xob rov qab tawm (rub lub neej qis).
  • (5) LEDs (thiab xaiv tau cov tiv thaiv) --- Siv txhua yam koj tuaj yeem pom. Kev ntaus nqi rau LED xav tau tus tiv thaiv kom ua kom ruaj khov tam sim no los ntawm kev ntws dawb los ntawm LED thiab zoo ib yam li luv Circuit Court. Nco tseg cov nplooj ntawv LED cov ntaub ntawv nrog kev ntsuas rau SUSTAINED lub zog. Rau "Pulse Width Modulation, PWM" lossis nrawm nrawm, LEDs tuaj yeem tiv taus qhov sib txawv me ntsis ntawm qhov hluav taws xob yog li tus tiv thaiv yog xaiv tau hauv 3.3v system. Kuv nyiam superbright dawb 3mm lossis 5mm, ~ 3.4v @ 20mA. Yog tias koj siv LED liab, nco ntsoov tias qhov ntsuas hluav taws xob tuaj yeem qis dua, 1.8v @ 20mA, yog li cov neeg tawm tsam yuav yog qhov kev tiv thaiv zoo. (voltage_rail - LED_voltage) / Amperes = xav tau kev tiv thaiv. piv txwv li, (3.3v-1.8vLED = 1.5v) faib los ntawm.02A lossis 20mA = 75 Ohms resistor tau pom zoo. (Nco tseg: Qhov qhia tau zoo tshaj plaws resistor kuv nco yog los ntawm Raspbery Pi qhia kuv tau saib-https:// www. youtube.com/watch?v=ZNNpoLFbL9E&t=227… ntawm kwv yees li 2:40 cim- Nws yog qhov kev kawm zoo tshaj plaws! Kuv kos lub voj voog saum toj no rau siv.)
  • Pheej yig 5v phab ntsa them nyiaj --- Kuv siv lub qub los ntawm lub xov tooj. Peb yuav tawg nws qhib thiab pov cov laug rau nws. Ib qho pheej yig los ntawm Cov Khw Dollar yuav tsim nyog.
  • Wireless Charging Coils --- Kuv siv qee yam zoo li no, lossis qhov no. Nws me me tab sis zoo heev. ESP8266 siv qhov chaw ib puag ncig 300mA thaum kis wirelessly. Loj tsis xav tau- tsuas yog kim dua. … Dua li, lub tshuab hluav taws xob hauv kab nrog DC qhov hluav taws xob yuav ua rau lub zog ruaj khov thaum xav tau ntau dua.
  • 100uF 16v Electrolytic Capacitor- Qhov hluav taws xob yuav tsum muaj tsawg kawg 5v. Txhua yam dhau 5v yuav zoo. Lub hau 16v yog overkill, tab sis kuj pheej yig thiab yooj yim mus nrhiav.
  • Hlau nplaum- Kuv muaj ob peb neodymium hlau nplaum dag ib ncig, tab sis cov hlau nplaum yuav tsum ua haujlwm.
  • Kiv cua-Kuv siv lub thawv kiv cua pheej yig los ntawm lub khw hauv nroog rau $ 12- $ 18 thaum lub caij ntuj sov. Cov cwj pwm thiab qhov ntau thiab tsawg yog txwv nrog qhov tshwj xeeb ntawm chav kho vajtse. Qhov loj dua tus kiv cua, nws yooj yim dua yog nyem hauv cov khoom siv. Ib tus kiv cua me me yuav saib ntau dua, "Ghetto Frankenstein," thaum kho vajtse raug teeb tsa sab nraud. Nco ntsoov tias tus kiv cua no muaj qhov xav tau rau lub kiv cua kom tswj kom ua haujlwm.
  • Kev Ntxuam Ntxuam Kev Tswj Xyuas (Yeem Yeem Tau)- Qhov no txawv dua li cov phab ntsa hloov- teeb pom kev zoo dua qub. Cov kiv cua ceev tswj kev hloov pauv nthwv dej ntawm hluav taws xob txhawm rau ua kom zoo tshaj qhov tsav tsheb sab hauv lub tshuab AC. Nrhiav qhov tseeb kiv cua tswj rau koj tus kiv cua. Yog tias tsis siv tus kiv cua tswj qhov nrawm, Koj yuav tsum hloov lub zog mus rau 5V txoj kev tsheb nqaj hlau cais. -Qee tus neeg yuav nyiam qhov no vim nws tso cai rau koj tua POV, thiab txuas ntxiv siv kiv cua.
  • Shrink Tubing-- thiab/lossis cov hlua hluav taws xob xaiv. Kuv tau pom cov xim tuab tuab tiag tiag, ua kua nplaum nplaum, kab xev hluav taws xob, thiab kua nplaum kub siv los ua rwb thaiv tsev hlau. Ntawm qhov hloov pauv, nws yog ib qho tseem ceeb kom tsis txhob hnyav.
  • Super-Glue- Super Glue yog qhov sib dua li Hot Glue, thiab pab ua kom qhov hnyav poob qis ntawm qhov tig.
  • Qhov tsawg tshaj plaws thiab lub teeb insulated hlau koj tuaj yeem pom. (xov tooj xaim xaim, ethernet cable xaim, khaws ATA npav HDD ribbon, …)

Cov Cuab Yeej:

  • Kev Nyab Xeeb Ua Ntej --- Qee qhov tsom iav kev nyab xeeb ib txwm zoo. Tsis txhob ua qhov ntawd me ntsis hauv koj lub qhov muag ntawm qhov haujlwm no.
  • Cov hnab looj tes tawv - Koj yuav tsum ib txwm hnav hnab looj tes tawv thaum ua haujlwm txhua yam. Cov hnab looj tes ntaub tuaj yeem nthuav tawm thiab raug ntes hauv qhov me ntsis yooj yim, snapping thiab ua txhaum cov ntiv tes thiab/lossis laum me ntsis.
  • Soldering Iron, flux, thiab solder
  • Laum thiab/lossis Dremel
  • Hlau Cutters thiab Wire Strippers
  • Kub Nplaum Rab Phom- Kuv tus ntxhais yog "Hot Glue Gun Ninja." Kuv xav tias nws tuaj yeem kho txhua yam nrog nws.
  • Ntsia Hlau Ntsia Hlau- Kom tshem lub kiv cua sib nrug.
  • Fais tester
  • Sandpaper - Yog tias koj muaj daim ntawv ntsia hlau, qhov ntawd zoo. Peb tsuas yog xav tau ntxhib cov LEDs kom lawv tsis pom kev ntau dua. Superglue thiab ci dej qab zib ua haujlwm ib yam nkaus.

Kauj Ruam 1: Koj POV Xav Tau Lub Hwj Chim- Muaj Kev Xaiv

Muaj ob txoj hauv kev rau lub zog POV ib feem ntawm tus kiv cua. Tej zaum koj yuav xav kom POV qhib nrog lub kiv cua los ntawm lub neej ntawd, lossis koj yuav xav qhib POV nkaus xwb.

OPTION 1is tsis txhob siv tus tswj hwm qhov sib txawv ntawm txhua qhov. Tsuas yog faib lub zog los rau hauv lub kiv cua mus rau qhov sib cais uas tig rau POV. Qhov no yog tus kheej piav qhia. Qhov no yuav yog qhov kev xaiv zoo dua rau cov kiv cua me me uas tsis muaj chav ntau nyob hauv lub tsev rau qhov hloov pauv ceev.

OPTION 2 yog txhawm rau hloov peb qhov hloov pauv nrawm nrog tus tswj hwm qhov sib txawv. Siv lub zog tom qab tus tswj lub nrawm kom qhib POV txhua lub sijhawm tus kiv cua nyob. Qhov no yuav ua rau koj tus kiv cua zoo li POV kos npe. Qhov no yuav yog yam koj xav tau yog tias koj tsis xav kom txhua tus qiv koj lub dag zog txhua lub sijhawm kom txias tawm ntawm chav tsev thaum lawv tsaug zog. Kuv siv qhov kev xaiv no hauv lub thawv kiv cua piav qhia saum toj no.

Kuv twv muaj YOG qhov kev xaiv thib peb. Koj tuaj yeem ua ob qho tib si, ceg POV lub zog los ntawm cov kab hluav taws xob nkag mus rau qhov hloov pauv, THIAB siv tus tswj hwm qhov sib txawv tsuas yog kom muaj kev tswj tau zoo dua ntawm kiv cua.

Kauj Ruam 2: Siv Tus Kheej Hloov Pauv Hloov Pauv

Siv Qhov Hloov Pauv Hloov Pauv Hloov
Siv Qhov Hloov Pauv Hloov Pauv Hloov

Ua ntej koj ua dab tsi, ntsaws koj tus kiv cua rau hauv phab ntsa thiab tig lub kiv cua mus rau nws qhov chaw siab tshaj. Thaum tus kiv cua tau teeb tsa siab tshaj plaws, rub lub ntsaws los ntawm phab ntsa. Tawm qhov hloov mus rau txoj haujlwm siab tshaj plaws thiab rub lub pob qhov rooj tawm. Qhov no yuav pab peb nrhiav txoj xov hlau raug rau tus kiv cua Ceev Tswj.

Cov Cuam Tshuam Hloov Pauv Hloov pauv yuav tsum muaj lub kiv cua teeb tsa ntawm qhov nrawm tshaj plaws. Ib lub thawv kiv cua hloov pauv (qhov hloov pauv thawj zaug koj yuav tau hloov) muaj ib lub xov hlau los ntawm lub zog qhov hluav taws xob (qhov kawg ntawm phab ntsa), thiab peb lub xov hlau mus rau qhov sib txawv ntawm qhov cua hauv lub kiv cua lub cev. Ib ntawm peb lub xov hlau ntawm qhov hloov pauv thiab lub kiv cua lub cev tig lub kiv cua mus rau nws qhov chaw siab tshaj. Koj yuav tsum nrhiav cov xov hlau twg yog qhov siab tshaj plaws kiv cua teeb tsa thiab sau nws. Lwm ob lub xov hlau yuav tsis tseem ceeb thiab tuaj yeem tiv thaiv thiab/lossis kaw tau. Tam sim no, koj tuaj yeem hloov peb qhov hloov pauv nrawm nrog qhov hloov pauv hloov ceev siv cov ntawv lo hlau.

Qee tus kiv cua yuav muaj lub thawv me me nyob ze rau ntawm qhov hloov. Tsis txhob mess nrog nws. Nws yog qhov feem ntau yuav yog lub ntsuas hluav taws xob thiab lub ntsuas cua sov uas ua rau lub kiv cua.

Kuv xav hloov tus kiv cua hloov mus rau lub sijhawm ntev tam sim no vim tias peb tus menyuam dev coj tsis ncaj tau zom lub pob qhov rooj thiab hloov mus rau lub nub koj pom hauv daim duab saum toj no. Kuv tus kiv cua coj tus No 2 phillip lub taub hau ntswj kom yooj yim tshem tawm cov hniav nyiaj hniav kub pem hauv ntej los ntawm tus kiv cua. Thaum cov hniav nyiaj hniav kub tau rub tawm, Kuv tuaj yeem nkag mus rau qhov hloov pauv tau yooj yim. Kuv tau sau cov xov hlau zoo li daim duab saum toj no kom lawv muaj kev sib koom ua ke. Kuv muab ib daim kab xev rau Neutral, "N," kab thiab pom lwm txoj kab.

Thaum koj muaj cov xaim hluav taws xob sau npe, koj tuaj yeem txiav qhov hloov tawm. Siv lub ntsuas Ohm kom pom cov xov hlau twg mus rau lub cav qhov nrawm tshaj plaws ntawm qhov cua. Kuv yog tus xov tooj 1.

Kauj Ruam 3: Breadboard Koj ESP8266 (Tsis teb los tau)

Breadboard Koj ESP8266 (Tsis teb los tau)
Breadboard Koj ESP8266 (Tsis teb los tau)
Breadboard Koj ESP8266 (Tsis teb los tau)
Breadboard Koj ESP8266 (Tsis teb los tau)
Breadboard Koj ESP8266 (Tsis teb los tau)
Breadboard Koj ESP8266 (Tsis teb los tau)
Breadboard Koj ESP8266 (Tsis teb los tau)
Breadboard Koj ESP8266 (Tsis teb los tau)

OK, Kuv nyiam ua breadboard kuv cov phiaj xwm tsuas yog kom ntseeg tau tias lawv tsis muaj qhov xav tsis thoob. Kuv muab tag nrho kuv cov khoom tso rau ntawm lub khob cij thiab khiav nws.

ESP-12F Thawj peb qhov kev piav qhia saum toj no yog qhov liab qab ESP-12F pins. Thawj qhov piv txwv yog rau kev teeb tsa lub rooj tsavxwm. Qhov piv txwv thib ob tsuas yog cov kiv cua sib txuas. Koj tuaj yeem siv ob qho, lossis tsuas yog program nws thiab tso ob daim ntawv txuas ib leeg.

Super Node Qhov piv txwv plaub thiab thib tsib siv Super Node board. Koj tuaj yeem tsuas yog teeb tsa lub rooj tsav xwm no ib yam nkaus thiab tshem tawm ob peb tus hloov pauv thiab FTDI ntawm tus kiv cua. Nco ntsoov tias kuv tsis tau muab lub capacitor xav tau rau hauv qhov kev piav qhia. Koj tseem yuav xav tau ib qho rau lub zog ruaj khov.

NodeMCU Qhov kev xaiv thib peb yog yooj yim heev. Siv NodeMCU lossis sib npaug (Huzzah Feather, Weemos, Sparkfun Yam, …) thiab tshem tawm txhua qhov kev hloov pauv thiab 3.3v tus tswj hwm. Qhov sib txawv yog tus nqi ntawm NodeMCU, uas yog ze li peb rau plaub zaug tus nqi ntawm qhov liab qab ESP-12F.

Kauj Ruam 4: Ua Haujlwm ESP8266

Wb saib cov cai.

Muaj ob peb lub tsev qiv ntawv xav tau hauv daim duab no. Cov no yuav xav tau hauv koj Arduino IDE. Muaj ntau ntawm lawv tuaj yeem ntxiv los ntawm "Tus Thawj Saib Xyuas Tsev Qiv Ntawv" hauv Arduino IDE. Mus rau koj Arduino IDE, thiab qhib "Cuab Yeej >> Library Manger". Qhov tseem ceeb tshaj plaws yog WifiManager los ntawm tzapu.

#suav nrog //https://github.com/esp8266/Arduino

#suav nrog

#suav nrog

#suav nrog

#suav nrog //https://github.com/tzapu/WiFiManager ESP8266WebServer server (80); #suav nrog; WiFi UDP UDP;

Daim ntawv ceeb toom tias muaj ib tuj ntawm cov lus pom hauv cov cai yog li nws tuaj yeem ua raws tau yooj yim.

Kuv kuj tau hloov tus lej ntawm kab los ntawm kev siv Wifi yooj yim txuas mus rau WifiManager muaj zog dua. Kuv tawm ntawm cov kab sib txuas ip zoo li qub, tab sis tawm tswv yim rau lawv. Tsis tas li, Kuv muaj NTP server nkag mus txhua 24 teev ntau dua li nkag mus rau server txhua lub voj. Koj NTP server yuav thaiv koj zoo li TSR Virus yog tias koj nkag mus ntau zaus.

Tej zaum nws yuav zoo li tsis meej me me nrog txhua qhov ntxiv cov cai tau hais tawm. Ua siab dawb rho tawm cov lus hais tawm cov cai. Kuv tso nws nyob ntawd rau kev xaiv.

Kuv yuav hais txog cov kab tseem ceeb tshaj plaws.

Ntawm Kab 42 qhov "hall_interval" tau tshaj tawm. Lub sijhawm sib nrug ntawm lub tsev yog lub sijhawm nruab nrab ntawm cov ntawv hloov pauv. Nws tau teeb tsa ntawm 10 vib nas this. Txhua kaum vib nas this, cov cuab yeej hauv tsev nyeem qhov nrawm ntawm lub kiv cua thiab kho cov ntawv kom haum. Nws kuj tseem hloov ntawm lub sijhawm, ntawv 1 thiab ntawv 2. Qhov no tuaj yeem hloov pauv raws li qhov koj nyiam.

Ntawm kab 52, koj yuav xav hloov NTP server los ntawm qhov uas koj yuav txuas thiab tau txais koj lub sijhawm.

Cov credit yuav tsum tau muab qhov credit yuav tsum tau! Kuv tsim kuv thawj POV siv Altoids Tin, ATTiny85, thiab qee lub xov tooj. Ntawm Kab 131 Kuv hais txog lub hauv paus tseem ceeb rau POV tsab ntawv lub tswv yim. Kuv tau hloov pauv txoj cai tseem ceeb kom ua tau zoo dua rau txoj haujlwm no, tab sis nws yuav tsis tau tshwm sim yam tsis muaj qhov pib no.

Ntawm Kab 291-365 lub vev xaib nrog jquery cov tsev qiv ntawv raug ntxias. Lub tsev qiv ntawv Ajax tau coj los ntawm cov peev txheej sab nraud, yog li nws yuav zoo tshaj kom ntseeg tau tias lawv tau hloov kho tshiab.

Ntawm Kab 498 WifiManager tus password yuav tsum raug hloov pauv kom pom qhov koj xav kom nws ua. Nov yog tus password uas xav tau los teeb tsa POV Fan thawj zaug nkaus xwb.

Zoo siab los xauj los ntawm tus lej seem. Yog tias koj nyob hauv hom khob cij nce qib, koj tuaj yeem tsis pom zoo Cov kab lus tawm tswv yim rau kev debugging.

Thaum koj tau xa cov duab kos rau koj tus ESP8266, koj yuav tsum pom lwm Wifi Access Point ntawm koj lub xov tooj lossis lub laptop hu ua POV_Fan. Txuas rau nws, qhib lub vev xaib thiab ntaus tus IP chaw nyob hauv qhov chaw nyob bar "192.168.4.1". Koj yuav tsum muaj peev xwm txuas koj tus kiv cua rau koj lub tsev network Wifi router. Koj yuav tsis txuas nrog POV_Fan. Tsis txhob ntshai. Yoj ib lub hlau nplaum rov qab thiab tawm los ntawm lub sensor sensor- pem hauv ntej mus rau tom qab. Koj POV_Fan yuav txuas rau NTP server thiab tau txais lub sijhawm (Nws yuav siv sijhawm ib pliag). Koj yuav tsum pom cov LEDs flashing.

Kauj Ruam 5: Npaj Npaj Ua Koj Tus Frankenstein

Npaj Npaj Ua Koj Tus Frankenstein!
Npaj Npaj Ua Koj Tus Frankenstein!
Npaj Npaj Ua Koj Tus Frankenstein!
Npaj Npaj Ua Koj Tus Frankenstein!

Muab tag nrho ua ke, yog !!!!!

Ua kom koj cov kua txiv muaj tswv yim mus rau ntu no. Thaum koj tshem tawm cov grill pem hauv ntej ntawm koj tus kiv cua, tej zaum koj yuav pom tias tsis muaj qhov chaw ntau ntawm sab xub ntiag ntawm cov kiv cua tuaj sib dhos thiab cov hniav nyiaj hniav kub. Thawj daim duab suav nrog saum toj no qhia txog tus kiv cua nrog Txiv Ntseej tuav cov hniav ntawm lub cav ntxaiv. Daim duab thib ob qhia pom tus kiv cua nrog cov kiv cua tuaj pwm rau ntxaiv.

Kuv muaj peev xwm tshem tawm cov hniav sib dhos nrog cov txiv ntoo thiab siv txhua qhov khoob tom qab cov hniav ib yam nkaus-zoo heev! Kuv yuav tsum tau ua ntau dua. Kuv siv Super Node, yog li kuv yuav tsum tau muab tag nrho lwm cov khoom siv ib puag ncig ntxaiv.

Qhov txheej thib ob ntawm cov hniav yog qhov nyuaj vim tias qhov chaw ntxaiv ze rau ntawm cov hniav nyiaj hniav kub. Kuv yuav tsum tau so qee cov khoom. Kuv cia siab tias kuv nyuam qhuav siv sab nrauv ntawm lub puab sab hauv los ua ke los tso cov khoom siv es tsis txhob sim siv lub hauv ntej. Kuv siv ESP-12F uas yog me ntsis txawm tias. Nws ua haujlwm zoo. Kuv kuj suav nrog cov khoom siv rau kev ua haujlwm yog li kuv tuaj yeem tweek nws tom qab yog tias kuv xaiv.

Cov Cai ntawm Kev Koom Tes

  • Sim txiav txim siab qhov sib npaug ntawm tus kiv cua. Muab cov khoom sib npaug sib npaug rau LEDs thiab Hall Sensor. Yog tias koj pom tias koj tus kiv cua vibrates ntau dhau, siv qee yam los tiv thaiv cov hniav (cov ntsia hlau me, qee daim kab xev, kub-kua nplaum globs, xijpeem …).
  • Ntxiv los ntawm nruab nrab ntawm tus kiv cua, ntau lub zog centrifugal yuav nyob ntawm cov khoom siv. Ruaj ntseg lawv zoo.

Kauj Ruam 6: Ruaj Ntseg Koj Cov LEDs thiab Koj Lub Tsev Sensor

Ruaj ntseg koj cov LEDs thiab Koj Lub Tsev Sensor
Ruaj ntseg koj cov LEDs thiab Koj Lub Tsev Sensor
Ruaj ntseg koj cov LEDs thiab Koj Lub Tsev Sensor
Ruaj ntseg koj cov LEDs thiab Koj Lub Tsev Sensor
Ruaj ntseg koj cov LEDs thiab Koj Lub Tsev Sensor
Ruaj ntseg koj cov LEDs thiab Koj Lub Tsev Sensor

Txhawm rau txuas cov LEDs ua ke, Kuv siv 1/4 qhov me ntsis thiab ntsuas ntawm txoj kab ncaj 1.5cm hauv 2x4 pawg thawj coj saib. Cov LEDs zaum hauv lawv thiab kuv tau yooj yim tuaj yeem yaj lawv hauv ib qho array. Kuv xav tias 1 cm yuav zoo dua vim tias cov tsiaj ntawv zoo li siab heev thiab nthuav tawm ntawm 1.5cm.

Ntsuas koj cov hniav thiab siv 3/16 nti me ntsis txhawm rau txhawm rau qhov. Cov LEDs yuav tsum ua kom nruj heev rau hauv lub qhov thiab muaj kev nyab xeeb heev. Siv cov ntawv xaum nyob rau sab xub ntiag ntawm LEDs kom ua rau lub teeb pom kev zoo dua. Kuv nyiam kuj tseem siv superglue thiab ci dej qab zib los lo cov LEDs rau hauv qhov chaw thiab tsim kom muaj qhov sib kis zoo dua ntawm lub teeb. Superglue kuj yog qhov hnyav los ntawm kev sib piv rau Hot Glue.

Ntawm qhov kawg ntawm kev sib dhos kiv cua, laum lossis dremel peb lub qhov me me rau koj lub cuab yeej ntsuas. Daim ntawv ceeb toom hauv daim duab tias lub ntsuas qhov ntsuas yog nyob ib puag ncig mus rau cov hniav. Ib zaug ntxiv, ruaj ntseg koj cov xov hlau kom zoo. Dhau lawv los ntawm qhov hauv cov hniav sib dhos kom ruaj khov.

Kauj Ruam 7: Kuaj Cov Khoom Kawg

Solder Cov Khoom Kawg
Solder Cov Khoom Kawg
Solder Cov Khoom Kawg
Solder Cov Khoom Kawg
Solder Cov Khoom Kawg
Solder Cov Khoom Kawg

Muab koj cov coils kaw kom ze li sai tau yam tsis tau kov. Ib khub ntawm snips rau CDROM qub yog qhov chaw zoo yog tias koj xav tau shim cov coils. Txij li cov coils nyob hauv nruab nrab ntawm cov kiv cua kiv cua sib dhos, tsis muaj ntau qhov quab yuam centrifugal. Koj tuaj yeem Kub Kub nrog kev ntseeg siab.

Kuv siv USB cable (ib qho pheej yig, tsis yog koj li phiaj xwm zoo ib qho) txhawm rau txhawm rau lub kauj ntawm cov hniav nyiaj hniav kub. Nco ntsoov, cov kab hluav taws xob mus rau tus qauv plaub lub xov tooj USB cable yog Liab thiab Dub. Kab Dawb thiab Ntsuab yog kab digital.

Ua kom tiav koj cov soldering. Txij li thaum kuv khob cij boarded kuv, Kuv tsuas yog nruab ib feem ntawm ib lub sijhawm. Siv koj lub sijhawm. Xyuas kom cov LEDs txuas nrog qhov raug. Qhov No. 1 LED yuav tsum yog sab nraud.

Thaum koj ua tiav cov laug, tso cov hlau nplaum rau hauv txoj hauv kev ntawm lub cuab sensor. Koj xav kom nws nyob ze rau ntawm lub qhov rooj sensor ntau li ntau tau thaum lub sijhawm tig yam tsis tau tsoo nws.

Kauj Ruam 8: Tua Nws

Tua Nws
Tua Nws
Tua Nws
Tua Nws

Thaum koj tus kiv cua ua tiav, tua nws!

Yog tias koj twb tau teeb tsa koj tus kiv cua rau Wifi, koj yuav tsum pom tus IP chaw nyob hauv tus kiv cua POV. Nws yuav siv sijhawm ib pliag los txuas rau Wifi. Mus rau lub web browser thiab ntaus tus IP chaw nyob rau hauv qhov chaw nyob bar. Cov ntawv yuav hloov pauv mus rau ob kab ntawv uas koj tau ntaus.

TUAJ !!!

Pom zoo: