Cov txheej txheem:

Capacitance Meter Nrog TM1637 Siv Arduino.: 5 Kauj Ruam (nrog Duab)
Capacitance Meter Nrog TM1637 Siv Arduino.: 5 Kauj Ruam (nrog Duab)

Video: Capacitance Meter Nrog TM1637 Siv Arduino.: 5 Kauj Ruam (nrog Duab)

Video: Capacitance Meter Nrog TM1637 Siv Arduino.: 5 Kauj Ruam (nrog Duab)
Video: How To Use The Basic Meter Function (Capacitance) 2024, Kaum ib hlis
Anonim
Capacitance Meter Nrog TM1637 Siv Arduino
Capacitance Meter Nrog TM1637 Siv Arduino
Capacitance Meter Nrog TM1637 Siv Arduino
Capacitance Meter Nrog TM1637 Siv Arduino

Yuav ua li cas ntsuas lub ntsuas hluav taws xob siv Arduino tso tawm ntawm TM1637. Qhov sib txawv ntawm 1 uF txog li 2000 uF.

Kauj Ruam 1: Qhov Yuav Tsum Tau

Yam Yuav Tsum Tau
Yam Yuav Tsum Tau
Yam Yuav Tsum Tau
Yam Yuav Tsum Tau
Yam Yuav Tsum Tau
Yam Yuav Tsum Tau

Cov neeg nyob:

1x220: ua

1x: 10 kOhm (Los yog lwm yam tab sis koj yuav tau hloov cov cai tom qab koj siv, 8000 Ohms yuav ua haujlwm ib yam nkaus.)

Capacitors:

Muaj ntau yam ntawm cov capacitors thaum ntsuas, vim nws yooj yim dua ntsuas yog xav tau txoj kev ntawd. Cov capacitors hauv daim duab pom los ntawm sab laug, 10 uF, 47 uF, 220 uF thiab 1000 uF. Calibrate nws tom qab qhov koj xav tias koj yuav siv tshaj plaws.

TXM 1637:

Qhov no tsis xav tau yog tias koj tsuas yog xav pom qhov muaj txiaj ntsig hauv koj lub khoos phis tawj, tab sis lub khoos phis tawj tau ua tiav rau koj ib feem yog vim li cas thiaj tsis ntxiv ib qho.

Jumper xov hlau:

Nyob ntawm kev siv TM1637 lossis tsis yog koj xav tau txog 8 xov hlau, TM1637 siv 4.

USB kab:

Txhawm rau program Arduino.

Thiab ntawm chav kawm Arduino thiab lub khoos phis tawj los teeb tsa nws.

Kauj Ruam 2: Txuas Cov Resitors

Txuas cov Resitors
Txuas cov Resitors

220 Ohm resistor mus los ntawm digital 11 mus rau A0 thiab anode ntawm lub capacitor.

Lwm tus tiv thaiv mus los ntawm digital 13 mus rau A0 thiab anode ntawm lub capacitor. Plaub kab txuas rau lwm qhov kawg ntawm lub capacitor GND.

Kauj Ruam 3: Txuas TM1637

Muaj 4 tus pin ntawm cov zaub no, 2 ntawm lawv mus rau GND thiab 5V. Lwm 2 yog npe DIO thiab CLK, DIO mus rau digital 8 ntawm Arduino thiab CLK rau digital 9.

Txhua yam teeb tsa! Lub sijhawm los thauj cov duab kos!

Kauj Ruam 4: Txoj Cai thiab Zaub Cov Ntaub Ntawv

Cov Cai thiab Zaub Cov Ntaub Ntawv
Cov Cai thiab Zaub Cov Ntaub Ntawv

Cov ntaub ntawv npe Capacitance meter yog lub ntsiab lus tseem ceeb, ob daim ntawv ntxiv uas tsim nyog rau cov zaub ua haujlwm.

Thawj kauj ruam yog qhib Arduino IDE, yog tias koj tsis muaj nws twb tuaj yeem pom ntawm no:

Tom ntej qhib lub ntsiab lus tseem ceeb, nias kos thiab tom qab ntawd nyem ntxiv cov ntawv. Los ntawm qhov ntawd koj yuav xaiv lwm 2 cov ntawv. Thaum koj ua tiav nws yuav tsum saib qee yam zoo li hauv lub vijtsam pom hauv cov kauj ruam no.

Nias upload thiab sim nws tawm!

Yog tias koj xav tau lub cim "u" tshwm raws li pom hauv thawj daim duab, ntaus:

TM.display (2, 0x30);

Txhawm rau tso saib "F":

TM.display (3, 15);

Kuv tshem qhov no hauv cov cai txij li nws txwv cov lej koj tuaj yeem tso saib.

Kauj Ruam 5: Ua Tsaug Rau:

Cov ntaub ntawv:

www.instructables.com/member/baelza.bubba/

Leej twg muab qhov txuas rau kuv rau ntawm lub xaib hauv qab no qhov twg kuv pom qhov Circuit no thiab feem ntau ntawm cov cai.

www.circuitbasics.com/how-to-make-an-arduino-capacitance-meter/

Pom zoo: