Cov txheej txheem:

Yuav Ua Li Cas Daim Duab Qhia Nrog Pi Cap: 9 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Daim Duab Qhia Nrog Pi Cap: 9 Kauj Ruam (nrog Duab)

Video: Yuav Ua Li Cas Daim Duab Qhia Nrog Pi Cap: 9 Kauj Ruam (nrog Duab)

Video: Yuav Ua Li Cas Daim Duab Qhia Nrog Pi Cap: 9 Kauj Ruam (nrog Duab)
Video: Sib Hawm Dhau (Time Passed) Music Video by: Deeda/Dib Xwb 2024, Hlis ntuj nqeg
Anonim
Yuav Ua Li Cas Projection Mapping Nrog Pi Cap
Yuav Ua Li Cas Projection Mapping Nrog Pi Cap

Peb tau txais kev tshoov siab los ntawm koj cov phiaj xwm thiab tsim qhov kev qhia ua piv txwv qhia siv Pi Cap. Yog tias koj xav kom koj txoj haujlwm ua haujlwm wirelessly hla WiFi, qhov no yog kev qhia rau koj. Peb siv MadMapper ua qhov phiaj xwm phiaj xwm phiaj xwm, tab sis koj tuaj yeem siv lwm cov software yog tias koj xav tau.

Koj tuaj yeem rub tawm MadMapper ntawm no. Koj tseem yuav xav tau lub projector rau qhov kev qhia no, yog li txheeb xyuas qhov no yog kab lus rau cov lus qhia ntawm yam projector siv. Peb pom zoo siv Pi Zero W, vim tias nws me me, kev cog lus, thiab muaj kev sib txuas WiFi. Yog tias koj tsis muaj Pi Cap, koj tuaj yeem tshawb xyuas Touch Board tutorial, txawm li cas los xij koj yuav tsis tuaj yeem siv Touch Board wirelessly.

Kauj ruam 1: Cov ntaub ntawv

Khoom siv
Khoom siv

1x Pi Kab

1x Hluav Taws Xob Xim 50ml

1x Hluav Taws Xob Xim 10ml

1 x projector

1x lub laptop khiav MadMapper thiab Ua Haujlwm

(yeem)

tooj liab daim kab xev

Kauj ruam 2: Teeb tsa Pi Cap

Teeb tsa Pi Cap
Teeb tsa Pi Cap

Yog tias qhov no yog koj thawj zaug siv Pi Cap, peb hais kom ua tiav qhov kev qhia no ua ntej. Hauv qhov kev qhia no, peb Pi Zero txuas nrog peb lub khoos phis tawj ntawm SSH uas qhov no tso cai rau peb kom muaj teeb tsa wireless.

Peb tseem yuav siv Ua thiab OSC nrog Pi Cap hauv qhov kev qhia no. Ua raws li qhov kev qhia no rau kev qhia zoo rau ob leeg.

Kauj Ruam 3: Npaj Animations hauv MadMapper

Image
Image

Peb yuav xa cov lus txib kov mus rau Kev Ua Haujlwm ntawm OSC thiab tom qab ntawd mus rau MadMapper kom ua rau ob qho kev ua yeeb yaj kiab. Peb muaj ob tus qauv ua piv txwv uas koj tuaj yeem rub tawm ntawm no.

Qhib MadMapper thiab rub thiab tso cov tsiaj ntawv rau hauv chaw ua haujlwm. Nco ntsoov hloov qhov "Loop movie" teeb tsa mus rau "Ua yeeb yaj kiab kom txog thaum kawg ntawm lub voj thiab ncua" kom cov yeeb yaj kiab tsuas yog ua si ib zaug. Yog tias koj nyiam, koj tuaj yeem txuas lub projector rau koj lub khoos phis tawj tam sim no thiab ua haujlwm cov duab los ntawm kev mus rau hauv "Full Screen Mode".

Kauj Ruam 4: Khiav Txoj Cai Ua

Pleev xim
Pleev xim

Tam sim no koj yuav tsum rub cov ntawv uas tau txais OSC cov cim los ntawm Pi Cap thiab xa lwm lub teeb liab OSC rau MadMapper. Koj tuaj yeem rub cov ntawv no ntawm no. Txhawm rau ntxiv peb Pi Cap thiab MadMapper kev kos duab txuas mus rau Kev Ua Haujlwm, daim ntawv picap_madmapper xav tau txav mus rau Kev Ua Sketchbook Folder. Qhov no yuav txawv rau txhua qhov kev ua haujlwm:

Qhov rai

Cov tsev qiv ntawv/Cov ntaub ntawv/Ua tiav

los yog

Kuv Cov Ntaub Ntawv/Ua

Mac

Cov ntaub ntawv/Ua

Linux (Ubuntu)

Tsev/Ua

Yog tias daim nplaub tshev no tsis muaj, koj yuav tsum tsim nws ua ntej. Ntawm koj tus Pi, khiav ib qho ntawm "picap-datastream-osc" cov lej, suav nrog koj lub laptop lub npe host. Hauv Kev Ua Ntaus ntaus lub pob. Thaum koj kov hluav taws xob 0 lossis 1, nws yuav tsum ua si cov duab sib xws hauv MadMapper. Yuav tsum hlub OSC!

Kauj Ruam 5: Pleev xim

Pleev xim
Pleev xim

Tam sim no peb yuav tsum pib xav txog qhov uas peb xav ua qhov ua yeeb yaj kiab. Peb tau siv qee daim duab los pleev xim, uas peb txuas rau phab ntsa. Tab sis koj tuaj yeem siv plywood, daim ntaub thaiv dawb lossis pleev xim ncaj qha rau ntawm phab ntsa. Tom ntej no peb yuav tsum pleev xim cov duab los pib ua cov duab siv Electric Paint. Koj tuaj yeem pleev xim cov duab los ntawm txhais tes, siv stencils, lossis tshuaj ntsuam luam ntawv. Rau qhov kev qhia no peb tsuas pleev xim rau lub voj voog thiab xwmfab los ntawm txhais tes.

Kauj Ruam 6: Txuas nrog Pi Cap

Txuas mus rau Pi Cap
Txuas mus rau Pi Cap

Cov kauj ruam tom ntej yog txuas cov duab rau Pi Cap. Nov yog qhov Pi Zero tau txais txiaj ntsig zoo dua Raspberry Pi: Pi Zero yog qhov me me, uas koj tuaj yeem txuas peb qhov saum toj kawg nkaus Pi Cap nrog cov hluav taws xob ncaj qha mus rau koj qhov project!

Ua ntej, tig koj Pi Zero tawm thiab tshem nws. Yog tias koj siv cov khoom siv uas koj tuaj yeem siv cov nplaim tom qab cov duab, piv txwv li plywood lossis duab los qhia, tom qab ntawd koj tuaj yeem txuas rau Pi Cap los ntawm cov khoom siv. Peb siv cov ntsia hlau dub, tab sis koj kuj tuaj yeem siv lub qhov taub thiab tom qab ntawd siv cov ntsia hlau, lossis qee qhov cable.

Txhawm rau txuas rau cov hluav taws xob, koj tuaj yeem siv cov khoom siv hluav taws xob, xws li cov xov hlau, daim kab xev tooj liab lossis Cov Xim Hluav Taws Xob. Peb siv daim kab xev tooj liab, tho nws nrog cov ntsia hlau dub, thiab ntxiv me ntsis ntawm Cov Xim Hluav Taws Xob kom tau txais kev sib txuas zoo. Tom qab ntawd peb txias soldered Pi Cap rau daim kab xev. Txhawm rau kom tau txais kev txheeb xyuas tag nrho yuav ua li cas koj tuaj yeem txuas rau lub ntsuas cua, saib ntawm no.

Kauj Ruam 7: Kov Xim thiab Saib Cov Duab

Tom qab cov xim tau qhuav, txuas koj Pi Zero rau lub zog thiab khiav OSC code. Txuas lub projector rau lub khoos phis tawj thiab khiav Cov Txheej Txheem. Kov cov xim thiab saib cov duab nthuav tawm!

Kauj Ruam 8: Cov Kauj Ruam Ntxiv

Yog tias koj saib sab hauv cov cai koj tuaj yeem pom kab "mediasList [0] =" bubble_animation.mp4 ″; " thiab "mediasList [1] =" bubble_animation.mp4 ″; ". Tus lej sab hauv lub xwmfab sib npaug sib npaug rau cov electrode uas tau kov, yog li piv txwv thaum kov cov electrode 0, MadMapper yuav mus ua si “bubble_animation.mp4”. Yog tias koj xav siv koj tus kheej cov duab, koj yuav tsum hloov lub npe hauv Kev Ua. Piv txwv li, yog tias koj xav suav nrog "animation1.mp4", koj yuav tsum suav cov npe no hauv Kev Ua, piv txwv li. “MediasList [0] =“bubble_animation.mp4 ″;”.

Kauj ruam 9:

Yog tias kov Cov Hluav Taws Xob Hluav Taws Xob tsis ua rau cov animation zoo ib yam. Qhov no yuav yog vim qhov kev ncua deb ntawm Cov Xim Hluav Taws Xob thiab Pi Cap Ntev dhau lawm. Ib txoj hauv kev los daws qhov no yog hloov pauv qhov nkag siab ntawm Pi Cap cov hluav taws xob, koj tuaj yeem kawm paub yuav ua li cas ntawm no.

Peb yuav nyiam saib yam koj ua! Qhia koj cov haujlwm nrog peb ntawm Instagram lossis Twitter lossis xa email rau peb ntawm [email protected].

Pom zoo: