Cov txheej txheem:

2.5D Ntug Teeb Pom Kev Pixel LED Lub Vev Xaib: 7 Kauj Ruam (nrog Duab)
2.5D Ntug Teeb Pom Kev Pixel LED Lub Vev Xaib: 7 Kauj Ruam (nrog Duab)

Video: 2.5D Ntug Teeb Pom Kev Pixel LED Lub Vev Xaib: 7 Kauj Ruam (nrog Duab)

Video: 2.5D Ntug Teeb Pom Kev Pixel LED Lub Vev Xaib: 7 Kauj Ruam (nrog Duab)
Video: P32 SMART WATCH IP68: Things To Know Before Buy // For Android & iPhone 2024, Hlis ntuj nqeg
Anonim
Image
Image

LEDs yog qhov txaus, lawv me me tab sis ci, muaj xim tab sis yooj yim los tswj. Coob leej ntawm peb pib paub LED txij li thaum peb kawm thawj zaug ntawm cov khoom siv hluav taws xob. Thiab kuv txoj kev hlub rau LEDs pib tib lub sijhawm. Thaum kuv pom qhov pom pom LED rau kuv cov phooj ywg tom haujlwm. Ib tug ntxhais hais tias: Kuv nyiam LEDs, Kuv yuav yuav LEDs.

Ib qho LED los ntawm nws tus kheej yog txias txaus, tab sis los ntawm qhov xwm txheej ntawm tib neeg, peb tab tom ua LEDs txias dua thiab txias dua. LED strips ua ib qho rau kab, Matrix ua rau nws 2D nto, qee qhov ntse ua LED Cubes kom pom qhov chaw 3D (tshawb pom LED Cube cov phiaj xwm ntawm kev qhia, lossis tshawb xyuas qhov vis dis aus no, kuv nyiam. Koj tuaj yeem txawm yuav 3 x 3 LED Cube cov khoom siv hauv Radioshack rau 20 bucks).

Cov ntawv ntxim nyiam no tau ua rau kuv lub siab thaum thawj zaug kuv pom lawv. Kuv paub tias kuv xav tsim ib qho tam sim. Tom qab qee qhov kev tshawb fawb online thiab cuam tshuam nrog cov khoom siv radioshack ib pliag. Kuv xav tias nws tsis yog txoj haujlwm yooj yim rau kuv los tsim qhov loj (tsawg kawg 6x6x6) ib lub xim LED lub voos xwmfab, cia nyob ib leeg txias RGB kuv xav tau. Koj xav tau cov txuj ci zoo los ua kom nws ua haujlwm thiab zoo nkauj. Muaj ntau txoj kab thiab cov cim nyuaj.

Tsis txhob poob siab los ntawm kuv tab sis, muaj cov lus qhia zoo txaus rau koj kom dhau mus. Thiab qee qhov kev xyaum tuaj yeem ua kom tiav. Kuv tsuas yog tsis muaj sijhawm txaus thiab siv zog los tsim qhov kev sib tw LED kawg no (rau kuv). Kuv tsuas yog xav tsim qee yam zoo ua ntej kuv tus hluas nkauj lub hnub yug (tsis yog tag nrho lub sijhawm ntau), ua khoom plig.

Kauj Ruam 1: Lub Tswv Yim

Lub Tswv Yim
Lub Tswv Yim
Lub Tswv Yim
Lub Tswv Yim
Lub Tswv Yim
Lub Tswv Yim

Yog li lub hom phiaj ntawm no rau kuv yog, tsim qee yam kom txias li LED lub voos xwmfab, tab sis yooj yim dua los tsim, txuag sijhawm thiab tej zaum yuav yog nyiaj. Kuv pib ua kev tshawb fawb ntau ntxiv txog teeb pom kev zoo, pom lub teeb pom kev zoo tseem txias. Tom qab qee qhov doodling, kuv tau txais lub tswv yim: yuav ua li cas yog tias peb siv LED matrix thiab ntau daim ntawm cov yas ntshiab, kom pom qhov chaw 3D?

Tab sis yuav ua li cas nws thiaj muaj qhov tob ntawm daim teb (qhov thib peb)? Los ntawm kev saib cov teeb pom kev zoo ntawm ntug, nws zoo li txhua qhov chaw raug txiav lossis xuab zeb yuav ntes cov duab. Yog li ntawm qhov pom tseeb hauv txhua kab/ kab ntawv, yog tias lawv muaj thaj tsam hauv qhov siab sib txawv tau kos/ xuab zeb, ntxiv qhov thib peb ntxiv.

Kauj Ruam 2: Cov Khoom Koj Xav Tau

Adafruit NeoMatrix 8x8

4 x Clear Extruded Acrylic Rectangular Bar, 3/8 "Thick, 3/8" Dav, 6 'Ntev McMaster

Arduino Ib

470 Ohm tus tiv thaiv

Capacitor 1000 hli

5V 2A Fais fab mov

Poj niam DC Lub Hwj Chim adapter - 2.1 hli nkaus rau ntsia hlau dav hlau thaiv

Ib yam los tuav txhua yam khoom ua ke, ntoo, duab los qhia, ua npuas ncauj, lossis 3D luam koj lub tsev!

Kauj Ruam 3: Npaj Bars

Image
Image
Npaj Cov Tuav
Npaj Cov Tuav
Npaj Cov Tuav
Npaj Cov Tuav

Ua ntej peb cuam tshuam nrog cov tuav, cia ua qee qhov kev suav ua ntej. Txij li thaum kuv xav tau xaj khoom ua ntej, Kuv tsis paub qhov sib nrug ntawm txhua qhov LEDs ib leeg. Raws li qhov ntev tau piav qhia ntawm adafruit, kuv suav qhov sib nrug yog 71.17mm/8 = 8.896mm = 0.35inch. Qhov ze bar koj tuaj yeem tau txais yog 3/8 nti tuab. Yog li thaum kawg 8 kab ntawv yog qhov dav me ntsis dua li LED Matrix, tab sis tseem, txhua lub bar nyob saum LED.

Txij li thaum peb tab tom ua 8 x 8 x 8 lub voos xwmfab, yuav tsum muaj 8 3/8 xwmfab ntawm Z axis. 3/8 x 8 = 3. Ntxiv qee qhov ntxiv rau lawv ua ke tom qab. Kuv txiav txim siab txhua lub bar nyob hauv 3.5 nti ntev.

Kuv nug kuv tus kws tshaj lij tus qauv tsim phooj ywg Denis txog yuav ua li cas thiaj ua tiav qhov kuv xav tau. Nov yog txoj kev npaj:

  1. Txiav cov pas rau hauv daim nrog cov hlua pom, tawm qee qhov ntev ntxiv ntawm no.
  2. Siv lub tshuab milling thiab kawg zeb me ntsis los txiav ntug dej yaug. Nws yuav tsis zoo meej.
  3. Denis qhia kuv kom xuab zeb tag nrho cov ntug, tab sis txiav txim siab tias muaj 8 x 8 = 64 tuav, kuv hla cov kauj ruam no
  4. Polish tuav nrog lub log txhuam.
  5. Npog daim kab xev rau kab, tsuas yog tawm ntawm thaj chaw thaiv uas koj xav tau teeb tom qab raug. Koj tuaj yeem tau txais qhov zoo tshaj plaws yog tias koj xev ib zaug. Kuv kaw ib txheej ntawm ib lub sijhawm kom txuag qee lub sijhawm.
  6. Bead tawg lub npog ntsej muag tuav.
  7. Rov hais dua!

Kuv yuav cov tuav no xav tias kuv tuaj yeem txuag qee lub sijhawm txiav lawv. Tab sis raws li txoj haujlwm nce mus kuv xav tias nws tseem ua haujlwm ntau dua. Puas muaj lwm txoj kev xaiv?

Lwm zaus zaum kuv yuav sim laser txiav lawv. 3/8 nti tuab acrylic yuav yog qhov nyuaj me ntsis rau kev nyiam ua laser txiav. Tab sis yog tias koj tuaj yeem pom ib qho, nws yuav cawm koj qee lub sijhawm.

Kauj Ruam 4: Txuas Lawv

Hlau Lawv
Hlau Lawv
Hlau Lawv
Hlau Lawv
Hlau Lawv
Hlau Lawv
Hlau Lawv
Hlau Lawv

Adafruit muaj kev qhia zoo heev ntawm nws cov khoom Neopixal. Thiab lawv tau hloov kho lub sijhawm. Thaum kuv pib ua si nrog lawv, lawv tsis tau hais txog yuav tsum muaj tus tiv thaiv ntawm arduino thiab matrix. Yog li kuv kib ob peb LEDs. Tab sis tsis txhob txhawj xeeb, feem ntau nws yuav tsuas yog kib thawj LED. Yog li kuv pom zoo kom koj xaj qee qhov hloov pauv LED chips (WS2812S 5050 RGB LED nrog Kev Sib Txuas Tsav Tsheb) yog tias koj paub yuav ua li cas desolder SMT Cheebtsam (lossis muaj phooj ywg paub zoo li kuv ua, ua tsaug Eric).

Qhov kev sib txuas yog qhov yooj yim zoo nkauj. Txhua yam khoom Neo pixal muaj peb tus pin, +5v, GND thiab Digit In. Lub zog sab nraud xav tau txawm hais tias rau NeoMatrix. Cov duab saum toj no qhia meej. Tsuas yog xyuas kom koj muaj kev tiv thaiv ntawm lub capacitor thiab resistor.

Kauj ruam 5: Coding Pib

Pib Coding
Pib Coding

Tom qab txhua yam txuas nrog, koj yuav tsum mus rub lub tsev qiv ntawv Neopixel thiab khiav cov ntawv xeem. Thaum nws teeb, koj yuav xav tsis thoob! Kuv mob siab rau nws ntev li ntev tau kuv lub qhov muag tuaj yeem ua tau (lawv ci heev!). Koj yuav pom 4 LEDs tawm, tab sis tsis txhob poob siab, lawv zoo, nws yog txhua yam vim qhov kev xeem ntsuas tsuas yog txhais 60 LEDs. Tsuas yog hloov qhov ntawd mus rau 64.

Tom qab ntawd koj tuaj yeem rub tawm NeoMatrix Library kom nws hais "Nyob Zoo" rau koj.

Tsis tas li, txhawm rau kos cov duab zoo, koj yuav xav tau Adafruit GFX lub tsev qiv ntawv. Koj tuaj yeem rub cov ntawv, kos txhua tus pixel, kab, duab plaub, voj voog thiab lwm yam ntxiv. Los ntawm kev siv drawPixel hais kom ua, koj tuaj yeem ua cov duab tshwj xeeb.

Txoj kev uas kuv tau ua rau kuv cov duab yog, kuv kos qhov kuv xav tau hauv daim duab 8 x 8 hauv Adobe Illustrator ua ntej (Koj tuaj yeem siv ib qho software 2D, lossis kos txawm tias ntawm daim ntawv ua ntej. Hauv theem no koj tsim cov duab thiab paub tseeb tias koj nyiam nws, yog li koj tsis tas yuav hloov nws tom qab kev ua haujlwm uas siv sijhawm ntau dua). Tom qab ntawd txhais cov 2D array hauv arduino kos duab li no:

byte plawv [8] [8] = {

{ 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 1, 1, 0, 0, 1, 1, 0 }, { 1, 1, 1, 1, 1, 1, 1, 1 }, { 1, 1, 1, 1, 1, 1, 1, 1 }, { 1, 1, 1, 1, 1, 1, 1, 1 }, { 0, 1, 1, 1, 1, 1, 1, 0 }, { 0, 0, 1, 1, 1, 1, 0, 0 }, { 0, 0, 0, 1, 1, 0, 0, 0 }, };

Hauv kab ntawv no, 1 sawv cev rau lub pixel uas teeb, thiab 0 txhais tau tias tawm. Hauv lub voj void (), koj tsuas tuaj yeem hu xov tooj

rau (int kuv = 0; kuv <8; kuv ++) {

rau (int j = 0; j <8; j ++) {

yog (lub plawv [kuv] [j] == 1) {

matrix.drawPixel (j, i, RED);

}

}

}

matrix.show ();

ncua (20);

kos lub plawv zoo.

Hauv 2D kab ntawv, koj tuaj yeem pov lwm tus lej los sawv cev rau lwm cov xim, thiab ntxiv ob peb lwm yam yog tias nqe lus.

Kuv sim tsim cov kab 3D, nrog rau qhov thib peb qhov xim. Nws yog ib qho nyuaj heev rau ntaus rau cov duab yooj yim. Koj tuaj yeem sim qhov ntawd yog tias koj xav qhia qee qhov xim zoo nkauj tab sis cov duab tshwj xeeb.

Kauj Ruam 6: Muab Ua Ke

Muab tso ua ke
Muab tso ua ke
Muab tso ua ke
Muab tso ua ke
Muab tso ua ke
Muab tso ua ke
Muab tso ua ke
Muab tso ua ke

Kuv 3D luam tawm cov khoom vaj khoom tsev thiab muab tso ua ke, hauv qib no koj tuaj yeem siv cov khoom ib puag ncig koj, daim npav npav, ntoo, ua npuas ncauj. Tsuas yog ua kom ntseeg tau tias txhua tus tuav tau ruaj khov thiab ruaj ntseg rau saum NeoMatrix

STL cov ntaub ntawv nyob ntawm no:

www.thingiverse.com/thing 259135.

Kauj Ruam 7: Npaj Yav Tom Ntej

Ua qee qhov duab zoo nkauj nrog cov nkauj.

Ua si ib puag ncig nrog cov kab teeb tsa, qhov kev cuam tshuam tshiab twg koj tuaj yeem tau txais nrog kev teeb tsa sib txawv?

Thaum kawg, ua tsaug rau kev saib! Yog tias koj yuav ua tej yam zoo sib xws, thov qhia rau kuv paub. Tos tsis tau kom pom koj lub teeb pom kev!

Makerlympics Contest
Makerlympics Contest
Makerlympics Contest
Makerlympics Contest

Khiav Tawm Hauv Kev Sib Tw Makerlympics

Pom zoo: