Differences

This shows you the differences between two versions of the page.

Link to this comparison view

pm:prj2023:avaduva:cloud_weather_station [2023/05/28 14:31]
kyra.radulescu [Software Design]
pm:prj2023:avaduva:cloud_weather_station [2023/05/28 15:00] (current)
kyra.radulescu [Results Obtained]
Line 53: Line 53:
 5. breadboard 5. breadboard
  
-{{:pm:​prj2023:​avaduva:​hardwarekyra.jpeg?​600}}+**How to connect the I2C LCD to Arduino UNO:**
  
 +{{:​pm:​prj2023:​avaduva:​lcdkyra.jpeg?​600}}
  
 +After connecting the I2C LCD to Arduino UNO, we will **connect the DHT22 temperature and humidity sensor** too.
 +
 +{{:​pm:​prj2023:​avaduva:​dht22kyra.jpg?​600}}
 +
 +
 +After connecting both the **I2C LCD** and **DHT22** temperature and humidity sensor, **the setup looks like this:**
 +
 +{{:​pm:​prj2023:​avaduva:​hardwarekyra.jpeg?​600}}
 ===== Software Design ===== ===== Software Design =====
  
Line 71: Line 80:
 //Constants //Constants
 #​define ​ DHT22_PIN 8     // pin used for DHT22  #​define ​ DHT22_PIN 8     // pin used for DHT22 
-LiquidCrystal_I2C lcd(0x27,​16,​2); ​ // set the LCD address to 0x27 after finding it from serial monitor for a 16 chars and 2 line display+LiquidCrystal_I2C lcd(0x27,​16,​2); ​ // set the LCD address to 0x27 after finding it from serial monitor for a 16 chars and 2 line display ​//
  
 //Variables //Variables
 float hum;  //​Stores ​ humidity value float hum;  //​Stores ​ humidity value
-float temp; //Stores temperature value+float temp; //Stores temperature value //
  
 void setup() void setup()
Line 105: Line 114:
 ===== Results Obtained ===== ===== Results Obtained =====
  
 +I obtained a great thermometer that I can use in my house or anywhere else. You just need to plug it to a power source and it will tell you the humidity and temperature wherever you are.
  
 ===== Conclusions ===== ===== Conclusions =====
 +
 +Try using genuine arduino wifi boards, some of the other ones are not well maintained in matters of drivers. I've had problems for days with the NODEMCU ESP8266 wifi because the micro sub to usb drivers do not work and the board is simply unusable. I tried 7 different micro usb cables, tried programming it with 3 different computers with the drivers installed on each one. **NOTHING WORKED**. Checked arduino.cc forum and most people have the same issue, it's unusable. I chose to change my project a little bit so I can work it out.
 +Instead of making it read data from sensors and transmit them to arduino IoT cloud, I made it read the data from the sensors and show it on an LCD screen. Now it works perfectly fine, the only thing i need to find now is a power source.
  
  
 +I recommend informing yourself about the things you want to buy if they'​re not genuine since some of them have issues and **will not work**, making it a hard time for you.
 ===== Download ===== ===== Download =====
  
Line 117: Line 131:
 ===== Bibliography/​Resources ===== ===== Bibliography/​Resources =====
  
 +https://​lastminuteengineers.com/​dht11-dht22-arduino-tutorial/​
 +https://​lastminuteengineers.com/​i2c-lcd-arduino-tutorial/​
 +https://​forum.arduino.cc/​
 +https://​www.ardumotive.com/​how-to-use-dht-22-sensor-en.html
 +https://​www.instructables.com/​How-to-Connect-I2C-Lcd-Display-to-Arduino-Uno/​
 +https://​www.circuitgeeks.com/​arduino-i2c-lcd-tutorial/​
  
 <​html><​a class="​media mediafile mf_pdf"​ href="?​do=export_pdf">​Export to PDF</​a></​html>​ <​html><​a class="​media mediafile mf_pdf"​ href="?​do=export_pdf">​Export to PDF</​a></​html>​
  
pm/prj2023/avaduva/cloud_weather_station.1685273516.txt.gz · Last modified: 2023/05/28 14:31 by kyra.radulescu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0