Cov txheej txheem:
- Kauj Ruam 1: Daim duab Circuit Court
- Kauj ruam 2: Ua haujlwm
- Kauj Ruam 3: Txoj Haujlwm - Arduino
- Kauj Ruam 4: Calibration thiab Cov Ntaub Ntawv
- Kauj Ruam 5: Twj Tswj
Video: Qib Sensor (siv Ultrasonic): 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Liquid Level Sensor kuaj pom cov kua los ntawm qib av. Qhib lub cav (xav tau lub tshuab tsav lub zog tsav) hauv qab tus nqi muab thiab tua nws saum toj no tus nqi muab tom qab ua kua
Nta ntawm qhov system no:
- Ua haujlwm nrog cov kua (dej, roj thiab lwm yam).
- Ntau txog 250 cm hauv av deb (tseem siab ntawm lub tank).
- Kev ntsuas kom raug (txog 2 cm yuam kev) nrog HC-SR04, Ping thiab lwm yam.
- Lub cev muaj zog tswj cov zis.
-
Calibration (hauv runtime) muaj rau:
- Hauv av: tuaj yeem ntsuas tau rau txhua lub tank (siab txog 250 cm siab) thaum lub kaw lus ua haujlwm, nrog lub laub khawm.
- Lub cev tig rau thiab OFF qib: ON thiab OFF qib tuaj yeem teeb tsa nrog muab presets thiab khawm hloov hom.
- Tsis txwv qhov taw qhia nrog '0 cm'.
- Ua haujlwm ntawm 5V DC.
Qhov yuav tsum tau tsim:
- Arduino (lossis ATMega 328 nrog tus programmer).
- HC-SR04 lossis ib qho twg Ultrasonic sensor module.
- Presets (20K lossis 10K) - 2 Pc
- Txiv neej Header - 6 Pin
- Poj niam header 16 Pin
- Laub nyem micro hloov
- Thawb toggle micro hloov
- 10K 1/4 watt resistor
- 1N4007 Diode
- DC fais fab socket
- 220E tus tiv thaiv
- Veroboard (lossis Breadboard yog tias koj xav tau)
- Txuas cov xov hlau
- 16*2 LCD Screen nrog tus pin txiv neej headers txuas
- Tsav Tsheb thiab tsav tsheb (yog tias koj xav tau)
- Kev paub pib paub paub siv hluav taws xob thiab Arduino li cas
Kauj Ruam 1: Daim duab Circuit Court
Kauj ruam 2: Ua haujlwm
Hauv peb lub rooj tsav xwm sensor peb muaj ntu ultrasonic Tx thiab Rx. Lub sensor nyeem qhov deb ntawm theem ntawm cov kua. Tx yog qhov pib 40KHz hais lus, uas xa cov suab paj nruag ntawm 40KHz Ultrasonic suab. Lub sij hawm xa ntawv mem tes thiab lub sij hawm tau txais cov mem tes tau sau tseg rau txhua tus mem tes. Cov mem tes no tau hnov hauv MCU.
MCU sau tseg lub sijhawm sib txawv ntawm thiab tom qab ntawd nws siv lub suab nrawm los xam nrug. MCU yuav tsum tau ntsuas ua ntej kom sau nrug deb ntawm theem hauv av, uas yog thaum lub tank/ntim khoom tsis muaj dab tsi. Qhov sib txawv tau suav thiab yog li peb tau txais qib ntawm cov kua.
Cov qib tau pom hauv 16x2 LCD zaub. Tsis tas li lwm cov ntsiab lus tau qhia hauv kev tshuaj ntsuam.
Muaj ob qhov kev npaj ua ntej rau qhov siab tshaj plaws thiab qhov tsawg kawg tus nqi txwv ntawm lub tshuab hluav taws xob teeb liab. Qhov tshwm sim yog tsim thaum cov kua theem mus txog qhov siab tshaj qhov txwv tau teev tseg. Lub teeb liab rov mus qis dua thaum nws mus txog qis dua qhov txwv qis tshaj los ntawm lwm qhov kev npaj ua ntej.
Kev ntsuas ntsuas hauv av yog ua los ntawm kev hloov pauv, uas xa lub teeb liab mus rau atmega328 nti thiab nws sau cov tam sim no nyob deb thiab teev nws raws li siv hauv paus.
Kauj Ruam 3: Txoj Haujlwm - Arduino
Txoj haujlwm tau ua hauv Arduino. Siv qhov no txhawm rau hlawv rau Atmega328 (lossis ib qho uas koj nyiam).
Qhov kev zov me nyuam muaj nyob ntawm git raws li GPL-3.0.
Cov ntaub ntawv sau ua ke hex twb tau muab rau upload yooj yim siv arduino-builder.
Kev vam khom:
Newping tsev qiv ntawv.
Kauj Ruam 4: Calibration thiab Cov Ntaub Ntawv
Lub vijtsam LCD qhia txog qib tam sim no (sib txawv) los ntawm qib ntsuas.
Ob qhov kev txiav txim siab txiav txim siab sab saud (qib siab kawg) tom qab uas thauj khoom yuav tawm thiab qis dua (qib qis) tom qab uas thauj khoom yuav qhib. Thauj khoom npaj ntawm no yog twj tso kua mis, vim tias cov kab ke no siv tau rau hauv cov twj tso kua mis tsis siv neeg. Plaub lub taub hau yog rau sonic (ping) sensor. Kuv siv HC-SR04. Ib khub ntawm lub taub hau rau lub cav (tus lej digital 9). Yuav tsum muaj tus tsav tsheb sab nraud. Nws siv EEPROM los khaws cov ntaub ntawv ntsuas ntsuas.
Ob qhov kev ntsuas tau muab:
- LEVEL_CAL
- MOTOR_TRIGGER_CAL
Kauj Ruam 5: Twj Tswj
Lub rooj tsavxwm muaj 2 nplooj ntawv tshwj xeeb rau lub teeb liab
Ib qho muab 5V teeb liab thaum lub twj tso kua mis yuav tsum tau qhib (thaum cov kua mus rau qis dua preset qis txwv tus nqi) thiab muab 0V teeb liab thaum lub twj tso kua mis yuav tsum tau tso tawm (qib mus dhau qhov txwv qis).
Lub teeb liab raug xa mus rau pawg tswj hwm tswj hwm lub twj tso kua mis AC.
Pom zoo:
Arduino & MPU6050 Raws Li Cov Ntsuj Plig Qib Qib: 3 Kauj Ruam
Arduino & MPU6050 Raws Li Qib Siab Ntsuj Plig: Zoo siab txais tos rau kuv thawj zaug uas tau qhia! Kuv vam tias koj pom nws cov ntaub ntawv. Thov koj xav tawm tswv yim seb qhov zoo lossis qhov tsis zoo qhov haujlwm no yog ua kom muaj arduino & MPU6050 raws qib qib siab. Whilst qhov kev tsim tiav thiab
DIY Teeb Barrier Tswb System Nrog Qib Qib PLC (Controllino): 5 Kauj Ruam
DIY Teeb Barrier Tswb System Nrog Qib Qib PLC (Controllino): Hauv qhov haujlwm no kuv yuav qhia koj li cas kuv ua ke PLC (Controllino) nrog teeb pom kev zoo, lub tsaj, hloov pauv thiab lub teeb pom kev zoo txhawm rau tsim lub tswb ua haujlwm ruaj khov/ruaj ntseg uas yuav ua rau cov neeg nkag nkag yooj yim. L
Kev Sib Sau Ua Ke rau Qib Qib: 30 Cov Kauj Ruam
Kev Sib Koom Ua Ke rau Qib Qib: Qhov no yog qhov kev sau kawg rau Dr. Douglas Lecorchick hauv Berea College TAD 330 Chav Kawm ua los ntawm Karmadri Santiago thaum Lub Plaub Hlis 28, 2020
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
Txoj hauv Kev Txheeb Xyuas Dej Qib Arduino Siv Ultrasonic Sensor thiab Funduino Water Sensor: 4 Kauj Ruam
Txoj hauv Kev Txheeb Xyuas Dej Qib Arduino Siv Ultrasonic Sensor thiab Funduino Water Sensor: Hauv qhov haujlwm no, kuv yuav qhia koj li cas tsim lub ntsuas dej tsis kim uas siv ob txoj hauv kev: 1. Ultrasonic sensor (HC-SR04) .2. Funduino dej sensor