Cov txheej txheem:

Kev Tswj Khoos Phis Tawj Siv Lub Cev Ntiag Tug & Kov Cov Tswv Yim: 3 Kauj Ruam
Kev Tswj Khoos Phis Tawj Siv Lub Cev Ntiag Tug & Kov Cov Tswv Yim: 3 Kauj Ruam

Video: Kev Tswj Khoos Phis Tawj Siv Lub Cev Ntiag Tug & Kov Cov Tswv Yim: 3 Kauj Ruam

Video: Kev Tswj Khoos Phis Tawj Siv Lub Cev Ntiag Tug & Kov Cov Tswv Yim: 3 Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Hlis ntuj nqeg
Anonim
Khoos phis tawj Tswj Siv Gestures & Touch Input
Khoos phis tawj Tswj Siv Gestures & Touch Input

Nov yog qhov project demo rau Piksey Atto tshiab. Peb siv TTP224 kov IC thiab APDS-9960 piav tes piav taw piav tes los tswj lub khoos phis tawj. Peb xa cov duab kos mus rau Atto uas ua rau nws ua zoo li USB keyboard thiab nws mam li xa cov lej tseem ceeb tsim nyog nyob ntawm qhov nkag. Txij li qhov no yog txoj haujlwm kev cai, tsis muaj ntau los sau cia ntawm no tab sis kuv yuav muab cov ntaub ntawv me ntsis thiab sau tawm cov kev sib txuas uas cuam tshuam nrog cov ntaub ntawv uas koj yuav xav tau los tsim qhov no.

Yog tias koj tsim ntau qhov haujlwm DIY tom qab ntawd kuv xav tias koj yuav tsum tau txheeb xyuas Kickstarter phiaj xwm rau nws siv qhov txuas hauv qab no:

www.kickstarter.com/projects/bnbe/atto-an-incredibly-tiny-arduino-compatible-board-with-usb

Cov vis dis aus saum toj no muab koj cov ntsiab lus ntawm yuav ua li cas nws tag nrho los ua ke thiab kuv xav kom koj saib qhov ntawd kom paub meej ntxiv thiab piav qhia kom raug ntawm txhua yam ua haujlwm li cas.

Kauj Ruam 1: Sau cov Cheebtsam

Sau cov Cheebtsam
Sau cov Cheebtsam

Thawj qhov koj xav tau rau qhov kev tsim no yog PCB. Koj tuaj yeem tau txais cov ntaub ntawv tsim rau nws siv qhov txuas hauv qab no:

github.com/bnbe-club/atto-touch

Koj tseem yuav xav tau cov khoom siv/cov qauv hauv qab no:

  • 4x 22pF, 0603, 10V capacitors
  • 1x 10K 0603 tus tiv thaiv
  • 1x TTP224B-BSBN Kov IC
  • 1 x Piksey Atto
  • 1x APDS-9960 piav tes piav taw module (5V version los ntawm Adafruit)

Txoj haujlwm no tseem tuaj yeem rov ua dua siv Arduino Leonardo, txawm hais tias nws tsis zoo li Atto.

Kauj Ruam 2: Sib sau ua Pawg

Tom qab ntawd koj yuav tsum tau muab cov khoom sib dhos tso rau ntawm lub rooj tsavxwm thiab kuv xav kom pib nrog kov IC. Solder ib tus pin ua ntej kom nws nyob hauv qhov chaw thiab tom qab ntawd txuas cov pins uas seem. Ua tib yam thaum soldering lub capacitors, resistor thiab Atto.

Yog tias koj txiav txim siab ntxiv tus qauv piav tes piav taw ces koj yuav tsum tau txuas cov xov hlau rau lub hwj huam txuas thiab tseem I2C tus pin.

Kauj Ruam 3: Upload & Ntsuas Cov Duab

Upload & Ntsuas Tus Sketch
Upload & Ntsuas Tus Sketch

Thaum sib sau ua ke, koj yuav tsum xa daim duab kos rau lub rooj tsavxwm. Thov saib cov vis dis aus kom nkag siab txog txoj cai ua haujlwm li cas thiab tseem yuav ua li cas koj tuaj yeem hloov kho cov duab kos kom haum rau koj cov kev xav tau. Koj tuaj yeem rub cov duab kos siv qhov txuas hauv qab no:

txhawm rau rub cov duab kos, yooj yim txuas lub rooj tsavxwm rau koj lub khoos phis tawj siv lub microUSB cable, xaiv Arduino Leonardo ua lub rooj tsavxwm, xaiv qhov tseeb COM chaw nres nkoj thiab tom qab ntawd nyem lub pob upload. Muab koj tus ntiv tes tso rau ntawm cov ntaub ntawv kov tau thiab qhov no yuav tsum ua kom luv.

Pom zoo: