Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Pib Nrog JSN-SR04
- Kauj Ruam 2: Ua haujlwm ntawm Tus Tswj Dej Tsis Siv Neeg
- Kauj Ruam 3: Daim duab qhia chaw thiab piav qhia
- Kauj ruam 4: Programming
- Kauj Ruam 5: Xeem & Sib Sau
- Kauj Ruam 6: Txhim Kho
Video: Automated Water Motor With Indicator Level: 6 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Nyob Zoo Txhua Tus, zoo siab txais tos rau lwm Cov Lus Qhia. Hauv Txoj Haujlwm no peb yuav kawm paub yuav Ua Li Cas Tsis Siv Neeg Dej Dej Tank Tswj Tus Kheej nrog rau qib ntsuas Qhov ntsuas siv Arduino Nano.
Arduino yog lub hlwb ntawm txoj haujlwm no. Nws yuav siv cov tswv yim los ntawm cov ntsuas thiab tswj txhua lwm chav nyob raws li tus nqi tau txais. Qhov thaiv thib ob yog 16x2 LCD zaub. Chav tsev no yuav tso saib Cov Dej nyob rau hauv feem pua nrog rau hauv Daim Duab, nws tseem yuav qhia pom lub twj tso kua mis. Nqe lus no tseem yuav ceeb toom rau peb thaum twg lub Sump tank tsis muaj dab tsi. Qhov thib peb thaiv yog Sonar Sensor. Qhov no yog siv los ntsuas cov dej theem tam sim no ntawm lub taub dej taub hau.
Yog li hauv txoj haujlwm no kuv yuav siv HC-SR04 Ultrasonic Module los ntsuas Dej Dej thiab I2C LCD kom pom cov qib dej hauv cm.
Khoom siv
Arduino Nano Cov
JSN-SR04 Dej Pov Thawj Ultrasonic Module
16X 2 LCD Zaub (Xiav/Ntsuab)
230-5V Cov Qauv Hluav Taws Xob
5v zoj
Sib Nqus Sib Nqus
Lub thawv kaw
Kauj Ruam 1: Pib Nrog JSN-SR04
JSN-SR04 lossis Dej Pov Thawj ultra sonic sensor yog lub tshuab hluav taws xob uas ua haujlwm ntawm lub hauv paus ntsiab lus ntawm kev sib kis thiab kev xav.
Lub luag haujlwm ntawm ECHO tus pin yog tso tawm cov nthwv dej mus rau cov channel. Qhov no nthwv dej hla dhau qhov nruab nrab raws li nthwv dej thiab xav rov qab thaum puas nws tsoo ib yam khoom lossis teeb meem ua ntej ntawm nws txoj kev nthuav tawm. xam thiab siv tus nqi no peb txiav txim siab qhov kev ncua deb ntawm cov teeb meem uas tuaj rau peb.
- TRIG tus pin txuas nrog tus lej digital 5 ntawm nano.
- ECHO tus pin txuas nrog tus lej digital 5 ntawm nano.
- Tus VCC tus pin txuas nrog rau qhov zoo ntawm tus ncej ntawm lub khob cij.
- Tus GND tus pin txuas nrog qhov tsis zoo ntawm lub khob cij.
Kauj Ruam 2: Ua haujlwm ntawm Tus Tswj Dej Tsis Siv Neeg
Ua haujlwm ntawm txoj haujlwm no yog qhov yooj yim heev peb tau siv Ultrasonic sensor module uas xa lub suab tsis zoo hauv lub taub dej thiab kuaj pom lub suab tsis zoo uas yog ECHO. Ua ntej tshaj plaws peb yuav tsum ua kom pom lub ntsuas hluav taws xob ultrasonic sensor kom xa cov teeb liab los ntawm kev siv Arduino thiab tom qab ntawd tos kom tau txais ECHO. Arduino nyeem lub sijhawm nruab nrab ntawm kev ua thiab tau txais ECHO. Peb paub tias qhov nrawm ntawm lub suab nyob ib puag ncig 340 m/s. yog li peb tuaj yeem suav qhov deb los ntawm kev siv cov qauv:
Qhov nrug = (sijhawm mus ncig/2) * lub suab nrawm Qhov twg suab nrawm yog kwv yees li 340m ib pliag. Los ntawm kev siv cov txheej txheem no peb tau txais kev nrug deb ntawm lub sensor mus rau dej saum npoo av. Tom qab nws peb yuav tsum xam cov dej theem. Tam sim no peb yuav tsum suav tag nrho ntev ntawm lub tank dej. Raws li peb paub qhov ntev ntawm lub tank dej peb tuaj yeem suav cov qib dej los ntawm kev rho tawm qhov ua tau los ntawm ultrasonic los ntawm tag nrho ntev ntawm lub tank. Thiab peb yuav tau txais cov dej theem nrug deb. Tam sim no peb tuaj yeem hloov qib dej no mus rau feem pua ntawm cov dej, thiab tuaj yeem tso tawm ntawm LCD.
Kauj Ruam 3: Daim duab qhia chaw thiab piav qhia
Raws li tau qhia hauv cov txheej txheem tswj dej hauv qab muab hauv qab no, Ultrasonic sensor module's "trigger" thiab "echo" pins tau txuas ncaj qha rau tus pin 5 thiab 4 ntawm arduino. 16x2 LCD txuas nrog arduino hauv 4-ntsis hom. Tswj tus pin RS, RW thiab En tau txuas ncaj qha rau arduino tus pin 3, GND thiab 2. Thiab cov ntaub ntawv tus pin D4-D7 txuas nrog 10, 9, 8 thiab 7 ntawm arduino, thiab buzzer txuas nrog tus pin 6. 5 Volt relay yog kuj txuas ntawm tus pin 12 ntawm arduino rau tig lossis tig lub twj tso kua dej tso tawm. A 230-5V Lub zog siv hluav taws xob siv rau lub zog-ntxiv rau chav tsev no.you tuaj yeem siv 1000mA Lub xov tooj them rau qhov no.n no Circuit Court Ultrasonic sensor module tau muab tso rau ntawm sab saum toj ntawm lub tank dej rau kev ua qauv qhia. Qhov ntsuas qhov ntsuas no yuav nyeem qhov nrug nruab nrab ntawm lub ntsuas qhov ntsuas thiab dej, thiab nws yuav qhia qhov nrug deb ntawm lub vijtsam LCD nrog cov lus "Dej Chaw hauv Tank yog:". Nws txhais tau tias peb nyob ntawm no qhia qhov chaw khoob ntawm qhov deb lossis ntim dej tsis txhob siv dej. Vim tias txoj haujlwm no peb tuaj yeem siv cov txheej txheem no hauv txhua lub tank dej. Thaum cov dej tsis muaj qib nce mus txog qhov deb li 30 cm ces Arduino tig rau lub twj tso kua mis los ntawm kev tsav tsheb. Thiab tam sim no LCD yuav qhia "LOW Water Level" "Motor ON ON", thiab Relay status LED yuav pib ci
Tam sim no yog tias qhov chaw khoob mus txog ntawm qhov deb txog 12 cm arduino tig OFF lub relay thiab LCD yuav qhia “Tank puv” “Motor Turned OFF”. Buzzer kuj tseem ceeb rau qee lub sijhawm thiab kev xa xov xwm LED yuav tig OFF.
Kauj ruam 4: Programming
Txhawm rau program Arduino rau cov tswj dej theem, ua ntej peb txhais txhua tus pin uas peb tab tom yuav siv hauv txoj haujlwm txhawm rau cuam tshuam cov khoom siv sab nraud xws li txuas, LCD, buzzer thiab lwm yam. thiab qhov chaw nres nkoj raug thiab tom qab ntawd nyem upload.
Kauj Ruam 5: Xeem & Sib Sau
Thiab tom qab koj ua tiav txoj haujlwm koj yuav tsum pom arduino tso saib cov dej hauv LCD. Koj tuaj yeem muaj lub suab nrov ntxiv los qhia rau koj paub tom qab ntawd cov qib dej nce mus txog tom qab qhov chaw pib.
Kauj Ruam 6: Txhim Kho
Nov yog qhov pib ua tiav thiab ua nrog cov peev txheej txwv. Kuv tab tom npaj txhim kho qhov no nrog SMS ceeb toom txog qib dej siv SIM900A tus qauv ua cov kauj ruam tom ntej.
Ua tsaug rau koj saib.
Pom zoo:
DIY LED Audio Level Indicator: 5 Kauj Ruam
DIY LED Audio Level Indicator: Cov lus qhia no yuav coj koj mus kev los ua koj tus kheej lub suab ntsuas ntsuas, siv Arduino Leonardo thiab qee qhov khoom seem. Cov cuab yeej tso cai rau koj kom pom koj lub suab tso tawm kom pom qhov xwm txheej ntawm koj lub suab pom thiab hauv lub sijhawm tiag. Nws yog
DARKNESS LEVEL INDICATOR: 8 Kauj Ruam
DARKNESS LEVEL INDICATOR: Koj yuav tau pom ntau txoj haujlwm arduino uas lub teeb tau qhib thaum lawv tsaus ntuj. Tab sis koj puas tau xav ntau npaum li cas qhov tsaus ntuj yuav tsum yog lawv tig rau lub teeb Yog li tam sim no peb yuav kawm paub yuav ua li cas qhov tsaus ntuj qhia qhov ntsuas siv arduin
Xaiv Cov Kauj Ruam Tsav Tsheb thiab Tsav Tsheb rau Arduino Automated Shade Screen Project: 12 Cov Kauj Ruam (nrog Duab)
Xaiv Cov Kauj Ruam Tsav Tsheb thiab Tsav Tsheb rau Arduino Automated Shade Screen Project: Hauv Cov Lus Qhia no, Kuv yuav hla cov kauj ruam uas kuv tau xaiv los xaiv Lub Kauj Ruam Tsav Tsheb thiab Tsav Tsheb rau qhov ua piv txwv Automated Shade Screen project. Cov ntxaij vab tshaus ntxoov ntxoo yog qhov nrov thiab pheej yig Coolaroo tes cranked qauv, thiab kuv xav hloov
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv