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
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
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
hello nice project, running very well, any command to rotate the oled screen please ?
plz tell the code to use it with an spi oled display
Cool project, gonna order the stuff and create one myself
me too
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
Please tell me how to change time to 12hrs.
how do you flip the screen?
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
Same error here, can not find a fix..
do you use all the same pin as 0:51
You need to define the correct board. Go to Tools -> Boards -> ESP8266 Boards and choose "NodeMCU"
Thanks, good project. It works great.
how can i Flip the Image of the screen?
This can work in Lolin NodeMCU?
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)
Mükemmel bir çalışma
aynen bir pil de olsa tadından yenmez
It works!!thank so much
Eline sağlık.
"JsonListener.h" diye bir dosya yok, ekleyemiyoruz da. Ve sürekli sorun çıkartıyor. Nasıl çözebiliriz ?
Otimo Video, Obrigado Gostei Muito
When I compile it I get error D2 was not declared in this scope, where we made changes.
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?
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.
I can do only with required products?
please make turotial for "nrf24l01-antenna controlled tank with servo for go pro"
It can be made using NodeMCU??
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.
Select the serial port
Thank you mert
can i use esp8285 for this project?
Merhaba. Wemos'un kendi 0.66 inch ekranı var. onunla neden bir şey yapılamıyorum anlayamıyorum.
How can I switch to winter time?
Unfortunately, every time I move to another location, I have to re-upload the code. Does anyone have another way to fix it?
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.
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?
I am doing with wemos d1 mini
Has anyone got a link to the sketch it is no longer in the examples
code please
how to add battery? tutorial plzz
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.
bạn có thể gửi tôi thư viện trạm thời tiết không
How to change temperature readout from C to F?
change the code. Put Metric= false.
but I dont understand how to change time to 12 hrs :/
No own sensor(s)?
can any one send me a link to buy this case please?
where is the code?
How to connect battery in this weather station
With wemos battery shield
How to upload Arduino code to WEMOS ?
wunderground'a bağlayabilir miyiz
You Are The Best Mert Killic !!!!!!!!! I Commit
where is the sketch?
shows me an hour but 2 hours later and the temperature is 0.
I'm from Poland
What to improve?
It's Working now ;) thanks for all! SUBSCRIBE!
how did I manage?
bende saat bir saat ileride görünüyo
final code?
Sir, What is WEMOS?
Is ESP8266 and WEMOS same?
yes
yes
код можно?
Nice video. Music bugs me...
Nice presentation but sketch is loaded with errors. (6 at least) Really should have looked it over first
can u show how u fixed it
@@syed7816 you can try with a different version of arduino ide.
Mert abi neden kendi sesini kullanmiyosun
Hello sir
2nd
Bro api key'i gizleseymişsin keşke..
Fakat çok duru, anlaşılır bir video olmuş ellerine sağlık :)
first 👍❤
Fist second :)
seriously ????????? you made this for " BEGINNERS" ???????
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 ?
SUS