Cov txheej txheem:

Arduino Paper Piano: 6 Kauj Ruam
Arduino Paper Piano: 6 Kauj Ruam

Video: Arduino Paper Piano: 6 Kauj Ruam

Video: Arduino Paper Piano: 6 Kauj Ruam
Video: Piano playing progress!! #shorts 2024, Hlis ntuj nqeg
Anonim
Arduino Ntawv Piano
Arduino Ntawv Piano

Kuv ua nws thiab txhim kho txoj haujlwm no raws li ntawv piano nrog arduino-- Hackster.io

Koj tseem tuaj yeem pom lub tswv yim qub no hauv ntawv piano nrog arduino-- Arduino Project Hub

Cov kev hloov pauv uas kuv tau ua rau daim ntawv piano saum toj no tsis yog tsuas yog qhov pom tab sis tseem yog txoj hauv kev uas cov xov hlau txuas nrog rau lub khob cij. Siv txoj hauv kev dhau los ua rau muaj teeb meem ob peb leeg: cov xov hlau nyob ze ib leeg thiab lawv nkag siab zoo, yog li cov suab yuav tsis tso tseg tshwj tsis yog koj tuaj yeem cais cov xov hlau los ntawm tsis kov ib leeg, tab sis qhov no tuaj yeem nyuaj vim li cas cov xov hlau yog tsim los kom ze. Tsis tas li, muaj qee qhov yuam kev hauv cov phiaj xwm. Qhov no yog qhov laj thawj tseem ceeb vim li cas kuv thiaj hloov chaw no.

Khoom siv

  • Txiv neej-rau-txiv neej jumper xov hlau
  • Cov qhob cij
  • Arduino Uno lossis Arduino Leonardo
  • Resister 1M ohm ua
  • Hais lus
  • Ntawv ntawv
  • Aluminium ntawv ci
  • Qee cov duab los qhia thiab ntawv

Kauj Ruam 1: Capacitive Sensing

Capacitive touch sensing yog ib txoj hauv kev ntawm tib neeg kov kev paub, uas xav tau me ntsis lossis tsis muaj zog los qhib. Nws tuaj yeem siv los nkag siab tib neeg kov los ntawm ntau dua li ib feem peb ntawm ib nti ntawm yas, ntoo, tej hub lossis lwm yam khoom siv rwb thaiv tsev (tsis yog yam hlau li) txawm li cas los xij, ua rau lub sensor ua kom pom qhov muag tag.

Kauj Ruam 2: Vim Li Cas Capacitive Touch?

  • Txhua qhov kov lub sensor xav tau tsuas yog ib lub xaim txuas nrog nws.
  • Muaj peev xwm zais nyob hauv ib qho khoom siv uas tsis yog xim hlau.
  • Siv tau yooj yim siv qhov chaw khawm.
  • Muaj peev xwm txheeb tau txhais tes los ntawm ob peb ntiv tes deb, yog xav tau.
  • Pheej yig heev.

Kauj Ruam 3: Nws Ua Haujlwm Li Cas

Lub phaj sensor thiab koj lub cev ua lub capacitor. Peb paub tias lub khw muag khoom hluav taws xob them. Qhov ntau nws lub peev xwm, tus nqi ntau nws tuaj yeem khaws cia.

Lub peev xwm ntawm lub peev xwm kov lub ntsej muag nyob ntawm seb koj txhais tes kaw li cas rau lub phaj.

Kauj ruam 4: Schematics

Schematics
Schematics
Schematics
Schematics

Kauj ruam 5: Code

Arduino Piano

Pom zoo: