Cov txheej txheem:

Breadboard Kov Piano: 5 Kauj Ruam
Breadboard Kov Piano: 5 Kauj Ruam

Video: Breadboard Kov Piano: 5 Kauj Ruam

Video: Breadboard Kov Piano: 5 Kauj Ruam
Video: HX711 with a Four Wire Load Cell and Arduino | Step by Step Guide. 2024, Kaum ib hlis
Anonim
Breadboard Kov Piano
Breadboard Kov Piano

Koj tsuas yog xav tau kev txiav txim siab 85, CD4051 (ib qho analog sib npaug) thiab lub suab nrov los ua lub suab piano ….

Kauj ruam 1: Kev sib txuas

Kev sib txuas
Kev sib txuas

Circuit yog ib qho yooj yim raws li nws tau txais, Yog li koj tuaj yeem rov tsim tau yooj yim Circuit Court siv cov duab kuv tshaj tawm. Nco ntsoov tias lub suab nrov sab laug yog hauv av thiab lwm qhov txuas rau 3 txog 5 volts +ve.

Kauj ruam 2: Upload Code

Kuv tshaj tawm cov cai thiab tawm tswv yim ib feem koj tuaj yeem hloov pauv yog li rub nws thiab upload

nws rau attiny 85. Kuv siv arduino uno rau program program attiny85 nti yog tias koj tsis paub yuav tso li cas

code rau attiny 85 koj tuaj yeem yooj yim nrhiav cov lus qhia rau nws.

Kauj Ruam 3: Txuas Txuas Hluav Taws Xob

TAM SIM NO tag nrho cov tsis txuas Pins ntawm analog multiplexer yuav hnov kov thiab yuav rov qab tus nqi los ntawm 0 txog 17. 0 thaum tsis muaj dab tsi kov thiab nws yuav nce ntxiv thaum kov. Koj yuav pom qhov sib txawv hu ua touchThreshold hauv tus lej koj tuaj yeem hloov nws tus nqi los hloov qhov rhiab ntawm kov. Txhua lub xov tooj liab xim uas koj pom hauv daim duab yog txhua yam kov tau. Cov xov hlau txhuas me me tsuas yog txhawb nqa cov xaim hluav taws xob thiab tsis muaj dab tsi cuam tshuam nrog kev sib txuas. Yog tias koj ua tib yam siv kab tsis siv hauv kab ntawv ua kom ua li ntawd.

Kauj ruam 4: Rov qab

Kuv nqa daim ntawv los ntawm sab nraum qab ntawm lub khob cij me me kom nthuav tawm qhov nplaum. Thiab kuv hle qhov xaus

ntawm cov xov paj liab thiab lo rau lawv rau ntawm daim ntawv lo thiab tom qab ntawd kuv txiav cov kab plaub fab ntawm cov ntawv txhuas thiab muab lo rau saum cov xov hlau uas tau muab tshem tawm. Qhov ntawd yog cov txiv neej ua tsaug rau kev nyeem phau ntawv qhia no.

Kauj ruam 5:

Saib nws hauv kev nqis tes ua.

Pom zoo: