Cov txheej txheem:

LED Christmas Ntoo Nrog Video Projector (Rasp Pi): 7 Kauj Ruam (nrog Duab)
LED Christmas Ntoo Nrog Video Projector (Rasp Pi): 7 Kauj Ruam (nrog Duab)

Video: LED Christmas Ntoo Nrog Video Projector (Rasp Pi): 7 Kauj Ruam (nrog Duab)

Video: LED Christmas Ntoo Nrog Video Projector (Rasp Pi): 7 Kauj Ruam (nrog Duab)
Video: 2020 Full Christmas Show 2024, Hlis ntuj nqeg
Anonim
Image
Image
Kev suav thiab teeb tsa lub zog
Kev suav thiab teeb tsa lub zog

Saib seb dab tsi qee tus neeg muab tso ua ke rau "saum toj kawg nkaus" sab nraum zoov Christmas LED qhia, Kuv xav pom dab tsi tuaj yeem nqa tib theem ntawm cov txheej txheem ua ke rau hauv tsev tsob ntoo Christmas. Hauv Kev Qhia Ua Ntej Kuv tau tsim homebrew SW thiab teeb tsa kom tsav RGB LED pixels, tab sis rau xyoo no kuv xav hloov mus rau qhov thev naus laus zis twg hauv zej zog Christmas sab nraum zoov tau siv thiab siv rau sab hauv tsev. Qhov no kuj zoo vim tias nws yog kev teeb tsa pheej yig dua li kev teeb tsa sab nrauv zoo ib yam rau tag nrho lub tsev yuav yog.

Kuv yog tus kiv cua ntawm Instructables lub vev xaib, thiab tau tshaj tawm qee lwm cov haujlwm LED ntawm no, yog li kuv xav qhia cov ntsiab lus ntawm cov kauj ruam coj los tsim tsob ntoo uas koj pom hauv video. Cov Lus Qhia no suav nrog ntau yam kev qhuab qhia thiab thev naus laus zis uas txhua tus tuaj yeem yog lawv tus kheej qhia. Cov kab ntawv txuas nrog hauv qab no kom dhia mus rau cov peev txheej uas kuv tau siv los kawm txog cov thev naus laus zis no. Tsis tas li tsis nco qhov txuas YouTube video ntawm tsob ntoo hauv kev nqis tes ua.

Tsis tas li kuv tau nkag mus rau Cov Lus Qhia rau qee qhov kev sib tw tam sim no, yog li yog tias koj nyiam qhov koj pom, kev pov npav yuav zoo siab!

Kauj ruam 1: Cov ntaub ntawv

Khoom siv

Kuv tau suav nrog cov txuas uas siv tau rau cov khoom tshwj xeeb uas kuv tau siv hauv kuv teeb tsa

  • Lub Hwj Huam Siv Hluav Taws Xob - 5v lossis 12v, nyob ntawm seb hom hluav taws xob xav tau los ntawm WS2811 LEDs. Kuj tseem ua kom ntseeg tau tias tam sim no (Amps) ntsuas tau ntsuas kom raug rau tus lej LEDs uas koj npaj yuav tsav.
  • Raspberry Pi - Txhawm rau tswj cov software tswj hwm rau cov yeeb yam (Falcon Pi Player) USB Drive - Siv los ntawm Falcon Pi Player txhawm rau khaws cov vis dis aus, nkauj, kab lus.
  • Wireless Router - Txhawm rau txuas rau nkag mus rau Pi thiab xa cov ntaub ntawv tshiab nrog rau tus tswj pixel. Qhov no yuav yog lub network ib leeg rau tsob ntoo yog li txhua tus router pheej yig yuav tsum ua haujlwm.
  • Pixel Controller (SanDevices e682, lossis lwm yam) - Qhov no yuav yog dab tsi ua raws cov lus txib los ntawm Pi (siv tus txheej txheem E1.31) thiab tswj ncaj qha koj li WS2811 strands
  • WS2811 RGB LED Teeb- Kuv siv 400 ntawm 5v WS2811 cov mos txwv zoo ib yam.
  • LED Hlau thiab 2 txoj hlua hlau - Txhawm rau xaim cov LEDs ntxiv rau kev txhaj tshuaj
  • JST Hookups - 2 thiab 3 tus pin txuas los txuas lub teeb thiab txhaj tshuaj
  • Projector - Kuv ntseeg txhua yam nyob ib puag ncig $ 100 ntawm Amazon yuav ua ntawm no txij li koj tsis tau saib yeeb yaj kiab.
  • Cov thawv ntawv
  • Ntawv Ntawv
  • Video Editor nrog Zoom thiab Mask - Sony Vegas

Kauj Ruam 2: Kev suav thiab teeb tsa lub zog

Kev suav thiab teeb tsa lub zog
Kev suav thiab teeb tsa lub zog

Koj yuav xav tau qee lub cev teeb tsa los ua lub tsev tseem ceeb ntawm koj kev teeb tsa, thiab lub hom phiaj tsis pom tom qab tsob ntoo kom zoo li sai tau. Kev teeb tsa cov khoom siv yog router, Pi, Pixel Controller, thiab Lub Hwj Huam Fais Fab.

Hwj chim Mov

  • Txuas nrog Pixel Controller los muab lub zog
  • Cov khoom siv hauv kab hluav taws xob txhaj rau WS2811 kab txaij (uas koj yuav xav tau rau ib qho pixel sau> 50 pixels los ntawm Pixel Controller)
  • Ua kom ntseeg tau tias lub zog hluav taws xob tau kaw zoo kom tsis txhob muaj leej twg los ntsib nrog cov khoom siv.

Router ·

  • Plugs rau hauv lub zog fais fab ·
  • Tsis txhob thab kom muab nws tso rau hauv ib qho thaiv
  • Muaj wired Ethernet txuas rau Pi thiab lwm qhov txuas Ethernet txuas rau Pixel Controller ·
  • Nco ntsoov nco ntsoov tias Router, Pi, Pixel Controller yuav tsum txhua tus nyob ntawm IP chaw muaj peev xwm tham nrog ib leeg. Hauv kuv qhov xwm txheej lawv txhua tus nyob ntawm 192.168.1.xxx.

    • Router 192.168.1.1
    • Pib 192.168.1.197
    • Pixel Controller 192.168.1.206

Raspberry Pi

Khiav Falcon Pi Player, uas yog tus qauv rau ua ntu ntu ntawm Pi. Kuv qhov kev paub yog teeb tsa tau yooj yim heev ua raws cov lus qhia ntawm lub vev xaib

Pixel Tswj

Hauv kuv qhov xwm txheej kuv xaiv SanDevices e682 (tab sis tej zaum yuav siv tau qhov pheej yig dua e6804). SanDevices teeb tsa thiab siv tau yooj yim nkag siab raws li cov lus qhia tau muab hauv SanDevices lub vev xaib (nrog rau cov peev txheej ntawm Xlights lub vev xaib)

Kauj Ruam 3: WS2811 LEDs

WS2811 LEDs
WS2811 LEDs

Rau kuv qhov ntoo loj 400 teeb yog thawb qhov siab tshaj plaws ntawm tsob ntoo tuaj yeem tuav thiab tseem zoo li qub (thiab tsis yog ib pawg ntawm cov xov hlau thiab qhov muag teev ib puag ncig). Tsis tas li ntawd nyob ib puag ncig 400 lub teeb yog qhov uas koj tuaj yeem pib ua cov duab yooj yim ntawm tsob ntoo ntawm LEDs.

Kuv xav pom zoo yog tias tuaj yeem yuav koj li WS2811 nrog cov xaim ntsuab lossis xim dub txuas ntau dua li tus qauv Dawb/Liab/Xiav sib txuas uas yuav sawv tawm. Tsis tas li ntawd kuv tau siv daim kab xev hluav taws xob thiab qhwv cov yas yas uas yog ib feem ntawm txhua qhov LED kom lub teeb tsis sawv tawm ntau npaum li qhov zoo ib yam li cov teeb pom kev zoo lossis teeb pom kev zoo LED qhov chaw nyob yog xim ntsuab ntsuab.

Kev txhaj tshuaj yuav tsum tau ua, yog li khaws qhov teeb meem zoo ib yam rau cov teeb uas koj npaj yuav siv nrog rau pes tsawg tus nyob hauv txhua txoj hlua los ntawm koj lub pixel tswj. Hauv kuv qhov xwm txheej kuv siv 2 txoj hlua ntawm 150 LEDs, thiab ib txoj hlua ntawm 50 LEDs kom tau txog 400.

Txoj haujlwm ntawm tsob ntoo yuav tsis muaj teeb meem raws li qhov yuav tau kho nyob rau theem tom ntej, txawm li cas los xij koj yuav tsum tau sim kom tau txais kev tiv thaiv ib puag ncig tsob ntoo.

Rau kev txhaj tshuaj fais fab kuv tau siv ntawm 2 tus pin JST txuas rau koj li WS2811 cov hlua. Ntawm lub hwj chim kawg kuv tsim 7 ko taw cable uas txuas los ntawm lub zog xa mus rau 2 tus pin JST txuas.

Tsis tas li kuv tau ua 7 ko taw hlua (3 xaim rau WS2811) los ntawm Pixel Controller mus rau WS2811 strands. Hauv kuv qhov xwm txheej 3 ntawm lawv txuas rau 150 ct LED strand, 150 ct LED strand, thiab 50 ct LED strand

Kauj Ruam 4: Npaj Txoj Haujlwm hauv Xlights

Plotting Txoj Haujlwm hauv Xlights
Plotting Txoj Haujlwm hauv Xlights

Xlights yog software siv los ntawm ib feem loj ntawm DIY Christmas Lights zej zog los ua ke ua ntu zus/ua yeeb yam. Hauv Xlights muaj tus qauv tshwj xeeb uas tus neeg siv muab daim ntawv nthuav qhia nrog tus lej rau txhua txoj haujlwm pixel. Google "xlights tus qauv kev cai" rau cov peev txheej ntau ntawm qhov no.

Nrog 400 pixels txawm hais tias, nws tuaj yeem nyuaj rau tsim cov qauv kev cai. Qhov kuv tau ua yog tsim cov xlights ntu uas kuv ua si ·

  • Thawj 25 lub teeb liab ·
  • Tom ntej 25 teeb ntsuab ·
  • Tom ntej 25 teeb xiav ·
  • Tom ntej no 25 teeb liab ·
  • Tom ntej 25 teeb liab ·
  • Lwm yam

Tom qab ntawd nrog kuv lub xov tooj ntawm tes tsau rau ntawm lub rooj Kuv nqa lub xov tooj ntawm tes video ntawm cov ntu ua si, txhua lub pixel ci rau kwv yees. 1-2 vib nas this. Kuv siv Sony Vegas txhawm rau muab daim phiaj tso rau ntawm daim vis dis aus yog li kuv tuaj yeem tau txais qhov chaw yooj yim rau txhua lub pixel. Nrog 400 lub teeb txawm li cas los yuav muaj kev sib tshooj nrog ntau LEDs nyob hauv tib daim phiaj sib koom tes, uas tsis yog qee yam Xlights tuaj yeem daws tau. Hauv kuv qhov xwm txheej Kuv tau tsim ib txoj haujlwm hauv C txhawm rau nyeem hauv daim ntawv teev npe thiab txiav txim siab rau lawv, txawm li cas los xij ib tus tuaj yeem ua tiav qhov no los ntawm txhais tes hauv Excel lossis Google Docs.

Kauj Ruam 5: Pob (Mini Projector Screens)

Tshaj li qhov projecting video los ntawm lub projector ntawm tsob ntoo nws tus kheej, Kuv kuj xav tau lub vijtsam saib ib txwm uas tuaj yeem pom cov vis dis aus zoo ntawm nws. Li no 3 pob khoom plig hauv qab tsob ntoo ua haujlwm zoo ntawm kev ntes feem ntau ntawm cov vis dis aus dav. Ib qho lus ceeb toom yog tias kuv muaj teeb meem nrhiav cov ntawv qhwv uas yog Matte lossis Ca. Feem ntau ntawm yam uas muaj yog ci. Yog li tom qab qhwv txhua qhov tam sim no kuv tau txau lawv hauv 5-6 lub tsho ntawm cov xim dawb-dawb

Kauj Ruam 6: Teeb Projector

Teeb Projector
Teeb Projector

Hauv kuv qhov xwm txheej kuv chav teeb muaj hmoo muaj lub teeb pom kev zoo ntawm qhov chaw zoo tshaj thiab nyob deb ntawm tsob ntoo kom tso cai rau kuv kom teeb lub projector ib sab thiab npog los ntawm hauv qab ntawm pob khoom mus rau saum tsob ntoo. Teeb tsa lub projector hauv kev teeb tsa lub npe lossis kab rov tav yuav xav tau thawb lub projector dhau mus. Kev saib xyuas thiab ntsuas kuj tseem yuav tsum tau nkag mus rau lub projector ntawm lub kaum sab xis kom raug (tsis zoo ib yam li koj tuaj yeem qhia los ntawm cov duab) kom npog qhov xwm txheej.

HDMI los ntawm Raspberry Pi, uas Falcon Pi Player siv rau cov vis dis aus, tau hla mus rau lub projector.

Los ntawm kev tshawb fawb ntawm ntau lub rooj sab laj AV, kev teeb tsa lub projectors hauv qhov tsis yog kab rov tav teeb tsa yuav cuam tshuam rau cov cua sov uas tsis zoo ib yam li cov projectors tau ua kom zoo dua rau cov cua sov sib kis hauv kab rov tav. Txawm li cas los xij, txij li thaum kuv ua yeeb yaj kiab video ua yeeb yam uas tsuas muaj lub projector siv rau 15 feeb, Kuv tsis txhawj xeeb dhau. Ntau qhov kev txhawj xeeb ntawm AV rooj sab laj tau nrog cov neeg siv uas xav kom muaj lub projector nyob ntev (> 2 teev).

Kuv tuav kuv lub xov tooj ntawm tes kom ntxaws nyob ib sab ntawm kuv lub lens projector thiab tsom nws ntawm tib lub kaum ntse ntse zoo li lub projector yuav tsim video. Tom qab ntawd kuv siv tus kws kho duab los tsim lub npog ntsej muag ntawm thaj chaw uas kuv tuaj yeem siv nrog kho video SW, Sony Vegas. Qhov no tau hais ncaj ncaj, txawm hais tias nco qab hauv Video Editor uas nce = Sab xis ntawm tsob ntoo, Txoj cai = nqis rau ntawm tsob ntoo tau ua rau lub sijhawm tsis zoo.

Kauj Ruam 7: Xaus

Image
Image

Kev tsim kom txog qib kev ua yeeb yam no tau dhau qhov kev hloov pauv ntawm 4 xyoos ntawm Christmas Tsob Ntoo qhia, tab sis kuv xav siv tib qib ntawm WOW qhov uas lwm tus pom ntawm lawv sab nraum Christmas teeb pom rau tsob ntoo sab hauv.

Yog tias koj nyiam qhov kev qhia no, pov npav hauv qhov kev sib tw kuv tau nkag mus rau hauv. Ua tsaug!

Pom zoo: