Cov txheej txheem:

Pib Nrog Capacitive Touch Kit: 4 Kauj Ruam
Pib Nrog Capacitive Touch Kit: 4 Kauj Ruam

Video: Pib Nrog Capacitive Touch Kit: 4 Kauj Ruam

Video: Pib Nrog Capacitive Touch Kit: 4 Kauj Ruam
Video: Rov Pom Koj Dua - Maa Vue ft. David Yang (Official Music Video) 2024, Kaum ib hlis
Anonim
Image
Image
Capacitive Touch Kit
Capacitive Touch Kit

Txog kuv qhov haujlwm tom ntej no kuv yuav siv qee lub peev xwm kov tau, thiab ua ntej tso nws, Kuv txiav txim siab los ua qhov qhia me me txog cov khoom siv uas kuv tau txais rau DFRobot.

Kauj Ruam 1: Capacitive Touch Kit

Capacitive Touch Kit Rau Arduino

Cov khoom siv nqa 3 touchpads:

Numeric keypadWheel padTouch padConnector board thiab rainbow cable. Cov khoom siv tsuas yog tso cai siv ib lub ncoo ntawm ib lub sijhawm txuas nrog Arduino. Txhawm rau pib koj yuav xav tau lub tsev qiv ntawv kov cov khoom, muaj nyob ntawm no. Rub tawm thiab teeb tsa nws ntawm koj phau ntawv Arduino Library.

Kauj ruam 2: Schematic

Schematic
Schematic
Schematic
Schematic
Schematic
Schematic

Tsuas yog ua raws ib qho ntawm cov txheej txheem, txhawm rau txuas lawv hauv koj li arduino board.

Kev sib txuas lus tau ua tiav I2C (A4 thiab A5 rau arduino UNO) thiab tus pin adicional D2 (Kuv tsis tau lees paub qhov no tab sis kuv xav tias lub tsev qiv ntawv no xav tau tus pin cuam tshuam, yog li kuv tsis paub txog kev sib haum nrog lwm cov laug cam)

Kauj ruam 3: Code

Code
Code

Tsuas yog ua rau cov piv txwv piv txwv ntawm koj Arduino IDE nrhiav MPR121 nplaub tshev thiab ntsaws tus lej piv txwv raws li cov keyboard uas koj tau txuas nrog.

Los yog upload cov uas nyob hauv cov ntawv txuas. Kuaj nws.

Kauj ruam 4: Xaus

Xaus
Xaus

Kuv tau koj nyiam txoj haujlwm no, tsis txhob hnov qab nyem nws li Favorite.

Kuv tab tom pib kuv tus Youtube channel, yog li ntawd tsis txhob tso tseg los ntawm thiab sau npe yuav kom tau txais kev ceeb toom txog cov vis dis aus tshiab.

Txheeb xyuas kuv cov ntawv qhia yav dhau los.

Tsis tas li, txhua qhov kev tawm tswv yim thiab kev txhim kho tau txais tos.

"Tsis txhob poob siab, ua ib yam dab tsi"

Pom zoo: