Cov txheej txheem:

LED Xim Hloov Lub Voos Xwmfab: 4 Cov Kauj Ruam
LED Xim Hloov Lub Voos Xwmfab: 4 Cov Kauj Ruam

Video: LED Xim Hloov Lub Voos Xwmfab: 4 Cov Kauj Ruam

Video: LED Xim Hloov Lub Voos Xwmfab: 4 Cov Kauj Ruam
Video: Tik Tok || Tseem Nco Koj Thiab Kuv P15 2024, Hlis ntuj nqeg
Anonim
Image
Image
LED Xim Hloov Lub Voos Xwmfab
LED Xim Hloov Lub Voos Xwmfab
LED Xim Hloov Lub Voos Xwmfab
LED Xim Hloov Lub Voos Xwmfab

Kuv pom qhov qhia tau zoo los ntawm AlexTheGreat txog kev ua lub voos xwmfab LED. Nov yog qhov txuas.

www.instructables.com/id/Awesome-led-cube/

Kuv txiav txim siab los sim nws, thiab kuv tau kho qhov ntxiv qee qhov ncig ua kom LED hloov xim.

Qhov tshwm sim yog qhov khoom ua si zoo saib uas kuv zoo siab heev.

Kauj Ruam 1: Tsim Lub Thawv

Tsim lub Box
Tsim lub Box
Tsim lub Box
Tsim lub Box

Kuv yuav qee cov ntawv acrylic nyias thiab txiav tawm 5 lub xwmfab. Tom qab ntawd kuv kub glued lawv rau hauv cov duab ntawm lub voos xwmfab. Tom qab tso cov kua nplaum kom qhuav, Kuv tau txhuam txhua sab nrog lub tshuab ua suab nrov me me. Qhov no pab kom nthuav lub teeb los ntawm LED. Sandpaper yuav ua haujlwm ib yam nkaus.

Kauj Ruam 2: Ntxiv Cov Qauv Hlau

Ntxiv Cov Qauv Hlau
Ntxiv Cov Qauv Hlau
Ntxiv Cov Qauv Hlau
Ntxiv Cov Qauv Hlau
Ntxiv Cov Qauv Hlau
Ntxiv Cov Qauv Hlau
Ntxiv Cov Qauv Hlau
Ntxiv Cov Qauv Hlau

Siv kev tshoov siab los ntawm AlexTheGreat cov lus qhia, Kuv txiav tawm qee cov duab tawm ntawm cov ntawv hlau kom kub kua nplaum mus rau lub voos xwmfab. Tom qab sim, kuv xam tawm txoj hauv kev yooj yim tshaj plaws los ua qhov no.

Pib los ntawm kev txiav tawm tsib daim hlau plaub fab tib yam li ib sab ntawm lub voos xwmfab. Kuv yog 3x3 . Tom ntej no, siv tus pas ntsuas thiab taug qab koj cov qauv tsim. Tom qab ntawd txiav lawv nrog qee cov hlau sheers. Cov duab sib npaug thiab nkhaus yog qhov nyuaj heev los ua nrog sheers, yog li nco ntsoov yog tias koj txiav txim siab ua nws.

Kuv txiav txim siab los ua cov ces kaum ib thooj kom tsis txhob muaj qhov tsis sib xws. Nws tau siv qee qhov kev sim thiab yuam kev nrog txiav thiab folding, tab sis qhov kawg tshwm sim zoo li nplua. Tom ntej, kub kua nplaum cov hlau tsim mus rau lub voos xwmfab.

Cov txheej txheem no siv sijhawm ntev tshaj plaws, tsuas yog ua siab ntev thiab ua tib zoo txiav.

Kauj ruam 3: Electronics

Electronics
Electronics

LED uas kuv siv rau txoj haujlwm no yog RGB all-in-one LED. Muaj plaub qhov ua rau ntawm diode: tsis zoo, liab, ntsuab, thiab xiav. Los ntawm qhov sib txawv ntawm qhov hluav taws xob rau txhua tus pin, koj tuaj yeem hloov xim rau txhua yam koj xav tau. Txhawm rau pab nthuav LED, tsuas yog xuab zeb nws maj mam nrog qee cov ntawv xuab zeb.

Cov pins tso tawm ntawm Arduino muaj 255 qib theem. Los ntawm qhov sib txawv ntawm qhov hluav taws xob (nruab nrab ntawm 1 thiab 255) rau txhua xim coj ntawm LED, koj tuaj yeem tswj cov xim.

Hloov chaw ntawm kev siv tag nrho Arduino Uno rau txoj haujlwm no, Kuv tau xaiv los siv ATTiny85 IC. Nws yog qhov yooj yim dua thiab me dua ntawm IC pom ntawm Uno, thiab nws pheej yig heev. Kev ua haujlwm ATTiny yog qhov yooj yim heev ib yam nkaus, tab sis koj xav tau Uno los ua nws. Nws cuam tshuam nrog rub tawm lub tsev qiv ntawv mus rau software, thiab txuas ATTiny rau Uno nrog ob peb lub xov hlau thiab lub tshuab hluav taws xob (txhawm rau tiv thaiv kev rov pib dua). Yog tias koj xav xam seb yuav ua li cas, tsuas yog tshawb "Shrinkify Arduino" hauv YouTube. Muaj ntau qhov yeeb yaj kiab zoo piav txog tus txheej txheem.

Tsuas yog ib feem kuv siv hauv qhov kev tsim no yog peb tus tiv thaiv, ATTiny, RGB LED, hloov, thiab roj teeb. Kuv tuaj yeem tsim thiab xaj PCB rau qhov kev tsim no, tab sis kev sib txuas tau yooj yim heev uas nws tsis tsim nyog siv.

Kauj ruam 4: Software

Software
Software
Software
Software
Software
Software

Lub software yog yooj yim ib yam nkaus. Los ntawm kev hloov pauv ib qho ntsuas hauv "teeb tsa" ib feem ntawm txoj cai, koj tuaj yeem tswj lub sijhawm ntev ua ntej xim hloov.

Kuv tau sau qee cov cai kom muaj xim ploj mus ntawm ib qho mus rau lwm qhov ib yam nkaus, tab sis kuv nyiam qhov hloov xim yooj yim dua. Yog tias koj xav pom tus lej ploj cia li qhia rau kuv paub. Nws cuam tshuam nrog kev tsim cov arrays thiab nce lawv sab hauv ntawm lub voj.

NCO TSEG: Kuv tau hloov cov lej xim hexidecimal hauv Arduino software cov ntaub ntawv los muab IDE cov ntsiab lus "tsaus". Kuv sawv tsis tau coding ntawm keeb kwm yav dhau dawb.

Pom zoo: