How to Make Mini Weather Station for Beginner | ESP8266 | Wemos | Arduino

Поділитися
Вставка
  • Опубліковано 8 вер 2024
  • In this video we will make a mini weather station for us!
    Required Hardware:
    Wemos D1 Mini Pro:
    goo.gl/M7HvGA
    amzn.to/3ftD8XX
    OLED Display I2C:
    goo.gl/Tbofbh
    amzn.to/39twJbM
    Jumper Wires:
    goo.gl/EGTafY
    amzn.to/3doetmT
    DANIU Soldering Tools Kit :
    goo.gl/2oZhtu
    amzn.to/3dgwCRO
    Optional:
    Anet A8 3D Printer
    goo.gl/rpdqQ4
    JGAURORA A3S 3D Printer
    goo.gl/o5pQcb
    Screwdriver Wallet Set
    goo.gl/i75Au5
    amzn.to/3dIJq3o
    Recommended Items:
    Use Your Muscles in Project - amzn.to/3wdL45C
    37 Sensor & Module Packages - amzn.to/3m66WeQ
    Try this Robot Arm - amzn.to/3fq8DCl
    Best Resin 3D Printer - amzn.to/39tY8KB
    Arduino Compatible Kits - bit.ly/2J2AFF7
    Banggood Spring Sale - bit.ly/3slMbOn
    3D Enclosure:
    You can make your enclosure yourself with your own choice, but I will suggest to look in to the nice 3D printed enclosure designed by Qrome. www.thingivers...
    3D Enclosure - www.thingivers...
    ESP8266 Module:
    There are many different modules available based on ESP8266s. If you are a beginner I suggest you use a developer-friendly module like the NodeMCU V1.0 or the Wemos D1 mini.
    OLED Display:
    With the display you also have many options. The OLED library currently supports I2C and SPI for both the SSD1306 and the SH1106 chip.
    Install the ESP8266 package:
    arduino.esp8266...
    Necessary Libraries:
    ESP8266 Weather Station Library
    SSD1306 OLED Library
    Json Streaming Parser Library
    Getting the Open Weather Map API Key:
    openweathermap...
    Track: Lost Sky - Dreams [NCS Release]
    Music provided by NoCopyrightSounds.
    Watch: • Lost Sky - Dreams | Tr...
    Free Download / Stream: ncs.io/DreamsYO

КОМЕНТАРІ • 78

  • @maker101io
    @maker101io  3 роки тому +1

    Recommended Items:
    Use Your Muscles in Project - amzn.to/3wdL45C​
    37 Sensor & Module Packages - amzn.to/3m66WeQ​
    Try this Robot Arm - amzn.to/3fq8DCl​
    Best Resin 3D Printer - amzn.to/39tY8KB​
    Arduino Compatible Kits - bit.ly/2J2AFF7​
    Banggood Spring Sale - bit.ly/3slMbOn​

  • @DaBuzz92
    @DaBuzz92 4 роки тому +2

    One question: is it possible to add configuration function to sketch? For example, weather station tries to connect to WiFi, after fail attemp it Will switch to hotspot. Then You will be able to connect to it with smartphone, configure ssid, pass and city code (easiest Way - via smartphone web browser). At the end, this variables Will be stored on flash. Is it possible? Thx

  • @dimf5kbb977
    @dimf5kbb977 2 роки тому +1

    hello nice project, running very well, any command to rotate the oled screen please ?

  • @magicbox5683
    @magicbox5683 4 роки тому +2

    plz tell the code to use it with an spi oled display

  • @mvpsvable
    @mvpsvable 5 років тому

    Cool project, gonna order the stuff and create one myself

  • @John_Atkinson
    @John_Atkinson 4 роки тому

    Just did this as my first dabble into Arduino didnt have a pro but had a basic d1mini works perfectly once i figured out the pins cheers m8

  • @hussnain.k
    @hussnain.k 4 роки тому +1

    Please tell me how to change time to 12hrs.

  • @cnx00x
    @cnx00x 4 роки тому +1

    how do you flip the screen?

  • @C3lt1cbl00d
    @C3lt1cbl00d 4 роки тому +1

    WeatherStationDemo:61:21: error: 'D2' was not declared in this scope
    const int SDA_PIN = D2;
    ^
    WeatherStationDemo:62:21: error: 'D5' was not declared in this scope
    const int SDC_PIN = D5;
    ^
    exit status 1
    'D2' was not declared in this scope
    'D2' was not declared in this scope !!!!!!!!!
    This problem stay all the time and i don 't know how resolve it . Please advise me . Thanks in forwards

    • @kenttimm
      @kenttimm 3 роки тому

      Same error here, can not find a fix..

    • @adamiskandar7845
      @adamiskandar7845 2 роки тому

      do you use all the same pin as 0:51

    • @Xotecs
      @Xotecs 2 роки тому

      You need to define the correct board. Go to Tools -> Boards -> ESP8266 Boards and choose "NodeMCU"

  • @1024klase
    @1024klase 4 роки тому

    Thanks, good project. It works great.

  • @astropilot2053
    @astropilot2053 День тому

    how can i Flip the Image of the screen?

  • @pratikgk9384
    @pratikgk9384 4 роки тому +1

    This can work in Lolin NodeMCU?

  • @frodemolland6249
    @frodemolland6249 5 років тому

    Hi, got this somewhat working... I dont know if I got the correct oled, but mine is not showing as good as yours, mine is blurry and also weather not correct, but maybe the api need some hours to get correct ? (just signed up there today)

  • @electronic7979
    @electronic7979 6 років тому +2

    Mükemmel bir çalışma

    • @Mebakanı
      @Mebakanı Рік тому

      aynen bir pil de olsa tadından yenmez

  • @lou5400
    @lou5400 2 роки тому

    It works!!thank so much

  • @ArduinoBey
    @ArduinoBey 6 років тому +2

    Eline sağlık.

  • @uretkenrobot1488
    @uretkenrobot1488 5 років тому +1

    "JsonListener.h" diye bir dosya yok, ekleyemiyoruz da. Ve sürekli sorun çıkartıyor. Nasıl çözebiliriz ?

  • @fabiano_bim
    @fabiano_bim 5 років тому

    Otimo Video, Obrigado Gostei Muito

  • @iambyrdman
    @iambyrdman 3 роки тому

    When I compile it I get error D2 was not declared in this scope, where we made changes.

  • @joschka4036
    @joschka4036 5 років тому

    Hello
    Can you help me please?
    how can change the code that the weather station 5 minutes indicates the data,
    then the display extinguishes in ESP8266 and 5 minutes go to sleep?
    After 5 minutes begins at the beginning again.Can you me help please?

  • @americanpsychosis11
    @americanpsychosis11 4 роки тому

    I did everything according to tutorial. The only thing I can see different, is that I guess after update, instead of state and country for location, it asks for a 7 digit location code. I entered that, and it gets stuck in a loop at updating local weather. If I enter a state then a "," then 7 digits then it goes through. I get time and date, but no weather information. I did according to instructions. I am just about to give up. I do no know what I am doing wrong, and it is bugging the crap out of me.

  • @nikolaoskarountzos3172
    @nikolaoskarountzos3172 6 років тому

    I can do only with required products?

  • @xyzap
    @xyzap 6 років тому

    please make turotial for "nrf24l01-antenna controlled tank with servo for go pro"

  • @ayushsinha7416
    @ayushsinha7416 4 роки тому

    It can be made using NodeMCU??

  • @autocrashrepairsfromhome3168
    @autocrashrepairsfromhome3168 5 років тому

    anyone know what this means : Sketch uses 257096 bytes (24%) of program storage space. Maximum is 1044464 bytes.
    Global variables use 26540 bytes (32%) of dynamic memory, leaving 55380 bytes for local variables. Maximum is 81920 bytes.
    Serial port not selected.

    • @amiro_im
      @amiro_im 2 роки тому

      Select the serial port

  • @muhammadalghifari1057
    @muhammadalghifari1057 6 років тому

    Thank you mert

  • @ZuNunchaku
    @ZuNunchaku 3 роки тому

    can i use esp8285 for this project?

  • @melihapa3884
    @melihapa3884 2 роки тому

    Merhaba. Wemos'un kendi 0.66 inch ekranı var. onunla neden bir şey yapılamıyorum anlayamıyorum.

  • @rolfburri7780
    @rolfburri7780 2 роки тому

    How can I switch to winter time?

  • @thiphamduy6813
    @thiphamduy6813 2 роки тому

    Unfortunately, every time I move to another location, I have to re-upload the code. Does anyone have another way to fix it?

  • @didiersee
    @didiersee 5 років тому

    Congratulations is possible you give me a link for downloading code without the need for installation to have the example?
    I would like to check the code before installing. Thank you very much.

  • @projektowanie3ddruk3d99
    @projektowanie3ddruk3d99 4 роки тому

    It does not show me the temperature only 0 degrees, this graphic does not show with the temperature cloud for the next days also 0.
    It only shows the time and date well.
    What can I do to make it work?

  • @acestu
    @acestu 4 роки тому

    Has anyone got a link to the sketch it is no longer in the examples

  • @PDHiepp
    @PDHiepp 10 годин тому

    code please

  • @adamiskandar7845
    @adamiskandar7845 2 роки тому

    how to add battery? tutorial plzz

  • @rochmatjayaputra8104
    @rochmatjayaputra8104 5 років тому

    proble why, pleasee help meee?
    Arduino: 1.8.5 (Windows 7), Board: "WeMos D1 mini Pro, 80 MHz, 16M (15M SPIFFS), v2 Prebuilt (MSS=536), Disabled, None, 921600"
    WARNING: Category 'Real-time clock' in library DS3231 is not valid. Setting to 'Uncategorized'
    WARNING: Category 'Real-time clock' in library DS3231 is not valid. Setting to 'Uncategorized'
    Build options changed, rebuilding all
    C:\Users
    ochmat\AppData\Local\Temp\arduino_modified_sketch_426052\WeatherStationDemo.ino: In function 'void setup()':
    WeatherStationDemo:163: error: invalid conversion from 'const uint8_t* {aka const unsigned char*}' to 'const char*' [-fpermissive]
    display.drawXbm(46, 30, 8, 8, counter % 3 == 0 ? activeSymbole : inactiveSymbole);
    ^
    In file included from C:\Users
    ochmat\Documents\Arduino\libraries\ESP8266_and_ESP32_Oled_Driver_for_SSD1306_display/SSD1306Wire.h:31:0,
    from C:\Users
    ochmat\AppData\Local\Temp\arduino_modified_sketch_426052\WeatherStationDemo.ino:35:
    C:\Users
    ochmat\Documents\Arduino\libraries\ESP8266_and_ESP32_Oled_Driver_for_SSD1306_display/OLEDDisplay.h:161:10: error: initializing argument 5 of 'void OLEDDisplay::drawXbm(int16_t, int16_t, int16_t, int16_t, const char*)' [-fpermissive]
    void drawXbm(int16_t x, int16_t y, int16_t width, int16_t height, const char *xbm);
    ^
    WeatherStationDemo:164: error: invalid conversion from 'const uint8_t* {aka const unsigned char*}' to 'const char*' [-fpermissive]
    display.drawXbm(60, 30, 8, 8, counter % 3 == 1 ? activeSymbole : inactiveSymbole);
    ^
    In file included from C:\Users
    ochmat\Documents\Arduino\libraries\ESP8266_and_ESP32_Oled_Driver_for_SSD1306_display/SSD1306Wire.h:31:0,
    from C:\Users
    ochmat\AppData\Local\Temp\arduino_modified_sketch_426052\WeatherStationDemo.ino:35:
    C:\Users
    ochmat\Documents\Arduino\libraries\ESP8266_and_ESP32_Oled_Driver_for_SSD1306_display/OLEDDisplay.h:161:10: error: initializing argument 5 of 'void OLEDDisplay::drawXbm(int16_t, int16_t, int16_t, int16_t, const char*)' [-fpermissive]
    void drawXbm(int16_t x, int16_t y, int16_t width, int16_t height, const char *xbm);
    ^
    WeatherStationDemo:165: error: invalid conversion from 'const uint8_t* {aka const unsigned char*}' to 'const char*' [-fpermissive]
    display.drawXbm(74, 30, 8, 8, counter % 3 == 2 ? activeSymbole : inactiveSymbole);
    ^
    In file included from C:\Users
    ochmat\Documents\Arduino\libraries\ESP8266_and_ESP32_Oled_Driver_for_SSD1306_display/SSD1306Wire.h:31:0,
    from C:\Users
    ochmat\AppData\Local\Temp\arduino_modified_sketch_426052\WeatherStationDemo.ino:35:
    C:\Users
    ochmat\Documents\Arduino\libraries\ESP8266_and_ESP32_Oled_Driver_for_SSD1306_display/OLEDDisplay.h:161:10: error: initializing argument 5 of 'void OLEDDisplay::drawXbm(int16_t, int16_t, int16_t, int16_t, const char*)' [-fpermissive]
    void drawXbm(int16_t x, int16_t y, int16_t width, int16_t height, const char *xbm);
    ^
    WeatherStationDemo:175: error: invalid conversion from 'const uint8_t* {aka const unsigned char*}' to 'const char*' [-fpermissive]
    ui.setActiveSymbol(activeSymbole);
    ^
    In file included from C:\Users
    ochmat\AppData\Local\Temp\arduino_modified_sketch_426052\WeatherStationDemo.ino:36:0:
    C:\Users
    ochmat\Documents\Arduino\libraries\ESP8266_and_ESP32_Oled_Driver_for_SSD1306_display/OLEDDisplayUi.h:243:10: error: initializing argument 1 of 'void OLEDDisplayUi::setActiveSymbol(const char*)' [-fpermissive]
    void setActiveSymbol(const char* symbol);
    ^
    WeatherStationDemo:176: error: invalid conversion from 'const uint8_t* {aka const unsigned char*}' to 'const char*' [-fpermissive]
    ui.setInactiveSymbol(inactiveSymbole);
    ^
    In file included from C:\Users
    ochmat\AppData\Local\Temp\arduino_modified_sketch_426052\WeatherStationDemo.ino:36:0:
    C:\Users
    ochmat\Documents\Arduino\libraries\ESP8266_and_ESP32_Oled_Driver_for_SSD1306_display/OLEDDisplayUi.h:248:10: error: initializing argument 1 of 'void OLEDDisplayUi::setInactiveSymbol(const char*)' [-fpermissive]
    void setInactiveSymbol(const char* symbol);
    ^
    C:\Users
    ochmat\AppData\Local\Temp\arduino_modified_sketch_426052\WeatherStationDemo.ino: In function 'void drawCurrentWeather(OLEDDisplay*, OLEDDisplayUiState*, int16_t, int16_t)':
    WeatherStationDemo:284: error: invalid conversion from 'const uint8_t* {aka const unsigned char*}' to 'const char*' [-fpermissive]
    display->setFont(Meteocons_Plain_36);
    ^
    In file included from C:\Users
    ochmat\Documents\Arduino\libraries\ESP8266_and_ESP32_Oled_Driver_for_SSD1306_display/SSD1306Wire.h:31:0,
    from C:\Users
    ochmat\AppData\Local\Temp\arduino_modified_sketch_426052\WeatherStationDemo.ino:35:
    C:\Users
    ochmat\Documents\Arduino\libraries\ESP8266_and_ESP32_Oled_Driver_for_SSD1306_display/OLEDDisplay.h:187:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const char*)' [-fpermissive]
    void setFont(const char *fontData);
    ^
    C:\Users
    ochmat\AppData\Local\Temp\arduino_modified_sketch_426052\WeatherStationDemo.ino: In function 'void drawForecastDetails(OLEDDisplay*, int, int, int)':
    WeatherStationDemo:304: error: invalid conversion from 'const uint8_t* {aka const unsigned char*}' to 'const char*' [-fpermissive]
    display->setFont(Meteocons_Plain_21);
    ^
    In file included from C:\Users
    ochmat\Documents\Arduino\libraries\ESP8266_and_ESP32_Oled_Driver_for_SSD1306_display/SSD1306Wire.h:31:0,
    from C:\Users
    ochmat\AppData\Local\Temp\arduino_modified_sketch_426052\WeatherStationDemo.ino:35:
    C:\Users
    ochmat\Documents\Arduino\libraries\ESP8266_and_ESP32_Oled_Driver_for_SSD1306_display/OLEDDisplay.h:187:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const char*)' [-fpermissive]
    void setFont(const char *fontData);
    ^
    Multiple libraries were found for "Wire.h"
    Used: C:\Users
    ochmat\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0\libraries\Wire
    Not used: C:\Users
    ochmat\Documents\Arduino\libraries\Wire-master
    Not used: C:\Users
    ochmat\Documents\Arduino\libraries\Wire
    Not used: C:\Program Files (x86)\Arduino\libraries\Wire-master
    Not used: C:\Program Files (x86)\Arduino\libraries\Wire
    exit status 1
    invalid conversion from 'const uint8_t* {aka const unsigned char*}' to 'const char*' [-fpermissive]
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

  • @ThọLe-x7f
    @ThọLe-x7f 26 днів тому

    bạn có thể gửi tôi thư viện trạm thời tiết không

  • @rufus4779
    @rufus4779 4 роки тому

    How to change temperature readout from C to F?

    • @hussnain.k
      @hussnain.k 4 роки тому +2

      change the code. Put Metric= false.
      but I dont understand how to change time to 12 hrs :/

  • @WaldiShrek
    @WaldiShrek 6 років тому

    No own sensor(s)?

  • @malithgamage7863
    @malithgamage7863 5 років тому

    can any one send me a link to buy this case please?

  • @jbludwick21
    @jbludwick21 7 місяців тому

    where is the code?

  • @akhilaru7311
    @akhilaru7311 5 років тому

    How to connect battery in this weather station

    • @janaboy82
      @janaboy82 5 років тому

      With wemos battery shield

  • @bhavindedhia9968
    @bhavindedhia9968 6 років тому

    How to upload Arduino code to WEMOS ?

  • @sarptunayldrm8235
    @sarptunayldrm8235 3 роки тому

    wunderground'a bağlayabilir miyiz

  • @dhruvjyotidas3386
    @dhruvjyotidas3386 6 років тому

    You Are The Best Mert Killic !!!!!!!!! I Commit

  • @petzi8695
    @petzi8695 4 роки тому

    where is the sketch?

  • @projektowanie3ddruk3d99
    @projektowanie3ddruk3d99 4 роки тому

    shows me an hour but 2 hours later and the temperature is 0.
    I'm from Poland
    What to improve?

  • @MehmeTeknoGaming
    @MehmeTeknoGaming 2 місяці тому

    bende saat bir saat ileride görünüyo

  • @wowtheworldchannel
    @wowtheworldchannel 5 років тому

    final code?

  • @rengoku_07
    @rengoku_07 6 років тому

    Sir, What is WEMOS?
    Is ESP8266 and WEMOS same?

  • @Ylamona
    @Ylamona Рік тому

    код можно?

  • @martinkonz3495
    @martinkonz3495 5 років тому

    Nice video. Music bugs me...

  • @rodjara8506
    @rodjara8506 5 років тому

    Nice presentation but sketch is loaded with errors. (6 at least) Really should have looked it over first

    • @syed7816
      @syed7816 5 років тому

      can u show how u fixed it

    • @technicahmett
      @technicahmett 5 років тому

      @@syed7816 you can try with a different version of arduino ide.

  • @Furkan-jo3kd
    @Furkan-jo3kd 6 років тому

    Mert abi neden kendi sesini kullanmiyosun

  • @tarunkumardahake1578
    @tarunkumardahake1578 5 років тому

    Hello sir

  • @avishattri5882
    @avishattri5882 6 років тому +1

    2nd

  • @batuhanegesen
    @batuhanegesen 5 років тому

    Bro api key'i gizleseymişsin keşke..

    • @batuhanegesen
      @batuhanegesen 5 років тому

      Fakat çok duru, anlaşılır bir video olmuş ellerine sağlık :)

  • @samilcanselklc7232
    @samilcanselklc7232 6 років тому

    first 👍❤

  • @ahmetcat6389
    @ahmetcat6389 6 років тому

    Fist second :)

  • @wasanthawimaladharm
    @wasanthawimaladharm 4 роки тому +1

    seriously ????????? you made this for " BEGINNERS" ???????

  • @sudhirrajesh55
    @sudhirrajesh55 6 років тому

    Mert Kilic , i have watched all your videos and have tried a lot of them. Some did not work and i have doubt.Can I get your mail address ?

  • @cookiedonut97
    @cookiedonut97 2 роки тому

    SUS