Cov txheej txheem:

Raspberry Pi 4B 3D Luam Ntawv Tablet: 8 Kauj Ruam (nrog Duab)
Raspberry Pi 4B 3D Luam Ntawv Tablet: 8 Kauj Ruam (nrog Duab)

Video: Raspberry Pi 4B 3D Luam Ntawv Tablet: 8 Kauj Ruam (nrog Duab)

Video: Raspberry Pi 4B 3D Luam Ntawv Tablet: 8 Kauj Ruam (nrog Duab)
Video: Dais thiab nab qa sib xeem tsheb kauj vab 2024, Hlis ntuj nqeg
Anonim
Image
Image
Raspberry Pi 4B 3D Luam Ntawv Tablet
Raspberry Pi 4B 3D Luam Ntawv Tablet
Raspberry Pi 4B 3D Luam Ntawv Tablet
Raspberry Pi 4B 3D Luam Ntawv Tablet

Lub tswv yim ntawm txoj haujlwm yog txhawm rau tsim 3D luam tawm, Raspberry Pi raws cov ntsiav tshuaj. Txhua ntu (cov khoom siv) yuav tsum yooj yim kom tau txais thiab npaj tau. Nws yuav tsum muaj roj teeb, thiab nws yuav tsum yog lub hauv paus tseem ceeb ntawm lub zog (lub ntsiab lus, nws yuav them nrog lub xov tooj txuas nrog, tab sis yuav tsum muaj lub zog txaus los khiav yam tsis muaj nws.) Nws yuav tsum muaj peev xwm ua haujlwm tau zoo yam tsis muaj keyboard (lub ntsiab lus, txhua yam hauv tus neeg siv interface yuav tsum ua haujlwm yam tsis muaj teeb meem txawm tias koj tsis muaj keyboard thiab nas ntsaws rau hauv.)

Nco tseg: Txoj haujlwm no siv Raspbian OS rau tam sim no, txog thaum kuv tuaj yeem pom qhov tsim nyog "kov-ua ntej" kev daws teeb meem.

Nta

  • SBC: Raspberry Pi version 4B+ (4Gig RAM)
  • Zaub: 7 nti LCD Zaub (nrog kov)
  • Lub Hwj Huam: PiJuice UPS (nrog 5000 mAmp roj teeb)
  • Lub koob yees duab: 1080p Lub Koob Yees Duab (pem hauv ntej-ntsib)
  • Suab & Hais Lus: Daim Npav Suab, txhawb 2 tus hais lus, thiab 2 lub microphone, thiab muab lub suab tso rau lub mloog pob ntseg.
  • Accelerometer: Gyro/Accelerometer - txhawm rau taw qhia lub vijtsam. (nrog nab hab sej)
  • Txias: Ntxuam txuas nrog tus kiv cua-ceev tswj (ceev tau tswj hauv nab hab sej)
  • USB: Breakout USB
  • Nyees khawm:

    • Hwj chim khawm
    • Volume Up/Down rocker
  • LEDs:

    • Them
    • Lub zog thiab kev ua haujlwm LED teeb tau hloov pauv (siv nylon) rau rooj plaub.
  • Backplate:

    Xyoob ntoo rov qab, nrog laser etched decal

Cov ncauj lus kom ntxaws txog qhov project: GitHub

Faj seeb: Yog tias koj tsis muaj lub laser txuas, tom qab ntawd tawm ntawm qhov tawm mus, lossis nug tus phooj ywg (gcode muab)

Khoom siv

  • Raspberry Pi 4B+ (Los yog 3B+, Yog tias koj siv A pawg thawj coj saib xyuas koj tuaj yeem hla qhov tshem tawm lub network thiab USB thaiv) Amazon
  • 7 "Official Raspberry Pi LCD Display (nrog kov) Amazon
  • PiJuice UPS PiSupply
  • PiSupply 5000 mAmp Roj Teeb PiSupply
  • Official Raspberry Pi 1080p Lub Koob Yees Duab (Tsis teb los tau: txuas txuas ntev ribbon cable) Amazon
  • Waveshare Audio HAT (Sound Card) Waveshare
  • 2 tus hais lus (8Ohm, 1Watt) Amazon
  • MPU-6050 Accelerometer thiab Gyroscope Amazon
  • HW-517 PWM Ntxuam Ntxuam Tus Tswj Xyuas Amazon
  • 30mmx30mmx7mm NtxuamAmazon
  • 128Gig SD Card (Minimun 16Gig)
  • 3 Nias khawmAmazon
  • Breakout USB 2.0Amazon
  • Xim Hlau
  • 18AWG (lossis tsawg dua) Cable
  • 3MM ntoo (ntawm txhua yam - tab sis kuv siv xyoob)

Kauj ruam 1: Yuav Ua Li Cas Yees Duab

Image
Image

Thov Nco Ntsoov: Cov vis dis aus suav nrog kaw cov ncauj lus kom ntxaws ntawm txhua cov kauj ruam uas kuv tau ua kom ua tiav txoj haujlwm no. Thov saib cov vis dis aus lossis ua raws cov theem hauv qab no txhawm rau ua txoj haujlwm no rau koj tus kheej.

Kauj Ruam 2: Npaj Cov Cheeb Tsam

Npaj Cov Cheeb Tsam
Npaj Cov Cheeb Tsam
Npaj Cov Cheeb Tsam
Npaj Cov Cheeb Tsam
Npaj Cov Cheeb Tsam
Npaj Cov Cheeb Tsam

Hauv theem no koj yuav tsum tau hloov kho qee qhov uas koj tau xaj. Qhov no feem ntau yog siv qhov hnyav xws li cov thawv ntsia hlau thiab lub thawv USB thiab lwm yam, tawm ntawm PCB, raws li peb yuav muab cov hlua txuas rau lub rooj tsavxwm.

  1. Raspberry Pi: Saj tawm USB thaiv thiab thaiv lub network (tsis txhob muab cov khoom pov tseg, siv lub tshuab txiav, nqa cov hlau thaiv, thiab txiav cov yas tawm). Kuj tshem tawm txhua tus GPIO pins tshwj tsis yog sab saum toj 6 (raws li daim duab sib dhos)
  2. LCD: Tshem lub USB thaiv los ntawm PCB, thiab tshem ob ntawm 12mm tus pin nyob tom qab.
  3. PiJice: Tshem lub yas yas yas yas yas. Tshem cov yas yas dub rau cov GPIO pins, thiab tom qab ntawv txiav (tsis txhob muag) GPIO tawm tsuas yog sab saum toj 6 tus pin (3 ntawm sab xis, 3 ntawm sab laug).
  4. HW-517: Tshem cov ntsia hlau thaiv (tsis muag)
  5. wm8960: Tshem cov yas yas dub rau lub GPIO, thiab tus hais lus cable thaiv thiab ntsia hlau, tom qab ntawv txiav GPIO raws li daim duab qhia.
  6. Ntxuam: Tshem lub rhaub dej kub

Kauj Ruam 3: Luam Ntawv 3D

3D Luam Ntawv
3D Luam Ntawv
3D Luam Ntawv
3D Luam Ntawv
3D Luam Ntawv
3D Luam Ntawv

Koj tuaj yeem rub tawm txhua cov ntaub ntawv koj xav tau hauv qab no. Kuj tseem muaj daim ntawv theej ntawm Thingiverse, yog li koj tuaj yeem siv 3D kev pabcuam luam ntawv yog tias koj tsis muaj.

Tswv yim 3D luam ntawv:

Muaj qee yam txog Creality lub tshuab luam ntawv uas yuav cawm koj ntau qhov ua tsis tau tiav … Lawv cov iav nto yog qhov txaus ntshai rau luam tawm, thiab txawm tias cov phaj tsim yuav raug cua sov, nws muaj yuav luag tsis muaj cov nplaum thiab kuv feem ntau tsis siv lub brim. los yog dab tsi … ua li cas? Kuv ntxuav lub iav nrog cawv dawb, thiab tom qab ntawd siv cov ntawv nplaum ib txwm ua Pritt Stick. Nws yog cov kua nplaum uas tsis muaj tshuaj lom thaum ua kom sov (zoo li los ntawm lub txaj) yog nplaum heev, thiab sib txuas PLA rau cov phaj tsim. Tom qab ntawd thaum luam tawm tiav thiab tsim cov phaj txias, nws tsuas yog tawm yooj yim. Yog tias koj maj nrawm, koj tuaj yeem ntxuav nws nrog dej. (koj yuav tsum tau ntxuav lub iav tawm hauv txhua rooj plaub tom qab txhua qhov luam tawm)

Kauj Ruam 4: Tom Qab Luam Ntawv

Tom Qab Luam Ntawv
Tom Qab Luam Ntawv
Tom Qab Luam Ntawv
Tom Qab Luam Ntawv
Tom Qab Luam Ntawv
Tom Qab Luam Ntawv

Kua nplaum txhua txheej ua ke nrog cov nplaum nrawm super los yog qee yam sib npaug. Cov txheej yuav tsum zaum kom zoo nyob saum ib leeg. Txheej 1 thiab 2 muaj cov ntawv me me uas pab ua kom sib tshooj.

Nqa cov yas yas uas tawm los ntawm PiJuice, thiab muab cov kua nplaum tso rau hauv qhov chaw muab hauv Txheej 2

Tam sim no nws tau lo, koj tuaj yeem xuab zeb rooj plaub kom nws zoo nkaus li zoo!

Txhawm rau kom tau txais koj cov ntaub ntawv zoo meej, koj yuav tsum tau xuab zeb. Kuv siv cov hauv qab no:

  1. Rough xuab zeb nrog 100 pob zeb, yog li txhua kab txheej raug tshem tawm. Cov yas sab nrauv ntsia sab nrauv zoo li grey thiab yog ntxhib heev, tab sis tsis muaj cov kab uas pom pom, lossis cov yas me me.
  2. Ua kom du - nrog 400 txog 800 cov ntawv xuab zeb, pib ua haujlwm ntawm cov tawv nqaij kom du thiab du kom txog thaum nws tsis muaj qhov sib txawv yog tias koj tab tom ua haujlwm, PLA tseem yuav zoo li khawb me ntsis.
  3. Brasso - Siv cov hlau txhuam kom zoo ib yam li Brasso, kom muab cov yas ua tiav zoo kawg nkaus.
  4. Thaum kawg txau ib lub tsho ntawm Tiaj Tsuag Dub tsuag xim. Koj tuaj yeem siv ib qho (Kuv siv Rust-oleum) tsuav nws txuas nrog yas.

Kauj Ruam 5: Txuas Cov Khoom Siv

Txuas Cov Khoom Siv
Txuas Cov Khoom Siv
Txuas Cov Khoom Siv
Txuas Cov Khoom Siv
Txuas Cov Khoom Siv
Txuas Cov Khoom Siv

Siv daim duab kab xaim los xaim tag nrho cov khoom siv kom txhua qhov khoom siv txuas nrog nws cov xim sib thooj. Thaum koj tau ua tiav qhov no, koj tuaj yeem ntxig cov laug cam rau hauv rooj plaub, thiab koom nrog cov xov hlau ua ke.

Kauj Ruam 6: Laser Etching Ntoo Backplate

Laser Etching Ntoo Backplate
Laser Etching Ntoo Backplate
Laser Etching Ntoo Backplate
Laser Etching Ntoo Backplate
Laser Etching Ntoo Backplate
Laser Etching Ntoo Backplate
Laser Etching Ntoo Backplate
Laser Etching Ntoo Backplate

Cov kauj ruam no yuav xav kom koj muaj lub laser txuas rau koj lub tshuab luam ntawv, zoo li Ender 2. Qhov no siv PWM ntawm tus kiv cua nrawm xws li lub zog tswj rau lub laser. Thaum lub kiv cua puv, ces lub laser puv, thiab yog tias tus kiv cua hais 10% ces lub laser tab tom hlawv me ntsis rau hauv ntoo xwb. Qhov tshwm sim yog muaj peev xwm "khawb" rau saum npoo zoo li ntoo. Lub gcode kuv siv tau muab - nws teev qhov siab ntawm lub laser mus rau 50mm, yog li nco ntsoov ua kom pom tseeb ntawm lub laser raug ntawm 50mm.

Tsis teb los tau: Koj kuj tuaj yeem tsim koj tus kheej tsim yog tias koj nyiam, tab sis tom qab ntawd koj yuav tsum mus rau qhov chaw no:

Ntoo yuav tsum tau txiav rau 112mm x 230mm, thiab koj yuav tsum tau xuab zeb ciam teb kom haum rau Txheej 3

Kauj Ruam 7: Txhim Kho Software

Mus rau https://raspberrypi.org/ nyem Download, nyem Raspbian

  • Unzip cov ntawv rub tawm rau koj lub desktop, thiab siv Etcher txhawm rau nyem cov ntaub ntawv.img rau SD Card.
  • Nqa daim npav SD tawm ntawm koj lub PC, thiab ntxig rau hauv daim npav SD Card ntawm Raspberry Pi.
  • Pib lub ntsiav tshuaj los ntawm nias lub hwj huam khawm ntawm ob sab ntawm rooj plaub rau 2 vib nas this.
  • Thawj zaug nws pib, nws yuav hloov kho qhov muab faib kom puv SD Card.

Tom qab ntawd, nws yuav rov pib dua, thiab koj yuav tsum nyob hauv Raspbian OS zoo siab tos txais.

  • Nyem Tom ntej no
  • Nyem Ntxiv Ntxiv
  • Koj tuaj yeem hla qhov teeb tsa tus password rau tam sim no
  • Koj tuaj yeem tso qhov kev xaiv hais txog ciam teb dub
  • Xaiv lub wireless network ntawm koj lub router, thiab sau tus password. Koj yuav tsum tau ntxig USB keyboard ntawm qhov no vim tias yuav tsis muaj cov keyboard ntawm lub vijtsam.
  • Hla qhov hloov tshiab ntawm lub vijtsam tom ntej (peb tuaj yeem ua qhov ntawd tom qab)
  • Koj Ua Tiav

Tam sim no peb yuav tsum teeb tsa qee qhov chaw kom peb tuaj yeem nkag mus rau lub ntsiav tshuaj nyob deb.

  • Nyem rau Raspberry Pi Icon (sab laug sab laug)
  • Mus rau Preferences
  • Mus rau Raspberry Pi Configuration
  • Nyem rau ntawm Interfaces Tab
  • Pab kom: SSH thiab Lub Koob Yees Duab, I2C, SPI
  • Nyem Ok, kom paub meej thiab cia nws rov pib dua

Tus so ntawm txoj haujlwm tuaj yeem ua tiav hauv lub davhlau ya nyob twg hauv koj lub PC qub:

  • Siv Putty (ntawm Windows) lossis Terminal (ntawm Mac), nkag mus rau hauv raspberry pi ntsiav tshuaj raws li:

  • Tom qab ntawd muab cov lus txib hauv qab no:

    • sudo ua
    • apt-tau hloov tshiab
    • git clone
    • cd WM8960-Audio-HAT
    • ./install.sh
    • rov pib dua
  • Tam sim no nws rov pib dua, nkag rov qab, thiab koj tuaj yeem nyob ua pi

    • sudo nano /boot /config.txt
    • Hauv nano, ua cov kev hloov hauv qab no:

      • nrhiav # hdmi_drive = 2 thiab tshem tawm # (tsis pom zoo) thiab hloov tus nqi no rau 1
      • nrhiav dtparam = suab = ntawm thiab ntxiv # nyob rau hauv pem hauv ntej (tawm nws tawm)
      • Ntxiv kab tshiab nrog hdmi_ignore_edid_audio = 1
    • Ctrl s (kom txuag tau)
    • Ctrl x (kom tawm)
    • sudo rov pib dua
  • Tam sim no cia nws rov pib dua, nkag rov qab thiab ua cov hauv qab no:

    • sudo ua
    • apt-tau nruab libasound-dev
    • nab hab sej -m pip nruab -hloov kho pip setuptools log
    • pip nruab pyalsaaudio
    • tawm
  • Tam sim no koj tau rov qab los ua tus siv pi, tam sim no tau txais txoj haujlwm los ntawm GitHub

    git clone

Tam sim no koj yuav tsum tsim 3 qhov kev pabcuam uas ua rau lub vijtsam tig, ntim nce thiab nqis, thiab kiv cua tuaj thiab tawm.

sudo nano /lib/systemd/system/PiTabAudio.service

[Chav]

Nqe lus piav qhia = Pi Tablet Audio Service After = multi-user.target [email protected] [Service] Type = simple ExecStart =/usr/bin/python /home/pi/Raspberry-Pi-Tablet/Services/audio.py StandardInput = tty-force [Nruab] WantedBy = multi-user.target

  • sudo systemctl daemon-reload
  • sudo systemctl pab PiTabAudio.service
  • sudo systemctl pib PiTabAudio.service
  • sudo systemctl xwm txheej PiTabAudio.service
  • sudo nano /lib/systemd/system/PiTabScreen.service

[Chav]

Nqe lus piav qhia = Pi Tablet Screen Service Tom qab = ntau-user.target [email protected] [Service] Tus neeg siv = pi Group = pi Hom = yooj yim ExecStart =/usr/bin/nab hab sej/pi/Raspberry-Pi-Tablet /Services/screen.py StandardInput = tty-force [Install] WantedBy = multi-user.target

  • sudo systemctl daemon-reload
  • sudo systemctl pab PiTabScreen.service
  • sudo systemctl pib PiTabScreen.service
  • sudo systemctl xwm txheej PiTabScreen.service
  • sudo nano /lib/systemd/system/PiTabFan.service

[Chav]

Nqe lus piav qhia = Pi Tablet Fan Service Tom qab = ntau-user.target [email protected] [Service] Hom = yooj yim ExecStart =/usr/bin/python /home/pi/Raspberry-Pi-Tablet/Services/fan.py StandardInput = tty-force [Nruab] WantedBy = multi-user.target

  • sudo systemctl daemon-reload
  • sudo systemctl pab PiTabFan.service
  • sudo systemctl pib PiTabFan.service
  • sudo systemctl xwm txheej PiTabFan.service
  • sudo rov pib dua

Tam sim no peb tuaj yeem teeb tsa PiJuice cov cuab yeej thiab cov kev pabcuam:

sudo apt-tau nruab pijuice-gui

Nov yog txhua tus neeg!

Kauj Ruam 8: Cov Khoom Kawg

Khoom Kawg
Khoom Kawg
Khoom Kawg
Khoom Kawg
Khoom Kawg
Khoom Kawg
Khoom Kawg
Khoom Kawg

Koj yuav tsum tau ua tiav txhua tam sim no thiab tuaj yeem sim cov yam ntxwv sib txawv.

Kuv pom qee cov ntsia hlau dub zoo uas haum zoo rau hauv cov yas txiv ntoo uas peb tau lo rau hauv cov ces kaum. Kuv drilled tawm lub qhov me ntsis yog li lub txiv ntoo lub taub hau tau tsau me ntsis.

Raspberry Pi Kev Sib Tw 2020
Raspberry Pi Kev Sib Tw 2020
Raspberry Pi Kev Sib Tw 2020
Raspberry Pi Kev Sib Tw 2020

Khiav Tawm Hauv Kev Sib Tw Raspberry Pi 2020

Pom zoo: