DIY #2 WEATHER STATION WITH NODEMCU ESP8266, OLED DISPLAY AND DHT11 WITH EASY TO FOLLOW INSTRUCTIONS

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this video we will learn how to make this weather station things you will need esp8266 based node mcu dht 11 100 and 28 by 64 led display prototyping board and jumper wires let us make the connections connect the vcc pin of oled and dht 11 to 3.3 volt pin ground to the ground pin d3 on the node mcu to the output of the dht 11 sda to sda scl to scl now we will make all the connections on the prototyping board note that both the oled and dht work with 3.3 volt input [Music] now we will look at the libraries and the codes involved make sure you have the esp 8266 board manager installed select the board you are using in this case it's the node mcu [Music] the first library required is the esp8266 weather station [Music] next we need the esp8266 drivers for ssd1306 displays library [Music] next comes the json streaming parser library i will now show you the weather station demo example that we get from the weather station library it is a good to go example with a few adjustments but does not include the dht11 part of the code we will now take a look at my edited version of the code and understand it [Music] let's download the library for the dht support before we proceed it goes by the name dhtlib [Music] [Applause] [Music] [Applause] enter the name of your wi-fi and its password in these fields [Music] enter the hours and minutes you are ahead of gmt time for india it is gmt plus 530 10 is the interval in minutes between every refresh of the on-screen internet data sda is connected to d2 pin in scl to d1 pin this is the address of your oled you need this api key to connect to the website open weather map and get the weather data now i will show you how [Music] sign up first then login into the website now follow the steps to get the api key and paste it into your code [Music] [Applause] now you need your location id if you are outside the united states follow the steps to get that enter the code for your desired language all the codes are mentioned above these are the days and months representations and will be shown in the same way in your gui these are the number of frames in my edited code and the name of all those frames are mentioned here here you select the pin to which your dht is connected [Music] we use this to decide the direction the frames slide to this code in the setup is used to show my logo and some starting text which takes about 30 seconds [Music] this is also the amount of time the device will need to refresh and show the correct data when first starting [Music] here all the functions are defined for the various frame data and for the working of the weather station i have added functions for displaying the room temperature and humidity from the dht11 these are all the various other functions go through them and you will understand them now let us upload the code and see it work it takes about one to two minutes to upload the code you can check the description for the code and various other details regarding the weather station [Music] if you enjoyed the video consider a like and subscribe
Info
Channel: HACKOPAULIS
Views: 15,793
Rating: undefined out of 5
Keywords:
Id: 6-oLPSTG4GM
Channel Id: undefined
Length: 7min 10sec (430 seconds)
Published: Mon May 03 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.