Cov txheej txheem:
- Kauj Ruam 1: Ua Arduino ntawm Breadboard
- Kauj ruam 2: Txuas LCD
- Kauj Ruam 3: Txuas DS18B20 Kub Sensor
- Kauj Ruam 4: Npaj Lub Circuit Court
- Kauj ruam 5: Arduino CODE
- Kauj Ruam 6: Thaum kawg Koj Tau Ua tiav
- Kauj Ruam 7: Saib LIVE
Video: Digital Thermometer Nrog Arduino & DS18B20: 7 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Cias tsim lub ntsuas cua digital nrog tuaj yeem qhia koj tam sim no chav sov ntawm lub vijtsam LCD. Nov yog qhov pib ua haujlwm. Cov cuab yeej uas koj xav tau: 1. Arduino UNO R3 2. DS18B20 ntsuas kub. 3. 16X2 LCD zaub. 4. Txuas cov xov hlau. 5. Pawg phiaj xwm phiaj xwm. Tam sim no cia ua tus ntsuas kub digital….. Nov yog Atmega168 pinouts rau arduino. Tsuas yog hla qhov no yog tias koj saib kom ntsuas lub ntsuas cua no nrog koj cov arduino.
Kauj Ruam 1: Ua Arduino ntawm Breadboard
Tsim arduino ntawm tus breaboard yog yooj yim heev. Tam sim no cov txheej txheem txheej txheem txheej txheem tau muab qhia hauv qab no: 1. Pin 7 -> +5V 2. Pin8 -> GND 3. Pin9 -> Crystal -> 22pF capacitor -> GND 4. Pin10-> Crystal -> 22pF capacitor -> GND 5. tus pin 22 -> GND 6. Pin21 & Pin20 -> +5V 7. Pin1-> 10K tus neeg rau npe rau GND +Nias lub pob kom +5V Tam sim no koj npaj tau lawm ……………..
Kauj ruam 2: Txuas LCD
Kauj Ruam 3: Txuas DS18B20 Kub Sensor
Kauj Ruam 4: Npaj Lub Circuit Court
Txuas lub LCD nrog atmega lossis arduino raws li piv txwv LCD piv txwv ntawm arduino IDE. Tam sim no txuas DS1307 DATA npav mus rau DIGITAL PIN 7 (Atmega tus pin 13)
Kauj ruam 5: Arduino CODE
#include #include #include int DS18S20_Pin = 7; // DS18S20 Teeb tus pin ntawm digital 7 los ntawm rahulmitra LiquidCrystal lcd (12, 11, 5, 4, 3, 2); // Kub nti i/o OneWire ds (DS18S20_Pin); // ntawm tus lej digital 7 los ntawm rahulmitra tsis muaj teeb tsa (tsis muaj dab tsi) {Serial.begin (9600); lcd.begin (16, 2); // Luam tawm cov lus rau LCD. lcd.print ("Rahul Mitra"); } void loop (tsis muaj dab tsi) {ntab kub = getTemp (); Serial.println (kub); lcd.setCursor (0, 1); lcd.print ("Temp:"); lcd.print (kub); lcd.print (" *C"); ncua (100); // tsuas yog nyob ntawm no kom qeeb qhov tso tawm kom nws yooj yim nyeem} ntab getTemp () {// rov qab ntsuas kub los ntawm ib qho DS18S20 hauv DEG Celsius byte cov ntaub ntawv [12]; byte addr [8]; yog (! rov qab -1000; } yog (OneWire:: crc8 (addr, 7)! = addr [7]) {Serial.println ("CRC tsis siv tau!"); rov qab -1000; } yog (addr [0]! = 0x10 && addr [0]! = 0x28) {Serial.print ("Ntaus ntawv tsis raug lees paub"); rov qab -1000; } ds.reset (); ds xaiv (addr); ds.write (0x44, 1); // pib hloov dua siab tshiab, nrog rau lub zog cab nyob rau thaum kawg byte tam sim no = ds.reset (); ds xaiv (addr); ds.write (0xBE); // Nyeem Scratchpad rau (int i = 0; i <9; i ++) {// peb xav tau 9 bytes cov ntaub ntawv = ds.read (); } ds.reset_search (); byte MSB = cov ntaub ntawv [1]; byte LSB = cov ntaub ntawv [0]; ntab tempRead = ((MSB << 8) | LSB); // siv ob qhov kev qhuas qhuas ntab TemperatureSum = tempRead /16; rov qab TemperatureSum; }
Kauj Ruam 6: Thaum kawg Koj Tau Ua tiav
Kauj Ruam 7: Saib LIVE
www.youtube.com/watch?v=7718FODdtio&list=UUY916I6z4Y3QQhzjHsIhR8w
Pom zoo:
DIY Logging Thermometer Nrog 2 Sensors: 3 Cov Kauj Ruam (nrog Duab)
DIY Logging Thermometer Nrog 2 Sensors: Qhov haujlwm no yog kev txhim kho ntawm kuv txoj haujlwm dhau los "DIY Logging Thermometer". Nws teev cov ntsuas ntsuas ntsuas mus rau micro SD daim npav.Hardware hloov pauv Kuv ntxiv DS18B20 qhov ntsuas kub rau lub sijhawm ntsuas lub sijhawm, qhov twg muaj
Acme Digital Thermometer W/ DS18B20 Temp Probe & I2C LCD: 5 Kauj Ruam
Acme Digital Thermometer W/ DS18B20 Temp Probe & I2C LCD: qhov no yog txoj haujlwm yooj yim heev uas tsis raug nqi ntau thiab yuav tsis siv sijhawm ntau. Kuv muab tso rau hauv lub thawv Amazon vim tias nws nyob ntawd, tab sis qhov no tuaj yeem ntsia tau rau hauv txhua yam
Cov cuab yeej cuab tam - Ceramic hauv Cov Ntsiab Lus ntawm Cov Txheej Txheem Digital thiab Analog 2015: 3 Cov Kauj Ruam (nrog Duab)
Cov cuab yeej cuab tam - Ceramic hauv Cov Ntsiab Lus ntawm Digital thiab Analog Cov Txheej Txheem 2015: Txog tam sim no, cov khoom siv hlau yog cov khoom siv tes ua uas tsis muaj kev cuam tshuam digital. Vim li no, nws zoo siab heev los ua phooj ywg nrog cov cuab yeej tshiab. Lub hauv paus pib yog daim ntawv qub thiab CNC Styrocutter.DESIGNBOOM
Kev ntsuas ntawm DS18B20 Sensor Nrog Arduino UNO: 3 Cov Kauj Ruam (nrog Duab)
Kev ntsuas ntawm DS18B20 Sensor Nrog Arduino UNO: DISCLAIMER: Cov cuab yeej koj pom hauv cov duab tau siv hauv lwm qhov haujlwm raws li Thermostat rau tsim cov txheej txheem. Koj tuaj yeem pom qhov haujlwm ntawd ntawm no. Txhawm rau ntsuas qhov ntsuas, lossis ntau dua ib qho, koj yuav xav tau qhov koj yuav pom hauv qhov haujlwm no
$ 3 & 3 Cov Kauj Ruam Laptop Sawv (nrog Nyeem-tsom iav & Tais Tais): 5 Kauj Ruam
$ 3 & 3 Cov Kauj Ruam Laptop Sawv (nrog Nyeem-tsom iav & Tais Tais): Qhov no $ 3 & 3 kauj ruam laptop sawv tuaj yeem ua hauv 5 feeb. Nws muaj zog heev, lub cev hnyav, thiab tuaj yeem muab tais coj mus rau txhua qhov chaw koj mus