Cov txheej txheem:

4x4x4 Coj Lub Vev Xaib: 13 Kauj Ruam (nrog Duab)
4x4x4 Coj Lub Vev Xaib: 13 Kauj Ruam (nrog Duab)

Video: 4x4x4 Coj Lub Vev Xaib: 13 Kauj Ruam (nrog Duab)

Video: 4x4x4 Coj Lub Vev Xaib: 13 Kauj Ruam (nrog Duab)
Video: ОБЗОР QIYI MOFANGGE 4x4x4 THUNDERCLAP - ЛУЧШЕГО БЮДЖЕТНОГО КУБИКА 4х4 2024, Hlis ntuj nqeg
Anonim
4x4x4 Led Cube
4x4x4 Led Cube

Vim li cas tsim lub voos xwmfab LED no?

* Thaum koj ua tiav koj tuaj yeem pom cov qauv zoo nkauj thiab zoo nkauj.

* Nws ua rau koj xav thiab daws teeb meem.

* Nws yog kev lom zem thiab txaus siab pom tias txhua yam los ua ke zoo li cas.

* Nws yog qhov haujlwm me me thiab muaj peev xwm tswj tau rau txhua tus neeg tshiab rau kev siv tshuab thiab khoom siv hluav taws xob los kawm, thiab tseem loj txaus los ua kom pom kev zoo nkauj thiab ntxim nyiam.

* Tus lej arduino yooj yim rau kev tswj hwm.

* Tus nqi qis rau kev lom zem siab thiab tus nqi loj uas koj yuav kawm yog tias koj tshiab rau cov khoom siv hluav taws xob.

Ua ntej kuv yuav qhia koj yuav ua li cas thiaj ua tau 4x4x4 coj lub voos xwmfab uas xav tau tsuas yog ob peb teev ntawm kev ua haujlwm kom teeb tsa (ib zaug koj ua jigs) tab sis kuj yog qhov tsim qauv khov kho. Kuv yuav sim kuv qhov zoo tshaj plaws los piav kom txhua tus nkag siab txog kuv qhov kev xaiv tsim. Thaum kawg kuv yuav piav qhia yuav ua li cas npaj cov qauv tshiab hauv 2 txoj kev sib txawv.

Khoom siv

Qhov:

  1. 10cm * 15cm prototyping board - 1x $ 2 ea
  2. sn74hc595n - 2x $ 0.57 ea
  3. 120 ohm resistors - 16x $ 0.04 ea (Tus nqi nyob ntawm koj li LED saib qib 7)
  4. 10k ohm resistors - 4x $ 0.10 ea
  5. Fqp20n06l N channel MOSFETS - 4x $ 0.95 ea
  6. Arduino nano v3 - 1x $ 22 ea
  7. 5.5 mm dc jack - 1x yeem $ 0.35 ea
  8. Tinned tooj liab hlau 20 AWG - 15ft $ 0.12/ft
  9. Ribbon cable 40 tus neeg xyuas pib lossis lwm qhov ntsuas me me (AWG) xaim - tsawg dua 1ft $ 2.3/ft
  10. 5 hli plywood 6 ", 12" - 1 x $ 2 ea
  11. solder.8mm - 1x $ 10.89 ea
  12. 1 "x 6" x 4 'board - 6 "$ 8.39 ea
  13. 5mm diffused LEDs - 64 $ 15 pob
  14. 100nf ceramic cap - 2x $ 0.25 ea

Kwv yees tus nqi ib lub voos xwmfab: $ 40 (yog tias ib feem tau yuav hauv ntau qhov nqi ib qho yuav poob qis)

Cov Cuab Yeej:

  1. Koob lub qhov ntswg x 2
  2. Yaug cov tshuab txiav lossis Sab txiav
  3. Soldering hlau
  4. Cov hlua hlau
  5. Rooj pom
  6. Laum (Laum xovxwm pom zoo)
  7. Hacksaw los yog band pom
  8. Computer rau programing

Kauj Ruam 1: Thawj Jig **

Thawj Jig **
Thawj Jig **
Thawj Jig **
Thawj Jig **

Thawj jig suav nrog 2) 0.8mm cov khoom siv tho, pawg thawj coj, thiab 5mm qhov rau LED. Pib tawm los ntawm kev siv koj lub rooj tsav xwm tsab ntawv (tsawg kawg 2cm dav thiab 2.54mm (0.1 ") qhov sib nrug nruab nrab mus rau nruab nrab ntawm lub qhov) khij thawj kab ntawv ntawm ib qho ntawm cov npoo ntawm pawg thawj coj saib. nce 3 qhov ntxiv. Tom qab ntawd kos tus cim uas yog 2 qhov txuas ntxiv mus (saib daim duab #1). Tom ntej no hauv qhov nruab nrab cim qhov qhov tho qhov 5mm qhov kuv siv 13/64 nti me ntsis thiab nws ua haujlwm tau zoo. Nws yog qhov zoo tshaj yog tias koj siv cov khoom me me thiab ua haujlwm koj txoj hauv kev mus txog 13/64 nti tsuas yog kom ntseeg tau tias nws tau zoo nyob hauv qhov yog tias nws tsis yog tag nrho lub voos xwmfab yuav raug tshem tawm. Ua kom ntseeg tau tias txhua lub qhov yog sib dhos rau lub rooj tsav xwm tsab ntawv yog tias muaj siv lub laum xovxwm tab sis tes siv tes yuav ua haujlwm. Txiav 3) 1 "plaub fab Nws yooj yim tshaj plaws los siv band pom tab sis txhais tes pom yuav ua haujlwm ib yam nkaus. Nrog elmer cov kua nplaum ua ib pawg ntoo me me nrog txhua tus ntug kab ib leeg nrog ib leeg. Thaum kawg muab nws nplaum rau ntawm pawg thawj coj saib nws txhua qhov ua ke thiab tos. Thaum txhua yam tau qhuav rov xyaum txhua yam kom lub qhov nyob hauv pawg thawj coj mus ua txhua txoj hauv kev los ntawm cov ntoo thaub qab. Muab cov khoom 0.8mm tso rau hauv lub qhov uas tau ua ntawm ntug. Yog tias txhua yam ua tiav raug nws yuav tsum zoo li daim duab #2.

** Cov duab kos tau tsim los ua 8*8*8 LED lub voos xwmfab kom lawv loj dua me ntsis. Koj jig yuav me dua. Cov jigs no yog ua los ntawm Steve Manley tus qauv rau nws 8*8*8 RGB LED lub voos xwmfab. Nws zoo nkaus li thiab ua haujlwm zoo. Kuv xav kom txheeb xyuas nws cov vis dis aus.

nws channel you-tube

Kauj Ruam 2: Qhov thib Jig **

Qhov thib ob Jig **
Qhov thib ob Jig **

Qhov thib ob jig yog ua los ntawm 5 hli plywood. Pib los ntawm kev kos thiab txiav 3 daim uas yog 4 "los ntawm 2" rau qhov no kuv siv cov hlua pom tab sis txhais tes pom tseem yuav ua haujlwm. Ntawm ib qho ntawm cov cim hauv 1 "ntawm 2" sab ntawm ob qho kawg thiab kos kab hauv nruab nrab ntawm ob. Ntawm 4 "sab mus rau 1/2" ntawm kab ntawv yav dhau los cim tom ntej yuav tsum yog 1 "los ntawm qhov tam sim no txuas ntxiv mus txog thaum koj mus txog qhov kawg ntawm pawg thawj coj saib. Thaum cov kua nplaum tau qhuav tag ob qho kab cim thiab ntu ntu ua ke muab lawv sib dhos Ua ke. loj dua kuv mus nrog 1/4 ".

Kauj Ruam 3: Thib Peb Jig **

Qhov thib peb Jig **
Qhov thib peb Jig **

Jig thib peb yog tsim los ntawm ib daim ntawm 1 "x 6". Ua ntej txiav lub rooj tsavxwm mus rau ntu tswj tau ntau dua txog 5 "ntev. Thaum qhov no ua tiav koj tuaj yeem coj nws mus rau lub rooj pom kom txiav cov ntoo txog li 1/4 hauv qhov tob hauv ib qho kev qhia yuav ua haujlwm. Lawv yuav tsum muaj qhov sib nrug ntawm 1 nti nruab nrab mus rau nruab nrab ntawm cov ntoo. Lub kerf (qhov ua los ntawm cov hniav pom) yuav tsum yog 0.1 "dav. Pib los ntawm kev txiav thawj qhov ntiv tes los ntawm ntug ntawm pawg thawj coj saib. Tom qab ntawd kaw qhov pom thiab txav lub laj kab hla 1 "rov ua cov txheej txheem no kom txog thaum koj muaj 4 qhov txiav rau hauv koj lub rooj tsav xwm. Qhov jig yuav tsum zoo li daim duab saum toj no.

Kauj Ruam 4: Siv Thawj Jig

Siv Thawj Jig
Siv Thawj Jig
Siv Thawj Jig
Siv Thawj Jig
Siv Thawj Jig
Siv Thawj Jig

Qhov no yog qhov feem ntau monotonous ntawm kev tsim khoov tag nrho cov coj ntawm LED's. Qhov laj thawj uas koj xav siv lub jig no yog kom tau txais kev tsim kho ruaj khov uas zoo nkaus li zoo. Coj koj thawj jig khoov lub cathode (luv luv saib daim duab 2) mus txog ze dua (0.2 ) laum me ntsis, tom qab ntawd qhwv nws ib puag ncig me ntsis thiab xoob. ua nrog cov hlais txiav / sab txiav thiab tshem tawm LED. Ua kom ob lub anode thiab cathode Twist lub cathode 90 degrees kom nws tig rov los (saib daim duab 3) txuas ntxiv cov txheej txheem 63 zaug ntxiv.

Nco tseg: Nws yog qhov muaj txiaj ntsig zoo kom muaj rab koob lub qhov ntswg me me kom khoov txoj hauv kev ib puag ncig cov khoom siv.

Kauj Ruam 5: Siv Qhov Jig Thib Ob

Siv Ob Jig
Siv Ob Jig
Siv Ob Jig
Siv Ob Jig
Siv Ob Jig
Siv Ob Jig

Ua ntej peb siv lub jig no peb yuav tsum ncaj thiab txiav peb 20 gauge (awg) tinned tooj liab hlau. Ua ntej txiav yam tsawg kawg 36 4 ntu ntawm cov hlau nws yog qhov zoo tshaj yog tias koj ua 4 ntu ntxiv vim tias nws ua rau lub voos xwmfab sib npaug (ceeb toom: nws yog qhov pab tau kom ncaj ntu ntu loj ntawm xaim ua ntej koj txiav nws mus ntev tab sis ob txoj hauv kev yuav ua haujlwm). Rau qhov ncaj cov hlau tsuas yog siv ob rab riam thiab rub los ntawm txhua qhov kawg rub cov hlau me ntsis. Txoj hauv kev no nyuaj heev yog li yog tias koj muaj tus lej koj tuaj yeem clamp cov hlau mus rau lwm qhov thiab rub los ntawm qhov ntawd thiab koj yuav tau txais ntau yam zoo dua Thaum koj muaj tag nrho cov xaim npaj qhov chaw 4 LEDs rau hauv jig #2 (saib daim duab #2) cathode yuav tsum tau tig ntawm koj mus. (nws tau pom zoo tias koj sim txhua lub LEDs ua ntej koj yuav laug). Thaum koj tau muab tag nrho cov LEDs tshem tawm sab saum toj thiab nias rau ntawm lub jig kom lub ntsej muag sib npaug ntawm LEDs ntawm lub tiaj tiaj. Cov kab ntawm LEDs yuav tsum tawm. Tam sim no ua cov txheej txheem no 16 zaug ntxiv.

Kauj Ruam 6: Siv Peb Jig

Siv Peb Jig
Siv Peb Jig

Tam sim no koj muaj tag nrho 16 ntawm koj kab ntawm LEDs ua tiav nws yog lub sijhawm los siv qhov kawg kawg. Nqa 4 daim kab xev ntawm LEDs thiab tso cov hlau txuas txuas rau hauv ib qho ntawm qhov qhib kom ntseeg tau tias txhua qhov ntawm qhov sib txawv ntawm kab ntu. Ntxig ib qho ntawm koj cov xov hlau los ntawm hauv qab mus rau hauv qhov seem ntawm kab ntawv ntawd. Nco ntsoov tias nws yog square tom qab ntawd txhuam tag nrho 16 qhov txuas thiab txav mus ua 3 ntxiv.

Kauj Ruam 7: Cov Khoom Siv Hluav Taws Xob

Thawj qhov koj yuav tsum tau ua yog xam 16 tus tiv thaiv uas xav tau rau lub voos xwmfab kom ua haujlwm. Qhov no tuaj yeem ua tiav los ntawm lub tshuab xam zauv lossis cov qauv no Kuj = = (qhov hluav taws xob qhov hluav taws xob - LED voltage) / coj tam sim no. Qhov teeb meem tsuas yog feem ntau lub sijhawm tus muag khoom tsis muab qhov txiaj ntsig xav tau. Yog tias koj tab tom siv qhov txuas txuas rau cov khoom siv LED uas kuv tau txais, cov LED daj yuav xav tau 120 ohm vim tias lawv yog 2v thiab rau xiav 75 ohm 3v. Yog tias koj tsis xav txhawj xeeb txog qhov no koj tuaj yeem siv 220 ohm muab rau hauv cov khoom lawv yuav tsum ua haujlwm zoo tab sis koj lub voos xwmfab yuav tsaus me ntsis thaum lub sijhawm daj tuaj yeem ua rau me ntsis (xim ci tshaj kuv tau pom los ntawm cov khoom siv no yog xiav, tsis suav nrog dawb uas tsis nthuav dav).

Kauj Ruam 8: Cov Khoom Siv Hluav Taws Xob

Cov Electronics
Cov Electronics
Cov Electronics
Cov Electronics
Cov Electronics
Cov Electronics
Cov Electronics
Cov Electronics

Yog li tam sim no koj muaj 2 txoj hauv kev koj tuaj yeem tawm ntawm cov txheej txheem hauv qab no/tsim koj tus kheej txheej txheem siv cov duab los pab ua tus qauv zoo, xaj kom muaj kev cai PCB siv Gerber cov ntawv pom hauv qab no (zoo yog tias koj ua ntau).

PCB thiab cov txheej txheem- https://easyeda.com/editor#id=63a136d6b20f4aebaede857853e31526|e43c643b328347348d007d8a95e4a44a

Kauj Ruam 9: Siv lub voos xwmfab rau PrototypingBoard

Soldering lub voos xwmfab rau PrototypingBoard
Soldering lub voos xwmfab rau PrototypingBoard
Soldering lub voos xwmfab rau PrototypingBoard
Soldering lub voos xwmfab rau PrototypingBoard

Tam sim no koj muaj cov khoom siv hluav taws xob txuas ua ke koj yuav tsum tau ua 4 ntu ntu uas koj tau ua yav dhau los. Muab ib qho ntawm cov ntu hauv raws li tau qhia hauv thawj daim duab nws ua kom ntseeg tau tias nws yog cov xwm txheej nrog rau pawg thawj coj. Ntxiv lwm nrog 9 qhov nyob nruab nrab ntawm qhov ua tiav los ntawm kev ntxiv 2 kawg hauv tib yam.

Kauj Ruam 10: Txuas Cov Txheej Txheem

Txuas Cov Txheej Txheem
Txuas Cov Txheej Txheem
Txuas Cov Txheej Txheem
Txuas Cov Txheej Txheem

Tom ntej no koj yuav tsum txuas cov txheej txheej txheej txheej cathode coj ib daim xaim uas tau ncaj thiab muab tso rau ntawm ib qho ntawm cov hlau sib txuas cathode uas tab tom tawm ua cov laug txuas ntawm txhua qhov kev sib tshuam. Koj yuav tsum ua yam tsawg kawg 4 tab sis koj yuav pom tias kuv tau ua qhov no ntawm ob sab kom lub voos xwmfab zoo ib yam. Tom qab koj tau ua tag nrho cov txheej sib txuas koj xav tau ntxiv xaim los ntawm pawg thawj coj mus rau txheej txheej ntawm lub voos xwmfab. Qhov no tuaj yeem ua tiav los ntawm kev ua ntu ntu ntawm cov xaim uas muaj 90 degree khoov rau ntawm qhov uas tawm tawm txog 1/2 . Kaw qhov kawg ntawm cov hlau nyob ze yog koj xav txuas rau thawj txheej txuas nws mus rau txheej. rov ua dua thaum txav tawm lub qhov thiab mus rau txheej tom ntej. Thaum koj tau txais tag nrho 4 txheej sib txuas ua tiav txav mus rau qib tom ntej.

Kauj Ruam 11: Qhov kawg ntawm Kev Txuas Hluav Taws Xob

Qhov kawg ntawm Cov Xov Tooj
Qhov kawg ntawm Cov Xov Tooj
Qhov kawg ntawm Cov Xov Tooj
Qhov kawg ntawm Cov Xov Tooj

Tshooj tom ntej yog txhawm rau txuas qhov ntws ntawm MOSFETs mus rau cov txheej pom thawj daim duab. Thaum qhov ntawd tau ua tiav txuas cov txiaj ntsig ntawm kev hloov pauv rau npe rau kab ntawm lub voos xwmfab. Saib schematic kom paub meej ntxiv.

Kauj Ruam 12: Ua Haujlwm Koj Lub Vev Xaib

Koj muaj 3 txoj hauv kev rau kev ntsuas lub voos xwmfab siv cov lej muab, siv arduino, lossis siv arduino nrog nab hab sej kom ua tiav kev paub coding yooj yim dua. Tsuas yog ib qho kuv yuav piav qhia yog arduino nrog nab hab sej vim nws yog qhov yooj yim siv tab sis koj yuav xav tau me ntsis kev paub nrog arduino/qauv lus. Pib los ntawm rub tawm txhua qhov txuas hauv kev xaj pib nrog software arduino thiab xaus nrog tkinter tsev qiv ntawv rau nab hab sej. Txoj kev uas tus kws kho mob nab hab sej ua haujlwm feem ntau piav qhia tus kheej tsuas yog siv tus nab npawb nab npawb hauv qab no. Thaum koj nias lub pob txuag lub nab hab sej lub plhaub yuav ntuav tawm binary bytes uas koj yuav tsum tau muab tshuaj txhuam rau hauv arduino array uas hais tias swb. Tom qab ntawd koj yuav tsum tau ntxiv qeeb rau hauv arduino array uas hais tias ncua sij hawm_array tus lej swb uas koj muaj yog tus naj npawb qeeb uas koj xav tau. Tus naj npawb ntawm cov swb uas koj tuaj yeem siv tau yog 150 vim yog arduino nano lub cim xeeb nws zoo li ntau tab sis thaum koj pib ua cov duab txhais lus nws tau noj sai sai ntawm tus lej ntawd.

Cov lej nyob hauv pab pawg ntawm 3 vim tias kuv tsis tuaj yeem rub lawv los ua ib daim ntawv tshwj tsis yog cov ntaub ntawv sej.

ua pawg (txhua cov ntaub ntawv hauv pab pawg yuav tsum muab tso rau hauv tib lub nplaub tshev kom nws ua haujlwm tau zoo)

nyuaj coded arduino (clear_all, led_cube_4x4x4, show_pattern)

arduino byte coded files (meej, yooj yim_programing_v2, show_pattern)

nab hab sej gui (4x4x4 code generator V2)

www.arduino.cc/en/main/software

www.python.org/downloads/

docs.python.org/3/library/tkinter.html#mod…

Kauj Ruam 13: Nws Ua tiav

Txij ntawm no mus koj yuav tsum muaj peev xwm tso tawm tsawg kawg ob peb tus qauv ntawm koj lub voos xwmfab thiab vam tias txhua yam mus tau zoo.

Yog tias koj muaj lus nug nug hauv qab no hauv cov lus.

Pom zoo: