nokia

nokia

Arduino Project: Weather Station Project with ATMEGA328P, DHT22, BMP180, BH1750 and a Nokia 5110 LCD

3h ago
SOURCE  

Description

This is an Arduino powered Weather Station Project that can run on batteries for almost a year! In order to achieve that we use a bare ATMEGA328 chip along with some accurate sensors. We use the DHT22 temperature and humidity sensor, a BMP180 barometric pressure sensor, a BH1750 light intensity sensor 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 -------------------- ATMEGA328: http://bit.ly/atmega_chip 16Mhz Crystal: http://goo.gl/bdZibi NOKIA 5110 DISPLAY: http://bit.ly/Nokia5110 BMP180: http://goo.gl/06vesf BH1750: http://goo.gl/NrJ1Rr DHT22: http://goo.gl/Zjp6s6 Breadboad: http://goo.gl/gqd3wo FTDI programmer: http://goo.gl/UxGthx Jumper wires: http://goo.gl/ZAmhfR Battery Case: http://goo.gl/qmVHyn Multimeter: http://goo.gl/osD2bH The parts needed in order to build this project are these: • An ATMEGA328 chip with the Arduino Uno bootloader • A 16Mhz Crystal • A Nokia 5110 LCD display • A BMP180 barometric pressure sensor • A BH1750 light intensity sensor • A DHT22 temperature and humidity sensor • A breadboard and some wires In order to program the ATMEGA chip we are going to need a programmer like this one, or if you don’t have one, all we need is an Arduino Uno board like this one. The cost of the project is less than 15$ and we are using some of the most accurate sensors available so the readings we are going to get will be very accurate. 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 BH1750 sensor. The sensor gives us the light intensity in lux. If the light intensity is less than 30 lux, we disable the LCD display in order to conserve power and we sleep for two minutes. If the light intensity is more than 30 lux, 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 ATMEGA chip. After we wake up, the loop start’s over again. As always you can find the code of the project in a link in the description of the video. -------------------- LIBRARIES -------------------- LowPower: https://github.com/rocketscream/Low-Power Nokia 5110: http://www.rinkydinkelectronics.com/library.php?id=48 BH1750: https://github.com/claws/BH1750 BMP180: https://github.com/LowPowerLab/SFE_BMP180 -------------------- CODE OF THE PROJECT -------------------- http://educ8s.tv/arduino-weather-station-project/ -------------------- QUIZ OF KNOWLEDGE ANDROID GAME -------------------- You can download my latest Android Game which is called Quiz of knowledge here: https://play.google.com/store/apps/details?id=com.educ8s.triviaquiz2015 -------------------- MORE PROJECTS -------------------- Arduino Datalogger: https://www.youtube.com/watch?v=oei3Y6tOhVI Arduino Weather Station Project: https://www.youtube.com/watch?v=9jN-3DtS1RI Arduino Nokia 5110 LCD Display: https://www.youtube.com/watch?v=aDwrMeu4k9Y Arduino OLED display tutorial: https://www.youtube.com/watch?v=A9EwJ7M7OsI DIY Arduino: https://www.youtube.com/watch?v=npc3uzEVvc0 -------------------- ABOUT EDUC8S.TV -------------------- Educ8s.tv is a Youtube channel and website which is dedicated in developing high quality videos about DIY hardware and software projects. In this channel we develop projects with Arduino, Raspberry Pi, we build robots and simple electronic circuits. Check out our website as well for more information: http://www.educ8s.tv -------------------- SUBSCRIBE ON YOUTUBE -------------------- Never miss a video: Never miss a video: https://www.youtube.com/subscription_center?add_user=educ8s