B4R Tutorial Mini Weather Station with LCD

Hi,

a Mini Weather Station experiment displaying on a 16x2 LCD the Temperature + Humidity (Line1) and Pressure + Altitude (Line2).
In addition, a trendindicator (=,+,-) is shown for each measure.
A timer updates the measures every 5 seconds.
The LCD brightness is set with the poti.

Components
Arduino UNO, LCD Display 16x2, BMP180 Sensor (Barometer), DHT11 Sensor (Temperature + Humidity)
Libraries
rLiquidCrystal, rSFE_BMP180 (thanks to @Erel), rDHT (thanks to @inakigarm)

Circuit
upload_2016-6-13_15-30-13.png


Code
The B4R documented code is attached. Overall pretty simple.
The wiring connections are listed in the B4R project file.

Prototype = bit of wire jungle ;) as it also contains LEDs and RTC (but not used for this experiment)
upload_2016-6-14_9-25-42.png


Updates
2016-06-14: Trend Indicator using special characters (Arrow Up, Down, Equal)
 

Attachments

  • B4RHowToLiquidCrystalWeather.zip
    114.6 KB · Views: 714
Last edited:
Top