Differences

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

Link to this comparison view

pm:prj2023:avaduva:wstation [2023/05/29 06:28]
malina.popa [Hardware Design]
pm:prj2023:avaduva:wstation [2023/05/30 13:16] (current)
malina.popa [Software Design]
Line 38: Line 38:
  
 ==For the LCD 16x2== ==For the LCD 16x2==
-   ​- ​VSS pin on the LCD to the GND pin on the sensor DHT11; +   ​- ​VDD pin on the LCD to the VCC pin on the sensor DHT11; 
-  -  ​VDD pin on the LCD to the VCC pin on the sensor DHT11;+  -  ​VSS pin on the LCD to the GND pin on the sensor DHT11;
   -  RS pin on the LCD to digital pin 12 on Arduino Uno;   -  RS pin on the LCD to digital pin 12 on Arduino Uno;
   -  E pin on the LCD to digital pin 11 on Arduino Uno;   -  E pin on the LCD to digital pin 11 on Arduino Uno;
Line 92: Line 92:
  
 ''#​include <​Adafruit_Sensor.h>''​ ''#​include <​Adafruit_Sensor.h>''​
 +
 ''#​include <​Adafruit_BMP085.h>''​ ''#​include <​Adafruit_BMP085.h>''​
  
Line 106: Line 107:
 ''​if (!bmp.begin()) {''​ ''​if (!bmp.begin()) {''​
  
-    ​''​lcd.print("​BMP180 error!"​);''​+''​lcd.print("​BMP180 error!"​);''​
     ​     ​
-    ​''​while (1);''​+''​while (1);''​
     ​     ​
  ''​ }''​  ''​ }''​
pm/prj2023/avaduva/wstation.1685330925.txt.gz · Last modified: 2023/05/29 06:28 by malina.popa
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