Cov txheej txheem:
- Kauj Ruam 1: Qhov Chaw thiab Software Xav Tau rau Txoj Haujlwm no
- Kauj ruam 2: Hacking Portable TV / DVD Player
- Kauj Ruam 3: Ua Lub Suab Lim
- Kauj Ruam 4: Teeb Lub Software Xav Tau rau Txoj Haujlwm no
- Kauj Ruam 5: Kho lub Suab rau Rapberry Pi Zero
- Kauj Ruam 6: Yog tias Gpio Nyeem Ntawv Hais Kom Tsis Ua Haujlwm
- Kauj Ruam 7: Loading Game Rau Hauv Lub Laptop no
- Kauj Ruam 8: Xaus thiab Ntxiv Cov Tswv Yim rau Txoj Haujlwm no
Video: Portable Gaming Laptop Siv Raspberry Pi: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
Nyob Zoo Cov Menyuam, Hauv cov lus qhia no, peb yuav kawm tsim lub Portable Gaming Laptop siv Raspberry Pi. Thaum kuv hais Gaming laptop Kuv tsis txhais hais tias Lub Laptop Siab kawg uas tau muag hauv khw. Koj yuav tsis muaj peev xwm ua si qhov rais ua si ntawm lub laptop no lawm. Tab sis koj yuav tuaj yeem ua si txhua qhov Retro Games. Yog li koj twv nws raug kuv yuav siv Retropie duab rau txoj haujlwm no.
Kauj Ruam 1: Qhov Chaw thiab Software Xav Tau rau Txoj Haujlwm no
Yog li rau kev tsim txoj haujlwm no koj yuav Portable TV / DVD player uas koj tuaj yeem pom pw hauv koj lub tsev lossis koj tuaj yeem qiv los ntawm koj tus phooj ywg siab dawb. Tom qab ntawd koj yuav xav tau raspberry pi, pom tseeb, txhua tus raspberry pi yuav ua, tab sis kuv yuav siv raspberry pi pes tsawg w. Tam sim no yog tias koj yuav siv raspberry xoom zoo li kuv koj tseem yuav xav tau tsim lub rooj sib tham ntxiv rau suab vim nws tsis muaj lub suab zoo ib yam li raspberry pi 3.
Rau lub rooj tsav xwm suab koj yuav xav tau cov khoom siv no:
- Ob 270 ohms resistor
- Ob 150 ohms resistor
- Ob 33 nF ceramic capacitor
- Ob 10 uF electrolytic capacitor
Sib nrug ntawm cov no koj tseem yuav xav tau qee tus txiv neej thiab poj niam header pins. Qee cov xov hlau thiab cov qauv PCB.
Koj tseem yuav xav rub cov duab retropie los ntawm no:
Txhawm rau thauj cov duab ntawm SD-CARD koj yuav xav tau Win32 Disk Imager lossis txawm tias Etcher yuav ua txoj haujlwm.
Rub tawm Win32 Disk Imager los ntawm no:
thiab Etcher los ntawm no:
Kauj ruam 2: Hacking Portable TV / DVD Player
Qhov no yog cov kauj ruam tsis xav tau yog tias koj lub khoos phis tawj DVD nqa tau lub AV tawm tswv yim, ces koj lub neej yooj yim dua thiab koj tuaj yeem hla cov kauj ruam no.
Ib feem no tuaj yeem nyuaj rau qee tus neeg tab sis, koj paub tseeb tias yuav nrhiav txoj hauv kev yog tias koj sim. Koj yuav tsum nrhiav cov xov hlau / txoj hauv kev uas tus neeg siv khoom xa cov vis dis aus teeb liab mus rau IC. Tus txheej txheem feem ntau yog cov nti loj tshaj plaws uas koj tuaj yeem pom thiab muaj ntau tus lej. Qee lub tshuab nqa DVD nqa tau muaj cais pawg thawj coj saib rau cov zaub (zoo li kuv li). Tom qab ntawd koj tsuas yog xav tau txhawm rau txhawm rau txuas lub cable txuas lub rooj tsav xwm tseem ceeb mus rau lub rooj tsavxwm. Hauv kuv qhov teeb meem pinout ntawm cov txuas txuas tau luam tawm ntawm lub rooj tsav xwm hauv Circuit Court. Tab sis yog tias nws tsis yog hauv koj rooj plaub ces koj tuaj yeem tsuas yog Google pinout rau Display IC.
Raws li koj tuaj yeem pom hauv daim duab saum toj no pinouts ntawm kuv cov kab txuas sib txuas tau muab rau ntawm lub rooj tsavxwm. Kuv pom peb tus lej ntxim nyiam thiab lawv yog TV/AV, TV, Y (saib hauv cov duab saum toj no). TV/AV tau siv los hloov pauv hom TV thiab DVD. Lub TV yog lub TV tso tawm video thiab Y yog cov vis dis aus DVD. Hauv kuv qhov xwm txheej kuv xaiv lub TV tawm tswv yim vim nws muab cov zaub zoo dua. Yog li kuv tsuas yog txiav lub TV hlau thiab hloov nws nrog raspberry pi qhov tso tawm.
Yog tias koj ua tiav cov kauj ruam no kom zoo siab vim tias qhov no yog cov kauj ruam nyuaj tshaj plaws thiab cov kauj ruam tom ntej yog qhov yooj yim heev.
Kauj Ruam 3: Ua Lub Suab Lim
Txog qhov no kuv hais txog adafruit lub vev xaib:
Cov kauj ruam no xav tau tsuas yog yog tias koj siv raspberry pi xoom txij li raspberry pi xoom tsis muaj lub suab lim inbuilt.
Lub Circuit Court siv ob qho gpio 13 thiab gpio 18 rau cov tso suab tso tawm. tab sis kuv tsuas yog siv gpio 18, Txij li thaum kuv tsis mloog lub suab mono tso tawm. Kuv txuas cov zis ntawm lub lim no mus rau ntawm lub rooj tsav tsheb lub suab nrov ntawm kuv lub Portable DVD player. Thov nco ntsoov tias koj xav tau lub suab nrov nrov yog tias koj tsis tuaj yeem siv lub tshuab tso suab sab hauv ces koj yuav tsum ua lub suab nrov nrov. Koj tsis tuaj yeem txuas qhov tso tawm ntawm lub lim lim ncaj qha rau tus hais lus.
Kauj Ruam 4: Teeb Lub Software Xav Tau rau Txoj Haujlwm no
Tam sim no nws yog lub sijhawm los tshuaj xyuas seb peb lub suab ua haujlwm li cas, Tab sis ua ntej ntawd peb yuav tsum nyem cov duab Retropie rau daim npav sdcard, Koj tuaj yeem rub cov duab no los ntawm Retropie lub vev xaib raug cai los ntawm no (https://retropie.org.uk /) Rau qhov flashing Kuv siv Win32 Disk Imager tab sis koj tseem tuaj yeem siv Etcher los ua txoj haujlwm.
Koj yuav tsum qhib Win32 Disk Imager hauv hom tswj hwm, xaiv cov duab Retropie. Xaiv koj daim npav SD-CARD los ntawm lub npov nco thiab tom qab ntawd nyem rau ntawm lub pob sau.
Tam sim no koj yuav tsum txuas koj li raspberry pi xoom rau koj lub network thiab pab SSH rau nws. Txoj hauv kev no ua nws heedlessly yam tsis muaj tus saib, tsuas yog ua raws cov theem no. Koj yuav tsum tsim ob daim ntawv wpa_supplicant.conf thiab ssh hauv cov npe khau raj ntawm daim npav nco. Lossis tsuas yog rub lawv los ntawm hauv qab no. Koj yuav tsum hloov kho wpa_supplicant.conf los ntawm kev nkag mus rau koj lub teb chaws tus lej, lub npe wifi thiab tus lej zais. Tom qab ntawd luam ob daim ntawv no rau hauv phau ntawv teev npe khau raj. Tom qab ntawd muab koj daim npav SD tso rau hauv koj lub raspberry pi thiab nws yuav tsum txuas nrog koj lub network wifi.
Tom qab ntawd pom koj tus raspberry pi IP chaw nyob, Kuv siv Advanced IP Scanner (https://www.advanced-ip-scanner.com/) rau lub hom phiaj no.
Nws lub sijhawm rau SSH rau hauv raspberry pi. Rau Windows Cov Neeg Siv Kuv pom zoo siv software hu ua Putty (https://www.putty.org/). Rau Linux Cov Neeg Siv Koj tuaj yeem siv lub davhlau ya nyob twg los ntawm kev ntaus cov lus txib no
ssh pib@ip_address
Piv txwv li, Yog tias kuv tus Raspberry pi tus IP chaw nyob yog 192.168.8.102 ces kuv yuav tau siv cov lus txib no ssh [email protected]
Tus neeg siv tus lej nkag tsis raug yog pi thiab tus password tsis raug yog raspberry.
Kauj Ruam 5: Kho lub Suab rau Rapberry Pi Zero
Txhawm rau txuag koj los ntawm txhua qhov teeb meem software kuv tsim ib daim duab ntawm kuv tau teeb tsa ua ntej SD-CARD. Tsuas yog rub tawm (https://drive.google.com/file/d/1uBkISlCsInqCkeoxKhDdvfD1C9_mzKkE/view?usp=sharing/) thiab nyem qhov duab hauv koj daim npav SD-CARD, tom qab ntawd koj tuaj yeem hla cov kauj ruam no thiab qib tom ntej ntawm cov lus qhia no. Tab sis yog tias koj xav kawm qee yam ces kuv txhawb koj kom nyeem cov theem no.
Rau cov kauj ruam no kuv tau hais txog qhov qhia adafruit (https://learn.adafruit.com/adding-basic-audio-oup…).
Yog li lub tswv yim ntawm no yog tias thawj raspberry pi ib thiab raspberry pi xoom siv cov txheej txheem zoo sib xws, Tab sis thawj tus raspberry pi muaj lub suab tso tawm, yog li vim tias lawv muaj cov txheej txheem zoo sib xws ces raspberry pi xoom yuav tsum muaj lub suab tso tawm tab sis qhov teeb meem yog peb tsis muaj tus pin PWM0 (tus pin #40) thiab PWM1 (tus pin #45) [Qhov no yog tus pin uas tau siv rau suab ntawm Raspberry Pi Ib] raug rau raspberry pi xoom, tab sis muaj txoj hauv kev rov ua dua qhia cov cim rau GPIO 18 thiab GPIO 13 ntawm raspberry pi xoom.
Thaum peb txuas nrog siv SSH, Ntaus cov lus txib hauv qab no
sudo apt-tau hloov tshiab
sudo apt-tau nruab raspi-gpio wiringpi
ces ntaus gpio readall
Yog tias qhov no tsis ua haujlwm, koj yuav tsum tsim raspi-gpio koj tus kheej thov xa mus rau kauj ruam tom ntej.
gpio readall hais kom ua yuav muab tus pin hom rau koj thiab lub xeev rau txhua tus pin. Cov pins peb txaus siab yog GPIO 13 thiab GPIO 18. Qhov hom yuav raug teeb tsa rau IN peb yuav tsum teeb tsa hom no rau ALT0 thiab ALT5.
Rau qhov no peb xav tau software uas hu ua gpio_alt. Txhawm rau txuag koj lub sijhawm Kuv twb tau sau nws rau koj. Tsuas yog rub cov ntawv zip rho tawm nws thiab luam nws mus rau raspberry pi tsev ntawv. (Hauv cov duab saum toj no kuv tau qhia yuav ua li cas sau qhov gpio_alt.c siv gcc -o gpio_alt gpio_alt.c)
Tom qab ntawv ntaus cov lus txib no:
sudo chown hauv paus: hauv paus gpio_alt
sudo chmod u+s gpio_alt
sudo mv gpio_alt/usr/zos/bin/
gpio_alt -p 13 -f 0
gpio_alt -p 18 -f 5
Tam sim no ntaus gpio nyeem ntawv, thiab koj yuav pom tias GPIO 13 thiab GPIO 18 tus pin hom tau hloov mus rau ALT0 thiab ALT5.
ces ntaus sudo raspi-config
mus rau cov kev xaiv siab dua. tom qab ntawd mus rau lub suab thiab xaiv Force 3.5mm ('Lub mloog pob ntseg') kev xaiv nkaus.
Ntaus alsamixer thiab nce ntim los ntawm nias tus xub nce qhov tseem ceeb. Tom qab ntawd koj tuaj yeem kub Esc kom txuag thiab txiav tawm
Tam sim no kom siv tus txheej txheem no txhua lub sijhawm raspberry pi khau raj
Ntaus sudo nano /root/pwmaudio.sh
Luam qhov no rau hauv nws:
#!/bin/tsoo
/usr/local/bin/gpio_alt -p 13 -f 0
/usr/local/bin/gpio_alt -p 18 -f 5
Nias ctrl+o kom txuag thiab tom qab ntawd ctrl+x kom tawm mus.
khiav sudo chmod +x /root/pwmaudio.sh thiab tom qab ntawd tsim lwm tsab ntawv nrog sudo nano /lib/systemd/system/pwmaudio.service
thiab lo qhov no hauv nws
[Chav]
Description = PWM Audio Service
[Kev pabcuam]
ExecStart =/hauv paus/pwmaudio.sh
StandardOutput = null
[Nruab]
WantedBy = ntau-user.target
Alias = pwmaudio.service
Txuag cov ntawv los ntawm kev ntaus ctrl+o. Thaum Qhov no ua tiav pib qhov kev pabcuam no los ntawm kev ntaus cov lus txib no.
sudo systemctl pab kom pwmaudio.service
sudo systemctl pib pwmaudio.service
tom qab ntawd ua sudo reboot thiab peb tau ua tiav teeb tsa software.
Kauj Ruam 6: Yog tias Gpio Nyeem Ntawv Hais Kom Tsis Ua Haujlwm
Muaj qhov ua tau tias gpio nyeem ntawv hais kom ua yuav tsis ua haujlwm rau qee tus neeg yog li hauv qib no peb yuav tsim lub pob gpio peb tus kheej.
Ua ntej peb yuav tsum rub tawm qhov ntsuas tam sim no los ntawm wiringPi Git repo: (https://git.drogon.net/?p=wiringPi;a=summary). Qhov uas kuv muaj yog xaimPi-8d188fa.tar.gz.
Peb yuav tsum theej cov ntawv no rau peb raspberry pi. Kuv siv txoj hauv kev yooj yim no, Ua ntej qhib koj cov ntaub ntawv tshawb nrhiav, Tom qab ntawd hauv kab ntawv chaw nyob yam: / ip_address, qhov twg ip_address hais txog IP chaw nyob ntawm koj tus raspberry pi. -8d188fa.tar.gz cov ntaub ntawv rau hauv BIOS nplaub tshev.
Tom qab ntawd SSH rau hauv raspberry pi thiab ntaus:
ls./RetroPie/BIOS/
Nrog rau qhov no koj yuav tuaj yeem pom wiringPi-8d188fa.tar.gz cov ntaub ntawv.
mv./RetroPie/BIOS/wiringPi-8d188fa.tar.gz./
Extract cov ntaub ntawv nrog cov lus txib no:
gunzip thaiv kab -Pi-8d188fa.tar.gz
tar -xvf wiringPi -8d188fa.tar
Tom qab ntawd nkag mus rau thewiringPi-8d188fa phau ntawv teev npe thiab teeb tsa software:
cd thaiv -Pi-8d188fa
./ tsim
thiab ntaus gpio readall, thiab nws yuav ua haujlwm.
Kauj Ruam 7: Loading Game Rau Hauv Lub Laptop no
Tam sim no txhawm rau rub cov game rau hauv lub laptop no qhib cov ntaub ntawv tshawb nrhiav, Nyem rau kab ntawv chaw nyob, thiab ntaus / ua raws los ntawm tus IP chaw nyob ntawm raspberry pi.
piv txwv li yog tias kuv tus IP chaw nyob yog 192.168.8.102, Tom qab ntawd kuv yuav tsum ntaus / 192.168.8.102 hauv kab ntawv chaw nyob, tom qab ntawd qhib ROM nplaub tshev thiab tom qab ntawd luam tawm koj cov game ntawm no txij li qhov kev ua si Kuv muaj yog hom snes Kuv tau theej nws mus rau snes folder.
Kauj Ruam 8: Xaus thiab Ntxiv Cov Tswv Yim rau Txoj Haujlwm no
Thaum kawg kuv txuas cov keyboard usb no mus rau rasberry pi thiab tom qab ua cov txheej txheem keyboard kuv rov pib dua raspberry pi. Nws tau dhau los ua txoj haujlwm zoo, tom qab saib kuv tus kwv yau ua si nrog nws.
Kuv muaj ntau lub tswv yim thaum ua txoj haujlwm no feem ntau uas kuv tsis tuaj yeem siv txij li lub teeb rov qab inverter ntawm Portable DVD player nres ua haujlwm.
Ib lub tswv yim yog siv cov nyees khawm uas twb muaj lawm ntawm lub tshuab DVD nqa tau hloov lub keyboard. Rau lub tswv yim thib ob kuv muaj Infra-Red gaming joystick, uas kuv xav txuas nrog Retropie. Kuv siv tus neeg txais IR tam sim no ntawm Portable DVD player thiab kuv tuaj yeem tau txais cov keyboard nias los ntawm tus tswj siv LIRC (Linux Infrared Remote Control) (https://www.lirc.org/) software thiab kev hloov kho me ntsis ntxiv tuaj yeem tso cai rau kuv siv qhov IR joystick nrog Retropie.
Kuv yuav twv yuav raug hu ua cov vis dis aus thiab cov lus qhia ntawm qhov no ib zaug kuv tau txais lub teeb pom kev zoo tshiab, yog li thov tsis txhob hnov qab sau npe yuav kuv tus youTube channel Jovi Tech.
Pom zoo:
Cov Khoom Siv Teeb Meem Siv Chaw Taws Teeb Siv Arduino: 7 Kauj Ruam
Cov Khoom Siv Teeb Meem Siv Khoom Siv Hluav Taws Xob Siv Arduino: Tam sim no, Cov Tsim, Cov tsim tawm tau nyiam Arduino rau kev txhim kho sai ntawm cov qauv ntawm cov phiaj xwm. Arduino yog lub platform siv hluav taws xob qhib raws qhov yooj yim-rau-siv-kho vajtse thiab software. Arduino muaj zej zog cov neeg siv zoo heev. Hauv qhov no
Saib Xyuas Kev Siv Sijhawm Siv Raspberry Pi thiab AIS328DQTR Siv Python: 6 Cov Kauj Ruam
Saib Xyuas Kev Siv Sijhawm Siv Raspberry Pi thiab AIS328DQTR Siv Python: Kev nrawm yog qhov kawg, Kuv xav raws li qee txoj cai ntawm Physics.- Terry Riley Tus cheetah siv qhov nrawm nrawm thiab hloov pauv sai thaum caum. Tus tsiaj nrawm tshaj plaws nyob ntawm ntug hiav txwv ib zaug hauv ib lub sijhawm siv nws qhov nrawm tshaj plaws kom ntes tau cov tsiaj txhu. Qhov
Txawb Xov Tooj Siv Yooj Yim Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: 14 Cov Kauj Ruam (nrog Duab)
Kev Siv Xov Tooj Ntawm Lub Xov Tooj Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: Koj puas tau xav tsim qhov kev ua kom txias txias? Yog tias yog, ua li cas txog kev tsim ib qho ntawm cov neeg nyiam tshaj plaws thiab txhua tus nyiam cov khoom siv xws li Lub Xov Tooj Txawb !!!. Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav tsim lub xov tooj txawb yooj yim siv STM li cas
Tsis Siv Neeg Kev Hla Hla Kev Siv Hluav Taws Xob Siv Arduino Raws Kev Nkag Nkag Platform: 9 Cov Kauj Ruam
Tsis Siv Neeg Kev Hla Hla Kev Siv Hluav Taws Xob Siv Arduino Raws Kev Nkag Siab Platform: Christmas tsuas yog ib lub lim tiam xwb! Txhua leej txhua tus tibneeg hu tauj coob nrog kev ua koob tsheej thiab tau txais khoom plig, uas, los ntawm txoj kev, tau txais txhua qhov nyuaj dua kom tau nrog qhov tsis muaj peev xwm nyob ib puag ncig peb. Yuav ua li cas mus los ntawm khoom plig qub thiab ntxiv qhov kov ntawm DIY rau
Rov Qab Siv Cov Khoom Siv Laus qub los Tsim Cov Pheej Yig Portable System: 3 Cov Kauj Ruam (nrog Duab)
Rov Qab Siv Cov Khoom Siv Laus qub los tsim Cov Txheej Txheem Nqis Pheej Yig: Tsis ntev los no kuv lub Laptop qub tau tuag thiab kuv yuav tsum yuav ib qho tshiab, (RIP! 5520 koj yuav tsis nco). Lub khoos phis tawj niam niam lub rooj tuag tau tuag thiab qhov kev puas tsuaj tuaj yeem kho tau Txog thaum tsis ntev los no kuv coj Raspberry ncuav qab zib thiab pib tinkering nrog IOT sutff tab sis xav tau kev mob siab rau