Cov txheej txheem:

Hologram Projector Nrog Pi: 5 Kauj Ruam (nrog Duab)
Hologram Projector Nrog Pi: 5 Kauj Ruam (nrog Duab)

Video: Hologram Projector Nrog Pi: 5 Kauj Ruam (nrog Duab)

Video: Hologram Projector Nrog Pi: 5 Kauj Ruam (nrog Duab)
Video: Es 47 Bill of Quantity 2024, Kaum ib hlis
Anonim
Hologram Projector Nrog Pi
Hologram Projector Nrog Pi

Nov yog qhov haujlwm tsim rau chav kawm Robotics. Nws tau ua tiav raws li lwm nplooj ntawv qhia

Nws siv Raspberry Pi, nrog rau lub khoos phis tawj, thiab saib xyuas los tsim 3D hologram uas ua cov duab nrog rau cov nkauj ntaus nkauj.

Kauj Ruam 1: Cov Ntaub Ntawv Xav Tau

Nov yog cov npe cov ntaub ntawv xav tau, thiab PDF's ntawm 3D luam kab zauv koj yuav xav tau.

Cov npe khoom siv yog raws li hauv qab no:

  1. 2 x (0.093 Acrylic ntawv 24 x 36)
  2. 2 x (ua npuas ncauj board 12 x 12)
  3. 1 x (rooj plaub ntawm #6 x 1 ¼ screws (lub taub hau beveled))
  4. 1 x (rooj plaub ntawm #6 x 1 ¾ screws (lub taub hau beveled))
  5. 1 x (3d luam tawm fulcrum (cov ntaub ntawv stl tuaj yeem pom ntawm tus thawj qhia))
  6. 4 x (3d luam L-nkhaus (cov ntawv stl tuaj yeem pom ntawm thawj cov lus qhia))
  7. 1 x (Daim ntawv yas txiav riam)
  8. 1 x (1 x 1 x 8 daim ntoo (peb siv spruce tab sis nws tuaj yeem yog txhua yam tsuav nws tsawg txaus)
  9. 2 x (1x 2 daim ntoo)
  10. 1 x (24 nti npo (peb siv acer k242HL nrog dvi rau hdmi adapter)
  11. 1 x (dvi rau hdmi adapter (tag nrho nyob yog tias koj muaj hdmi ntawm koj lub monitor)
  12. 1 x (Raspberry Pi Qauv B)
  13. 1 x (laptop muaj peev xwm ua kom pom kev pom (hauv qhov qub lawv tsis tau hais qhia qhov xav tau tsawg kawg nkaus))
  14. 1 x breadboard (feem ntau yuav los ntawm cov khoom siv arduino
  15. 4 x nyees khawm (los ntawm cov khoom siv)
  16. 4 x 110 ohm resistors
  17. 6 x poj niam rau txiv neej txuas (hauv cov khoom siv)
  18. 4 x txiv neej rau txiv neej txuas (hauv cov khoom siv)

Software

  1. Nos JS
  2. Raspbian OS
  3. Soundcloud Account nrog Playlist

Cov Cuab Yeej Xav Tau

  1. Tes Laum
  2. Pom (miter lossis tes)
  3. Drill ntsis # 6 los yog li ntawd
  4. Tsis teb los tau - Clamps rau tuav daim

Kauj Ruam 2: Tsim Tus Qauv

Tsev Ncej
Tsev Ncej
Tsev Ncej
Tsev Ncej
Tsev Ncej
Tsev Ncej

Ncej Ncej:

Pib los ntawm kev tsim lub thav duab sab saum toj uas tuav tus saib xyuas thiab yuav ua haujlwm rau daim duab. Peb siv 24 lub vijtsam saib dav. Koj qhov ntev me me yuav nyob ntawm qhov ntev ntawm lub ntsuas koj xav siv.

Lub thav duab tsuas yog ib lub duab plaub uas muaj daim di ncauj sab hauv los tuav lub saib. Peb siv 1.5 "x.5" ntoo rau lub thav duab thiab.75 "x.75" rau daim di ncauj sab hauv.

Thaum qhov ntev tau txiav rau koj qhov loj me, siv lub laum txhawm rau txhawm rau qhov ntsuas qhov dav kom tsis txhob sib cais thaum ntswj daim ua ke. Kuv pom zoo kom txuas txhua daim di ncauj sab hauv rau nws cov txheej sab nrauv ua ntej txuas lawv txhua tus ua ke.

Qab Ncej:

Cov kab hauv qab zoo ib yam li sab saud, tab sis tsis muaj daim di ncauj sab hauv. Peb siv ntoo zoo ib yam li txheej sab saud sab saud. Muab 2 kab txuas rau sab nraum qab ntawm lub hauv paus duab plaub kom txuas rau sab saum toj bracket rau. Qhov siab yuav txiav txim siab los ntawm koj tus saib me me, tab sis peb siv 13 "rau peb 24" saib.

Kauj Ruam 3: Txiav Acrylic

Siv cov Acrylic ntshiab koj yuav tsum txiav 3 daim los tsim cov kev ntxhov siab uas yuav tuav lub hologram. Ib feem no tuaj yeem ua qhov nyuaj thiab yog tias koj cuam tshuam nws nws zoo li koj yuav xav tau lwm daim ntawv thiab pib dua. Siv cov ntawv yas txiav riam koj yuav tau qhab nia cov npoo uas koj xav txiav tawm. Siv tus ntug ncaj raws qhov ntsuas uas koj tau ua, ntsuas kab dhau thiab dhau mus kom txog thaum nws npaj tau yooj yim heev.

Kauj Ruam 4: Xim thiab Sib dhos

Xim thiab Los Ua Ke
Xim thiab Los Ua Ke
Xim thiab Los Ua Ke
Xim thiab Los Ua Ke
Xim thiab Los Ua Ke
Xim thiab Los Ua Ke

Lub thav duab yuav tsis zoo heev yog tias nws tsuas yog ntoo, yog li peb siv cov tshuaj tsuag xim dub los npog txhua yam (tshwj tsis yog cov acrylic ntawm chav kawm).

Ua kom ntseeg tau tias koj nyob hauv qhov chaw muaj cua nkag tau zoo los ua qhov no.

Sab nraub qaum thiab hauv qab ntawm cov thav duab yuav tsum tau npog txhawm rau txhawm rau ua haujlwm kom raug. Qhov no tuaj yeem ua tiav ntau txoj hauv kev. Koj tuaj yeem siv lub rooj ua npuas dej txiav rau qhov loj me thiab pleev xim zoo li peb tau ua, lossis lwm yam ntawm cov ntawv ruaj khov uas tuaj yeem ua rau fir qhov loj me uas koj xav tau thiab txuas ruaj ntseg.

Tam sim no koj tau npaj los txuas cov ntas ua ke siv cov ntawv luam 3D. Txhua daim duab peb sab yuav siv rau ntawm cov ces kaum ntawm lub thav duab sab saum toj thiab hauv qab txhawm rau txuas rau kab kab ntsug uas tau txuas rau hauv qab kab. Cov no yuav muab lub zog nws xav tau los tuav lub saib. Qhov kev sib koom siab tau txuas rau hauv nruab nrab ntawm lub thav duab sab saum toj uas cov ntawv acrylic yuav xaub rau hauv qhov chaw kom ua rau ib nrab ntawm lub hauv paus. Cov no yog txhua qhov txuas siv cov ntsia hlau hauv cov npe khoom, thiab peb pom zoo kom ua qhov drilling qhov ua ntej kom tsis txhob faib ntoo.

Thaum cov thav duab tau ntsaws ua ke nrog cov kab zauv thiab cov acrylic teeb nyob rau hauv qhov chaw koj tau npaj rau qhov program raspberry Pi.

Kauj Ruam 5: Khiav Txoj Cai thiab Ua Kom Nws Ua Haujlwm

Image
Image
Khiav Txoj Cai thiab Ua Kom Nws Ua Haujlwm
Khiav Txoj Cai thiab Ua Kom Nws Ua Haujlwm

Ua lub app thiab hologram tshwm:

  1. Tam sim no peb yuav tsum nqa peb lub laptop thiab teeb tsa node.js, koj tuaj yeem pom nws ntawm no,
  2. Tom qab nws tau teeb tsa, mus rau thawj cov lus qhia thiab rub tawm pob code los ntawm cov ntawv zip lossis github clone.
  3. Koj tuaj yeem tau txais tag nrho cov node modules thiab teeb tsa lawv nrog cov lus txib "NPM Install" lossis "sudo npm install"
  4. Tom qab ntawd koj tuaj yeem pib ua qhov pom kev nrog npm pib, sim nws tawm thiab pom nws pop up, yuav tsum muaj cov nkauj tsis raug rau nws.
  5. Tom qab ntawd koj yuav tsum tsim cov suab paj nruag playlist los tso rau hauv koj tus kheej lub suab paj nruag, tsim ib tus as khauj ntawm no thiab ntxiv koj li nkauj,
  6. Tom qab ntawd koj yuav tsum hloov pauv cov npe hauv renderer.js koj yuav pom ntu nrog const playlist = 'path/to/playlist' hloov qhov 'path/to/playlist' ib feem rau koj daim ntawv teev npe koj tsuas yog yuav tsum lob ntu kawg yog li nws yuav tsum zoo li no, tus siv-496629426/teeb tsa/neeg hlau-playlist
  7. Tam sim no koj yuav tsum muaj lub ntsej muag ua haujlwm nrog koj cov nkauj ua si tom qab

Teeb tsa Raspberry Pi los hloov qhov muag pom thiab suab paj nruag:

  1. Ua ntej tshaj tawm koj yuav xav tau clit clone lossis tau txais swipe-controller.py cov ntaub ntawv mus rau raspberry pi, txog koj li cas koj xav ua qhov ntawd (*nco ntsoov, raspberry pi tuaj yeem ua haujlwm tau qee yam ntawm lub zog rau USB kev twb kev txuas)
  2. Tom qab tau txais cov ntaub ntawv mus rau raspberry pi koj yuav tsum tau hloov HOST_IP ntu mus rau IP ntawm lub khoos phis tawj uas siv lub tshuab pom kev. Nqe yuav tsum zoo li 'https://: 3000'. Koj yuav hloov ntu mus rau IP los ntawm lub khoos phis tawj pom kev. (Nco tseg* raspberry pi thiab tus tswv ip yuav tsum nyob hauv tib lub network kom qhov no ua haujlwm)
  3. Tom qab qhov ua tiav koj tuaj yeem tswj tus tswj nrog 'nab nab swipe-controller.py' Kuv xav kom hloov lub npe kom sib luag nrog qhov koj siv los tswj kev hloov pauv (piv txwv li khawm-controller.py)
  4. Koj tsuas yog yuav tsum teeb lub khob cij thiab pi nrog cov nyees khawm tam sim no thiab qhov ntawd tuaj yeem pom nyob hauv kab lus schematics.

Raws li koj tuaj yeem pom los ntawm cov phiaj xwm lossis cov duab koj yuav xav tau xaiv koj GPIO's ntawm koj tus raspberry pi thiab ua kev sib txuas.

Lossis koj tuaj yeem siv cov txheej txheem txuas nrog (Nco tseg* Cov txheej txheem ntawm cov nyees khawm tsis cuam tshuam rau kev ua, peb tsuas yog muab lawv tso rau hauv qhov kev tsim vim tias nws yooj yim dua paub tias ua dab tsi)

Tom qab ntawd ua tiav khau raj qhov program swipe-controller.py (lossis xijpeem koj lub npe nws) siv Python "lub npe ntawm cov ntaub ntawv".py nws yuav tsum khiav yam tsis muaj qhov yuam kev.

Pom zoo: