Cov txheej txheem:
- Kauj Ruam 1: Cov Cheeb Tsam Yuav Tsum Tau
- Kauj ruam 2: Kev sib txuas
- Kauj Ruam 3: Code rau Fahrenheit
- Kauj ruam 4: Code rau Celsius
- Kauj Ruam 5: Xaus
Video: Yooj Yim thiab Pheej Yig Kub Ntsuas Ntsuas Siv Thermistor: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
qhov ntsuas kub yooj yim thiab pheej yig siv NTC thermistor
thermistor hloov nws qhov kev tiv thaiv nrog kev hloov pauv hauv lub sijhawm siv cov cuab yeej no peb tab tom tsim qhov ntsuas kub kom paub ntau ntxiv txog thermistor
en.wikipedia.org/wiki/Thermistor
Kauj Ruam 1: Cov Cheeb Tsam Yuav Tsum Tau
Arduino uno (lossis) ib qho arduino yuav ua haujlwm
qee cov jumper xov hlau thiab lub rooj noj mov
1 X 10 k resistor
1X NTC 10k thermistor
Kauj ruam 2: Kev sib txuas
(Hauv av) ---- (10k-Resistor) ------- | ------- (Thermistor) ---- (+5v)
| Pin Pin 0
Kauj Ruam 3: Code rau Fahrenheit
#suav nrog
ob chav Thermistor (int RawADC) {ob Temp; Temp = cav (10000.0*((1024.0/RawADC-1)))); // = log (10000.0/(1024.0/RawADC-1)) // rau rub tawm teeb tsa Temp = 1/(0.001129148 + (0.000234125 + (0.0000000876741 * Temp * Temp)) * Temp); Temp = Temp - 273.15; // Hloov Kelvin rau Celcius Temp = (Temp * 9.0)/ 5.0 +32; // Hloov Celcius rau Fahrenheit rov Temp; }
teeb tsa tsis muaj dab tsi () {Serial.begin (115200); }
void loop () {Serial.println (int (Thermistor (analogRead (0))))); // tso saib Fahrenheit ncua (1000); }
Kauj ruam 4: Code rau Celsius
#suav nrog
ob chav Thermistor (int RawADC) {ob Temp; Temp = cav (10000.0*((1024.0/RawADC-1)))); // = log (10000.0/(1024.0/RawADC-1)) // rau rub tawm teeb tsa Temp = 1/(0.001129148 + (0.000234125 + (0.0000000876741 * Temp * Temp)) * Temp); Temp = Temp - 273.15; // Hloov Kelvin rau Celcius rov Temp; }
teeb tsa tsis muaj dab tsi () {Serial.begin (115200); }
void loop () {Serial.println (int (Thermistor (analogRead (0))))); // tso saib Fahrenheit ncua (1000); }
Kauj Ruam 5: Xaus
tom qab ua tiav tag nrho cov kauj ruam tam sim no qhib lub ntsuas saib thiab teeb tsa baud rau 115200 koj tuaj yeem pom qhov ntsuas kub
Kev txhim kho ntxiv koj tuaj yeem ntxiv lcd rau qhov no
ua tsaug:)
yog tias koj muaj kev ua xyem xyav thov nug
Pom zoo:
Pheej Yig Qhov Chaw Nkag Nkag Pheej Yig Pheej Yig: 6 Kauj Ruam (nrog Duab)
Pheej Yig Qhov Chaw Nkaum Nkag Pheej Yig: CreditI zoo nkauj heev theej Savjee qhov kev siv tab sis tsis txhob siv Shelly Kuv siv Sonoff Basic. Txheeb xyuas nws lub vev xaib thiab YouTube Channel
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: 4 Cov Kauj Ruam (nrog Duab)
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: Hnub no kuv xav qhia yuav ua li cas kom pom lub teeb pom kev zoo los ntawm lub zog xa hluav taws xob tsis siv hluav taws xob los ntawm tus txhuam txhuam hniav thiab lub tshuab solenoid valve coils uas tau khaws los ntawm scrapyard.Ua ntej pib, thov saib cov vis dis aus hauv qab no:
DHT12 (i2c Pheej Yig Humidity thiab Kub Sensor), Kev Siv Yooj Yim Yooj Yim: 14 Cov Kauj Ruam
DHT12 (i2c Pheej Yig Humidity thiab Kub Sensor), Kev Siv Yooj Yim Yooj Yim: Koj tuaj yeem pom hloov tshiab thiab lwm yam ntawm kuv qhov chaw https://www.mischianti.org/2019/01/01/dht12-library-en/.I nyiam sensor uas tuaj yeem siv nrog 2 xaim (i2c raws tu qauv), tab sis kuv nyiam qhov pheej yig ib qho no yog Arduino thiab esp8266 lub tsev qiv ntawv rau DHT12 series o
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS YOOJ YIM: 4 Cov Kauj Ruam
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS: Nyob zoo txhua tus hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas kom yooj yim " SOIL DRYNESS SENSOR ". Qhuav ntawm cov av tau txheeb xyuas siv qhov taw qhia coj. Lub teeb ci wi
Ib qho yooj yim heev/yooj yim/Tsis yooj yim txoj hauv kev kom tib neeg/tib neeg/tsiaj/neeg hlau zoo li lawv muaj txias tiag tiag/Lub zeem muag tshav kub kub (Xim ntawm Koj Xaiv) Siv GIMP: 4 Cov Kauj Ruam
Ib qho yooj yim heev/yooj yim/Tsis yooj yim txoj hauv kev kom tib neeg/tib neeg/tsiaj/neeg hlau zoo li lawv muaj txias tiag tiag/Lub zeem muag tshav kub kub (Xim ntawm Koj Xaiv) Siv GIMP: Nyeem … lub npe