Cov txheej txheem:

Raspberry Pi Enclosure: 6 Kauj Ruam (nrog Duab)
Raspberry Pi Enclosure: 6 Kauj Ruam (nrog Duab)

Video: Raspberry Pi Enclosure: 6 Kauj Ruam (nrog Duab)

Video: Raspberry Pi Enclosure: 6 Kauj Ruam (nrog Duab)
Video: leej twg tej ntxhai - Mang Vang [ Official MV ] 2024, Hlis ntuj nqeg
Anonim
Raspberry Pi Enclosure
Raspberry Pi Enclosure
Raspberry Pi Enclosure
Raspberry Pi Enclosure
Raspberry Pi Enclosure
Raspberry Pi Enclosure

Cov ntawv qhia no muaj txhua yam koj xav tau los tsim koj tus kheej 3d luam tawm Raspberry Pi lub thawv. Cov ntaub ntawv no yog rau Raspberry Pi 3 tus qauv A+ thiab siv Adafruit LED lub zog khawm nrog cov ntawv kaw zoo.

Nov yog cov khoom siv thiab cov cuab yeej koj yuav xav tau:

Qhov:

  • Raspberry Pi 3 qauv A+ (Adafruit cov khoom 4027)
  • Cov ntawv luam tawm 3d (muaj raws li.stl cov ntaub ntawv hauv qab no)
  • Adafruit hlau ib ntus khawm nrog LED (Adafruit cov khoom 560)
  • Adafruit 15mm heatsink (Adafruit cov khoom 3082)
  • Jumper xov hlau nrog.1 "poj niam lub taub hau (Adafruit cov khoom 794)
  • M2.5 los ntawm 4mm ntsia hlau (x4)

Cov Cuab Yeej:

  • Soldering hlau thiab solder
  • Txiab
  • Phillips me me ntswj ntswj
  • Superglue

Kauj Ruam 1: Luam Ntawv Cov Ntaub Ntawv

Luam Ntawv Cov Ntaub Ntawv
Luam Ntawv Cov Ntaub Ntawv
Luam Ntawv Cov Ntaub Ntawv
Luam Ntawv Cov Ntaub Ntawv
Luam Ntawv Cov Ntaub Ntawv
Luam Ntawv Cov Ntaub Ntawv

Cov ntaub thaiv rau txoj haujlwm no yog tsim los ntawm ob ntu, lub hau thiab lub hauv paus. Ob leeg muaj nyob hauv qab no ua.stl cov ntaub ntawv. Yog tias koj xav tsim koj tus kheej Raspberry Pi 3 A+ enclosure hauv Tinkercad Kuv kuj tau txuas ib qho.stl cov ntaub ntawv nrog tsuas yog cov chaw nres nkoj.

Lub hauv paus yog 100 x 100 x 26 hli nrog 2 hli tuab phab ntsa. Lub hau yog 2 hli siab thiab haum yaug rau lub hauv paus. Qhov kev sawv ntsug rau Pi yog 5 hli txoj kab uas hla thiab 5 hli siab nrog 2 hli tapping qhov. Lub nraub qaum tau ntim los ntawm qhov rau micro USB, HDMI, thiab AV chaw nres nkoj. Pem hauv ntej ntawm lub thaiv muaj lub qhov taub 16 hli rau lub hwj huam khawm. Tsis muaj lub qhov rau sab USB chaw nres nkoj, tab sis muaj chav txaus nyob hauv qhov thaiv kom ntxiv cov hloov pauv me me rau cov khoom siv wireless.

Kuv hlais cov qauv hauv Cura 4.3 siv cov chaw pom zoo kom nthuav dav:

  • 0.2 hli txheej siab
  • 20% daim phiaj infill
  • 30 hli/s luam ntawv ceev
  • tsis siv neeg them nyiaj yug tiam enabled
  • 0.5 hli phab ntsa tuab
  • daim tiab hom

Cov ntu tau luam tawm ntawm Lulzbot Mini v2 hauv 2.85 mm PLA, tab sis feem ntau 3d tshuab luam ntawv yuav tsum muaj peev xwm lis cov ntawv no. Yog tias koj tsis muaj lub tshuab luam ntawv 3d, cov ntaub ntawv.stl tuaj yeem xa mus rau Treatstock.com (kev pabcuam luam ntawv 3d) thiab luam/xa tawm txog $ 15 USD. Yog luam tawm cais, lub hauv paus yuav siv sijhawm kwv yees li 5.5 teev thiab siv 47 g ntawm cov khoom, lub hau yuav siv sijhawm 3 teev thiab siv 27 g ntawm cov khoom.

  • 205 c* nozzle kub
  • 60 c* txaj kub

Kauj Ruam 2: Txhim Kho Heatsink

Txhim kho lub Heatsink
Txhim kho lub Heatsink
Txhim kho lub Heatsink
Txhim kho lub Heatsink

Raspberry Pi 3 yuav cia li kaw lub CPU kom ceev kom tsis txhob muaj cua sov, yog li kom Pi khiav ntawm 100% hauv lub qhov rooj kaw qhov cua sov yog lub tswv yim zoo. Qhov no 15 hli siab heatsink los ntawm Adafruit (khoom 3082) muaj cov nplaum ua kom sov ua ntej thov rau hauv qab, tsuas yog tev thiab lo.

Kauj Ruam 3: Txhim Kho Cov Khawm

Txhim Kho Khawm
Txhim Kho Khawm
Txhim Kho Khawm
Txhim Kho Khawm
Txhim Kho Khawm
Txhim Kho Khawm

Adafruit lub hwj huam hloov pauv tam sim no (cov khoom 559) rau qhov haujlwm no tau tsim ua hauv lub nplhaib LED nrog cov kab hluav taws xob tiv thaiv yog li nws tuaj yeem txuas ncaj qha rau Pi GPIO pins. Cov pins sab nrauv tshaj plaws yog + thiab - rau LED thiab tau sau npe. Peb lub hauv paus pins yog ib qho hauv av, ib txwm qhib tus pin thiab ib txwm kaw tus pin. Koj yuav tsum tau txuas 4 xov hlau: + thiab - rau LED thiab hauv av thiab NO1 rau qhov hloov pauv. Tsuas yog xov hloov mus rau hauv lub thawv ntawv thiab siv cov txiv ntoo nrog rau xauv nws hauv qhov chaw.

Lub sijhawm hloov pauv tau txuas nrog tus pin 5 thiab tus pin hauv av 6. Qhov kev txiav txim tsis txawv.

Tus + tus pin los ntawm LED txuas nrog lub tshuab txuas TxD tus pin 8 thiab - txuas nrog rau tus pin pin 9.

Saib daim duab pinout rau siv.

Kauj Ruam 4: Txhim Kho Pi

Txhim kho Pi
Txhim kho Pi

Raspberry Pi tau tuav hauv qhov chaw siv 4 m2.5 ntsia hlau. Qhov kev sawv ntawm rooj plaub yog 5 hli siab, yog li koj yuav xav tau cov ntsia hlau uas ntev 3 lossis 4 hli. Qhov kev sawv ntsug muaj 2 hli tapping qhov uas yog me ntsis tsawg dua li txoj kab uas hla ntawm cov ntsia hlau. Lawv tuaj yeem raug xov los ntawm kev yooj yim ntswj rau hauv lawv, tsuas yog ceev faj kom cov ntsia hlau ntsug.

Kauj ruam 5: Ntxiv Tsab Ntawv

Lub Hwj Huam khawm

Txhawm rau siv lub zog khawm kom muaj kev nyab xeeb kaw thiab qhib Raspberry Pi koj yuav tsum tau teeb tsa tsab ntawv kaw kom nyab xeeb. Cov nyiaj qiv rau tsab ntawv mus rau Barry Hubbard uas tau sau tus lej nab npawb thawj, ETA Prime uas tau nthuav tawm qhov kev hloov pauv no hauv YouTube, thiab rau 8 Bit Junkie uas tau sau tsab ntawv atomization.

Txhawm rau teeb tsa tsab ntawv, xyuas kom tseeb tias koj Pi txuas nrog Wi-nkaus thiab nkag mus rau lub davhlau ya nyob twg. Nkag mus rau cov lus txib hauv qab no, thiab ntaus nkag tom qab txhua tus:

Curl https://pie.8bitjunkie.net/shutdown/setup-shutdow… --output setup-shutdown.sh

sudo chmod +x teeb-shutdown.sh

./setup-shutdown.sh

Thawj kab yuav txuas rau 8 lub vev xaib junkie me ntsis thiab rub tawm tsab ntawv kaw. Kab thib ob teeb tsa qhov tsim nyog chmod los ua tsab ntawv thiab kab thib peb tau teeb tsa cov ntawv. Rau qee lub tshuab ua haujlwm lub zog khawm tam sim no tau ua haujlwm. Yog tias koj tab tom khiav RetroPie 4.5 lossis tom qab, muaj ib qib ntxiv ua hauv lub davhlau ya nyob twg:

Ntaus sudo nano /etc/rc.local los nqa cov ntaub ntawv rc.local.

Ntawm kab ncaj qha saum toj no "tawm 0", ntxiv nab hab sej /home/pi/scripts/shutdown.py &

Nias ctrl + x, ntaus Y kom txuag kev hloov pauv, thiab ntaus nkag kom tawm cov ntaub ntawv.

Reboot Pi. Lub hwj chim khawm yuav tsum tam sim no ua haujlwm.

Cov LED

Lub LED txuas nrog lub console console GPIO tus pin uas saib xyuas kev ua haujlwm. Nws teeb thaum Pi tau qhib, thiab tawm mus thaum Pi tau kaw tag nrho thiab nyab xeeb rau tshem tawm. Txhawm rau teeb tsa nws, koj tsuas yog yuav tsum tau ntxiv kab ntawm cov cai rau cov ntaub ntawv teeb tsa khau raj:

Ntaus sudo nano /boot/config.txt los nqa cov ntawv teeb tsa.

Scroll rau hauv qab thiab ntxiv enable_uart = 1

Nias ctrl + x, ntaus Y kom txuag kev hloov pauv, thiab ntaus nkag kom tawm cov ntaub ntawv.

Reboot Pi. Tam sim no LED yuav tsum ua haujlwm.

Kauj Ruam 6: Rooj Sib Tham Kawg

Los Ua Ke Kawg
Los Ua Ke Kawg
Los Ua Ke Kawg
Los Ua Ke Kawg

Koj yuav luag tiav! Ua ntej koj ua tiav kev sib dhos nco ntsoov xyuas ob zaug yog tias txhua yam ua haujlwm tau zoo:

  • Lub hwj huam khawm yuav tsum qhib thiab tua Pi
  • LED yuav tsum nyob twj ywm thaum Pi qhib thiab tua tom qab kaw
  • Cov chaw nres nkoj ntawm Pi yuav tsum ua kab nrog hla qhov hauv qhov thaiv
  • Tus Pi yuav tsum tau teeb tsa kom ruaj ntseg ntawm qhov sawv ntsug
  • Nco ntsoov teeb tsa daim npav micro SD thiab sim khau raj Pi

Yog tias txhua yam zoo li zoo koj tau npaj rau lub rooj sib tham zaum kawg. Lub hau rau lub thawv ntim khoom tau tsim kom haum nrog cov yub nrog rau sab saum toj ntawm lub hauv paus thiab siv phau ntawv qhia kom nws kab nrog cov ntug. Tsuas yog ntxiv ob peb tee ntawm superglue rau ntawm ntug ntawm lub hauv paus thiab nias lub hau rau saum. Ntxuav cov kua nplaum ntau dhau ua ntej nws qhuav thiab koj ua tiav!

Cov ntawv thaiv no tuaj yeem siv ntau txoj hauv kev sib txawv, tab sis ua haujlwm zoo tshaj plaws rau cov chaw tshaj xov xwm thiab RetroPie game consoles. Kuv tau tsim lub thawv ntawv no thaum xub thawj ua lub console game retro siv lub tswj bluetooth thiab nws ua haujlwm zoo! Yog tias koj muaj lus nug, thov tawm lus tawm. Ua tsaug rau kev nyeem ntawv!

Pom zoo: