Cov txheej txheem:
- Khoom siv
- Kauj ruam 1: Schematic
- Kauj ruam 2: Circuit Court Assembly
- Kauj Ruam 3: Teeb LED Teeb
- Kauj ruam 4: Programming
- Kauj ruam 5: Xeem
Video: Txaj Headboard LED Stripe Teeb Nrog ESP8266-01: 5 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Qhov no yog txoj haujlwm yooj yim heev uas kuv tsis quav ntsej lub sijhawm ntev dhau los, tab sis vim yog kev cais tawm, kuv tau ua qee yam sib txawv nrog cov khoom kuv muaj ntawm tes.
Lub tswv yim yog kom muaj lub teeb dimmerizable, uas tuaj yeem tswj tau los ntawm TCP cov lus txib yooj yim lossis los ntawm kev hloov phau ntawv.
Vim tias tsis muaj ntu, kev tsim kho los ua lub ntsiab lus tseem ceeb ntawm txoj haujlwm. Ua ntej, Kuv tsis muaj qib logic MOSFET, thiab tsuas yog muaj qhov hloov pauv tam sim no MOSFET siab, yog li xav tau tus tsav tsheb me me (tsis yog qhov tsim tau zoo tshaj plaws los ntawm txoj kev), tom qab ntawd lub vaj huam sib luag mem tes hloov pauv tau ploj mus, yog li kuv tau siv lub tshuab microwave tso tseg qhov rooj-xauv kev ruaj ntseg hloov rau lub laub khawm.
Kuv vam tias koj kawm qee yam thiab muaj kev lom zem nrog txoj haujlwm no.
Khoom siv
- 3 m ntawm Dawb LED kab txaij. Thaum kuv yuav nws suav nrog 12 V fais fab mov
- ESP8266-01S x 1
- 2N3904 NPN transistor x1
- 2N3906 PNP transistor x 1
- IRF3205 MOSFET x 1
- AMS1117-3.3 tus tswj x 1
- 3.3 K resistor x 2
- 1 K resistor x 1
- 1.5 K resistor x 1
- 120 resistor x 1
- 10 k resistor x 1
- 10 uF 16 V electrolytic capacitor x 1
- 100 nF ceramic lossis polyester capacitor x 1
- Qhov (socket) lub taub hau txuas 1x6 (ob chav nyob). Txawm tias zoo dua yog tias koj muaj tus poj niam 2x4 txuas rau ESP.
- Terminal txuas rau cov khoom siv thiab cov zis LED
- Ib lub thawv yas dav dav
- Cov cuab yeej hluav taws xob yooj yim (cov hlau txuas, hlau txiav, pliers, thiab lwm yam)
- Arduino IDE nrog ESP8266 txhawb nqa kev teeb tsa.
-
USB rau 3.3 V UART Serial Converter lossis yog tias tsis muaj, ib qho Arduino UNO lossis Nano nrog kev teeb tsa pom ntawm no https://www.electronicshub.org/esp8266-pwm-tutorial-led-fading/ (los ntawm txoj kev, nplooj ntawv txuas zoo heev PWM qhia rau ESP)
Kauj ruam 1: Schematic
Lub Circuit Court muaj PWM tswj MOSFET ntawm GPIO2. Cov tsav tsheb xav tau vim tias IRF3205 xav tau yam tsawg 10 V txhawm rau mus txog nws qhov Rds (ntawm) ntawm 8 miliohms, thiab ESP tsuas yog muab 3.3 V.
Tus tswj hwm 3.3 V tso cai rau lub zog ESP los ntawm cov khoom siv tib yam li cov kab txaij LED, thiab lub kaus mom ntxiv txhim kho cov khoom ruaj khov.
Thaum kawg, lub laub khawm ntawm GPIO0, mus dhau lub voj voog ci nrog txhua qhov nyem. Ntawm kuv rooj plaub, peb qib kev ci ntsa iab thiab teeb tawm.
Kauj ruam 2: Circuit Court Assembly
Nws yog (tsis yog) nrawm thiab (tiag tiag) qhov haujlwm qias neeg. Qhov kev xav tsis zoo tshaj plaws yog qhov kev sib tshuam sib hloov ua haujlwm zoo li lub pulser li cas.
Thov, tsis txhob saib cov hlua: P
Kauj Ruam 3: Teeb LED Teeb
Ntsuas thiab txiav peb ntu, tom qab ntawd txuas cov xov hlau. Thaum kawg, tev cov nplaum thiab nias tawm tsam sab nraum qab ntawm lub taub hau.
Hauv kuv qhov xwm txheej kuv tau dag thiab siv daim kab xev dav lo hla cov kab txaij LED, vim tias cov nplaum tsis muaj zog li cas.
Thaum kawg, ntswj cov xov hlau ntawm lub davhlau ya nyob twg thiab tshawb xyuas cov kev sib txuas.
Kauj ruam 4: Programming
Txoj cai xav tau kev txhim kho ntau yam xws li txhim kho txoj kab kev cais, txhawb nqa tus IP chaw nyob ruaj khov, teeb tsa hom, txuag ib puag ncig hloov pauv mus rau EPROM, nyeem ib puag ncig hloov pauv los ntawm EPROM ntawm khau raj, thiab ntxiv rau.
Txog qhov rub tawm firmware, Kuv siv Arduino nrog ESP lub tsev qiv ntawv zej zog version 2.5.0. Qhov no tseem ceeb vim tias ESP qhov program thauj khoom tsis ua tiav nrog cov kho tshiab, tej zaum yog ib qho nrog ESP8266-01, tej zaum vim tias kuv siv Arduino UNO ua tus thauj khoom, kuv tsuas yog tsis paub.
Nco ntsoov ntxiv https://arduino.esp8266.com/stable/package_esp8266… rau koj qhov kev nyiam Arduino txhawm rau kom tau txais ESP pawg thawj coj saib kev txhawb nqa.
www.electronicshub.org/esp8266-pwm-tutoria… muaj cov lus qhia zoo ntawm ESP8266 PWM. Tsis tas li, kuv tau siv lawv Arduino rau USB hloov pauv mus rau ntsaws qhov program rau hauv ESP.
Kauj ruam 5: Xeem
Txheeb xyuas kab thaiv nrawm ua ntej, thiab ntxig rau ESP8266 rau hauv Circuit Court ua ntej qhib lub zog.
Thawb lub pob Yuav tsum hloov ntawm qhov ci qis, nruab nrab ci, siab tshaj plaws thiab lub teeb tawm.
Txog qhov ntsuas TCP, Kuv siv Qhov Ntsuas Ntsuas tab sis lwm yam software zoo sib xws yuav ua haujlwm
Pom zoo:
Tsab ntawv tsa suab hnov qab teeb pom kev hauv txaj: 16 Cov Kauj Ruam (nrog Duab)
Motion Sensing Under Bed Lighting: Puas tau sim tawm ntawm lub txaj ntsiag to thaum hmo ntuj tsuas yog taug kev hla qee yam thiab tsa tag nrho lub tsev? Tsab ntawv tsa suab pom hmo teeb teeb tsa tsis xwm yeem hauv qab koj lub txaj muab lub teeb qis qis kom txaus los coj koj ib puag ncig cov LEGO uas tsis ncaj ncees
Maus Tail Teeb Nrog Cov Teeb Pom Kev Zoo Siv Lub Teeb LED: 4 Cov Kauj Ruam
Maus Tail Teeb Nrog Cov Teeb Pom Kev Zoo Siv Lub Teeb LEDs: Nyob Zoo! Qhov no yog qee qhov yooj yim DIY ntawm yuav ua li cas thiaj li tsim tau qhov kev cai Programmable RGB Tail Teeb (nrog ua ke ntsais muag/ntsuas ntsuas) rau koj lub maus taus lossis tej zaum muaj ib yam dab tsi siv WS2812B (tus kheej qhov chaw nyob leds) thiab Arduinos . Muaj 4 hom teeb pom kev zoo
Lub Teeb Pob Zeb ✽ Tswj Koj Cov LED Stripe Tsis Muaj Arduino thiab Code: 5 Cov Kauj Ruam (nrog Duab)
Lub Hniav Nyiaj Kub ✽ Tswj Koj Cov LED Stripe Tsis Muaj Arduino thiab Code: Nov yog lub teeb ci ntse uas hloov pauv qhov ci ci los ntawm sab saum toj. Lub Tswv Yim: Qhov no yog txhua lub teeb uas siv rau txhua tus neeg uas nyiam nyeem ntawv hauv qhov chaw so. Sim ua duab tib neeg zaum ntawm lub rooj ntawm lub qhov rais nrog qee qhov txias txias
DIY LED Teeb - Niaj Hnub Teeb Meem Teeb Nrog Cov Chaw Taws Teeb: 8 Kauj Ruam (nrog Duab)
DIY LED Teeb - Niaj Hnub Teeb Mood Teeb Nrog Chaw Taws Teeb: Hauv kab lus no kuv yuav mus hla cov txheej txheem Kuv tau siv los tsim qhov no zoo heev pyramid zoo li tus LED Mood Teeb.Kuv siv maple rau cov qauv tseem ceeb thiab qee qhov mahogany txhav ntxiv rau lub zog. Rau lub teeb Kuv siv RGB LED teeb uas tuaj nyob hauv 16 ko taw
LED Teeb Teeb Duab Cwjmem: Cov Cuab Yeej rau Teeb Teeb Doodles: 6 Kauj Ruam (nrog Duab)
LED Teeb Teeb Lub Cwjmem: Cov Cuab Yeej rau Teeb Doodles: Kuv tus poj niam Lori yog tus neeg siv tsis tu ncua thiab kuv tau ua si nrog kev yees duab ntev ntev rau ntau xyoo. Kev tshoov siab los ntawm PikaPika pab pawg teeb pom kev zoo thiab yooj yim ntawm cov koob yees duab digital peb tau siv lub teeb duab kos duab kom pom tias peb tuaj yeem ua dab tsi