Cov txheej txheem:
- Kauj Ruam 1: Cov Ntaub Ntawv Yuav Tsum Tau
- Kauj Ruam 2: Yuav tsum tau siv lub tshuab
- Kauj Ruam 3: Tom Qab
- Kauj ruam 4: Cov qauv
- Kauj ruam 5: Lub Circuit Court (schematic & Qhov tseeb)
- Kauj Ruam 6: Qhov Tseem Ceeb ntawm PulseIn () Muaj nuj nqi
- Kauj Ruam 7: Serial Output
- Kauj Ruam 8: Qhov Tseem Ceeb ntawm Txoj Haujlwm
- Kauj Ruam 9: Serial I2C LCD Display Adapter
- Kauj ruam 10: Snapshorts ntawm qhov Project
- Kauj ruam 11: Arduino Code
Video: Inductance Meter Siv Arduino: 12 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
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
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)
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
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 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
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:
Cov Khoom Siv Teeb Meem Siv Chaw Taws Teeb Siv Arduino: 7 Kauj Ruam
Cov Khoom Siv Teeb Meem Siv Khoom Siv Hluav Taws Xob Siv Arduino: Tam sim no, Cov Tsim, Cov tsim tawm tau nyiam Arduino rau kev txhim kho sai ntawm cov qauv ntawm cov phiaj xwm. Arduino yog lub platform siv hluav taws xob qhib raws qhov yooj yim-rau-siv-kho vajtse thiab software. Arduino muaj zej zog cov neeg siv zoo heev. Hauv qhov no
Tsis Siv Neeg Kev Hla Hla Kev Siv Hluav Taws Xob Siv Arduino Raws Kev Nkag Nkag Platform: 9 Cov Kauj Ruam
Tsis Siv Neeg Kev Hla Hla Kev Siv Hluav Taws Xob Siv Arduino Raws Kev Nkag Siab Platform: Christmas tsuas yog ib lub lim tiam xwb! Txhua leej txhua tus tibneeg hu tauj coob nrog kev ua koob tsheej thiab tau txais khoom plig, uas, los ntawm txoj kev, tau txais txhua qhov nyuaj dua kom tau nrog qhov tsis muaj peev xwm nyob ib puag ncig peb. Yuav ua li cas mus los ntawm khoom plig qub thiab ntxiv qhov kov ntawm DIY rau
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: 6 Kauj Ruam
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: Cov lus qhia no piav qhia yuav ua li cas thiaj tsim tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward) , Sab laug, Txoj Cai, Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) xav tau Kev nrug deb hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tau tus kheej
Tsiv Tawm Sijhawm Siv Arduino + DS1307 + Neopixel: Rov Siv Qee Cov Khoom Siv: 5 Kauj Ruam
Tawm Tawm Sijhawm Siv Arduino + DS1307 + Neopixel: Rov Siv Qee Cov Khoom Siv: Los ntawm cov phiaj xwm yav dhau los Kuv muaj Arduino UNO thiab Neopixel LED sawb sab laug, thiab xav ua qee yam txawv. Vim tias Neopixel sawb muaj 60 LED teeb, xav siv nws los ua lub moos loj. Txhawm rau qhia Lub Sijhawm, liab 5-LED ntu tau siv (60 LED
Tsim Tus Neeg Txais Ham Los Ntawm Cov Khoom Siv Hluav Taws Xob: Siv lub Ramsey FR146 2 Meter FM Kit: 27 Cov Kauj Ruam (nrog Duab)
Tsim Tus Neeg Txais Ham Los Ntawm Cov Khoom Siv Hluav Taws Xob: Siv lub Ramsey FR146 2 Meter FM Kit: Sib dhos cov xov tooj cua - los ntawm kev ntim khoom mus rau kev ua haujlwm. Kev tsim kho yuav tsum tau siv cov khoom siv hluav taws xob yooj yim, suav nrog cov khoom sib txuas thiab cov transistors, thiab kho cov oscillator hauv zos. Suav nrog ntau yam kev qhia thiab cov lus qhia, ntxiv rau cov phooj ywg yooj yim