Cov txheej txheem:

P (illow) So: 9 Kauj Ruam
P (illow) So: 9 Kauj Ruam

Video: P (illow) So: 9 Kauj Ruam

Video: P (illow) So: 9 Kauj Ruam
Video: 11 Tips To Reduce Swelling Of Legs During Pregnancy | Swelling During Pregnancy 2024, Hlis ntuj nqeg
Anonim
Image
Image
P (illow) So
P (illow) So

Crimsonbot Coderz: Devin Keller, Michael Foster, & Charles Cochren

-Idea Qab Cov Khoom: Koj puas pom nws nyuaj kom tau txais hmo zoo so thaum cuam tshuam nrog teeb sab nraud thiab nrov nrov? Cov kev cuam tshuam no tuaj yeem ua rau nws tsaug zog thiab nyuaj rau sawv ntxov thaum sawv ntxov. P (illow) So sib xyaw ua ke cov cuab yeej uas ua rau koj qhov chaw pw tsaug zog tag nrog kev tsaug zog thiab tsa lub tswb uas tso cai rau koj kom tau txais hmo so zoo meej.

-Nws Ua Haujlwm Li Cas: Cov thav duab dub acrylic tau tsim los kom haum zoo nyob ib puag ncig ob lub txaj thiab zaum sab hauv lub txaj sab nrauv. Qhov no ua rau koj muaj chaw txaus txav mus nyob hauv txaj thaum ua kom thaj chaw pw tsaus ntuj. Los ntawm txoj haujlwm uas tau sau kom khiav hauv Raspberry Pi lub davhlau ya nyob twg, koj tuaj yeem teeb tsa koj tus kheej lub sijhawm uas koj xav mus pw thiab thaum twg koj xav sawv thaum sawv ntxov. Thaum lub moos ncav cuag koj lub sijhawm pw, cov neeg hais lus hauv lub npov yuav pib ua suab nrov dawb los so kom pab koj tsaug zog. Qhov no yuav ua si rau ib teev kom ntseeg tau tias koj tsaug zog. Tom qab hmo ntuj so zoo, hais lus thiab teeb yuav qhib rau ntawm koj lub sijhawm xav tau. Cov neeg hais lus yuav tawm mus rau kaum vib nas this thiab lub teeb ci yuav nyob rau peb feeb kom ntseeg tau tias koj sawv. Ua tsaug rau P (illow) So, tam sim no koj tau so thiab npaj rau hnub ntawd.

Kauj Ruam 1: Sau Cov Khoom

Sau Cov Khoom
Sau Cov Khoom
Sau Cov Khoom
Sau Cov Khoom
Sau Cov Khoom
Sau Cov Khoom

Rau qhov haujlwm no koj yuav xav tau cov ntaub ntawv hauv qab no:

- (3) 48 "-24" cov ntawv ntshiab acrylic

www.amazon.com/Lexan-Sheet-Polycarbonate-T…

- 10 yards Dub Npuag

tableclothsfactory.com/products/90x132-bla…

Dub Ua Npuas Ncauj

www.amazon.com/gp/product/B007MQMXWS/ref=o…

- Hais lus txuas nrog Aux thiab USB

www.amazon.com/gp/product/B01N6ZFYIM/ref=o…

- (9) LED Teeb

www.newark.com/adafruit/299/5mm-red-led-br…

- Cov qhob cij

www.digikey.com/product-detail/en/twin-ind…

- Raspberry Pi 3 Model B Project Board

www.target.com/p/raspberry-pi-3-model-b-pr…

- Cov xov hlau

www.adafruit.com/product/1956?gclid=EAIaIQ…

- Lub thawv ntawv me me

www.uline.com/Product/Detail/S-19040/Corru…

Kauj ruam 2: Tsim Code

Tsim Code
Tsim Code

Txoj cai no, sau hauv Python, siv tus neeg siv nkag mus thiab xa lub zog rau tus pin ntawm Raspberry Pi qhov phiaj xwm phiaj xwm kom qhib thiab kaw cov hais lus thiab/lossis LEDs ntawm koj lub sijhawm xav tau.

Mus rau https://github.iu.edu/devhkell/E101-final-code/bla… kom pom cov cai siv

Kauj Ruam 3: Hlau Tus Hais Lus rau Microcontroller

Hlau Cov Hais Lus rau Microcontroller
Hlau Cov Hais Lus rau Microcontroller
Hlau Cov Hais Lus rau Microcontroller
Hlau Cov Hais Lus rau Microcontroller

Thawj kauj ruam txhawm rau txuas tus neeg hais lus rau xov hlau uas tuaj yeem siv tau ntawm Raspberry Pi Microcontroller yog txiav tawm USB txuas ntawm tus hais lus thiab tshem tawm ob peb ntiv tes ntawm sab nrauv. Qhov no yuav qhia ob txoj xov hlau sab hauv, xaim hluav taws xob liab thiab xaim av dub. Tom ntej no, tshem tawm ib nrab ib nti ntawm cov xov hlau no mus rau cov tooj liab tooj liab hauv qab. Thaum qhov no ua tiav, nrhiav ob tus poj niam-rau-txiv neej ncaj cov xov hlau uas tuaj yeem txuas rau Raspberry Pi. Muab cov xaim tooj liab nyob ib ncig ntawm tus txiv neej kawg ntawm lwm cov xov hlau thiab txuas lawv kom lawv thiaj nyob tau. Tom qab ntawd yog qhov zoo tshaj plaws los qhwv qhov sib koom ua ke nrog kab xev hluav taws xob kom nws ruaj khov thiab xyuas kom cov tooj liab zoo yuav tsis tawg. Thaum kawg, txuas tus xov tooj hluav taws xob mus rau GPIO tus pin thiab hauv av xaim mus rau GND tus pin ntawm Raspberry Pi. Peb siv GPIO tus pin 14 yog li nws yuav zoo tshaj los ua qhov qub yog tias siv tib tus lej.

Kauj Ruam 4: Tsim Ncej Tawm ntawm Acryllic

Tsim Ncej Tawm ntawm Acryllic
Tsim Ncej Tawm ntawm Acryllic

Thawj kauj ruam hauv kev tsim lub thav duab yog ntsuas tawm txhua qhov ntev kom haum koj lub txaj thiab txiav lawv tawm siv lub rooj pom. Thaum koj muaj cov ntawv ntawm tus kheej, muab tso ua ke tom qab ntawm tus ncej nrog ob sab. Pib los ntawm kev thawb daim ntawv rov qab txhua txoj kev mus rau phab ntsa ua lub kaum sab xis 90 degree, tom qab ntawd muab daim ntawv tso rau sab saum toj ntawm nws nrog cov kua nplaum kub thov. Ua tib yam nrog rau lwm sab kom koj muaj lub nraub qaum thiab ob phab ntsa. Thaum kawg, tso daim ntawv saum toj kawg nkaus thiab kub kua nplaum los ntawm sab hauv. Nrog cov acrylic ua kom nyias nyias, daim sab saum toj yuav sag rau pem hauv ntej, yog li nws yog qhov zoo tshaj rau ntxiv ib daim ntoo raws ntawm sab hauv sab hauv los ntxiv kev txhawb nqa ntxiv hauv qab nws. Thaum nws tau kub tag nrho thiab tau sawv ntawm nws tus kheej, muab cov kab xev kaw nyob ib puag ncig thiab cov ces kaum vim tias lawv yuav ntse me ntsis los ntawm lub rooj pom.

Kauj Ruam 5: Npog Ncej Nrog Ua Npuas Ncauj thiab Npuag

Npog Ncej Nrog Ua Npuas Ncauj thiab Npuag
Npog Ncej Nrog Ua Npuas Ncauj thiab Npuag
Npog Ncej Nrog Ua Npuas Ncauj thiab Npuag
Npog Ncej Nrog Ua Npuas Ncauj thiab Npuag

Yuav kom ntseeg tau tias koj qhov chaw pw tsaus ntuj, koj yuav tsum ntxiv qee cov ntaub dub hla sab nrauv ntawm acrylic. Nws kuj tseem zoo tshaj ntxiv qee cov npuas dub sab hauv kom ua rau nws tsaus ntuj thiab tseem ua rau nws nyob sab hauv. Ua ntej, ntsuas thiab txiav tawm txhua qhov ntev ntawm cov ntaub uas koj xav tau los npog tag nrho sab nraud. Muab qhov no tso rau sab nraud ua ntej kub kub kom koj paub tias nws yuav npog. Thaum koj paub tseeb tias koj muaj txhua daim ntaub uas koj xav tau txiav tawm, siv nws nrog kua nplaum kub. Ib qho khoom siv ntxiv uas dai tawm ntawm ob sab lossis kaum tsev tuaj yeem raug txiav tawm lossis kaw. Tom qab ntawd koj yuav tsum ua tib yam nrog ua npuas dej sab hauv. Koj yuav xav tau txav tus ncej ib ncig kom tuaj yeem siv nws txhua qhov ntawm cov ces kaum raug cai, tab sis ib zaug nws yog txhua yam ntawm koj yuav tau ua tiav tus ncej ntawm P (tsis pom kev) So.

Kauj Ruam 6: Hlau LEDs

Hlau LEDs
Hlau LEDs
Hlau LEDs
Hlau LEDs

Cov kauj ruam tom ntej yog muab lub zog rau txhua lub LEDs uas yuav siv los ua rau koj sawv thaum sawv ntxov. Qhov tseem ceeb tshaj plaws yog txuas cov txiv neej-poj niam xov tooj mus rau Raspberry Pi thiab lub khob cij. Tus txiv neej kawg ntawm ib txoj hlua yuav tsum nkag mus rau lub davhlau ya nyob twg ntawm lub rooj noj mov thiab tus poj niam kawg yuav tsum mus rau qhov ntev ntawm LED. Tom qab ntawd txuas tus txiv neej kawg ntawm lwm txoj xov hlau mus rau hauv av hauv av ntawm lub khob cij, nrog tus poj niam kawg txuas rau lub luv luv ntawm LED. Koj yuav tsum rov ua qhov no rau tag nrho 9 LEDs. Qhov no tso cai rau koj kom ncab cov LEDs kom lawv tuaj yeem kis tau tusyees thoob plaws hauv qab hauv qab ntawm lub thawv.

Kauj Ruam 7: Txuas Cov Hais Lus & Lub Thawv Nrog Txhua Yam Khoom Siv Hluav Taws Xob

Txuas Cov Hais Lus & Lub Thawv Nrog Txhua Cov Khoom Siv Hluav Taws Xob
Txuas Cov Hais Lus & Lub Thawv Nrog Txhua Cov Khoom Siv Hluav Taws Xob
Txuas Cov Hais Lus & Lub Thawv Nrog Txhua Cov Khoom Siv Hluav Taws Xob
Txuas Cov Hais Lus & Lub Thawv Nrog Txhua Cov Khoom Siv Hluav Taws Xob

Cov neeg hais lus rau txoj haujlwm no tuaj nrog cov yeeb yaj kiab me me kom tuaj yeem txuas rau hauv lub thawv. Txuas tus neeg hais lus txuas rau ntoo ua rau sab saum toj ntawm acrylic thiab kom lawv tig mus rau ntawm qhov kev pw tsaug zog. Lub thawv khoom siv hluav taws xob yuav tsum pib nrog lo lo lo lo lo ntxhuav nrog txhua lub LEDs thiab cov xov hlau mus rau hauv qab ntawm lub thawv. Tom qab ntawd, tso Raspberry Pi rau hauv qhov chaw qhib hauv lub thawv me ntsis ntawm qhov chaw. Tom ntej no, qhov yuav tsum tau txiav rau micro USB lub hwj chim qaum thiab tus hais lus qaum kom txuas rau hauv raspberry pi. Tsis tas li, koj yuav tsum kos tawm thiab txiav qhov rau LEDs Tom qab ntsaws txhua yam hauv, tuav raspberry pi rau hauv lub thawv los ntawm muab cov kab xev hluav taws xob tso rau nws kom ruaj ntseg. Thaum kawg, npog lub thawv nrog daim ntaub dub thiab khawb qhov rau LEDs kom tawm ntawm lub thawv thiab daim ntaub tom qab ntawd kub lo cov ntaub nyob ib puag ncig lub thawv thiab thaum kawg mus rau sab hauv sab saum toj ntawm acrylic hauv nruab nrab.

Kauj Ruam 8: Tsim Audio Clip & Interface Raspberry Pi rau Laptop

Tsim Audio Clip & Interface Raspberry Pi rau Laptop
Tsim Audio Clip & Interface Raspberry Pi rau Laptop

Rub tawm cov suab kaw no rau Raspberry Pi los ntawm is taws nem:

Suab nrov dawb:

Tswb nrov nrov:

Tom qab rub tawm ob lub suab kaw, siv tus kws kho kom tso lawv ua ke ntev npaum li cas koj xav tias koj yuav tsaug zog. Lub suab nrov dawb yuav tsum ua si tsawg kawg ib teev, tom qab ntawd hloov nws mus rau lub tswb. Lub tswb yuav tsum tau siv ntau lub sijhawm thaum koj tsaug zog, tab sis vim tsis muaj lub zog muab rau cov neeg hais lus kom txog thaum nws txog sijhawm sawv, nws yuav tsis cuam tshuam koj. Tom qab ntawd koj tuaj yeem xaus qhov haujlwm thaum koj tawm hauv txaj

Txhawm rau kom ua tau qhov haujlwm, nws yog qhov zoo tshaj los txuas Raspberry Pi interface rau koj lub laptop. Txhawm rau ua qhov no, txhua yam koj xav tau yog koj li Raspberry Pi nrog daim npav SD teeb tsa, ib qho ethernet cable, koj lub laptop ntiag tug, thiab micro USB cable. Thaum koj txuas tag nrho cov kab hluav taws xob, koj yuav tsum tso cai rau kev sib txuas sib qhia hla ethernet los ntawm koj lub wifi. Qhov no yuav tso cai rau koj saib tus IP chaw nyob ntawm koj li Raspberry Pi. Koj tsuas yog yuav tsum txuas rau koj li Raspberry Pi hla vnc server thiab vnc saib. Thaum ua tiav, nws yuav nqa Raspberry Pi interface uas koj tuaj yeem luam thiab muab cov cai tso rau hauv ib daim ntawv thiab khiav cov ntawv ntawd hauv lub davhlau ya nyob twg.

Yog xav paub ntau cov lus qhia hauv kev teeb tsa Raspberry Pi interface, mus ntsib

Kauj ruam 9: Tsaug zog

Thaum koj tau ua tag nrho cov theem saum toj no, koj tsuas yog yuav tsum tau khiav qhov haujlwm hauv Raspberry Pi davhlau ya nyob twg. Txhawm rau ua qhov no, tsuas yog ntaus ntshuam ua raws daim ntawv uas koj siv los khaws cov cai. Nws yuav qhia koj kom tso thaum koj xav pw thiab sawv hauv HHMMSS hom ntawv (siv sijhawm 24 teev). Tom qab ntawd koj tuaj yeem tso thiab txaus siab rau qhov tsaus ntuj thiab suab nyob ntsiag to uas yuav ua rau koj tsaug zog hmo ntuj, ua kom yooj yim kom sawv mus thaum sawv ntxov tswb thiab teeb.

Pom zoo: