Cov txheej txheem:

Acme Digital Thermometer W/ DS18B20 Temp Probe & I2C LCD: 5 Kauj Ruam
Acme Digital Thermometer W/ DS18B20 Temp Probe & I2C LCD: 5 Kauj Ruam

Video: Acme Digital Thermometer W/ DS18B20 Temp Probe & I2C LCD: 5 Kauj Ruam

Video: Acme Digital Thermometer W/ DS18B20 Temp Probe & I2C LCD: 5 Kauj Ruam
Video: Atmega328 Digital Thermometer - ds18b20 Temperature sensor ( both Celsius and Fahrenheit) 2024, Hlis ntuj nqeg
Anonim
Acme Digital Thermometer W/ DS18B20 Temp Probe & I2C LCD
Acme Digital Thermometer W/ DS18B20 Temp Probe & I2C LCD
Acme Digital Thermometer W/ DS18B20 Temp Probe & I2C LCD
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.

Kauj Ruam 1: Qhov Chaw

Qhov
Qhov
Qhov
Qhov
Qhov
Qhov

1 x DS18B20 ntsuas kub

1 x Arduino uno board

1 x LCD nrog I2C

1 4.7k tiv

txhua yam npaj tau hauv is taws nem, txoj haujlwm no raug nqi kuv ib ncig $ 20

qee cov xov hlau jumper

Kauj Ruam 2: Txuas DS18B20

Kev txuas ntawm DS18B20
Kev txuas ntawm DS18B20

Cov hlau liab lossis VCC mus rau 5v ntawm Arduino

Cov xaim dub lossis av mus rau hauv av ntawm Arduino

Cov xaim daj lossis Cov Ntaub Ntawv mus rau tus pin 2 (lossis tus pin twg koj tau xaiv)

yuav tsum muaj 4.7k resistor ua ke nrog Cov Ntaub Ntawv xov hlau thiab VCC xaim raws li qhia hauv daim duab.

Kauj Ruam 3: Txuas I2C LCD

Kev thaiv ntawm I2C LCD
Kev thaiv ntawm I2C LCD

GND tus pin rau hauv av ntawm Arduino

VCC tus pin rau 5v ntawm Arduino

SDA tus pin rau A4 ntawm Arduino

SCL tus pin rau A5 ntawm arduino

Kauj ruam 4: Txoj Cai

Txoj Cai
Txoj Cai

Muaj cov ntawv luam tawm hauv kab hauv kab ntawv los pab daws teeb meem. Nws tsis tas yuav ua haujlwm

Tsis tas li kuv muaj lub heck ntawm lub sijhawm nrhiav qhov tseeb thiab ua haujlwm tsev qiv ntawv rau LCD. Nws txuas nrog ua tej yam yooj yim rau koj.

Kauj Ruam 5: Tiav Touches

Tiav Touches
Tiav Touches
Tiav Touches
Tiav Touches
Tiav Touches
Tiav Touches

Tam sim no koj muaj tus pas ntsuas kub ua haujlwm thiab tso saib nws txawm li cas los xij koj nyiam rau zaub. Txaus siab rau!

Pom zoo: