|
|
NHD-3.12-25664UCW2Newhaven Display Intl
|
x 1 | |
|
|
DHT11广州奥松
|
x 1 | |
|
|
BMP280 |
x 1 |
|
arduino IDEArduino
|
|
|
fritzing |
Atmospheric detector
Hi, I'm Antonio I made this project to control atmospheric variations I used an arduino uno a dht 11 to measure the temperature and humidity and a bmp 280 these sensors are managed by a software that manages the values ??and communicates them to an lcd display in time real
#include<DHT.h>
#include<LiquidCrystal.h>
//#include <Ethernet.h>
int pinLed = 4;
DHT dht (7, DHT11);
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
void setup() {
dht.begin();
lcd.begin(16,2);
pinMode(pinLed, OUTPUT);
analogWrite(pinLed, 10);
}
void loop() {
delay(1000);
int t = dht.readTemperature();
int h = dht.readHumidity();
lcd.clear();
lcd.setCursor(0,0);
lcd.print("Temp: " + String(t) + char(0xDF) + "C");
lcd.setCursor(0,1);
lcd.print("Umid: " + String(h) + "%");
}
Atmospheric detector
Project images are for reference only. Actual production is based on the manufacturing files on the project page.
Please review the designer's notes (e.g., PCB thickness) and select the appropriate options.
PCBWay is not responsible
for issues caused by unsuitable parameter selections.
For more important ordering information, please refer to
Read More
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- Comments(0)
- Likes(0)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Antonio06 Antonio06
-
Émetteur Récepteur Optique Expérimental (communication UART ATtiny + fibre optique)
153 0 1 -
SmallOLED - Live PC Stats, Animated Clocks & Audio Visualizer
1004 0 3 -
"Talking Multimeter": Arduino-Based Speech Add-on for Multimeters with SCPI Protocol
575 0 1 -
Programmable Mist Maker - XIAO / QT PY Extension
3045 2 3 -
RadioHAT - Raspberry Pi radio development platform
2591 0 4 -
QWIIC-VL53L4CD Time-of-Flight Distance Sensor Module
2819 0 2 -
-







