This is an Arduino Weather Station Project that can run on batteries for almost a month! In order to achieve that we use an Arduino Pro Mini running at 8MHz along with some accurate sensors. We use the DHT22 temperature and humidity sensor, a BMP180 barometric pressure sensor, a photoresistor and a Nokia 5110 LCD display. We use the low power library in order to greatly reduce the power consumption of the project and we disable the lcd display when it is night.

——————–
WHERE TO BUY
——————–

1. Arduino pro mini: https://educ8s.tv/part/ArduinoProMini

2. Nokia 5110 LCD display: https://educ8s.tv/part/NOKIA5110

3. DHT22 sensor: https://educ8s.tv/part/DHT22

4. BMP180 sensor: https://educ8s.tv/part/BMP180

5. A photoresistor: https://educ8s.tv/part/Photoresistors

6. A 100KΩ resistor: https://educ8s.tv/part/Resistors

7. AA battery holder: https://educ8s.tv/part/BatteryHolderAA

8. Wires: https://educ8s.tv/part/Wires

9. Large Breadboard: https://educ8s.tv/part/LargeBreadboard

10. Multimeter: https://educ8s.tv/part/Multimeter

11. FTDI programmer: https://educ8s.tv/part/FTDI

The parts needed in order to build this project are these:
• An Arduino Pro Mini
• A Nokia 5110 LCD display
• A BMP180 barometric pressure sensor
• A DHT22 temperature and humidity sensor
• A breadboard and some wires

The code is simple. In every loop of the program the first thing we do is to read the light intensity of the environment using the photoresistor. The sensor gives us the light intensity in percent. If the light intensity is less than 15%, we disable the LCD display in order to conserve power and we sleep for two minutes. If the light intensity is more than 15%, we enable the LCD display we read the values from the sensors, we update the display and we go to sleep for two minutes. The sleep function uses the Low Power library which greatly reduces the power consumption of the Arduino Pro Mini. After we wake up, the loop start’s over again. As always you can find the code of the project in a link below.

——————–

LIBRARIES
——————–

LowPower: https://github.com/rocketscream/Low-Power
Nokia 5110: http://www.rinkydinkelectronics.com/library.php?id=48
BMP180: https://github.com/LowPowerLab/SFE_BMP180

[adsense]

——————–

CODE OF THE PROJECT
——————–

 

 

 

 

SUBSCRIBE ON YOUTUBE

——————–

Never miss a video: Subscribe to educ8s.tv