Cov txheej txheem:
- Kauj Ruam 1: Yam Koj Xav Tau
- Kauj Ruam 2: Qhov Kev Lom Zem
- Kauj Ruam 3: Qhov Nyiam
- Kauj ruam 4: Ntxiv Qee Cov Ntaub Ntawv
Video: DLNA Media Server: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Khaws tag nrho koj cov xov xwm tawm hauv ib qho chaw thiab nkag tau yooj yim.
4K streaming ua haujlwm zoo xwb (disk io: ~ 10MB/s, network: ~ 3MB/s)
Kauj Ruam 1: Yam Koj Xav Tau
1. Ib lub txiv kab ntxwv pi ib lub rooj tsavxwm (tab sis koj tuaj yeem siv lwm yam)
2. Micro SD daim npav (> = 4GB)
3. Sab nraud HDD
4. Ib lub thawv - lub hwj chim hp qub
5. Hobby-xim phaj uas tiv taus tsawg kawg 75 C
6. Ib qhov chaw nres nkoj usb rov qab los ntawm lub khoos phis tawj qub
7. Txiv tsawb txuas, kab hluav taws xob, ntsia liaj qhov rooj zoo rov los ntawm lub khoos phis tawj qub serial lossis vga chaw nres nkoj
Kauj Ruam 2: Qhov Kev Lom Zem
- Txiav daim phaj hobby-xim rau hauv qab, ua qee qhov rau tus pi kom haum rau hauv.
- Txiav sab pem hauv ntej kom haum rau lub ntsej muag lub zog hluav taws xob thiab pi lan thiab usb chaw nres nkoj (muaj) 2 tus kiv cua nyob rau sab ntawd sib cais los ntawm daim hlau me me (uas kuv tau txiav) thiab rov siv lub kiv cua qhov los ua ke.
- Rau pawg tshwj xeeb no (txiv kab ntxwv pi ib) muaj 2 cov ntaub ntawv txuas ntxiv (https://forum.armbian.com/topic/755-orange-pi-one-adding-usb-analog-audio-out-tv-out- mic-thiab-ir-tus txais/).
- Kuv tau muaj hmoo heev rau tub rog ob lub xov tooj ntawm tus pin 3 thiab 4 (thawj zaug yooj yim khawb tus pin); kom paub tseeb tias cov kab hluav taws xob no tsis tawm, siv rab phom los kho nws ntawm lub npua teb - pom tseeb tom qab kuaj tas. Rau lwm tus pi kuv yuav muab cov hlua txuas tom qab ntawm lub phaj ncaj qha rau ntawm lub chaw nres nkoj usb tus pin.
- Solder 2 cables ntawm txhua lub txiv ntseej ntsaws (Kuv siv lub qub CD-rom audio cable).
- Txuas cov xov hluav taws xob mus rau pi, tus qauv no txhawb nws ntawm gpio pins 4 (+5V) thiab 6 (hauv av) - cov pins nyob ntawm kab sab hauv ntawm sab nraud ntawm qhov chaw nres nkoj lan.
- Txuas lwm lub xov tooj hluav taws xob mus rau qhov chaw nres nkoj usb, thiab cov ntaub ntawv txuas rau tus pin 3 thiab 4 ntawm qhov chaw nres nkoj usb.
- Ntxiv lub hard drive thiab teeb lub hau ntswj.
Kauj Ruam 3: Qhov Nyiam
Kuv siv armbian (https://www.armbian.com/download/) vim nws yooj yim dua rau nruab minidlna tom qab
Teeb lub network - ip zoo li qub:
pub-hotplug eth0
tsis-pib-nqis eth0 iface eth0 inet zoo li qub chaw nyob netmask (feem ntau 255.255.255.0) rooj vag dns-nameservers
Teeb tus tsav - Kuv yuav format nws li EXT4 (ceev faj txog cov ntaub ntawv uas twb muaj lawm !!!):
fdisk /dev /sda (p - kom pom kev faib faib, d - rho tawm txhua yam yog tias nws yog, n - tsim qhov tshiab, w - sau kev hloov pauv)
koj yuav xav rov pib dua kom lub ntsiav pom nws (lossis yog partprobe tsis ua haujlwm) mkfs.ext4 -L dlna -disk /dev /sda1
Siv automount hloov fstab - kom tsis txhob kaw qhov system uas tsis ua haujlwm thaum rooj plaub ua tsis tiav
apt-tau nruab autofs
hauv /etc/auto.master append/-/etc/auto.ext-usb hauv /etc/auto.ext-usb/srv -fstype = ext4:/dev/disk/by-label/dlna-disk service autofs pib && systemctl pab kom autofs.service
Nruab thiab teeb tsa minidlna
apt-mus nruab minidlna
/etc/minidlna.conf media_dir =/srv kev pabcuam minidlna pib && systemctl pab minidlna.service
Ua kom tus naj npawb ntawm inotify watchers
/etc/sysctl.conf
fs.inotify.max_user_watches = 1048576 sysctl -p
Ntaus ib lub qhov hauv koj lub firewall
apt-tau nruab firewalld
service firewalld start && systemctl pab firewalld.service firewall-cmd --permanent --add-port 8200/tcp firewall-cmd --permanent --add-port 1900/udp firewall-cmd --reload
Txo RAM zaus kom nws txias thiab txuag lub zog
h3consumption -d 408
rov pib dua
Kauj ruam 4: Ntxiv Qee Cov Ntaub Ntawv
- Siv filezilla txuas mus rau qhov kev pabcuam sftp thiab luam koj cov ntaub ntawv hauv qab /srv
- Nruab samba kom nkag tau rau nws
apt-tau nruab samba
# ntxiv qhov no mus rau qhov kawg ntawm /etc/samba/smb.conf [dlna -media] tawm tswv yim = Kuv txoj hauv kev Media = /srv tuaj yeem nkag tau = yog sau tau = yog siv tau cov neeg siv = minidlna # ua tus neeg siv samba smbpasswd -a minidlna # qhib lub kev pabcuam kev pabcuam smbd pib && systemctl pab smbd.service # cia nws dhau los ntawm firewall firewall-cmd --permanent --add-service samba firewall-cmd --reload # pub nkag tau rau minidlna neeg siv apt-tau nruab acl setfacl -R -mu: minidlna: rwx -md: u: minidlna: rwx /srv
Pom zoo:
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom | Cov kauj ruam ib kauj ruam: Hauv txoj haujlwm no, kuv yuav tsim qhov yooj yim Arduino Tsheb Rov Qab Tsheb Nres Tsheb Nres Sensor Siv Arduino UNO thiab HC-SR04 Ultrasonic Sensor. Qhov no Arduino raws Lub Tsheb Rov Qab ceeb toom tuaj yeem siv rau Kev Tshawb Fawb Txog Tus Kheej, Robot Ranging thiab lwm yam
NAS-pi: Lub thawv kawg rau Koj PLEX, DLNA thiab NAS Kev Zoo Siab: 5 Kauj Ruam (nrog Duab)
NAS-pi: Lub thawv kawg rau Koj PLEX, DLNA thiab NAS Kev Lom Zem: Nyob Zoo, Cov Neeg! Hnub no, peb tab tom tsim lub ntsej muag zoo! Raspberry Pi network txuas nrog cia nrog kev tshaj tawm xov xwm ua haujlwm! Raspberry Pi 3 & Raspberry Pi 2 tau tshaj! Qhov tshwj xeeb tsim los nrog 160GB RAID1 thiab 1.4 TB PLEX server.Superb
Tsev Automation Kauj Ruam ntawm Kauj Ruam Siv Wemos D1 Mini Nrog PCB Tsim: 4 Kauj Ruam
Tsev Automation Kauj Ruam Ib Leeg Siv Wemos D1 Mini Nrog PCB Tsim: Tsev Automation Kauj Ruam los ntawm Kauj Ruam siv Wemos D1 Mini nrog PCB Tsim cov tub ntxhais kawm ntawv qib siab. Tom qab ntawd ib tus ntawm peb cov tswv cuab tuaj
Ib txwm nyob ntawm Raspberry Pi DLNA Server thiab Torrent Client Nrog Cov Teeb Meem LEDs: 6 Cov Kauj Ruam
Ib txwm nyob ntawm Raspberry Pi DLNA Server thiab Torrent Client Nrog Cov Teeb Meem LEDs: Sim ua kom ib qho rau kuv tus kheej thiab nws ua haujlwm zoo kawg nkaus. Nws muaj peev xwm ntws HD cov yeeb yaj kiab yam tsis muaj kev lag luam thiab cov xwm txheej LEDs muab rau kuv sai li sai tau. Kuv tau ntxiv cov kauj ruam uas kuv tau muab tso ua ke hauv qab no
Raspberry Pi - Plex Media Server: 5 Kauj Ruam
Raspberry Pi - Plex Media Server: Raspberry Pi yog ib qho me me ntawm kev tsim kho vajtse uas ua haujlwm ntau yam kev ua haujlwm sib txawv thiab muaj coob tus GPIO pins uas ua rau tsim DIY cov haujlwm nrog raspberry pi ua tau. Raspberry pi muaj ntau qhov sib txawv ntawm bo