Cov txheej txheem:
- Kauj Ruam 1: Qhov Yuav Tsum Tau
- Kauj Ruam 2: Txuas lub LCD mus rau Arduino
- Kauj Ruam 3: Lm-35
- Kauj ruam 4: Code:
Video: DIY Arduino Digital Thermometer: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Nyob zoo sawv daws! Ntawm no, kuv yuav qhia koj yuav ua li cas ntsuas lub ntsuas cua digital yooj yim siv Arduino.
Kauj Ruam 1: Qhov Yuav Tsum Tau
Cov hauv qab no yuav xav tau rau txoj haujlwm no:
1) Arduino Nano.
2) Nokia 5110 LCD zaub.
3) LM- 35 ntsuas kub.
4) Jumper xov hlau.
5) Arduino lub tswv yim thiab u8glib lub tsev qiv ntawv (Rub tawm los ntawm Git-hub.
Kauj Ruam 2: Txuas lub LCD mus rau Arduino
Txuas cov Arduino pins hauv qab no mus rau LCD:
CLK = 8, DIN = 4, CE = 7, DC = 5, RST = 6
Txuas tus BL thiab Vcc tus pin ntawm LCD mus rau 3.3v ntawm Arduino
Koj tuaj yeem siv cov tshuaj tiv thaiv yog tias koj xav tau, tab sis hauv kuv qhov xwm txheej, txuas LCD ncaj qha rau Arduino pins tsis muaj qhov sib txawv
Kauj Ruam 3: Lm-35
Lm-35 yog tus ntsuas kub ntsuas tus nqi qis uas tuaj yeem siv nrog Arduino
goo.gl/images/AymubD
Txheeb xyuas daim duab Lm-35 pinout los ntawm no
Txuas tus pin tso tawm ntawm Lm-35 mus rau tus pin A0 ntawm Arduino
Txuas 5v thiab gnd pins ib yam nkaus
Kauj ruam 4: Code:
#suav nrog "U8glib.h"
int ib = 0;
ploj x;.
ob m; os.
ob s; ua.
// Npaj los ntawm Sourya Choudhury
// Credits-Henry's Bench tutorials for lcd tutorial.
U8GLIB_PCD8544 u8g (8, 4, 7, 5, 6);
// CLK = 8, DIN = 4, CE = 7, DC = 5, RST = 6
void kws sau ntawv ()
{
x = analogRead (a);
m = x/1024.0*5000;
s = m/10;
u8g.setFont (u8g_font_profont12);
u8g.setPrintPos (0, 15);
u8g.print (s);
u8g.drawStr (35, 15, "*C");
ncua (100);
yog tias (s> 30)
{
u8g.drawStr (15, 35, "So Kub !!");
}
lwm yog (s20)
{
u8g.drawStr (15, 35, "Zoo heev !!");
}
lwm tus
{
u8g.drawStr (15, 35, "Txaus !!");
}
}
void teeb tsa ()
{
Serial.begin (9600);
pinMode (a, INPUT);
}
void lub voj ()
{
u8g.firstPage ();
ua {
tus kws sau ntawv ();
} thaum (u8g.nextPage ());
}
Pom zoo:
Digital RPi LED Thermometer: 6 Kauj Ruam (nrog Duab)
Digital RPi LED Thermometer: Raspbian OS Kawm paub yuav ua li cas Kuv Ua Tus Digital Thermometer, nrog Raspberry Pi Zero W, LED sawb, OLED zaub, thiab kev cai PCB. LED zaub, thiab cov duab. Tab sis
Digital Thermometer Nrog Arduino & DS18B20: 7 Cov Kauj Ruam
Cov Ntsuas Kub Nrog Digital Arduino & DS18B20: Cias tsim lub ntsuas cua digital nrog tuaj yeem qhia koj qhov kub ntawm chav nyob tam sim no 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
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
Arduino Los Ntawm Khaub Ncaws - Digital Thermometer: 7 Kauj Ruam (nrog Duab)
Arduino Los Ntawm Khaub Ncaws - Digital Thermometer: Kuv tau nyiam ua cov phiaj xwm nrog Arduinos, tab sis ntawm $ 30 ib thooj koj cov phiaj xwm tuaj yeem kim. Yog li kuv xav qhia koj li cas koj tuaj yeem ua koj tus kheej Arduino los ntawm kos thiab txuag nyiaj ua nws. Ua koj tus kheej Arduino rau ib puag ncig $ 8. Rau qhov kev qhia no
7 SEGMENT DIGITAL CLOCK THERMOMETER: 6 Kauj Ruam
7 SEGMENT DIGITAL CLOCK THERMOMETER: Nws ua haujlwm los ntawm 12v 500mA adapter.Qhov siab qhov siab yog 57 hli thiab nws qhia cov ntaub ntawv teev txhua teev nyob rau 24 teev. ntawm lub cim xeeb