Cov txheej txheem:

DIY Kov Sensor: 4 Cov Kauj Ruam (nrog Duab)
DIY Kov Sensor: 4 Cov Kauj Ruam (nrog Duab)

Video: DIY Kov Sensor: 4 Cov Kauj Ruam (nrog Duab)

Video: DIY Kov Sensor: 4 Cov Kauj Ruam (nrog Duab)
Video: Tshuaj theem vim li cas thiaj tau nqi ?/ Siv kho mob dab tsi?/paris polyphylla использовать для? 2024, Kaum ib hlis
Anonim

tawm qhov taub tawm. Thaum kov, LED tua "," sab saum toj ": 0.06458333333333334," sab laug ": 0.5660714285714286," qhov siab ": 0.14791666666666667," dav ": 0.08214285714285714}]">

DIY Kov Sensor
DIY Kov Sensor
DIY Kov Sensor
DIY Kov Sensor
DIY Kov Sensor
DIY Kov Sensor

Nov yog cov lus qhia luv luv txog yuav siv Qprox IC (QT113G) li cas rau kov lub ntsej muag. Siv tus IC no, koj tuaj yeem hloov txhua yam khoom mus rau qhov hloov pauv. Qhov xwm txheej yooj yim no tuaj yeem txuas rau lub microcontroller (qhov no kuv siv MAKE tswj lub rooj tsavxwm).

Kauj Ruam 1: Sau tag nrho Cov Khoom Tsim Nyog

Sau Tag Nrho Txhua Yam Tsim Nyog
Sau Tag Nrho Txhua Yam Tsim Nyog

1. QT113 - tuaj yeem xaj ntawm Digikey DigikeyDigikey. Txhua tus nqi ib puag ncig $ 2.2. 10mF capacitor 3. Hlau 4. LED5. breadboard lossis perfboard (yog tias koj xaiv rau perf, koj yuav pom tseeb xav tau cov hlau txuas thiab qee cov laug)

Kauj Ruam 2: Tsim Koj Li Circuit Court

Tsim Koj Li Circuit Court
Tsim Koj Li Circuit Court

xaim koj lub Circuit Court raws li daim duab hauv qab no:

tus pin 1: Lub hwj chim (3.3-5V) tus pin 2: Cov zis (hauv qhov no kuv siv lub teeb liab liab) tus pin 3: Hauv av tus pin 4: Tus lej fais fab 5: tus pin fais fab 6-7: 10 micro Farad capacitor. Cov pins no tseem txuas rau cov xov hlau. pin 8: hov

Kauj Ruam 3: Tswv Yim Hlau

Seem qhov taub ntawm cov xaim thiab muab tso rau hauv lossis tom qab ib qho khoom lossis saum npoo uas koj xav ua raws li kov hloov. thaum txuas nrog cov ntawv hlau, lossis mesh qhov no ua haujlwm tau zoo tiag tiag. Thaum ua ntau qhov hloov pauv, nws yog ib qho tseem ceeb kom ntseeg tau tias cov nplaim tau puag ncig hauv av, thiaj li tiv thaiv txhua qhov sib txawv ntawm qhov kov. Koj tuaj yeem pom tias lub teeb tig thiab tawm thaum kuv tus ntiv tes kov cov hlau.

Kauj Ruam 4: Txuas mus rau Microcontroller

Txuas mus rau Microcontroller
Txuas mus rau Microcontroller

Hauv qhov no kuv tau siv MAKE maub los - txuas cov xov hluav taws xob los ntawm Kauj Ruam 2 (uas yog LED nyob ntawd) mus rau tus lej thib 4 ntawm tus lej tswj hwm. Thaum kov, tus pin mus qis, txwv tsis pub nws lub xeev siab.

Hauv qhov piv txwv no, Kuv tau siv NET txuas software los tsim cov duab flash uas hloov pauv nws cov duab raws li tus neeg siv kov. Hmoov zoo!

Pom zoo: