Cov txheej txheem:

Arduino Barometer Nrog Nokia 5110 LCD: 4 Kauj Ruam
Arduino Barometer Nrog Nokia 5110 LCD: 4 Kauj Ruam

Video: Arduino Barometer Nrog Nokia 5110 LCD: 4 Kauj Ruam

Video: Arduino Barometer Nrog Nokia 5110 LCD: 4 Kauj Ruam
Video: How to Use Barometric Pressure Sensors on the Arduino - Ultimate Guide to the Arduino #39 2024, Hlis ntuj nqeg
Anonim
Arduino Barometer Nrog Nokia 5110 LCD
Arduino Barometer Nrog Nokia 5110 LCD

Nov yog qhov ntsuas cua yooj yim nrog Arduino.

Kauj ruam 1: Intro

Intro
Intro

Nyob zoo!

Zoo kuv tseem yog ib tus neeg tshiab nrog Arduino thiab kuv tsis muaj sijhawm txaus los kawm cov phiaj xwm kom raug.

Kuv pom qee qhov piv txwv piv nrog u8glib lub tsev qiv ntawv rau qee qhov ntsuas.

Lawv yog thawj tus rau I2C oled SSD1306 cov lus. Tab sis !!! Kuv tsis nyiam cov ntawv me me OLED. Thov txim !!

Kuv paub, tias lub tsev qiv ntawv u8glib tuaj yeem cuam tshuam nrog Nokia 5110 qhia tau yooj yim heev.

Yog li kuv hloov qee qhov qauv piv txwv los ua haujlwm nrog nws.

Kuv ua nws nrog DHT11, BMP180, DS18B20. Yog tias kuv muaj sijhawm, yuav tshaj tawm.

Kauj ruam 2: Kho vajtse

Kho vajtse
Kho vajtse
Kho vajtse
Kho vajtse

Qhov koj xav tau:

- Ib qho arduino Mega lossis lwm lub Rooj Tswjhwm Saib Arduino

- BMP180 sensor

- Nokia 5110 LCD

- Qee cov xov hlau jumper

- Arduino IDE

Tus pinout tau suav nrog hauv daim duab.

Kauj ruam 3: Code

Rub tawm Arduino cov ntaub ntawv, rub tawm cov tsev qiv ntawv, suav nws thiab xa mus rau koj li Arduino board.

*siab = bmp.readPressure () / 98.5; Hloov kho tus nqi no kom tau txais txiaj ntsig ntsuas tau zoo.

Kauj ruam 4: Ua tiav

Koj ua tiav. Siv nws raws li koj nyiam!

Muaj ib hnub zoo!

Pom zoo: