Cov txheej txheem:

Keyboard Tswj Cov Qauv Tsheb Teeb V2.5 - PS/2 Interface: 12 Cov kauj ruam
Keyboard Tswj Cov Qauv Tsheb Teeb V2.5 - PS/2 Interface: 12 Cov kauj ruam

Video: Keyboard Tswj Cov Qauv Tsheb Teeb V2.5 - PS/2 Interface: 12 Cov kauj ruam

Video: Keyboard Tswj Cov Qauv Tsheb Teeb V2.5 - PS/2 Interface: 12 Cov kauj ruam
Video: # 5 YouTube Video Marketing Off-Page SEO для местного бизнеса (сантехник... 2024, Kaum ib hlis
Anonim
Keyboard Tswj Cov Qauv Tsheb Teeb V2.5 | PS/2 Interface
Keyboard Tswj Cov Qauv Tsheb Teeb V2.5 | PS/2 Interface

Siv Arduino microcontrollers, muaj ntau txoj hauv kev los tswj cov qauv kev tsheb ciav hlau. Cov keyboard muaj qhov txiaj ntsig zoo ntawm kev muaj cov lej ntau ntxiv rau ntau txoj haujlwm. Nov yog saib seb peb tuaj yeem pib nrog kev teeb tsa yooj yim nrog lub tsheb thiab tswj kev tawm mus. Nov yog qhov hloov kho tshiab ntawm ib qho ntawm kuv cov phiaj xwm yav dhau los. Yog li, yam tsis muaj ado ntxiv, cia peb pib!

Kauj ruam 1: Saib Video

Image
Image

Kauj Ruam 2: Tau Txais Txhua Yam

Program lub Arduino Board thiab ntsaws rau ntawm daim ntaub thaiv
Program lub Arduino Board thiab ntsaws rau ntawm daim ntaub thaiv

Rau qhov haujlwm no koj yuav xav tau:

  • Arduino microcontroller board.
  • Adafruit lub cev muaj zog tsav tsheb thaiv V2.
  • Tus poj niam PS/2 txuas (Tau txais ib qho uas qhia hauv daim duab, nws yuav ua haujlwm yooj yim dua.)
  • 4 tus txiv neej rau txiv neej jumper xov hlau (Rau txuas tus poj niam PS/2 txuas rau Arduino board.)
  • 4 txiv neej rau txiv neej jumper xov hlau (2 rau txhua qhov kev tawm.)
  • 2 txiv neej rau txiv neej jumper xov hlau (Rau txuas lub zog khiav.)
  • 12-volt DC lub zog siv hluav taws xob nrog lub peev xwm tam sim no tsawg kawg 1A (1000 mA).
  • PS/2 keyboard (USB ib qho yuav tsis ua haujlwm!)
  • Ib qho USB tsim nyog rau kev teeb tsa Arduino board.

Kauj Ruam 3: Program Arduino Board thiab ntsaws rau ntawm daim ntaub thaiv

Program lub Arduino Board thiab ntsaws rau ntawm daim ntaub thaiv
Program lub Arduino Board thiab ntsaws rau ntawm daim ntaub thaiv

Tau txais lub tsev qiv ntawv rau PS/2 keyboard los ntawm no.

Txhawm rau teeb tsa lub tsev qiv ntawv rau Adafruit lub cev tiv thaiv kab mob, nkag mus kos duab> suav nrog lub tsev qiv ntawv> Tswj lub tsev qiv ntawv thiab tshawb rau Adafruit lub cav thaiv V2 lub tsev qiv ntawv, nruab nws thiab koj zoo mus.

Kauj Ruam 4: Txheeb Tus Pin Txuas ntawm PS/2 Txuas thiab Txuas Nws mus rau Arduino Board

Txheeb xyuas Tus Pin Txuas ntawm PS/2 Txuas thiab Txuas Nws mus rau Arduino Board
Txheeb xyuas Tus Pin Txuas ntawm PS/2 Txuas thiab Txuas Nws mus rau Arduino Board
Txheeb xyuas tus Pin Txuas ntawm PS/2 Txuas thiab Txuas Nws mus rau Arduino Board
Txheeb xyuas tus Pin Txuas ntawm PS/2 Txuas thiab Txuas Nws mus rau Arduino Board
Txheeb xyuas Tus Pin Txuas ntawm PS/2 Txuas thiab Txuas Nws mus rau Arduino Board
Txheeb xyuas Tus Pin Txuas ntawm PS/2 Txuas thiab Txuas Nws mus rau Arduino Board

Siv cov ntsuas ntsuas ntsuas txuas mus txuas ntxiv thiab siv daim duab muab ua piv txwv, kos tus pinouts ntawm PS/2 txuas/txuas txuas txuas xov tooj thiab ua cov kab txuas txuas hauv qab no ntawm PS/2 txuas thiab Arduino board:

  • Txuas 'CLOCK' xaim rau tus pin D2.
  • Txuas 'DATA' xaim rau tus pin D3.
  • Txuas 'GND' xaim mus rau tus pin 'GND'.
  • Txuas lub ' +5-volt/VCC' xaim rau +5-volt tus pin.

Kauj Ruam 5: Txuas Cov Hluav Taws Xob rau Cov Hluav Taws Xob Cov Hluav Taws Xob

Txuas Cov Hluav Taws Xob rau Cov Hluav Taws Xob Cov Hluav Taws Xob
Txuas Cov Hluav Taws Xob rau Cov Hluav Taws Xob Cov Hluav Taws Xob

Kauj Ruam 6: Teem Teem Txheej Txheem

Teeb Teem Txheej Txheem
Teeb Teem Txheej Txheem

Kauj Ruam 7: Txuas Cov Hluav Taws Xob Cov Hluav Taws Xob rau Cov Hluav Taws Xob thiab Taug Kev Taug Kev

Txuas Cov Hluav Taws Xob Cov Hluav Taws Xob rau Cov Hluav Taws Xob thiab Taug Kev Taug Kev
Txuas Cov Hluav Taws Xob Cov Hluav Taws Xob rau Cov Hluav Taws Xob thiab Taug Kev Taug Kev

Txheeb xyuas ob zaug txhua qhov txuas txuas thiab xyuas kom tsis muaj kev sib txuas xov hlau xoob.

Kauj Ruam 8: Txuas Keyboard mus rau PS/2 Connector

Txuas Keyboard mus rau PS/2 Connector
Txuas Keyboard mus rau PS/2 Connector
Txuas Keyboard mus rau PS/2 Connector
Txuas Keyboard mus rau PS/2 Connector

Kauj Ruam 9: Muab lub locomotive thiab qee qhov Rolling Stock tso rau ntawm txoj kab

Muab lub Locomotive thiab Qee Cov Rolling Tshuag tso rau ntawm txoj kab
Muab lub Locomotive thiab Qee Cov Rolling Tshuag tso rau ntawm txoj kab

Kauj ruam 10: Txuas rau Lub Hwj Chim thiab Qhib Nws

Txuas rau Lub Hwj Chim thiab Qhib Nws
Txuas rau Lub Hwj Chim thiab Qhib Nws

Kauj Ruam 11: Zaum Rov Qab Nrog Koj Cov Keyboard thiab Ua Haujlwm Koj Cov Layout

Kauj ruam 12: Mus Ntxiv

Muaj ntau ntau cov nyees khawm sab laug ntawm cov keyboard. Mus tom ntej thiab sim ntxiv ntau qhov kev tawm dag zog thiab ua haujlwm rau koj tus qauv. Txawm koj ua dab tsi, tsis txhob hnov qab sim ua cov khoom tshiab!

Pom zoo: