Cov txheej txheem:

Inductance Meter Siv Arduino: 12 Kauj Ruam
Inductance Meter Siv Arduino: 12 Kauj Ruam

Video: Inductance Meter Siv Arduino: 12 Kauj Ruam

Video: Inductance Meter Siv Arduino: 12 Kauj Ruam
Video: JEE 2023 Aspirants ka Sach - 💔 #JEE2023inApril #jee #shorts #namokaul 2024, Kaum ib hlis
Anonim
Inductance Meter Siv Arduino
Inductance Meter Siv Arduino

Zoo ntawm no peb tab tom tsim lub ntsuas hluav taws xob siv Arduino microcontroller. Siv txoj hauv kev no peb tuaj yeem suav qhov inductance txog 80uH txog 15, 000uH, tab sis nws yuav tsum ua haujlwm rau inductors me me lossis loj dua.

Kauj Ruam 1: Cov Ntaub Ntawv Yuav Tsum Tau

Ø Arduino uno/nano x 1

Ø LM393 Sib piv x 1

Ø 1n5819/1n4001 diode x 1

Oh 150 ohm resistor x 1

Ø 1k ohm resistor x 2

U 1uF tsis-ncov qaum Capacitor x 1

Ø Tsis paub inductors

Ø Lcd (16 x 2) x 1

Ø Lcd I2C module x 1

Ø Jumper xov hlau & Lub taub hau

Kauj Ruam 2: Yuav tsum tau siv lub tshuab

Ø Txiav

Ø Soldering hlau

Gun Rab yaj phom

Kauj Ruam 3: Tom Qab

Keeb kwm yav dhau
Keeb kwm yav dhau
Keeb kwm yav dhau
Keeb kwm yav dhau

Ib qho inductor ua ke nrog lub capacitor hu ua LC

Circuit Court. Ib qho ntsuas ntsuas ib txwm tsis muaj dab tsi tab sis ntau yam LC oscillator. Thaum ntsuas tus ntsuas hluav taws xob, qhov ntxiv inductance hloov pauv oscillator qhov tso zis ntau zaus. Thiab los ntawm kev suav qhov kev hloov pauv no, peb tuaj yeem txiav tawm qhov inductance nyob ntawm qhov ntsuas.

Micro-controllers yog qhov txaus ntshai ntawm kev txheeb xyuas cov cim analog. ATMEGA328 ADC muaj peev xwm ua piv txwv cov cim sib piv ntawm 9600Hz lossis.1ms, uas nrawm tab sis tsis pom qhov twg nyob ze qhov haujlwm no xav tau. Cia peb mus tom ntej thiab siv lub nti tshwj xeeb uas tsim los rau hloov lub ntiaj teb tiag teeb liab rau hauv cov lej yooj yim: Lub LM393 tus sib piv uas hloov pauv sai dua li ib txwm LM741 op amp. Sai li qhov hluav taws xob ntawm LC Circuit tau dhau los ua qhov zoo, LM393 yuav ntab, uas tuaj yeem rub siab nrog rub tawm tus tiv thaiv. Thaum qhov hluav taws xob ntawm LC Circuit ua tsis zoo, LM393 yuav rub nws cov zis rau hauv av. Kuv tau pom tias LM393 muaj lub peev xwm loj ntawm nws cov zis, uas yog vim li cas kuv thiaj li siv qhov tsis kam tiv thaiv rub tawm.

Yog li peb yuav ua dab tsi yog siv lub cim mem tes mus rau LC Circuit. Hauv qhov no nws yuav yog 5 volts los ntawm arduino. Peb them nqi hluav taws xob rau qee lub sijhawm. Tom qab ntawd peb hloov qhov hluav taws xob los ntawm 5 volts ncaj qha mus rau 0. Qhov mem tes ntawd yuav ua rau lub tshuab hluav taws xob sib zog tsim lub cushioned sinusoidal teeb liab oscillating ntawm qhov muaj suab nrov. Qhov peb yuav tsum tau ua yog ntsuas qhov zaus thiab tom qab siv cov qauv tau txais tus nqi inductance.

Kauj ruam 4: Cov qauv

Raws li peb paub tias zaus ntawm LC ckt yog:

f = 1/2/pi*(LC)^0.5

Yog li peb hloov kho qhov sib npaug saum toj no hauv txoj hauv kev kom pom qhov tsis paub inductance los ntawm Circuit Court. Tom qab ntawv qhov kawg ntawm kab zauv yog:

L = 1/4*pi^2*f^2*C

Hauv qhov sib npaug saum toj no qhov twg F yog qhov ua kom muaj suab nrov, C yog lub peev xwm, thiab L yog qhov inductance.

Kauj ruam 5: Lub Circuit Court (schematic & Qhov tseeb)

Lub Circuit Court (schematic & Qhov tseeb)
Lub Circuit Court (schematic & Qhov tseeb)
Lub Circuit Court (schematic & Qhov tseeb)
Lub Circuit Court (schematic & Qhov tseeb)

Kauj Ruam 6: Qhov Tseem Ceeb ntawm PulseIn () Muaj nuj nqi

Nyeem qhov mem tes (ib qho siab lossis qis) ntawm tus pin. Piv txwv, yog tias tus nqi HIGH, mem tesIn () tos tus pin mus ntawm LOW mus rau HIGH, pib lub sijhawm, tom qab ntawd tos tus pin mus LOW thiab nres sijhawm. Rov qab qhov ntev ntawm cov mem tes hauv microseconds

lossis muab rov qab thiab rov qab 0 yog tias tsis tau txais cov mem tes ua tiav nyob rau lub sijhawm tas sijhawm.

Lub sijhawm ntawm txoj haujlwm no tau txiav txim siab ua piv txwv thiab tej zaum yuav qhia pom qhov ua yuam kev hauv qhov ntev dua. Ua haujlwm ntawm pulses los ntawm 10 microseconds mus rau 3 feeb hauv qhov ntev.

Syntax

pulseIn (tus pin, tus nqi)

pulseIn (tus pin, tus nqi, sijhawm siv sijhawm)

Kauj Ruam 7: Serial Output

Serial Tso Tawm
Serial Tso Tawm

Hauv qhov haujlwm ntawd kuv siv kev sib txuas lus txuas ntawm tus nqi baud ntawm 9600 los saib qhov tshwm sim ntawm Serial monitor.

Kauj Ruam 8: Qhov Tseem Ceeb ntawm Txoj Haujlwm

Ø Ua nws tus kheej txoj haujlwm (DIY project) kom pom qhov tsis paub inductance nce mus txog qee qhov ntawm 100uH rau qee txhiab uH.

Ø Yog tias koj nce lub peev xwm hauv Circuit Court nrog rau nws cov txiaj ntsig hauv Arduino code ces qhov ntau kom pom qhov tsis paub Inductance kuj nce mus rau qee qhov.

Project Txoj haujlwm no yog tsim los muab cov tswv yim ntxhib txhawm rau txhawm rau nrhiav qhov tsis paub inductance.

Kauj Ruam 9: Serial I2C LCD Display Adapter

Serial I2C LCD Zaub Adapter
Serial I2C LCD Zaub Adapter

Serial I2C LCD zaub hloov pauv sib luag raws li 16 x 2 tus cim LCD zaub rau hauv cov lej i2C LCD uas tuaj yeem tswj tau los ntawm tsuas yog 2 xaim. Adapter siv PCF8574 nti uas ua haujlwm raws li I/O nthuav dav uas sib txuas lus nrog Arduino lossis lwm yam microcontroller los ntawm kev siv I2C raws tu qauv. Tag nrho ntawm 8 lub LCD zaub tuaj yeem txuas nrog tib lub xov tooj I2C tib lub npav nrog txhua lub rooj tsavxwm muaj qhov chaw nyob sib txawv.

Arduino lcd I2C lub tsev qiv ntawv txuas nrog.

Kauj ruam 10: Snapshorts ntawm qhov Project

Snapshorts ntawm Txoj Haujlwm
Snapshorts ntawm Txoj Haujlwm
Snapshorts ntawm Txoj Haujlwm
Snapshorts ntawm Txoj Haujlwm

Qhov kawg tso tawm ntawm lcd ntawm qhov project nrog lossis tsis muaj Inductors

Kauj ruam 11: Arduino Code

Arduino code tau txuas nrog.

Pom zoo: