Cov txheej txheem:

Infinity Daim iav Phab Ntsa Hauv IKEA Daim Duab Duab: 4 Kauj Ruam
Infinity Daim iav Phab Ntsa Hauv IKEA Daim Duab Duab: 4 Kauj Ruam

Video: Infinity Daim iav Phab Ntsa Hauv IKEA Daim Duab Duab: 4 Kauj Ruam

Video: Infinity Daim iav Phab Ntsa Hauv IKEA Daim Duab Duab: 4 Kauj Ruam
Video: Zoo Siab Nrog Koj - Paj Tsua Thoj [ Official MV ] Nkauj Tawm Tshiab 2022 2024, Kaum ib hlis
Anonim
Image
Image
Infinity Daim iav Phab Ntsa Hauv IKEA Daim Duab Duab
Infinity Daim iav Phab Ntsa Hauv IKEA Daim Duab Duab
Infinity Daim iav Phab Ntsa Hauv IKEA Daim Duab Duab
Infinity Daim iav Phab Ntsa Hauv IKEA Daim Duab Duab
Infinity Daim iav Phab Ntsa Hauv IKEA Daim Duab Duab
Infinity Daim iav Phab Ntsa Hauv IKEA Daim Duab Duab

Nyob zoo, Kuv ib txwm xav tsim lub moos phab ntsa. Muaj ntau ntau ntawm cov phab ntsa zoo nkauj hauv khw xws li IKEA. Kuv muaj qee qhov teeb meem nrog cov lag luam moos no. Lawv nrov heev rau kuv (tic-tac txuas ntxiv yog qhov tsis txaus ntseeg), Kuv tsis tuaj yeem pom cov teev teev hauv qhov tsaus ntuj, lawv siv ntau qhov chaw ntawm kuv phab ntsa thiab lawv tsis raug. Kuv txiav txim siab los tsim lub moos ntsiag to nrog LEDs thiab nrog kev sib txuas hauv is taws nem thiab kuv ua ke nrog lub iav tsis muaj qhov kawg. Daim iav ua rau nws muaj peev xwm pom cov teev teev. Kuv lub tswv yim yog ua kom yooj yim li sai tau. Tag nrho lub tsev txheej txheem yuav siv sijhawm li 30 feeb. Tus nqi tes haujlwm yog $ 20. Chav tsev tau siv los ntawm tus qauv them lub xov tooj (5VDC). Ua tiav cov khoom siv hluav taws xob thiab daim iav tau tsim ua cov duab thav duab yuav ntawm IKEA.

Kauj Ruam 1: Daim Ntawv Teev Npe BOM

BOM lis
BOM lis

Lub npe khoom, tus nqi, txuas

IKEA RIBBA Daim Duab Duab Dub 23cmx23cm 1 pc

WS2812B Coj Sawb, Ib Leeg Nyob Ib Sab Smart RGB Led Sawb, Dub 74pcs/1m IP30 1 pc https://www.aliexpress.com/item/1m-2m-3m-4m-5m-ws …

NodeMcu v3 Lua WIFI Internet of Things development MCU board ESP8266 1 pc

Xov tooj charger 1 pc

USB xov tooj cable 1 pc

Proto PCB 1 pc

Cable rau soldering 1 pc

Solder tin 1 pc

Capacitor 16V 16V 470uF 1 pc

Vaj tsev rau khoom siv hluav taws xob 1 pc

Daim iav 23 cm x 23 cm 1 pc Cov khw hauv zos

Cov iav iav 23 cm x 23 cm 1 pc Cov khw hauv zos

Tag nrho cov nqi khoom ntawm qhov haujlwm: 20, 25 $/tag nrho txoj haujlwm

Kauj ruam 2: Sib dhos

Los ua ke
Los ua ke
Los ua ke
Los ua ke

Txhua kauj ruam ntawm cov txheej txheem sib dhos tuaj yeem pom hauv thawj kauj ruam video.

Qee cov ntaub ntawv ntxiv rau daim vis dis aus:

Qhov teeb meem hais txog qhov tseeb ntawm lub moos tau daws los ntawm IoT thev naus laus zis thiab lub sijhawm ua haujlwm sib txuas server. Hauv txoj haujlwm no, Kuv tau siv NodeMCU, uas yuav ua haujlwm raws sijhawm.

Cov kauj ruam tom ntej yog nrhiav tsev nyob raug. Kuv xaiv IKEA RIBBA Daim Duab Duab. Kuv xav tau 60 pcs ntawm LEDs hauv lub moos vim tias muaj 60 vib nas this thiab 60 feeb. Kuv ntsuas lub cheeb tsam sab hauv ntawm tus ncej. Kuv suav, tias 74 pcs / 1 meter LED sawb yog qhov zoo tshaj. Tom qab kuv txiav 14 pcs LEDs los ntawm kab 1-meter, qhov seem 60 pcs haum txig rau sab hauv ntawm tus ncej.

Txog qhov cuam tshuam qhov iav infinity, koj tuaj yeem pom ntau ntxiv ntawm no:

Daim iav thiab daim iav iav yog cov khoom lag luam ntawm lub khw iav hauv ib cheeb tsam, lawv txiav lawv rau qhov loj me.

Kauj ruam 3: Circuit Court

Qhov Circuit
Qhov Circuit

Kuv txuas tag nrho cov khoom siv raws li cov txheej txheem. Tsuas yog ob peb tus lej PIN ntawm lub nodeMCU tau siv yog li me me proto PCB tau ntau dua li txaus. Qhov tseeb, cov xaim hluav taws xob tuaj yeem txuas ncaj qha rau tus lej PIN, thiab cov cuab yeej hluav taws xob hauv tsev tuaj yeem tawm mus, lossis koj tuaj yeem tso lub npov no ze ntawm lub hwj chim kom muaj qhov zoo dua. Txog qhov ntawd, koj yuav tsum txuas cov xov txuas los ntawm LEDs kab, qhov ntev tshaj plaws rau cov kab no yog 5 metres (raws li cov ntawv teev tseg, tsis kuaj). Lub tshuab hluav taws xob tsis xav tau yog tias lub hwj chim muab tau zoo. Kuv lub USB adapter yog ib qho pheej yig, yog li kuv tau siv ib 450uF capacitor rau proto PCB.

WS2812B LEDs yog qhov chaw nyob ntawm nws tus kheej. Yooj yim heev los ua haujlwm nrog lawv. Kuv nyuam qhuav txuas 5 VDC, GND rau lub hwj chim thiab tus lej PIN sib txuas lus rau MCU, thiab nws ua haujlwm. Tus lej ntawm LED yuav tsum tau teev nyob hauv Arduino code. Nov yog cov ntaub ntawv ntau ntxiv txog cov LEDs-s no:

Kauj ruam 4: Rub tawm Cov Ntawv Txuas Txuas

Txhawm rau rub tawm cov cai nkag mus rau MCU-s siv Arduino IDE Software thiab USB txuas:

Muaj ntau cov lus qhia txog yuav ua haujlwm li cas rau NodeMCU xws li:

www.instructables.com/id/Programming-ESP82…

Qhov yooj yim ntawm qhov chaws tau los ntawm qhov kev qhia no:

www.instructables.com/id/Infinity-Mirror-C… Ua tsaug NwsGraGra rau kev tshoov siab.

Thawj qhov haujlwm pib nrog qhov program demo, qhia txog lub peev xwm ntawm LED-s. Hmoov tsis zoo, tom qab ob peb feeb MCU rov pib dua nws tus kheej. Kuv xav tias qhov teeb meem yog qhov pheej yig USB adapter. Kuv sim nrog lub rooj zaum saum lub hwj chim, tsis muaj dab tsi hloov. Kuv tshem tawm ib feem ntawm qhov program demo, tom qab ntawd txhua yam ua haujlwm tau zoo. Kuv tawm ntawm qhov program demo hauv qhov chaws, yog tias ib tus neeg pom qhov teeb meem thov tso qhov kev daws teeb meem rau hauv kev tawm lus lossis xa xov tuaj rau kuv.

Ua ntej xa NodeMCU tus lej, hloov koj li ntawv pov thawj Wifi, thiab teeb tsa koj lub sijhawm.

Cov lus kawg

Kuv tau siv lub moos no rau 1 lub hlis yam tsis muaj teeb meem. Kuv zoo siab nrog txoj haujlwm no, Kuv twb tau txais qee qhov kev thov los ntawm kuv tsev neeg tias kuv yuav tsum tsim qee yam ntxiv.

Muaj ib hnub zoo!

Pom zoo: