Cov txheej txheem:

Raspberry Pi Wifi Tswj Cov Video Tshaj Tawm Neeg Hlau: 8 Kauj Ruam (nrog Duab)
Raspberry Pi Wifi Tswj Cov Video Tshaj Tawm Neeg Hlau: 8 Kauj Ruam (nrog Duab)

Video: Raspberry Pi Wifi Tswj Cov Video Tshaj Tawm Neeg Hlau: 8 Kauj Ruam (nrog Duab)

Video: Raspberry Pi Wifi Tswj Cov Video Tshaj Tawm Neeg Hlau: 8 Kauj Ruam (nrog Duab)
Video: 10 самых АТМОСФЕРНЫХ мест Дагестана. БОЛЬШОЙ ВЫПУСК #Дагестан #ПутешествиеПоДагестану 2024, Kaum ib hlis
Anonim
Raspberry Pi Wifi Tswj Video Streaming Neeg Hlau
Raspberry Pi Wifi Tswj Video Streaming Neeg Hlau

Puas tau xav txog kev tsim tus neeg hlau txias nrog lub koob yees duab ntawm nws? Zoo, koj tuaj rau qhov chaw raug, kuv yuav qhia koj ib qib zuj zus txog yuav tsim tus neeg hlau no li cas.

Nrog rau qhov no koj tuaj yeem mus yos hav zoov hmo ntuj los ntawm kev tswj hwm thiab pom cov vis dis aus tso rau hauv koj lub khoos phis tawj lossis tsav nws sab nraud thiab tsuas yog tshawb nrhiav thaum zaum sab hauv, nws lom zem heev rau tsav.

Kauj Ruam 1: Cov Ntaub Ntawv Yuav Tsum Tau

Cov Ntaub Ntawv Yuav Tsum Tau
Cov Ntaub Ntawv Yuav Tsum Tau

1. Raspberry Pi

2. USB WiFi Adapter (Yog tias koj siv raspberry pi 2)

3. USB Webcam

4. SD Card nrog Raspbian ntsia

5. Power Bank

6. Neeg Hlau Chassis nrog Motors (Kuv siv 300 rpm motors)

7. L293D IC lossis L298 Tsav Tsheb

8. 9v Roj Teeb lossis Pob Roj Teeb (Yog tias koj siv lub roj teeb 9v ces kuv xav kom txuas 2 txuas ua ke)

9. Ib Hloov

10. Breadboard lossis PCB yog tias koj xav tau cov laug

11. M/M thiab M/F Jumper xov hlau

Cov cuab yeej

1. Soldering Hlau

2. Ntsia Hlau

3. Ob Daim Kab Xev

Kauj Ruam 2: Sib dhos Chassis

Sib dhos Chassis
Sib dhos Chassis

Siv cov xaim hluav taws xob txuas rau cov motors thiab teeb tsa cov motors ntawm lub chassis. Yog tias koj tsis muaj cov hlau txuas ces koj tuaj yeem ntswj cov xov hlau thiab txuas lawv nrog daim kab xev hluav taws xob tab sis nws tsis pom zoo vim tias nws yuav ua rau tsis muaj zog sib koom.

Kauj Ruam 3: Npaj Raspberry Pi

Image
Image
Npaj Raspberry Pi
Npaj Raspberry Pi
Npaj Raspberry Pi
Npaj Raspberry Pi

1. Nruab Raspbian ntawm SD Card thiab khau raj raspberry pi nrog tus saib xyuas, keyboard, nas, wifi adapter thiab webcam txuas.

2. Los ntawm cov ntawv qhia zaub mov raspi-teeb tsa pab ssh

3. Mus rau hauv lub desktop thiab txuas rau koj lub network wifi los ntawm kev xaiv wifi nyob rau saum kaum sab xis

4. Thaum txuas nrog xyuas koj tus IP chaw nyob IP los ntawm kev ntaus ifconfig hauv lub davhlau ya nyob twg

5. Qhib IDLE 2 los ntawm lub program tab los ntawm lub luag haujlwm thiab luam cov cai pi_robot thiab khaws nws

6. Txhawm rau nruab lub vev xaib Kuv xav kom koj saib cov vis dis aus no los ntawm Anand Nayyar

7. Lwm yam uas kuv tau ua yog hloov qhov kev daws teeb meem mus rau 720p tsis yog 480p thiab tshawb rau "stream_maxrate" thiab hloov nws mus rau 3. Kom ua tiav fps siab dua hauv streaming Kuv kuj tau overclocked Pi rau 1ghz

TSEEM CEEB

Thaum kuv sim khiav cov cai hauv davhlau ya nyob twg nrog qhov hais kom ua "cd Videos" (Vim tias yog qhov uas kuv tau khaws nws) tom qab ntawd "nab hab sej pi_robot.py" nws hais cov lus yuam kev syntax yog li kuv tau ua dab tsi qhib qhov chaws hauv davhlau ya nyob twg nrog cov lus txib "sudo nano pi_robot.py "thiab tshem tawm cov kab uas twb tau sau hauv nab thiab tsis yog ib feem ntawm txoj cai thiab tom qab ntawd nws ua haujlwm. Kuv tsis paub tias yog dab tsi yog li ntawd yog leej twg paub kuv yuav zoo siab tau hnov cov lus piav qhia txog qhov no hauv cov lus.

Kauj ruam 4: Circuit Court

Circuit Court
Circuit Court
Circuit Court
Circuit Court
Circuit Court
Circuit Court

Lub Circuit Court yog qhov yooj yim zoo nkauj thiab nws tau yooj yim dua yog tias koj siv L298 lub rooj tsav tsheb tsav. Yog tias koj tab tom siv L298 lub rooj tsav tsheb tsav tsheb ces koj tsuas yog yuav tsum xaim lub gpio pins zoo li hauv kab lus thib ob.

Kauj Ruam 5: Txhim Kho Txhua Yam ntawm Chassis

Txhim Kho Txhua Yam ntawm Chassis
Txhim Kho Txhua Yam ntawm Chassis
Txhim Kho Txhua Yam ntawm Chassis
Txhim Kho Txhua Yam ntawm Chassis
Txhim Kho Txhua Yam ntawm Chassis
Txhim Kho Txhua Yam ntawm Chassis

Zoo cov duab qhia txhua yam zoo nkauj heev txog qhov kuv tau sib sau nws tab sis qhov tseeb koj li yuav txawv yog tias koj siv lub chassis sib txawv. Kuv siv daim kab xev ua ob daim los ua txhua yam ntawm lub chassis thiab sim siv cov xov hluav taws xob luv dua, yog li nws zoo dua.

Kauj Ruam 6: Yuav Ua Li Cas Nws

Yuav Ua Li Cas Ua Haujlwm
Yuav Ua Li Cas Ua Haujlwm
Yuav Ua Li Cas Ua Haujlwm
Yuav Ua Li Cas Ua Haujlwm
Yuav Ua Li Cas Ua Haujlwm
Yuav Ua Li Cas Ua Haujlwm

Txhawm rau pib tswj koj tus neeg hlau ua raws cov theem hauv qab no -

1. Hloov ntawm Raspberry Pi tab sis tsis tig rau ntawm qhov hloov pauv uas txuas lub roj teeb pob rau L293D tseem

2. Txuas rau nws los ntawm ssh siv qhov program putty yog tias koj nyob ntawm windows

3. Ntaus qhov hais kom ua "sudo motion" thiab tom qab ntawd qhib koj lub browser internet thiab ntaus hauv koj tus IP chaw nyob nrog 8081 thaum kawg zoo li "192.168.45.64:8081" thiab koj yuav tsum tau txais cov vis dis aus pub dawb. Yog tias nws tsis ua haujlwm ces ntaus 8080 siv 8081

4. Tam sim no rov qab mus rau lub davhlau ya nyob twg thiab nrhiav qhov chaw uas koj tau khaws koj cov ntaub ntawv pi_robot.py. Kuv tau khaws nws hauv Cov Ntawv Yeeb Yaj Kiab, yog li cov lus txib yog, "cd Videos" ces "python pi_robot.py". Nco ntsoov, txhua yam yog cov ntaub ntawv rhiab

5. Tom qab ntawd txoj haujlwm yuav pib ua haujlwm. Tam sim no tig ntawm qhov hloov pauv, tam sim no koj yuav tsum tuaj yeem tswj tus neeg hlau los ntawm cov xub tuav ntawm koj cov keyboard

6. Nias tus xub xub thiab kos yog tias ob lub cav tau txav mus rau qhov yog. Yog tias ib qho ntawm cov cav txav mus tsis raug ces hloov ob lub cav sib txuas uas txuas rau L293D

Kauj Ruam 7: Tswj Los Ntawm Lub Xov Tooj

Tswj los ntawm Xov Tooj
Tswj los ntawm Xov Tooj
Tswj los ntawm Xov Tooj
Tswj los ntawm Xov Tooj
Tswj los ntawm Xov Tooj
Tswj los ntawm Xov Tooj

Txhua theem yog tib yam, koj tsuas yog tau rub lub app "JuiceSSH" los ntawm khw ua si. Txhawm rau tswj tus neeg hlau koj xav tau xub tuav tab sis lub keyboard smartphone ib txwm tsis muaj xub tuav yog li peb yuav tsum rub lub app Hacker's Keyboard '. Tom qab ntawd txuas rau nws zoo li koj tau ua hauv windows.

Kauj Ruam 8: Qee Cov Duab thiab Yeeb Yaj Kiab

Image
Image
Qee Cov Duab thiab Yeeb Yaj Kiab
Qee Cov Duab thiab Yeeb Yaj Kiab

Lub vev xaib vis dis aus zoo tau nqis los tab sis fps tsuas yog 2 lossis 3. Cov vis dis aus zoo yog zoo thaum nyob sab nraud tab sis tsis yog thaum sab hauv. Nws tuaj yeem tsav tsheb ntawm qhov chaw deb tab sis tsis zoo, nws tuaj yeem yog tias koj siv lub zog siab dua los tsav lub cav zoo li nrog lub roj teeb me me 12v.

Kev sib tw Wireless
Kev sib tw Wireless
Kev sib tw Wireless
Kev sib tw Wireless

Khiav Tawm Hauv Kev Sib Tw Wireless

Ua Nws Tsiv Contest 2017
Ua Nws Tsiv Contest 2017
Ua Nws Tsiv Contest 2017
Ua Nws Tsiv Contest 2017

Qhov khoom plig thib peb hauv Kev Ua Kom Nws Sib Tw 2017

Pom zoo: