Cov txheej txheem:
- Kauj Ruam 1: Cheeb Tsam
- Kauj Ruam 2: Kev Sib Txuas & Ua PCB
- Kauj ruam 3: Programming
- Kauj Ruam 4: Sib dhos & Xeem
Video: Qhov Ntsuas Qib Dej Nrog SMS: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Hnub no kuv yuav tham txog ib txoj haujlwm muaj txiaj ntsig zoo. Nws yog hu ua Tus Ntsuas Ntsuas Dej nrog SMS ceeb toom. Txhua leej txhua tus muaj lub tank saum taub hau ntawm lawv lub tsev. Qhov teeb meem yog tias tsis muaj kab ke taug qab cov dej hauv lub tank. Tom qab ntawd muaj qhov teeb meem thib ob uas yog thaum lawv lub twj tso kua dej pib lawm lawv tsis muaj lub tswv yim thaum nws tau ntim puv thiab qee zaum muaj qhov xwm txheej uas lub twj tso kua mis tseem tso dej rau hauv lub tank thiab dej pib ntws tawm ntawm lub tank. Muaj kev nkim lub zog nrog rau kev siv dej. Yog li cov txheej txheem no muaj txiaj ntsig zoo txhawm rau txheeb xyuas qib dej. Nws kuj tseem muaj txiaj ntsig zoo rau cov tsev siab uas nws tsis tuaj yeem tshawb xyuas qib dej.
Cia peb pib.
Kauj Ruam 1: Cheeb Tsam
1. Atmega328
2. Arduino Uno
3. Hloov x1
4. Crystal Oscillator x1
5. 10uf capacitor x2
6. BC547 npn transistor x4
7. Resistor 1k x5
8. Resistor 100 x8
9. PCB x1
10. LM7805 5volt tus tswj hwm
11. LM7812 12volt tus tswj hwm
12. Capacitor 22uf x2
13. Hnub ci Pannel 20v
14. Tshav Kub Kub x1
15. Cov xov hlau
16. GSM modem 800H lossis 900A
Kauj Ruam 2: Kev Sib Txuas & Ua PCB
Ua qhov kev sib txuas ntawm transistors nrog Resistors ntawm lub khob cij raws li qhia hauv daim duab ckt kos cov zis. Cov zis yuav ntau dua 3 volt kom xa cov laj thawj HIGH mus rau arduino.
Mount cov resistors thiab transistors ntawm pcb.
Mount 28 tus pin ic qhov (socket) ntawm pcb.
Peb tab tom ua ib leeg zuj zus arduino.
Solder siv lead ua oscillator nrog rau 22uf capacitors.
Txuas cov txiaj ntsig ntawm transistors mus rau cov pins sib piv o IC hais txog tus pin daim duab ntawm ic.
Ua qhov txuas ntawm qhov ntsuas hluav taws xob kom raug nrog cov capacitors.
Cov cua sov yuav tsum txuas rau 7812 tus tswj hluav taws xob raws li GSM tus qauv rub ntau dua tam sim no los ntawm nws.
Hnub ci pannel txuas nrog lub tswv yim ntawm 7812 ic.
Solder tag nrho cov khoom siv raws li hauv daim duab ckt ntawm pcb. Txheeb xyuas cov kev sib txuas.
Kauj ruam 3: Programming
Txuas koj arduino UNO rau koj lub PC wiyh ic atmega328 hauv nws
Hlawv cov cai hauv qab no rau hauv koj cov arduino
int ib = 0; int b = 0;
int c = 0;
int ib = 0;
void teeb tsa ()
{pinMode (A1, INPUT);
pinMode (A0, INPUT);
pinMode (A2, INPUT);
pinMode (A4, INPUT);
Serial.begin (9600);
}
void lub voj ()
{int r = digitalRead (A4);
int s = digitalRead (A0);
int t = digitalRead (A1);
int koj = digitalRead (A2);
yog (r == HIGH && s == LOW && t == LOW && u == LOW)
{yog (a == 0)
{Serial.println ("AT+CMGF = 1");
ncua (500);
Serial.println ("AT+CMGS = \" koj tsis. / ""); // Hloov tus lej xov tooj ncua sijhawm (500);
Serial.print ("Theem 1 Qhib Lub Tshuab"); // cov lus koj xav xa
ncua (500);
Serial.write (26);
ncua (500);
ib ++; b = 0; c = 0; d = 0;
}
}
yog (r == HIGH && s == HIGH && t == LOW && u == LOW)
{yog (b == 0)
{Serial.println ("AT+CMGF = 1");
ncua (500);
Serial.println ("AT+CMGS = \" koj tsis. / ""); // Hloov tus lej xov tooj tus txais
ncua (500);
Serial.print ("Dej ntawm Qib 2");
// cov lus koj xav xa
ncua (500);
Serial.write (26);
ncua (500);
b ++; ua = 0; c = 0; d = 0;
} }
yog (r == HIGH && s == HIGH && t == HIGH && u == LOW) {yog (c == 0)
{Serial.println ("AT+CMGF = 1");
ncua (500);
Serial.println ("AT+CMGS = \" koj tsis. / ""); // Hloov tus lej xov tooj ncua sijhawm (500);
Serial.print ("Dej ntawm Qib 3"); // cov lus koj xav xa
ncua (500);
Serial.write (26);
ncua (500);
c ++; b = 0; d = 0; ua = 0; }}
yog (r == HIGH && s == HIGH && t == HIGH && u == HIGH)
{yog (d == 0) {Serial.println ("AT+CMGF = 1");
ncua (500);
Serial.println ("AT+CMGS = \" koj tsis. / ""); // Hloov tus lej xov tooj tus txais
ncua (500);
Serial.print ("Tank puv hloov lub cev muaj zog"); // cov lus koj xav xa
ncua (500);
Serial.write (26);
ncua (500);
d ++; c = 0; b = 0; ua = 0;
} }
lwm tus
{Serial.print ("Circuit Tsis Txuas");
}
}
Tam sim no Tshem tus ic & nruab nws rau hauv pcb
Kauj Ruam 4: Sib dhos & Xeem
Siv cov yeeb nkab PVC uas muaj qhov siab sib npaug rau koj lub tank dej.
Khaws cov xov hlau los ntawm ckt ntawm qib sib txawv ntawm lub tank.
Nco ntsoov tias Vcc hlau ib txwm poob rau hauv dej.
Ua txhua qhov Kev Sib Txuas.
Txuas Rx ntawm ic uas yog ntawm tus pin 2 rau Tx ntawm GSM modem
Txuas Tx ntawm ic uas yog ntawm tus pin 3 rau Rx ntawm GSM modem
Txuas lub hnub ci vaj huam sib luag rau cov tswv yim ntawm 7812 ic.
Txheeb xyuas txhua Qhov Kev Sib Txuas Thiab Txoj Haujlwm tau npaj tiav.
Ua kom tso rau qhov system kom tiv thaiv nws los ntawm nag.
Kuaj Nws!
Pom zoo:
Dej Nco Dej Dej Lub Raj Dej: 16 Cov Kauj Ruam
Nco Ntug Dej Cov Dej Lub Raj Dej: Koj puas tau hnov qab haus koj cov dej? Kuv paub kuv ua! Tias yog vim li cas kuv thiaj los nrog lub tswv yim tsim lub raj mis dej uas ceeb toom koj kom haus koj cov dej. Tus tuav lub raj mis dej muaj qhov tshwj xeeb uas lub suab nrov yuav nrov txhua teev kom nco koj
Txuag Dej & Nyiaj Nrog Tus Dej Dej Saib Dej: 15 Kauj Ruam (nrog Duab)
Txuag Dej & Nyiaj Nrog Tus Dej Dej Saib Xyuas: Qhov twg siv dej ntau dua - da dej lossis da dej? Kuv paub thaum kuv da dej qee zaum kuv lub siab ploj mus, xav txog qhov txias txias
Cov Dej Ntsuas Qhov Ntsuas Cov Lus Ceeb Toom: 4 Kauj Ruam
Qhov Ntsuas Qhov Ntsuas Tus Kheej Cov Lus Qhia: Cov ntsuas ntsuas qib dej qhia tau hais tias yog ib qho cuab yeej siv uas ntsuas xyuas cov dej hauv lub tank tas li thiab ceeb toom koj yog xav tau. Nws ceeb toom rau koj yog tias lub tank puv lossis khoob tas li kom koj tuaj yeem qhib lossis kaw lub twj tso kua mis kom tsis txhob nkim dej
Dej ntsuas lub ntsuas qhov ntsuas: 6 Kauj ruam
Dej ntsuas lub ntsuas qhov ntsuas: Qhov no yog cov cuab yeej muaj txiaj ntsig zoo thiab yuav tsum tau teeb tsa hauv yuav luag txhua lub tsev. Txawm hais tias hom khoom siv no twb muaj nyob hauv khw. Tab sis lawv yuav kim thiab yuav tsis ruaj thiab raug rau 7 qib kev qhia. Yog li ntawm no kuv yuav hu xov tooj
Long Range Wireless Dej Qib Qhov Ntsuas Nrog Tswb - Ntau Yam Txog 1 Km - Xya Qib: 7 Kauj Ruam
Long Range Wireless Dej Qib Qhov Ntsuas Nrog Tswb | Ntau Yam Txog 1 Km | Xya Qib: Saib nws hauv Youtube: https://youtu.be/vdq5BanVS0YKoj yuav tau pom ntau qhov Wired thiab Wireless Water Level Indicators uas yuav muab ntau txog 100 txog 200 meters. Tab sis hauv qhov kev qhia qhia no, koj yuav pom qhov Ntev Ntev Wireless Wireless Theem Indi