Home
About Us
Achievement
Home
Raspberry-Pi Projects
_Raspberry Pi 4 Complete Guide
Arduino Project
_All Projects
Esp8266 Project
_All Projects
Esp32 Project
_Automation-with-feedback
Air Quality Measuring System
Just Do Electronics
April 23, 2022
Circuit Diagram :-
Code :-
//Prateek //wwww.prateeks.in //https://www.youtube.com/c/JustDoElectronics/videos #include
#include
#include
LiquidCrystal lcd(12, 11, 10, 9, 8, 7);//RS,EN,D4,D5,D6,D7 char PRESSURESHOW[4];// initializing a character of size 4 for showing the result char TEMPARATURESHOW[4];// initializing a character of size 4 for showing the temparature result Adafruit_BMP085 bmp; void setup() { lcd.begin(16, 2); // Print a logo message to the LCD. lcd.print(" BMP180 Sensor"); lcd.setCursor(0, 1); lcd.print("Temp. & Pressure"); lcd.setCursor(0, 2); delay (3000); lcd.clear();//clear display Serial.begin(9600); if (!bmp.begin()) { Serial.println("ERROR");///if there is an error in communication while (1) {} } } void loop() { lcd.print("Pressure= "); // print name String PRESSUREVALUE = String(bmp.readPressure()); // convert the reading to a char array PRESSUREVALUE.toCharArray(PRESSURESHOW, 4); lcd.print(PRESSURESHOW); lcd.print("hPa "); lcd.setCursor(0, 1); lcd.print("Temparature=");// print name String TEMPARATUREVALUE = String(bmp.readTemperature()); // convert the reading to a char array TEMPARATUREVALUE.toCharArray(TEMPARATURESHOW, 4); lcd.print(TEMPARATURESHOW); lcd.print("C "); lcd.setCursor(0, 0);//set the cursor to column 0, line1 delay(500); }
Video :-
0 Comments
Newer
Older
Build Your Own Gps Tracking System using Arduino
How To Make RFID & Keypad Based Door Lock
IoT Based Fingerprint Biometric Attendance System Using NodeMCU (Esp8266)
ESP32 Interfacing With LDR Sensor
Ultrasonic Sensor as a Counter with Arduino
IoT Based Patient Health Monitoring System Using Blynk App
Nodemcu Interfacing With Em-18
OTP Based Door Lock Using Arduino And SIM800L
MLX90614 Non-Contact Infrared Thermometer With Arduino
Esp32 Cam Based Face Unlock
YouTube
Like on Facebook
Follow on Twitter
Follow on Google+
Follow on Instagram
Subscribe on Youtube
Hi WelCome To My Website If you have a creative mind and want to learn Electronics even without studying it then FRIENDS this Website And Youtube Channel is for you, I am crazy creators who love making Electronics things. I have a bunch of more than 130 Tutorial Videos on My YouTube Channel and I upload a new Tutorial every Sunday.
Tags
Arduino Project
Esp32 Project
Esp8266 Project
0 Comments