Cov txheej txheem:

Raspberry Pi Bluetooth rau PuTTY ntawm Windows 10: 3 Cov Kauj Ruam (nrog Duab)
Raspberry Pi Bluetooth rau PuTTY ntawm Windows 10: 3 Cov Kauj Ruam (nrog Duab)

Video: Raspberry Pi Bluetooth rau PuTTY ntawm Windows 10: 3 Cov Kauj Ruam (nrog Duab)

Video: Raspberry Pi Bluetooth rau PuTTY ntawm Windows 10: 3 Cov Kauj Ruam (nrog Duab)
Video: Вещи, которые мистеру Уэлчу больше не разрешается делать в сборнике для чтения RPG № 1-2450 2024, Lub Xya hli ntuj
Anonim
Raspberry Pi Bluetooth rau PuTTY ntawm Windows 10
Raspberry Pi Bluetooth rau PuTTY ntawm Windows 10

Ob lub Raspberry Pi 3 B thiab Raspberry Pi Zero W muaj lub peev xwm Bluetooth. Koj tuaj yeem tso koj li chaw nres nkoj txuas rau yam xws li chav GPS, los ntawm kev hloov kho lub Bluetooth transceiver rau txhua lub plhaub nkag.

Patrick Hundal tau sau ib qho zoo heev hu ua Headless Raspberry Pi teeb tsa dua Bluetooth, uas qhia yuav ua li cas teeb tsa lub xov tooj cua Bluetooth rau lub plhaub nkag. Kab lus no txuas ntxiv qhov haujlwm ntawd, los ntawm kev ua qauv qhia ua ke li cas nrog kev teeb tsa ntawm Raspberry Pi, rau lub plhaub nkag ntawm PuTTY ntawm lub Windows 10 tshuab.

Kauj Ruam 1: Kho Raspberry Pi rau Bluetooth

Ua ntej teeb tsa koj Raspberry Pi rau Bluetooth lub plhaub nkag, los ntawm ua raws cov lus qhia hauv Patrick Hundal kab lus Headless Raspberry Pi teeb tsa dhau Bluetooth.

Cov ntawv sau tseg rau txheej txheem no:

Raws li lwm txoj hauv kev rau SD Card kev teeb tsa ua ntej, txoj hauv kev kuv tau siv los pab kom Pi lub chaw nres nkoj txuas, nkag mus siv PuTTY lub davhlau ya nyob twg program ntawm USB rau hloov pauv hloov pauv, thiab teeb tsa Pi lub kaw lus thaum nws tau khiav ntawm lub hom phiaj kho vajtse. Muaj ntau ntau lwm cov ntawv qhia muaj nyob ntawm cov ncauj lus no.

Kauj Ruam 2: Kho Windows 10 rau Raspberry Pi Bluetooth

Tam sim no koj muaj koj li Raspberry Pi's Bluetooth teeb tsa rau kev nkag mus rau lub plhaub, thiab koj muaj Pi ua haujlwm tau zoo thiab nyob hauv ntau, peb tuaj yeem pib ua ke nrog Windows 10.

Txhawm rau koom nrog COM chaw nres nkoj nrog Rasperry Pi/ Windows 10 Bluetooth khub, peb ua raws li hauv qab no:

Ntawm koj Windows 10 Desktop/ Laptop ua ntej qhib lub Bluetooth transceiver. Xaiv Pib, Chaw, tom qab ntawd Devices. Txog tam sim no tiv thaiv qhov kev ntxias ntxias kom ntxiv bluetooth lossis lwm yam khoom siv. Hloov chaw, nqes mus rau 'Cov teeb meem cuam tshuam', thiab xaiv Cov cuab yeej thiab tshuab luam ntawv. Nrhiav koj lub Desktop/ Laptop hauv qab 'Devices', nyem rau nws, tom qab ntawd xaiv Bluetooth teeb tsa los ntawm cov ntawv qhia zaub mov. Qhov no coj mus rau 'Bluetooth teeb tsa kev sib tham:

Xaiv COM cov chaw nres nkoj tab, tom qab ntawv xaiv Ntxiv … kom coj mus rau 'Ntxiv COM chaw nres nkoj' kev sib tham. Ntawm no peb xaiv lub pob "Xov Tooj Tawm", thiab tom qab ntawd nyem rau Browse … Qhov no yuav ua rau 'Xaiv Bluetooth Device' tham. Txhua yam mus tau zoo, koj yuav tsum pom koj li Raspberry Pi tau teev tseg raws li lub cuab yeej tshawb pom. Xaiv Raspberry Pi cov cuab yeej teev tseg, thiab nyem OK ob zaug. Qhov no yuav tsum coj koj rov qab mus rau COM cov chaw sib tham tabbed sib tham, thiab sau cov chaw nres nkoj COM uas tam sim no cuam tshuam nrog Windows 10/ Raspberry Pi khub. Nco ntsoov qhov chaw nres nkoj COM tau muab rau.

Kauj Ruam 3: Nkag Mus Rau Koj Pi's Bluetooth Plhaub

Nkag mus rau Koj Pi's Bluetooth Plhaub
Nkag mus rau Koj Pi's Bluetooth Plhaub

Rub tawm thiab teeb tsa PuTTY lub davhlau ya nyob twg software.

Tam sim no koj yuav tsum tuaj yeem pib sib tham nkag los ntawm koj Windows 10 tshuab, siv tus lej suav sau COM chaw nres nkoj yav dhau los, ntawm qhov nrawm ntawm 115200 bps.

Hmoov zoo!

Cov Lus Qhia Kawg:

Getty, khiav ntawm Pi, tau teeb tsa kom txiav tus neeg siv nkag thaum lawv txuas ntawm PuTTY. Raws li tsis muaj lwm txoj kev ntsuas tus kheej, koj tuaj yeem xav kom swb tus cwj pwm no, thiab cia siab rau lub npe siv ib txwm siv thiab tus lej xav tau los muab tus qauv kev nyab xeeb.

Txhawm rau ua qhov no, tshem tawm '-a pi' teeb tsa hauv kab hauv qab no ntawm koj /home/pi/btserial.sh file:

ExecStart =/usr/bin/rfcomm saib hci0 1 getty rfcomm0 115200 vt100 -a pi

Pom zoo: