Cov txheej txheem:

DIY RGB WiFi Teeb: 6 Kauj Ruam
DIY RGB WiFi Teeb: 6 Kauj Ruam

Video: DIY RGB WiFi Teeb: 6 Kauj Ruam

Video: DIY RGB WiFi Teeb: 6 Kauj Ruam
Video: New gadget 🤩 How to make USB LED light at home | Hacker Jp #shorts 2024, Hlis ntuj nqeg
Anonim
DIY RGB WiFi Teeb
DIY RGB WiFi Teeb

Hauv cov lus qhia no kuv yuav qhia koj li cas kuv tsim lub DIY RGB WiFi teeb no. Tag nrho kev tsim tau ua nrog arduino thiab esp-01 (esp8266) thiab rau xob laim kuv siv ib txwm RGB LED. Txhawm rau ua kom nws huv dua Kuv txiav txim siab teeb tsa txhua yam hauv lub teeb kom tsis txhob muaj xov tsis zoo los ntawm lub teeb tsuas yog ib txoj kab hluav taws xob tawm los rau lub hwj chim.

Yog li yog tias koj nyiam qhov kev tsim no ces tsis txhob hnov qab tso koj cov lus tawm tswv yim hauv kab lus hauv qab no yog tias koj muaj lus qhia dab tsi ces nco ntsoov tso lawv tawm hauv kab lus hauv qab no. Kuj thov pov npav rau kuv rau qhov kev sib tw

Kauj Ruam 1: Cov Khoom Siv thiab Cov Cuab Yeej Siv

Khoom Siv thiab Cov Cuab Yeej Siv
Khoom Siv thiab Cov Cuab Yeej Siv
Khoom Siv thiab Cov Cuab Yeej Siv
Khoom Siv thiab Cov Cuab Yeej Siv
Khoom Siv thiab Cov Cuab Yeej Siv
Khoom Siv thiab Cov Cuab Yeej Siv

Nram qab no yog cov npe khoom uas kuv siv rau qhov kev tsim no:-

1. Arduino uno (koj tuaj yeem siv lwm yam zoo li nano)

2. ESP8266 (esp-01)

3. Jumper xov hlau

4. Kub kua nplaum

5. Fevicol

6. LED (5 hli)

7. Ntoo ntoo

8. Soldering hlau

Kauj Ruam 2: Lub Tsev Teeb Lub Teeb

Lub Tsev Teeb Teeb
Lub Tsev Teeb Teeb
Lub Tsev Teeb Teeb
Lub Tsev Teeb Teeb
Lub Tsev Teeb Teeb
Lub Tsev Teeb Teeb

Nqa cov pas ntoo thiab pib ua ib lub xwmfab siv plaub tus pas nyob rau ib lub sijhawm raws li qhia hauv cov duab thiab ua kom rov ua dua thiab sib dua ib leeg tsuas yog nco ntsoov tias thaum ua li ntawd koj yuav tuaj yeem hloov pauv cov pas me ntsis sab hauv thiab thov fevicol rau txhua txheej hauv cov ntsiab lus tiv tauj thiab cia nws qhuav kom nws muaj zog siv cov kua nplaum kub rau sab hauv ib sab thaum nws qhuav, kom nws tuaj yeem tau txais cov duab zoo li tau hais los saum toj no hauv cov duab. ua ob khub zoo li ntawd koj tuaj yeem ua ke lawv tom qab pawg ntseeg.

Ua ntej tshaj plaws yog ua kom tso koj lub rooj tsav xwm arduino sab hauv lub teeb thiab kos cov ntsiab lus rau USB. Txiav qhov ntawd los ntawm lub teeb thiab xyuas kom tseeb tias lub qhov yog qhov tseeb, peb yuav siv nws rau lub hwj chim thiab tseem rau lub phiaj xwm nws tom qab pawg ntseeg.

Kauj ruam 3: Electronics

Electronics
Electronics
Electronics
Electronics
Electronics
Electronics
Electronics
Electronics

Tam sim no hauv cov theem no tso koj cov arduino sab hauv lub teeb thiab cais nws siv cov kua nplaum kub. Txuas 3 (koj tuaj yeem ntxiv ntxiv) coj ntawm lub teeb ntawm lub teeb.

Tam sim no siv qee lub xov hlau txuas los txuas txhua qhov coj mus rau arduino raws li qhov qhia paub.

Tam sim no txuas ESP8266 mus rau pawg thawj coj saib as as thr schematics.

#TSIS MUAJ - ESP8266 ua haujlwm ntawm 3.3V, 5V cov khoom tuaj yeem tua nws, yog li ceev faj thaum txuas nws mus rau pawg thawj coj

Kauj ruam 4: Programming Arduino

Programming Arduino
Programming Arduino
Programming Arduino
Programming Arduino
Programming Arduino
Programming Arduino
Programming Arduino
Programming Arduino

Tsis txhob poob siab nrog lo lus programming nws yooj yim heev txawm tias cov hauv paus tseem tsis tau xav tau.

1. Mus rau koj tus browser thiab ntaus RemotexXY.

2. Tom qab ntawv nyem rau pib tam sim no.

  • Tom qab ntawd mus rau kev teeb tsa- Nyem rau ntawm lub cim ardunio lub tswv yim, tom qab qhov kev hloov pauv txuas mus rau Wi-nkaus nkag mus rau qhov chaw, ntaus ntawv mus rau arduino uno (lossis dab tsi uas koj tau siv lub rooj tsavxwm koj siv), thiab qauv rau esp8226 Wi-nkaus module, IDE rau arduinio xav. Tom qab ntawv nyem rau Thov.
  • Tom qab ntawd mus rau Module interface- Hloov kev sib txuas sib txuas rau khoos phis tawj serial, nrawm (baud tus nqi) mus rau 115200, npe (SSID) mus rau qhov koj xav tau lub npe koj li Wi-nkaus ntawm no kuv tau sau Mood teeb, kaum nyem rau ntawm qhov qhib yog koj tsis xav tau lo lus zais tab sis koj puas xav tau tus password tom qab ntawd ntaus nws hauv tus password.
  • tom qab ntawv nyem rau saib kom ua tus kheej.
  • tom qab ntawd rub lub cim rgb los ntawm lub kaum sab sauv sab sauv mus rau lub vijtsam mobile (koj tuaj yeem ua rau nws loj dua).

3. Tom qab ntawd nyem rau ntawm qhov tau txais qhov chaws.

4. Thiab ntawm no koj yuav tau txais koj cov cai, tsuas yog theej tag nrho cov cai thiab muab tso rau hauv arduino ide.

5. Koj tseem yuav xav rub lub tsev qiv ntawv RemoteXY thiab nruab nws yuav koj li kev xav.

6. Tam sim no koj yuav xav tau tsuas yog kho qhov chaws me ntsis.

Hauv lub voj void cia li muab tus lej muab rau saum toj no

7. Tam sim no upload cov cai hauv koj Arduino tab sis nco ntsoov tshem rx thiab tx pins ntawm esp8266 module kom ua tiav kev xa khoom.

Kuv tseem tau tawm qhov CODE uas kuv tau ua

Kauj ruam 5: Ua tiav

Ua tiav
Ua tiav
Ua tiav
Ua tiav
Ua tiav
Ua tiav
Ua tiav
Ua tiav

Txuas sab qaum ntawm lub teeb thiab ruaj ntseg nws siv cov kua nplaum kub.

Tam sim no nws ua tiav.

Fais fab koj lub rooj tsav xwm arduino nrog nws cov cable. tam sim no txuas rau Wi-nkaus (Hauv kuv qhov xwm txheej nws yog lub teeb pom kev zoo) siv koj lub xov tooj ntse. Tam sim no rub tawm RemoteXY app los ntawm Play store lossis App khw thiab txuas nrog koj lub teeb Wi-nkaus tam sim no koj tuaj yeem tswj xim ntawm koj lub teeb DIY WiFi.

Kauj Ruam 6: Npaj rau Qhov Qhia

Pom zoo: