Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Qauv Sau
- Kauj ruam 2: Software
- Kauj ruam 3: Electronics
- Kauj Ruam 4: Sib dhos Horn
- Kauj Ruam 5: Ua Kom tiav Lub Rooj Sib Tham
Video: WiFi Tswj Unicorn Cap? Nrog RGB Teeb: 5 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Nyob zoo sawv daws.
Kuv tus me tau nudging kuv, ib pliag, hais txog nthuav wearable DIYs cuam tshuam nrog cov unicorns. Yog li, kuv tau khawb kuv lub taub hau thiab txiav txim siab los tsim qee yam txawv txawv thiab nrog peev nyiaj tsawg heev.
Txoj haujlwm no tsis xav tau app los tswj nws, nws tuaj yeem tswj hwm los ntawm kev siv cov cuab yeej twg uas muaj lub web browser muaj. Nws kuj tseem tuaj yeem ua haujlwm hauv 2 hom, raws li ib leeg thiab ib feem ntawm tsev WiFi network.
Lub vev xaib muaj ntau txoj haujlwm hais txog lub kaus mom uas muaj lub raj mis uas tsis muaj lub raj nrog tsim hauv LEDs, tab sis ntau ntawm lawv yog qhov nyuaj, lossis siv cov khoom ntiag tug uas tsis yog pheej yig. Nco ntsoov txhua yam ntawm cov npe saum toj no, Kuv tau teeb tsa pob nyiaj siv tsawg dua 5 USD rau nws.
Yog li, cia peb mus txuas ntxiv.
Khoom siv
• ESP12 series, tuaj yeem yuav ntawm aliexpress (1USD)
• ams1117 3.3v, zoo li qhov no (0.2 USD/thooj)
• 16 LEDs ntawm ws2811 x 60 pixels/m LED teeb sawb, siv qhov no, nws ua haujlwm zoo los ntawm 3.3v (1.6 USD rau 16 pixels)
• lub roj teeb Li-Ion tiaj tus, tuaj yeem siv los ntawm lub xov tooj ntawm tes qub (zoo li kuv tau ua)
• tiaj tus nyem hloov
• qee cov xov hlau
• Cov khoom siv xaws
• Cov hlau txuas nrog cov khoom siv
• lub kaus mom baseball
• 10 cm ntawm Velcro daim kab xev (xaiv tau)
• kub yaj phom nrog kua nplaum
• jig uas yuav tso cai rau koj los teeb tsa ESP yam tsis tas yuav siv cov laug, Kuv siv Wemos D1 raws tus programmer
• 3D tshuab luam ntawv
Kauj Ruam 1: Qauv Sau
Nov yog ob peb tus qauv luam tawm. Rau qhov laj thawj nyab xeeb kuv tau luam tawm lub suab raj los ntawm TPU yas. yog li nws mos thiab yoog raws. lub hau tuaj yeem luam tawm nrog cov yas nyiam, xws li PLA, ABS lossis PETG
Kauj ruam 2: Software
Kev kos duab rau cov lus qhia no tuaj yeem rub tawm los ntawm kuv GitHub
Ib feem ntawm software yog qhov zoo sib xws rau txoj haujlwm yav dhau los uas kuv tau siv, nrog ntau qhov zoo, zoo li kev siv tus kheej (WiFi AP) hom nrog kev ua haujlwm tsis zoo. Tsis tas yuav hais ntau txog software thiab luam tib cov ntaub ntawv, nws tau piav qhia ntxaws hauv cov lus qhia no tsim los ntawm kuv. Kho vajtse ib feem tseem ceeb dua thiab yuav tsum tau piav qhia, yog li cia peb tsom mus rau nws hauv cov ntsiab lus.
Peb yuav tsum rub tawm thiab teeb tsa Arduino IDE, ua tsaug rau Steve Quinn, uas twb tau tsim cov lus qhia ntxaws ntawm kev ua qhov no hauv nws Cov Lus Qhia, yog li tsis tas yuav tsum ntaus txhua yam ntawd.
Thaum koj rub tawm daim duab - qhib nws hauv Arduino IDE.
Nrhiav qhov "#define NUM_LEDS 8" kab thiab teeb tus lej pixels sib npaug rau qhov ntev ntawm kab txaij LED (hauv peb qhov xwm txheej nws yog 8, hloov yog tias koj yuav siv tus lej sib txawv). Qhib Secrets.h tab hauv Arduino IDE thiab hloov tus password '11223344' cov ntaub ntawv raws li koj xaiv. Txuag thiab xa cov duab kos mus rau ESP pawg thawj coj saib. Siv "ESP 8266 Sketch Data Upload" ntawv qhia zaub mov thiab xa lwm cov ntaub ntawv los ntawm daim duab mus rau SPIFS.
Txog AP (sawv ib leeg) hom koj yuav tsum nrhiav WiFi Network hu ua "Unicorn + numbers" thiab txuas rau nws los ntawm kev siv tus lej zais uas koj tau teev hauv "Secrets.h" cov ntaub ntawv. Tom qab ua tiav no - txuas rau Horn los ntawm kev ntaus https://192.168.4.1 hauv koj tus browser. Ib nplooj ntawv yuav tau ntim nrog ntau txoj kev xaiv tswj.
Txuas cov LEDs thiab tshawb xyuas tias txhua yam ua haujlwm tau zoo thiab tshem tawm ESP los ntawm jig.
Kauj ruam 3: Electronics
Siv lub roj teeb thiab txuas 2 lub xov hlau nrog lub txuas thiab lub zog khawm. Cov chaw soldering tuaj yeem raug cais nrog cov kua nplaum kub. Qhov no yuav ua rau peb muaj peev xwm tshem tawm thiab them lub roj teeb.
Nqa ESP pawg thawj coj nrog rub tawm software, lo lub zog tswj hwm rau sab nraub qaum ntawm nws nrog daim kab xev ob tog thiab ua kom tiav cov thaiv. Siv cov duab ua siv.
Nco tseg: Cov ntaub ntawv tus pin yuav tsum tau muab muag rau GPIO4 cov zis.
Kauj Ruam 4: Sib dhos Horn
Nqa cov ntawv luam tawm. Mount lub LED kab txaij rau lub hau ntswj, zoo li qhia hauv daim duab txuas.
Nco tseg: Thov siv daim kab xev nyias zaj duab xis nruab nrab ntawm kab txaij, nws yuav cais cov neeg ua haujlwm ntawm sab nraub qaum ntawm LED kab txaij kom tsis txhob luv luv.
Ntxig lub hau nrog cov nplaum LEDs thiab lo nws nrog rab phom kub kub thiab nws ua tiav.
Kauj Ruam 5: Ua Kom tiav Lub Rooj Sib Tham
Siv lub tshuab raj, nrhiav txoj hlua khi ntawm lub hau sab xub ntiag, nthuav txoj hlua khi nrog awl thiab xov cov xov hlau los ntawm lub qhov. Rub cov xov hlau sab hauv lub hau. Xaws lub tshuab raj mus rau lub hau los ntawm kev siv cov coj tshwj xeeb nyob rau hauv qab ntawm lub raj. Qhwv ESP pawg thawj coj nrog daim kab xev hluav taws xob kom tsis txhob muaj hluav taws xob. Nias lub roj teeb thiab khawm rau lub hau los ntawm sab hauv qhov Velcro thov, saib cov duab rau kev siv. Txhim kho cov xov hlau nrog xaws xov rau lub hau.
Tam sim no nws ua tiav.
Ua tsaug rau kev nyeem ntawv thiab ua tsaug rau kuv tus poj niam zoo nkauj uas nws tau pab hauv kev kaw video.
Pom zoo:
ESP8266 RGB LED Sawb WIFI Tswj - NODEMCU Raws li IR Chaw Taws Teeb rau Led Sawb Tswj Hauv Wifi - RGB LED Sawb Smartphone Tswj: 4 Cov Kauj Ruam
ESP8266 RGB LED Sawb WIFI Tswj | NODEMCU Raws li IR Chaw Taws Teeb rau Led Sawb Tswj Hauv Wifi | RGB LED Sawb Smartphone Tswj: Nyob zoo cov neeg hauv qhov kev qhia no peb yuav kawm paub siv nodemcu lossis esp8266 li IR chaw taws teeb los tswj RGB LED sawb thiab Nodemcu yuav raug tswj los ntawm smartphone dhau wifi. Yog li hauv paus koj tuaj yeem tswj RGB LED Sawb nrog koj lub xov tooj
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
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
Kov Tswj Lub Teeb Nrog Ntawv Teeb Duab: 14 Cov Kauj Ruam (nrog Duab)
Kov Tswj Lub Teeb Nrog Daim Duab Teeb Duab: Hauv cov lus qhia no kuv piav qhia yuav ua li cas koj tuaj yeem tsim lub teeb kov kov nrog ntawv ua lub teeb ntxoov ntxoo.Nws yog txoj haujlwm yooj yim uas txhua tus tuaj yeem tsim nws hauv tsev. los yog tawm lub teeb los ntawm kev kov
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