btamv.blogg.se

Easyweather manual
Easyweather manual













easyweather manual

Subs = i //Storing subscriber data in variable 'subs' RemoteMe& remoteMe = RemoteMe::getInstance(TOKEN, DEVICE_ID) Long lastDebounceTime = 0, debounceDelay = 50 //To eliminate button bouncing. String hr //Only needed if you want to display time. * Variables to store data from RemoteMe */ LiquidCrystal lcd(D2, D3, D5, D6, D7, D8) //mapping LCD pins to ESP's pins #define btn D1 //Declare a button variable for push button Let's edit the previous code :- #define WIFI_NAME "WiFi Name" The code needs to be edited in order to work with LCD. With that been done, the connections are ready, Now just have to upload the code. I know this is a bit confusing but check out the pictures to get a better idea. A > +ve rail of breadboard through a 220 ohm resistor.(connect other two terminals to -ve and +ve) V0 > Middle terminal of potentiometer.Now connect the LCD on the breadboard and follow the connections carefully. Connect the other pin of the push button to '+ve' rail of the breadboard. And connect the same pin to 'D2' pin of the MCU. Connect a push button next to the MCU and connect its one pin to '-ve' rail of breadboard through a '220 ohm' resistor. First head to and follow the steps :- (Refer the images above for better understanding)įirst place the NodeMCU board (ESP8266) on a breadboard, Connect its '3.3v' to the '+ve' rail of the breadboard and 'Gnd' to '-ve' rail.

easyweather manual

In this step we will set up variables which will send data to our microcontroller. Step 2: Setting Up Variables at RemoteMe :.

  • NodeMCU or Arduino (If you are using arduino, you will need this module ) or Raspberry pi.
  • I have used the Node MCU which is based on ESP8266, If you are using arduino, you will need ESP WiFi module.

    easyweather manual

    Check out the previous tutorial about RemoteMe here if you haven't already.įor this tutorial all you will need is a microcontroller, it could be Arduino or raspberry pi or as I have used ESP8266. The data will be fetched online so no additional sensors are needed for this one. and display the data on Serial monitor and display it on LCD. And YouTube data like Subscribers & Total view count. In this tutorial I will be sharing how to use ESP8266 to get data like Temperature, Pressure, Climate etc.















    Easyweather manual