Cov txheej txheem:

Siv Xibtes Infrared Keyboard Nrog Android Devices: 5 Kauj Ruam
Siv Xibtes Infrared Keyboard Nrog Android Devices: 5 Kauj Ruam

Video: Siv Xibtes Infrared Keyboard Nrog Android Devices: 5 Kauj Ruam

Video: Siv Xibtes Infrared Keyboard Nrog Android Devices: 5 Kauj Ruam
Video: Насколько важны YouTube видео для роста бизнеса | Идеи YouTube... 2024, Kaum ib hlis
Anonim
Siv Xibtes Infrared Keyboard Nrog Android Devices
Siv Xibtes Infrared Keyboard Nrog Android Devices
Siv Xibtes Infrared Keyboard Nrog Android Devices
Siv Xibtes Infrared Keyboard Nrog Android Devices
Siv Xibtes Infrared Keyboard Nrog Android Devices
Siv Xibtes Infrared Keyboard Nrog Android Devices

Kuv muaj PalmOne Wireless Keyboard zaum ib puag ncig thiab kuv xav kom muaj keyboard Bluetooth rau kuv lub xov tooj. Qhov teeb meem nkaus xwb yog tias PalmOne cov keyboard tau siv lub teeb ci.

Kuv kuj muaj Brainlink ntaus ntawv. Nov yog lub cuab yeej me me ntxim hlub rau kev sib kho nruab nrab ntawm cov cuab yeej sib txawv. Nws tau txais lub tshuab atxmega16, lub roj teeb rov tau, qee qhov ntsuas, lub xov tooj cua Bluetooth, ib pawg ntawm cov chaw nres nkoj, rooj plaub thiab qee qhov hloov kho tau rau kev tswj hwm nws tag nrho. Brainlink tau txiav tawm tab sis SurplusShed muaj nws rau $ 39, thiab lawv muaj sijhawm 30-50% ntawm kev muag khoom ntawm txhua yam. Kuv tau txais nws rau $ 20. Koj kuj tseem tuaj yeem siv koj tus kheej atxmega ntxiv rau Bluetooth lub rooj tsavxwm (cov duab kos ntawm no), tab sis koj cov nqi yuav tsis qis dua.

Txawm li cas los xij, tom qab txheeb xyuas qhov chaw ntawm kab ntawv ntawm lub keyboard yog, ua kev txhim kho firmware rau Brainlink thiab sau tus tsav tsheb hauv Android rau cov keyboard, nws ua haujlwm zoo nkauj. Txij li feem ntau ntawm txoj haujlwm tau tshawb nrhiav thiab software, tam sim no uas tau ua tiav nws yog qhov haujlwm yooj yim rau txhua tus neeg uas muaj Brainlink. Koj xav tau:

  • PalmOne Wireless Keyboard
  • Brainlink
  • 3- lossis 8-tus pin txuas rau Brainlink (1.25mm suab JST-style txuas); koj tuaj yeem siv 8-tus pin txuas nrog Brainlink tab sis koj yuav xav xaj ntau ntxiv rau lwm txoj haujlwm
  • Cov laug thiab hlau
  • Daim kab xev hluav taws xob
  • Yeem: Nqe lauj thiab khawm khawm

Yav dhau los Kuv tau siv Brainlink txuas rau Mindflex EEG lub mloog pob ntseg thiab rau Roomba. Nws yog qhov zoo heev rau kev ua haujlwm txuas rau Bluetooth txuas txuas. Kuv tsuas yog ua qhov sib txuas sib txawv rau cov cuab yeej sib txawv, thiab tuaj yeem txav mus rau Brainlink ntawm lawv.

Kauj ruam 1: Tom qab

Keeb kwm yav dhau
Keeb kwm yav dhau
Keeb kwm yav dhau
Keeb kwm yav dhau
Keeb kwm yav dhau
Keeb kwm yav dhau

Xav tias dawb hla qhov kev piav qhia keeb kwm yav dhau los no.

Lub PalmOne Wireless Keyboard xa nws cov ntaub ntawv los ntawm IR LED ntawm tus qia, siv IrDA. Thaum ib tus tuaj yeem siv IR ntes los txiav txim cov ntaub ntawv, muaj txoj hauv kev yooj yim dua. Yog tias koj ib nrab khawm cov keyboard, peb daim kab xev tooj liab raug nthuav tawm. Ib nrab yog av thiab hauv qab ib yog kab sib kis. Muab lawv tso rau hauv oscilloscope txheeb xyuas tias lub teeb liab ntawm kab xa xov tau teev nyob hauv kwv yees li 9600 (qhov tseeb dua: 9760) 8 N 2, nrog qib siab ib puag ncig 1.56V, thiab nrog irDA kev hloov pauv mem tes: 1 yog siab, thiab muaj txiaj ntsig zoo siv 3/16 ntawm lub sijhawm me ntsis.

Hmoov tsis zoo, txhua qhov no txhais tau tias peb tsis tuaj yeem ntsaws qhov no mus rau qhov yooj yim Bluetooth module (tsawg kawg tsis yog tsis ua kev cai firmware rau nws), ib yam li kuv tau ua hauv kuv txoj haujlwm Mindflex. Hmoov zoo, atxmega hauv Brainlink muaj hom irDA rau nws UART. Nws yog qhov yooj yim ntxiv me ntsis ntawm cov cai rau Brainlink firmware tso cai rau "J1" code hloov nws mus rau IrDA hom. Kuv cia siab tias 1.56V qib siab yuav tsis txaus rau atxmega, tab sis kuv zoo siab heev thaum kuv txuas cov hlua tooj liab rau GND thiab UART Tau Txais ntawm Brainlink thiab saib cov txiaj ntsig hauv Realterm: Kuv tau txais qhov zoo rau byte ntu los ntawm cov keyboard.

Nws tau muab tawm tias rau rau byte ib ntu tsuas yog ntim rau ib qho byte scan nkaus xwb (nrog rau qhov cim me ntsis siab tso tawm). Tshwj xeeb, ntu yog FF C0 xx yy zz C1, qhov twg xx yog tus lej scan, yy yog xx xor'ed nrog FF, thiab zz yog xx xor'ed nrog 67. (Hauv qhov tseeb, cov lej scan tau xa peb zaug: ib zaug meej thiab ob zaug nkag mus. Kuv tab tom kwv yees qhov no yog vim tias irDA nquag ua rau kev ua tsis ncaj, thiab yog li koj tuaj yeem siv feem ntau-txiav txim siab kom tau txais byte.). Thiab qhov ntawd tsis nyuaj.

Ntawm software sab, thaum tej zaum kuv tuaj yeem hloov pauv RN-42 Bluetooth module hauv Brainlink mus rau HID hom, uas muaj peev xwm txhuam tau, txij li yog tias tus qauv tsis hloov rov qab mus rau SPP, kuv yuav tsis tuaj yeem tham nrog Brainlink hla nws cov txheej txheem Bluetooth.

Qhov yooj yim dua los ua yog tsuas yog coj los qhib BluezIME keyboard app uas tso cai rau ntau yam Bluetooth gamepads ua haujlwm li Android tswj hwm thiab ntxiv hom rau Palm Ib Wireless Keyboard's rau-byte ntu. Qhov tshwm sim app yog P1 Keyboard dawb hauv Google Ua Si tam sim no (qhov chaws ntawm github).

Kauj Ruam 2: Txhim Kho Brainklink Firmware

Hloov kho Brainklink Firmware
Hloov kho Brainklink Firmware
Hloov kho Brainklink Firmware
Hloov kho Brainklink Firmware

Txhawm rau pab IrDA-hom cov ntaub ntawv cov ntaub ntawv txhawb nqa ntawm Brainlink, koj yuav tsum tau thauj kuv cov kev cai firmware. Nws yog qhov yooj yim nrog Android ntaus ntawv thiab lub khoos phis tawj uploader Kuv tau sau (los ntawm txoj kev, koj tuaj yeem hloov kho tus uploader los ua lub hom phiaj dav atmega/atxmega AVR109 flash uploader).

  1. Pair Brainlink (PIN 1234) nrog Android ntaus ntawv-koj yuav tsum ua qhov no txuas mus txuas cov keyboard
  2. Rub tawm kuv tus Brainlink Firmware Uploader los ntawm Google Ua Si (qhov rau uploader thiab firmware ntawm github).
  3. Tua Brainlink thiab txuas tus pin 8 thiab 2 (coj txawv txawv, tus pin 8 yog tus pin sab laug, thiab tus pin 1 yog sab xis) ntawm qhov chaw nres nkoj 8-tus pin.
  4. Tuav tus pin txuas, tig rau Brainlink. Nws cov LED yuav tsum tig xiav.
  5. Xaiv qhov kev cai firmware uas koj xav tau (yog tias koj muaj Roomba, ib qho ntawm cov khoom siv ua haujlwm tau zoo dua nrog Roombas tshiab thiab lwm qhov nrog cov laus dua), thiab nias "Upload".
  6. Qhov ntawd yuav tsum yog nws, txawm hais tias yog koj muaj teeb meem kev sib txuas koj yuav xav sim ntau dua ib zaug.

Koj li Brainlink tam sim no ntse dua: nws tsis tsuas yog txhawb nqa nyeem cov ntaub ntawv los ntawm qee yam khoom siv IrDA (thaum koj pom lub teeb liab tsis hloov pauv), tab sis tseem ua haujlwm raws li tus qauv Roomba-rau-Bluetooth txuas, thiab tuaj yeem ntes cov ntaub ntawv los ntawm Mindflex EEG lub mloog pob ntseg. Thiab lub firmware tau rov qab sib xws.

Kauj Ruam 3: Txuas Brainlink rau Keyboard

Txuas Brainlink rau Keyboard
Txuas Brainlink rau Keyboard
Txuas Brainlink rau Keyboard
Txuas Brainlink rau Keyboard
Txuas Brainlink rau Keyboard
Txuas Brainlink rau Keyboard

Koj yuav xav tau lub tether txuas uas haum rau peb sab laug tus pin ntawm Brainlink's 8-pin chaw nres nkoj. Cov no yog JST-style txuas nrog 1.25mm tus pin sib nrug. Koj tuaj yeem siv qhov txuas peb-tus pin (kuv xaiv) lossis 8-tus pin txuas. Koj tuaj yeem siv 8-tus pin txuas uas los nrog Brainlink, tab sis tom qab ntawd koj yuav xav xaj ntau ntawm lawv (Kuv pom 3- thiab 8-tus pin txuas pheej yig ntawm ebay).

Qhib lub roj teeb ntawm cov keyboard thiab tshem cov roj teeb. Nyob ze rau sab qis ntawm cov roj teeb, koj yuav pom ob khub ntawm cov xov txuas nrog ua ke ntawm JST-style txuas. Yog tias koj cov xim zoo li kuv, cov xov hlau dub yog hauv av (koj tuaj yeem tshawb xyuas qhov tsis sib xws ntawm qhov ntawd thiab rho tawm lub dav hlau ntawm lub roj teeb) thiab lwm yam xim (xim av thiab xim av) yog lub teeb liab.

Ntawm koj lub Brainlink 8-pin chaw nres nkoj, kev txuas sab laug yog hauv av (tus pin sab laug ntawm 8-tus pin chaw nres nkoj) thiab tus pin thib peb los ntawm sab laug yog cov tau txais. Siv cov xaim av hauv av ntawm koj lub Brainlink txuas rau kab hauv av ntawm cov keyboard, thiab tau txais xov tooj ntawm Brainlink mus rau kab teeb liab. uas yog sab hauv cov keyboard. Yog tias yog, tshem tawm JST-style txuas, thiab txuas ob qho tib si ntawm cov xov tooj uas muaj feem cuam tshuam (ob lub xov tooj cua hauv av thiab ib qho Brainlink hauv av xaim; ob lub keyboard teeb liab xov hlau thiab ib lub paj hlwb tau txais xaim).

Nws yog kev ntxias kom txiav IR LED sab ntawm JST-style txuas kom txuag roj teeb lub neej. Tsis txhob ua. Lub teeb liab sib nrug yog koj ua li ntawd. Kuv tau txheeb xyuas nrog kuv oscilloscope.

Ua ib lub qhov ntawm daim di ncauj ntawm lub roj teeb npog rau cov xov hlau ntawm Brainlink sib txuas kom dhau mus, siv kab xev hluav taws xob kom ob txoj kev sib txuas raug cais, thiab khi txoj hlua khi me me.

Thaum kawg, thaum txhua yam ua tiav, ib qho npog qhov cuam tshuam tsis sib xws ntawm Brainlink tether lossis tsuas yog txiav cov xov tsis cuam tshuam.

Koj kuj tseem yuav xav tau lo rau qee qhov Velcro ntawm Brainlink thiab cov keyboard rau khaws Brainlink nyob rau hauv qhov chaw.

Kauj ruam 4: Siv Nrog Android Ntaus

Siv Nrog Android Ntaus
Siv Nrog Android Ntaus
  1. Pair Brainlink nrog koj lub cuab yeej Android (PIN 1234).
  2. Nruab kuv lub P1 Keyboard app.
  3. Tua tawm P1 Keyboard Settings (lub cim rau nws yuav tsum yog hauv koj lub launcher).
  4. Pab kom P1 Keyboard hauv Android txheej txheem txheej txheem teeb tsa. Hauv cov khoos phis tawj tshiab dua tshiab, koj tuaj yeem qhib P1 Keyboard los ntawm kev xaiv "Xaiv IME" hauv P1 Keyboard Settings, thiab coj mus rhaub rau "teeb tsa cov txheej txheem nkag." (Koj yuav tau txais kev ceeb toom tias cov keyboard pom tag nrho koj tus password, thiab lwm yam. koj tus kheej.)
  5. Coj mus rhaub rau "Xaiv lub cuab yeej" thiab xaiv koj li Brainlink (kuv pom zoo li RN42-A308).
  6. Coj mus rhaub rau "Xaiv IME" hauv P1 Keyboard Settings thiab xaiv P1 Keyboard.
  7. Nws yuav siv sijhawm me ntsis los txuas, tab sis koj yuav tsum tau txais cov lus hais txog kev sib txuas yog tias txhua yam mus tau zoo

Thiab koj ua tiav! Xav tias dawb pub dawb rau tus sau ntawm BluezIME uas P1 Keyboard tau ua raws.

Hauv Android 4.0+, thaum nyob hauv kab ntawv yuav muaj kev ceeb toom uas tso cai hloov txoj hauv kev nkag, yog li koj tuaj yeem hloov rov mus rau lwm txoj hauv kev nkag.

Tus tsav tsheb kuv sau rau cov keyboard yog yooj yim heev. Nws txhawb nqa cov yuam sij zoo tib yam, tab sis tsis txhawb nqa ntau qhov tshwj xeeb hais lus yuam sij lossis lwm yam tshwj xeeb. Kuv tau ntxiv kev txhawb nqa siv ob lub khawm nrog lub tsev (FN-1 thiab tus yuam sij rau sab laug ntawm qhov chaw) ua Tsev, siv Windows qhov tseem ceeb thiab FN-2 ua Ntawv Qhia zaub mov thiab FN-3 raws li Tshawb Nrhiav. Tsis tas li, ctrl-a, c, v, x ua haujlwm raws li xav tau.

Nws ua haujlwm tau zoo txaus uas kuv tau sau thawj daim ntawv sau tseg ntawm Cov Lus Qhia no ntawm kuv lub xov tooj Galaxy S2 nrog cov keyboard.

Kauj Ruam 5: Lwm Cov Keyboards

Lwm Cov Keyboards
Lwm Cov Keyboards
Lwm Cov Keyboards
Lwm Cov Keyboards

Yog tias koj xav sim nrog lwm cov twj siv hluav taws xob infrared, koj yuav tsum txheeb xyuas seb lub cim qhia lawv xa thiab ntawm tus nqi dab tsi. Nrog Brainlink hloov kho rau IrDA-tau tshaj software, koj tuaj yeem txuas nrog RealTerm rau Brainlink. Thaum koj pom qhov rov ua dua "BL" teeb liab uas yog kos npe ntawm Brainlink, ntaus:

*J1Z ua

Lub hnub qub nug kom paub, J1 hloov mus rau 9600 baud IrDA (tsuas yog yuav tsum ntaus 1 sai tom qab J lossis koj tau txais qhov yuam kev). Z yog rau hom txuas-rau-Bluetooth choj hom.

Hloov RealTerm los tso saib cov lej hex, thiab nias cov yuam sij ntawm cov keyboard thiab pom tias koj tuaj yeem nkag siab nws.

Txhawm rau tawm ntawm hom choj txuas, siv hluav taws xob Brainlink.

Kuv tab tom kwv yees 9600 baud yog tus nqi baud raug. Ua tsis tiav qhov ntawd, koj tuaj yeem hloov pauv Brainlink tus nqi baud. Kuv yuav pib los ntawm kev sim 57600 baud:

*J1u57Z

thiab tom qab ntawd 1200 baud:

*J1u12Z

Thaum koj tau txiav txim siab li cas cov keyboard xa nws cov ntaub ntawv, tsuas yog hloov kho tus lej ntawm kuv tus tsav tsheb. Tej zaum tsuas yog hloov tus lej hauv PalmOneWirelessKeyboard.java txaus.

Pom zoo: