Тёмный
No video :(

ESP8266 Internet Clock, Weather Station and Information Display 

cbm80amiga
Подписаться 10 тыс.
Просмотров 70 тыс.
50% 1

Another quick project. Quick - because I had almost everything ready. The only thing I had to learn is JSON and HTML parsing from the internet sources.
Features:
- my old ESP-01 module which I finally found good application for (now you can buy better cheap ESPs)
- 6x LEDMatrix module with MAX7219 driver
- supplied directly from USB port thanks to convenient 3.3V voltage regulator with USB plug
- all data are synchronized every 7-8 minutes
- time and date are taken from google.com
- weather informations are grabbed from openweather.org JSON api
- currency rates are grabbed from HTML page
- in the future also other news and infos grabbing can be possible
- no hardware RTC clock is necessary
- no temperature, humidity or pressure sensor
Connections are pretty trivial:
- DataIn to GPIO2
- Load/CS to GPIO1
- Clk to GPIO0
- CH_PD connect to VCC via pullup resistor 10kohm
- 100nF capacitor soldered between VCC and GND
- both resistor and capacitor are soldered directly to ESP8266 module
- 3.3V is taken from voltage regulator module with USB plug, connect it to free VCC/GND pins in last LED Matrix
- soldered extra VCC line between last and first matrix module (to avoid voltage drop)
Source code is available here:
new link!:
drive.google.c...
NOTE: Recently added support for rotated LED Matrices
Polish version of the display here: • ESP8266 Internet Clock...
My other project with ESP8266 and LED Matrix:
• ESP8266 and LED Matrix...
MUCH BETTER VERSION OF THIS PROJECT WITH EXTRA FEATURES (10.02.2017):
• ESP8266 based Kodi rem...

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 260   
@OG_Zlog
@OG_Zlog 6 лет назад
Most cameras have issues when it comes to recording LED's. I think the clock looks absolutely fine. I would slow down the scroll a touch but other than that, I say it is nice.
@scube8614
@scube8614 7 лет назад
what about wemos d1 r1 ? ...what are the pins i have to connect ?
@jeroenoostrijck
@jeroenoostrijck 6 лет назад
// for Wemos D1 Mini #define DIN_PIN 13 // D7 #define CS_PIN 2 // D4 #define CLK_PIN 14 // D5
@HariWiguna
@HariWiguna 8 лет назад
That's a cool project! Looks great even with the camera artifacts! Well done! BTW, I discovered that my cellphone camera syncs with fluorescent light and that seem to interfere with multiplexed displays. Incandescent or natural daylight seems to work better.
@cbm80amiga
@cbm80amiga 8 лет назад
Thanks. I will have to test different settings in my camera in the future. Probably some sort of filter would also help because recorded LEDs are not red as in reality.
@Lennypl1
@Lennypl1 7 лет назад
Bardzo fajny projekt :-) będę próbował ustawić coś na 2xMAX7219 ale czekam na dostawę
@danljohnston
@danljohnston 4 года назад
Another great project. It seems that everyday I stumble across another of you awesome projects. I am currently working on a couple more recent ones using Nokia 5110/HX1230. Really like the LED ones like this and will "copy" it.....thanks. Do you have or would you consider a project like this that has wireless temperature using HC-12 or NRF24L01 or similar. Huge fan of all things on your channel! Thank you for making it possible for me and others to make projects like this that we would not be able to do otherwise. For me it's not just copying your work, but I am able to learn some stuff and in some cases add or change things that i want.
@user-zw3lp6fe3n
@user-zw3lp6fe3n 7 лет назад
Thank you for sharing. Thanks for your time, for us
@davebeckham5429
@davebeckham5429 7 лет назад
Works like a Charm. Excellent Project cbm80amiga!. Many Thanks.
@pfeerick
@pfeerick 8 лет назад
Hm, the extra pull-up resistor probably explains the two ESP-01s that commit suicide due to thermal runaway. I neglected to factor that the module didn't have them on itself! Number 3 has been running perfectly - but it also hasn't been unplugged or reset, so hasn't had a chance to go stupid on me! Another great project!
@cbm80amiga
@cbm80amiga 8 лет назад
Thanks. Regarding pullup resistor - I've seen many people just connect it directly to VCC which is not correct.
@pfeerick
@pfeerick 8 лет назад
lol... indeed... The ESP8266s are nice chips, but it's unfortunate some of the pins are fussy about their high or low states on powerup. Would have been nice if the module developers had taken the time to put the couple of SMD parts on that would have made them so much more reliable! :-O
@sougatasengupta3592
@sougatasengupta3592 Год назад
i will be using 2 of the 7219 led 4 in 1 display matrix -- which means it will be 8 block of led--- 1> how do i get the time displayed in the center alignment 2> what changes do i have to make into the code to get proper output 3>how to eliminate the currency -- which portion or line number in the code do i eliminate
@suryaprabhukanthg8768
@suryaprabhukanthg8768 5 лет назад
Dear cbm80amiga , I solved the Google and openweather key issues, I wonder if you can help me on where to get these 4 strings; Are these just strings stored for display or they used in some data retrieval. String aqiStation1 /String aqiStation2/ String smogStation1/String smogStation2 If somebody came across the same issues please reply.Thanks
@polobolo3320
@polobolo3320 7 лет назад
Witam dzieki za szybka odpowiedz. Chyba moja wiedza jest za mala zeby zrobic to o czy mowisz , jestem doswiadczonym elektronikiem ale w arduino i programowanie dopiero sie zaczynam bawic. Czy moglbys mi powiedziec bardziej szczegolowo, jak mam to zrobic. Wiem ze prosze o wiele ale moze znajdziesz czas.
@zdienos
@zdienos 6 лет назад
i like the clock slide, :D
@zdienos
@zdienos 6 лет назад
yes, its fix the original version, that slide from bottom to top, and when the count 09 to 10, then the number slide is '10' and so on, Thats cool
@mikejohn5573
@mikejohn5573 4 года назад
Sorry for being a bit puzzled here, but how are 7219 outputs connected? It is an 8x48 matrix and the 7219 outputs are 8x8. I was just wondering how the matrix is connected (and what kind of displays are used?) Thanks Mike
@cbm80amiga
@cbm80amiga 4 года назад
I used popular and cheap Chinese 8x8 LED matrix modules. You can connect them to have wider display. Here there are 6 modules.
@mohammedzaman1937
@mohammedzaman1937 7 лет назад
great job! What version of Arduino you were using to load the program? thanks
@anatolxxx
@anatolxxx 7 лет назад
...I read your comment, where I change 'ROTATE to 0 or 90' ? can you help me? thanks
@Dancopymus
@Dancopymus 6 лет назад
Hi friend! Great project! I have a few questions: 1) The code is working but my nodeMCU gets "Connecting and getting data" from time to time. 2) What this String means: weatherLang = "xxxxx = xx"; 3) I have 8 matrix modules: how can I centralize the text (Hours) in these 8 modules? Thank you very much
@cbm80amiga
@cbm80amiga 6 лет назад
1. because it looses internet/WiFi or there is other instability. Try to add high value capacitor at ESP8266 power rail 2. It just sets language for weather messages 3. Extend buffer memory for scr[] / NUM_MAX and change values in digPos[] array
@Dancopymus
@Dancopymus 6 лет назад
Thanks for the answer; Sorry for one more question: Do I connect the GND and VCC pins of the Capacitor to the GND and 3.3V of the nodeMCU consecutively? And what is the Capacitor value? thank you again
@cristianmigliaro7555
@cristianmigliaro7555 6 лет назад
Hola Daniel hablas español? lo las podido hacer funcionar en español ? que deberia coclocar en esa linea weatherLang = "xxxxx = xx"; gracias.
@cristianmigliaro7555
@cristianmigliaro7555 6 лет назад
Hi excellent project I have a question, how would the calculation be so that the wind speed appears in Km / h and not in m / s thanks.
@jk1668
@jk1668 6 лет назад
Set utcoffset= -7 to correct the time but date is one day ahead, how can we fix this? Thanks
@Tovcast
@Tovcast 7 лет назад
Hola lo he cargado con el IDE de Arduino y me sale en la pantalla los gráficos que no se distinguen claramente. Lo tengo que cargar con Lua o algo hago mal.
@wvijay
@wvijay 6 лет назад
Great Stuff .. was looking for this !! Thanks friend
@electroniccircuitsimulatio6887
getting below error in serial monitor , On Led Dispaly Date is displayed but time is 0:00 logs: Connecting WiFi ......... Connected: 192.168.1.5 Getting data ... connecting to api.openweathermap.org w. parseObject() failed connecting to cinkciarz.pl connection failed Data loaded
@YO2LDK
@YO2LDK 4 года назад
work great, thank you ! it is possible to add a string with another hour, like UTC time? I modified time file but without success to display on screen
@bladerunner114
@bladerunner114 5 лет назад
Hello, I receive this error: error: invalid operands of types 'double' and 'long int' to binary 'operator%' long epoch = round(curEpoch + 3600 * (utcOffset - 1) + 86400L) % 86400L; Also i've tried with original code and same issue. Any help?
@bladerunner114
@bladerunner114 5 лет назад
Issue solved, newest update for esp8266 was the cause of the error.
@bladerunner114
@bladerunner114 5 лет назад
@@tobo5757 Hi Ton dB, well i solve it by downgrading update for esp8622 to 2.4.0. I hope i can help you with the answer. You just have to go in Arduino IDE to boards manager and type esp8266 and select the version 2.4.0.
@YooSikRo
@YooSikRo 4 года назад
@@bladerunner114 You are great!
@suryaprabhukanthg8768
@suryaprabhukanthg8768 5 лет назад
apologies guys, I got the code and library working now. thanks
@YO2LDK
@YO2LDK 4 года назад
I love your excellent clock project, I made it and work great ! still, can you make an upgrade and add an programmable (or not) alarm with DFPLAYER MINI ? and if that alarm can plat at every hour when minutes are on :00, will be nice !
@jeffflowers5489
@jeffflowers5489 4 года назад
It’s nice but the seconds don’t “tick” smoothly. They advance slightly more than or less than a second.
@anatolxxx
@anatolxxx 7 лет назад
... works but the writing is upright, how can I do to fix the problem? thanks
@robertrobarco5882
@robertrobarco5882 5 лет назад
Ś1wietny projekt. Czy myślałeś nad wykożystaniem WS2812b do zrobienia większego wyświetlacza informacji ??
@cbm80amiga
@cbm80amiga 5 лет назад
Mam tez panele na WS2812, ale sa zbyt jasne i ciagna zbyt duzo pradu. No i cena duzo wyzsza niz popularne moduly 8x8 czy 8x32
@robertrobarco5882
@robertrobarco5882 5 лет назад
@@cbm80amiga a mozesz podzielic sie projektem. Szukam wlasnie cargos takiego z wiekszym wyswietlaczem
@cbm80amiga
@cbm80amiga 5 лет назад
@@robertrobarco5882 Na WS8212 nigdy tego nie portowalem, tak wiec nie mam nic gotowego.
@mearion
@mearion 7 лет назад
Could you explain where you find GPIO1 pin on ESP-01? In all specifications I see only GPIO0, GPIO2, RX, TX, GND, VCC, RST, CH_PD. Also, how do you think, could this work with Max72xxPanel lib?
@cbm80amiga
@cbm80amiga 7 лет назад
GPIO1=TX and GPIO3=RX. Look at the source code - it is mentioned there. If the lib you are mentioning doesn't use hw SPI it should work using bitbanging like in my code.
@juanjosereynaherrera551
@juanjosereynaherrera551 7 лет назад
Muy buen proyecto pero me podrías pasar las modificaciones que mencionaste y como cargaste el código al controlador
@gormgambahansen4732
@gormgambahansen4732 6 лет назад
Thanks. The code look quit different but I will try it out and see if I can get it work. :)
@casteller2005
@casteller2005 4 года назад
Hola tengo un error al compilar el sketch : invalid operands of types 'double' and 'long int' to binary 'operator%'. En la linea 741: long epoch = round(curEpoch + 3600 * utcOffset + 86400L) % 86400L;. Alguna ayuda? Hi I have an error compiling the sketch: invalid operands of types 'double' and 'long int' to binary 'operator%'. In line 741: long epoch = round (curEpoch + 3600 * utcOffset + 86400L)% 86400L ;. Some help?
@casteller2005
@casteller2005 4 года назад
Perdon he visto la solucion en los comentarios, instale la version 2.4.0 . gracias
@hungangquang5352
@hungangquang5352 Год назад
THANK SỰ CHIA SẼ NÀY
@StefanKovachevSP
@StefanKovachevSP 7 лет назад
Everything is good, but there is clearly, in time zone +2 hours, the date was changed two hours later and no adjustment for daylight saving time, which is now especially dumb. Can you revise the source code of these adjustments?
@anatolxxx
@anatolxxx 7 лет назад
solved... I used right MAX7219 library.
@user-tg7ik5yk8e
@user-tg7ik5yk8e 7 лет назад
awesome!
@polobolo3320
@polobolo3320 7 лет назад
Witam projekt bardzo mi sie spodobal jest sznsa na udostepnienie kodu z polskimi opisami ???
@cbm80amiga
@cbm80amiga 7 лет назад
Gdzies podzialem ten kod. Ale w API do openweather po prostu ustaw jezyk na PL. A stale napisy po prostu przepisz po polsku.
@parkjaeil7030
@parkjaeil7030 7 лет назад
hi! good clock but, except that the display rotated reversal degrees.How do I change it. Many thanks
@cbm80amiga
@cbm80amiga 7 лет назад
Exchange max7219 module with new one taken from my Google cloud and define ROTATE to 0 or 90.
@parkjaeil7030
@parkjaeil7030 7 лет назад
cbm80amiga I will try to install max7219.h again.
@parkjaeil7030
@parkjaeil7030 7 лет назад
Exchange new max7219.h , but I can't make it. we need rotated reversal degrees.
@cbm80amiga
@cbm80amiga 7 лет назад
You can use 0, 90 or 270 value for rotate, but matrixes I know are rotated 90 degrees or are not rotated at all.
@saheedazeez3650
@saheedazeez3650 6 лет назад
Great work boss. I'm using esp-01 please which pin is GPIO1 because I can only find GPIO0, and GPIO2 as I/O pins. Thanks
@cbm80amiga
@cbm80amiga 6 лет назад
Rx/Tx are also GPIOs. Look at the comments in the source code.
@class01training22
@class01training22 7 лет назад
Did you use the arduino UNO board as a programmer to upload/flash the ESP module?
@cbm80amiga
@cbm80amiga 7 лет назад
No, ESP was directly connected to PC via usb2serial interface. It works with anything which drivers for Windows are available.
@class01training22
@class01training22 7 лет назад
thanks for the awesome tip. it's working but since i am using FC16 dotMatrix display all the characters are twisted 90 degrees. Is there a way to use MD_MAX72xx library?
@cbm80amiga
@cbm80amiga 7 лет назад
In this project I used my own code for MAX72xx. Rotation +/-90 degrees is supported by changing #define
@trunghieunguyen5419
@trunghieunguyen5419 7 лет назад
làm sao do you change
@sergeyzaikin12
@sergeyzaikin12 7 лет назад
Hello! Very cool project. I repeated it and everything turned out. Except for one point, at me it is impossible to change RUB/USD currency rate. Prompt as to make it. Thanks!
@cbm80amiga
@cbm80amiga 7 лет назад
You need to find your local service for currency exchange. For Poland only conversion to PLN is available.
@bladerunner114
@bladerunner114 5 лет назад
Hello cbm80amiga. I have one question about this project. When station pass midnight it still shows previous day. For example: if is monday and as time past midnight instead showing TUE it shows still MON for monday. How to solve this? Thank you!
@cbm80amiga
@cbm80amiga 5 лет назад
It is caused by timezone correction which doesn't change date.
@bladerunner114
@bladerunner114 4 года назад
@@cbm80amiga Can you help me to solve this and how? Thank you!
@pt5718
@pt5718 7 лет назад
Hi, thanks for sharing this great project! Everything works fine except that I need to change the currency rate to Canadian dollars and don't know where and how to do it. Can you help?
@celogrichard1671
@celogrichard1671 7 лет назад
Witam Gratuluje super projektu, zbudowalem kopie i ,,,,,, dziala super.Mam tylko pytanie-prosbe co zrobic zeby zamiast "zlotowki-dolar" pokazywal "zlotowka-euro". Z gory dziekuje!
@slawekwars4578
@slawekwars4578 7 лет назад
w linijce kodu : int currIdx = line.indexOf("/kantor/kursy-walut-cinkciarz-pl/eur"); zmień usd na eur tak jak tu podałem i będzie działać i wyświetlać to co chcesz czyli PLN/EUR :)
@nganlives326
@nganlives326 7 лет назад
please explain the code below: float UTCOFFSET = 7; // what does it mean Long localEpoc = 0; //what does it mean Long localMillisAtUpdate = 0; // what does it mean I come from Vietnam, the installation of how that value.
@cbm80amiga
@cbm80amiga 7 лет назад
local* variables are local and they keep current epoc and start time when it was updated from google server. utcoffset keeps offset in float type so you can define for example +9.5h - it just adds offset to utc time returned from the server. In case of Poland it is defined as 1h (winter time). In case of Vietnam just use 7. You don't have summer time so it helps a bit.
@mrwizworks
@mrwizworks 7 лет назад
can you please help me? i got your code to run but the characters are 90 degress counter clockwise. how to change?
@cbm80amiga
@cbm80amiga 7 лет назад
There is a patch where you have to define ROTATE 90, but better use newer version of this project - link in the description.
@mrwizworks
@mrwizworks 7 лет назад
Ok found the patch - thank you. The other problem I noticed is that when I set the UTC offset (-5) the date is incorrect late in the day. For example, right now it is 23:39 (friday) but though the time is correct, the date is wrong. Seems the date is a few hours ahead because it's saying saturday feb 25th when it's still Friday night, the 24th. Can you tell me what to do to correct this offset issue?
@cbm80amiga
@cbm80amiga 7 лет назад
It is also solved in new version of the display. Also summer time calculation.
@mrwizworks
@mrwizworks 7 лет назад
Ok thank you. I will look at your new version. :)
@karnkrit4464
@karnkrit4464 7 лет назад
please i want time in thailand but my time and date is synchronized with google +5 hour for real time (ex.timeshowmatrix 10.00 but timeinthailand 15.00)
@amaze11
@amaze11 7 лет назад
Hi Karn Krit, I found in the source/sketch the line: float utcOffset = 2 modify it according your time zone (example for Thailand use 7)
@casteller2005
@casteller2005 4 года назад
Hello again, how can I rotate 90 degrees? my modules are different i use two modules out of four. thanks. Hola de nuevo, como puedo rotar 90 grados? mis modulos son diferentes uso dos modulos de cuatro. gracias
@cbm80amiga
@cbm80amiga 4 года назад
Use ROTATE=90 or 270 in max7219.h (this new one).
@casteller2005
@casteller2005 4 года назад
@@cbm80amiga thanks all ok
@mohhalimbimantara6932
@mohhalimbimantara6932 7 лет назад
awesome
@polobolo3320
@polobolo3320 7 лет назад
Witam Jestem na etapie uruchamiania twojego projektu i niestety po uzupelnieniu (HANGE YOUR CONFIG HERE:) w moje dane nie moge sie polaczyc.Czy moglbys mi cos doradzic zeby mi to zaczelo dzialac.
@cbm80amiga
@cbm80amiga 7 лет назад
Do ktorego momentu dochodzi? Laczy sie chociaz z WiFi?
@xtvga
@xtvga Год назад
Pomocy nie wiem co zrobic, mam Compilation error: invalid operands of types 'float' and 'long int' to binary 'operator%'
@hframosify
@hframosify Год назад
troque por esta linha:- long epoch = (long)(round(curEpoch + 3600 * utcOffset + 86400L)) % 86400L;
@alnoorratansi9364
@alnoorratansi9364 6 лет назад
Hi Great project , once the time has been obtained from ntp server , will it work if you move the clock where the signal is weak ??
@cbm80amiga
@cbm80amiga 6 лет назад
Yes, it should work without internet but it tries to update data every few minutes.
@gur316
@gur316 7 лет назад
Thanks for the codes
@puneshkumarsakhuja5560
@puneshkumarsakhuja5560 4 года назад
Sir, How to convert time to 12 hour clock.Thanks
@bladerunner114
@bladerunner114 5 лет назад
Hello! I did this project but i have 2 issues. First, hours is 1 hour + for example now is 21:24 but station shows 22:24. Second, on my max7219 displays the text is vertical. How to fix this? Thank you!
@bladerunner114
@bladerunner114 5 лет назад
Problem 1 solved, for others: just go to google cloud and open MAX7219.h, than copy code into Arduino IDE Max7219h card and change this line: #define ROTATE 0 to 90. Now i still have a +1h and how to change language of scrolling text to croatian?
@bladerunner114
@bladerunner114 5 лет назад
Problem 2 solved: long epoch = round(curEpoch + 3600 * (utcOffset - 1) + 86400L) % 86400L; .
@bladerunner114
@bladerunner114 5 лет назад
@@tobo5757 Hi! I am glad to hear that.
@amaze11
@amaze11 7 лет назад
Hi I got some errors on compiling: 'printStringWithShift' was not declared in this scope 'getWeatherData' was not declared in this scope 'getCurrencyRates' was not declared in this scope 'getTime' was not declared in this scope 'updateTime' was not declared in this scope 'showAnimClock' was not declared in this scope etc What's wrong? It seems I miss a library or so ...
@cbm80amiga
@cbm80amiga 7 лет назад
What Arduino IDE are you using? I use 1.6.5 with properly installed ESP8266 libs. My code uses only 2 libs: ESP8266WiFi and ArduinoJson which I think are included.
@amaze11
@amaze11 7 лет назад
1.6.7 and both libraries are builtin installed
@amaze11
@amaze11 7 лет назад
No luck with 1.6.5, but works with latest 1.6.12! I had to install ArduinoJSON only. My 7219 matrixes are connected with a 90 degrees rotation (similar 4 matrix prebuilt assemblies are available online), any chanche to have a different direction of scrolling?
@arieprins3789
@arieprins3789 4 года назад
You should change the delay value on line 191 into delay(10). This will give a much better second reading !!!!!!!!!!!!!
@gur316
@gur316 7 лет назад
i have changed the utc offset to -8 for Vancouver BC Canada. so my time is correct, but the date is wrong, could you help me with it. i need the help with currency Host for canada too. Thanks
@cbm80amiga
@cbm80amiga 7 лет назад
If you substract 8h from time just check if hour is
@gur316
@gur316 7 лет назад
cbm80amiga hi how to do that please let me know where i have to substract 1 day thanks
@polobolo3320
@polobolo3320 7 лет назад
Po wpisaniu (api.openweathermap.org/data/2.5/weather?id=2643743&appid=fc07a2e6d3fcec529998646a4e1407ba ) Dostalem to ( {"coord":{"lon":-0.13,"lat":51.51},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"base":"stations","main":{"temp":281.57,"pressure":1011,"humidity":76,"temp_min":281.15,"temp_max":282.15},"visibility":10000,"wind":{"speed":6.7,"deg":290},"clouds":{"all":90},"dt":1484059800,"sys":{"type":1,"id":5091,"message":0.0099,"country":"GB","sunrise":1484035352,"sunset":1484064874},"id":2643743,"name":"London","cod":200} ) Jednostki sa co prawda nie nasze ale wszystko wydaje sie byc OK.
@cbm80amiga
@cbm80amiga 7 лет назад
Czyli tutaj jest ok. Dodaj wydruki do kodu i zobacz gdzie sie wysypuje. Ewentualnie wykomentuj po kolei waluty i/lub pogode, zeby zdiagnozowac co u Ciebie nie dziala.
@TutocarloCV
@TutocarloCV 6 лет назад
nice
@sanu7210
@sanu7210 4 года назад
how to chenge display seeting ? my display running and scaling vertically when it should runs horizontally , also might be chage display setting for correct character contraction , please help me to do this
@cbm80amiga
@cbm80amiga 4 года назад
Look at my other projects with this display, later I provided rotation feature
@sanu7210
@sanu7210 4 года назад
@@cbm80amiga please provide the link ?????????????????
@cbm80amiga
@cbm80amiga 4 года назад
@@sanu7210 Look at my channel, I have many projects. The most current is display for KODI
@sanu7210
@sanu7210 4 года назад
@@cbm80amiga my display orientation problem happening when i upload this code but when i upload the MD PAROLA SCALING ESP66 FROM THE EXAMPLE by changing the hardware ICSTATION_HW , the massage display perfectly and working i didnot found any solution by watching your other videos
@sanu7210
@sanu7210 4 года назад
@@cbm80amiga my display orientation problem happening when i upload this code but when i upload the MD PAROLA SCALING ESP66 FROM THE EXAMPLE by changing the hardware ICSTATION_HW , the massage display perfectly and working
@sanu7210
@sanu7210 4 года назад
please help with this those line i have geeting errors long curEpoch = localEpoc + ((millis() - localMillisAtUpdate) / 1000); long epoch = round(curEpoch + 3600 * utcOffset + 86400L) % 86400L; h = ((epoch % 86400L) / 3600) % 2 C:\Users\DJ NIL\Desktop\ESP_LEDMatrix_clock_weather_cleaned\ESP_LEDMatrix_clock_weather_cleaned.ino: In function 'void updateTime()': ESP_LEDMatrix_clock_weather_cleaned:471:62: error: invalid operands of types 'double' and 'long int' to binary 'operator%' long epoch = round(curEpoch + 3600 * utcOffset + 86400L) % 86400L; ^ exit status 1 invalid operands of types 'double' and 'long int' to binary 'operator%'
@nagarava
@nagarava 5 лет назад
While uploding code json error is comming pse check code atonce
@polobolo3320
@polobolo3320 7 лет назад
Witam Dzieki za szybka odpowiedz po wlaczeniu pokazuje czas date kurs walut nie pokazuje danych pogodowych (const char* ssid = "POP ------om 0537"; // SSID of local network const char* password = "5E----4269"; // Password on network String weatherKey = "fc07a2e6----------98646a4e1407ba"; String weatherLang = "lang=gb"; String cityID = "2643743"; //Londyn,uk)
@cbm80amiga
@cbm80amiga 7 лет назад
Jestes pewny, ze klucz do openweather jest poprawny? Najlepiej wklej sobie kompletny URL do przegladarki, zeby sprawdzic czy serwis poprawnie wygeneruje dane json.
@MirkoPavleskiMK
@MirkoPavleskiMK 5 лет назад
I have the same problem, please help
@cbm80amiga
@cbm80amiga 5 лет назад
Try to use my newer project - KODI display, it still works at my home so nothing changed in internet APIs.
@MirkoPavleskiMK
@MirkoPavleskiMK 5 лет назад
Thanks for quick reply, I will try
@MirkoPavleskiMK
@MirkoPavleskiMK 5 лет назад
@@cbm80amiga Today I try KODI display : but I not receive any weather informations.I have regular API and City ID from Openweathermaps. connecting to api.openweathermap.org Waiting for data ... Waiting for data ... Waiting for data ... temp=0.00 temp_min=0.00 temp_max=0.00 pressure=0 humidity= wind_speed= clouds= info= --------------- Please help
@cbm80amiga
@cbm80amiga 5 лет назад
Strange. Maybe other libs are changes. I used Arduino IDE 1.6.5 and ESP8266 libs from same time.
@burapat4100
@burapat4100 4 года назад
Sir, how to change clock max7219, i'm from Indonesia... Thnks
@cbm80amiga
@cbm80amiga 4 года назад
Change time zone offset in the code
@burapat4100
@burapat4100 4 года назад
@@cbm80amiga ok, thnks
@gormgambahansen4732
@gormgambahansen4732 6 лет назад
I have trouble to make it works with currency. Any suggestions ?
@cbm80amiga
@cbm80amiga 6 лет назад
I remember that service I was using changed the syntax, I fixed the code im my KODI display project. Look at there.
@davebeckham5429
@davebeckham5429 7 лет назад
Nice. Is it possible to add 12H/24Hour selection for the time in the code.
@cbm80amiga
@cbm80amiga 7 лет назад
You can do this. Just check if h>12 and sustract 12.
@davebeckham5429
@davebeckham5429 7 лет назад
Thanks for the quick response. Will check and update you.
@oscar_film
@oscar_film 6 лет назад
hi . very nice project but my problem with wather and currencyHost plz send me code with ardabil,iran
@RafaelRodriguez-nu4yz
@RafaelRodriguez-nu4yz 7 лет назад
Very good project congratulations, how you determine the day, the month and the year. Thank you
@cbm80amiga
@cbm80amiga 7 лет назад
Date is taken AFAIR from google service. In my newer projects it is handled more properly.
@RafaelRodriguez-nu4yz
@RafaelRodriguez-nu4yz 7 лет назад
Muchas gracias
@poulaynmichel
@poulaynmichel 5 лет назад
comment changer format de date merci
@sougatasengupta3592
@sougatasengupta3592 Год назад
can i get a code without -- currency rates are grabbed from HTML page
@cbm80amiga
@cbm80amiga Год назад
Yes, just remove from the code everything you don't need
@maxalmeida1094
@maxalmeida1094 4 года назад
Hi, great project! so I hame 1 problem. in the serial monitor show this: connecting to api.openweathermap.org w. parseObject() failed connecting to cinkciarz.pl connection failed Data loaded and just show me time and date. how can I fix it?
@angelicana117
@angelicana117 4 года назад
Hi I had the same problem, I solved it as follows Downgrade/Apply Arduino board manager of ESP8266 to "Version 2.4.0" Set ArduinoJson lilibrary as 5.12 Done
@maxalmeida1094
@maxalmeida1094 4 года назад
Andrés Calderón , I will try! Thanks
@Julian-th8uo
@Julian-th8uo 6 лет назад
Skrypt zadziała na Arduino UNO R3?
@cbm80amiga
@cbm80amiga 6 лет назад
Jaki skrypt? Program zadziala tylko na ESP.
@sniper1000
@sniper1000 7 лет назад
how to rotate the display?
@MrGeorg56
@MrGeorg56 7 лет назад
Good afternoon! Tell me the details of your code, that is?? 12.USB to Serial programming 13.ESP-1 from rear, FF to GND, RR to GND before upload 14.Gr FF -- Bl 15.Wh -- RR Vi FF? RR? Gr? Bl? Wh? Vi? Thank you!
@cbm80amiga
@cbm80amiga 7 лет назад
FF is GPIO0 - during flashing ESP it must be LOW, RR is RESET and should be LOW just before flashing. Gr? Bl? Wh? Vi? are just colors of my wires :) ESP-01 should be connected as descibed in the code GPIO 2 - DataIn GPIO 1 - LOAD/CS GPIO 0 - CLK
@MrGeorg56
@MrGeorg56 7 лет назад
Thank you!
@francisframil4763
@francisframil4763 5 лет назад
thankz for this project and how can i change the language
@robertrobarco5882
@robertrobarco5882 5 лет назад
'DynamicJsonBuffer' was not declared in this scope ???????
@robertrobarco5882
@robertrobarco5882 5 лет назад
Library Json Beta... problem solved
@MrTiagomigueltavares
@MrTiagomigueltavares 5 лет назад
@@robertrobarco5882What did you do?
@robertrobarco5882
@robertrobarco5882 5 лет назад
libraries in the full ver.. - NOT beta version. And everything works.
@MrTiagomigueltavares
@MrTiagomigueltavares 5 лет назад
@@robertrobarco5882 Connecting WiFi .......... Connected: 172.20.10.2 Getting data ... connecting to api.openweathermap.org w. parseObject() failed Everything it is fine until I got the connection with openweather. I'm using the ArduinoJson.h version 5.10. Which one are you using?
@RonAdamsky
@RonAdamsky 5 лет назад
@@MrTiagomigueltavares I have the same problem! My solution , using ESP8266 version 2.4.0 and new Arduino 1.8.8 >it's working!
@suryaprabhukanthg8768
@suryaprabhukanthg8768 5 лет назад
Can somebody post the link for the library ESP8266WiFi.h - Thanks
@suryaprabhukanthg8768
@suryaprabhukanthg8768 5 лет назад
apologies guys, I got the code working now. thanks
@sergeyvolodin6565
@sergeyvolodin6565 7 лет назад
how to make two zones. in the first zone to constantly watch. and on the second Ticker with the date and weather? can do such a project? or tell me how to do it yourself. thank you.
@diegoeczyca1068
@diegoeczyca1068 5 лет назад
Witam, pograniu oprogramowania wyświetla mi tylko godzinę i datę, api do pogody jest poprawne
@cbm80amiga
@cbm80amiga 5 лет назад
Sprobuj nowych wersji tego projektu rozszerzonego o wyswietlacz do KODI.
@diegoeczyca1068
@diegoeczyca1068 5 лет назад
@@cbm80amiga Przy kodi łączy się podaje IP poczym jest linia ciągła na górze
@cbm80amiga
@cbm80amiga 5 лет назад
@@diegoeczyca1068Dziwne. Ja ten wyswietlacz mam caly czas w uzyciu 24/7 i jedyne co sie popsulo to waluty bo cinkciarz ponownie zmienil wyglad strony, ale juz tego nie poprawialem. Sprobuj po kolei wylaczac poszczegolne informacje to dojdziesz gdzie jest problem.
@diegoeczyca1068
@diegoeczyca1068 5 лет назад
@@cbm80amiga A może to przyczyna błędu: invalid operands of types 'double' and 'long int' to binary 'operator%' przy long epoch = round(curEpoch + 3600 * utcOffset + 86400L) % 86400L; po "zahashowaniu" % 86400L kompilacja przechodzi. Być może to jest przyczyna?
@davidsama9720
@davidsama9720 5 лет назад
hola saludos muy buen video
@gauravbansal5073
@gauravbansal5073 7 лет назад
your project is awesome. i have made the same. i have changed the utc offset to +5.5. so my time is correct, but the date is wrong, could you help me with it.
@cbm80amiga
@cbm80amiga 7 лет назад
Date is taken directly from Google, it can be wrong indeed if you don't correct it. Just add 1 day when hour+5.5h is > than 24h.
@gur316
@gur316 7 лет назад
Hi Gaurav I am having the same problem with the date if you are able to fix the date please let me know how to add 1 day
@cbm80amiga
@cbm80amiga 7 лет назад
I've just released source code for my new project with extra features. Threre I parse date string and decode it. Also there are protections for time offset, summertime etc. Look at new video in the description
@gur316
@gur316 7 лет назад
hi where is the codes to download thanks
@cbm80amiga
@cbm80amiga 7 лет назад
Look at new video link in the description
@djamg
@djamg 7 лет назад
Awesome project!!! but geting this error while uploading undefined reference to `__cxa_guard_acquire'. Pls help
@cbm80amiga
@cbm80amiga 7 лет назад
Maybe something is changed in newer Arduino IDE. I use older 1.6.5
@djamg
@djamg 7 лет назад
yea it worked in the older version of JSON ...ty for the reply
@nalinchamindamanchanayke9753
@nalinchamindamanchanayke9753 4 года назад
i am using 1.8.12 Arduino IDE i cant upload code
@cbm80amiga
@cbm80amiga 4 года назад
I used 1.6.5, try to use older IDE and all libs
@kokophonemyint0957
@kokophonemyint0957 2 года назад
Why my Clock shows vertically instead of horizontally,please.
@cbm80amiga
@cbm80amiga 2 года назад
Use rotate 90 or 270 option from this or my other LEDMatrix projects
@kokophonemyint0957
@kokophonemyint0957 2 года назад
@@cbm80amiga I will try this,by the way, Thank you.
@kokophonemyint0957
@kokophonemyint0957 2 года назад
@@cbm80amiga I've tried multiple rotate value(30,60,90,120,150,180,270,..) but it still shows vertical scrolling and it shows the error message at the bottom of the sketch "Hard resetting via RTS pin...),could you help me with this error,Please.
@cbm80amiga
@cbm80amiga 2 года назад
@@kokophonemyint0957 I don't know what exactly you tried. In provided matrix7212.h module I added support for 90 and 270 degrees rotation for different modules available in China. Change #define in the code. Only 0,90 and 270 are supported.
@kokophonemyint0957
@kokophonemyint0957 2 года назад
@@cbm80amiga Sorry for my poor english writing skill Sir.I mean I use MAX7219 CWG 1708 module.When I tried this project,the matrix led display shows vertical text display and it only shows vertical clock but not the weather information.How can I fixed that problem with my MAX7219 module and what should I change in my sketch.I use Arduino IDE 1.8.10, Please.
@YO2LDK
@YO2LDK 7 лет назад
Nice don it ! can you share please again the source code? (link is not good) I need this simple variant, instead kodi4, Thank you !
@cbm80amiga
@cbm80amiga 7 лет назад
I just fixed the link once again. Google seems to change something from time to time.
@YO2LDK
@YO2LDK 7 лет назад
Thank you !
@dilipbera1970
@dilipbera1970 2 года назад
How can i get Indian clock time? what will be the modification?
@cbm80amiga
@cbm80amiga 2 года назад
You have to change time zone offset in the code.
@dilipbera1970
@dilipbera1970 2 года назад
@@cbm80amiga Thanks.
@AttiqAamir
@AttiqAamir 8 лет назад
Simply Beautiful!, I am trying to use Parola for Arduino to animate like this, can you share your code Please because i like your font style which i can not make being a novice. Much thanks for sharing this eye candy . :)
@cbm80amiga
@cbm80amiga 7 лет назад
The link to the code is available in the description.
@AttiqAamir
@AttiqAamir 7 лет назад
Thank you very much :)
@mohammedzaman1937
@mohammedzaman1937 7 лет назад
how do i rotate the characters 90 degrees?
@cbm80amiga
@cbm80amiga 7 лет назад
Just replace max7210 header with new one and define ROTATE 90 or switch to my new project code
@juozasc
@juozasc 6 лет назад
please tell me how to rotate display :) beacouse i bought matrices in 4 in module, ant i cant rotate it manualy :(
@burapat4100
@burapat4100 4 года назад
It's been updated, but it still can't, what words here need to be changed DynamicJsonBuffer jsonBuf; JsonObject & root = jsonBuf.parseObject (line); if (! root.success ()) {
@serverguy2
@serverguy2 6 лет назад
Did you mean openweathermap.org?
@cbm80amiga
@cbm80amiga 6 лет назад
Yes :)
@davebeckham5429
@davebeckham5429 8 лет назад
Excellent Project and impressed me lot cbm80amiga!. Could you share the source please.
@davebeckham5429
@davebeckham5429 7 лет назад
Could you share the code please.
@cbm80amiga
@cbm80amiga 7 лет назад
The link to the code is available in the description.
@burapat4100
@burapat4100 4 года назад
sir, how to change/update DynamicJsonBuffer jsonBuf; DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6
@cbm80amiga
@cbm80amiga 4 года назад
Actually I stopped using Json library in future projects because they are too messy and use a lot of memory. Look at my other projects how to parse json output
@burapat4100
@burapat4100 4 года назад
@@cbm80amiga so the solution, there is a new code...thnks
@yonnileung
@yonnileung 5 лет назад
If get below error invalid operands of types 'double' and 'long int' to binary 'operator%' long curEpoch = localEpoc + ((millis() - localMillisAtUpdate) / 1000); long epoch = round(curEpoch + 3600 * utcOffset + 86400L) % 86400L; h = ((epoch % 86400L) / 3600) % 24; m = (epoch % 3600) / 60; s = epoch % 60; Downgrade/Apply Arduino board manager of ESP8266 to "Version 2.4.0" Replace below code for ArduinoJson 5 to 6 /*************** ArduinoJason 5 ***************/ DynamicJsonBuffer jsonBuf; JsonObject &root = jsonBuf.parseObject(line); if (!root.success()) /*************** ArduinoJason 6 ***************/ DynamicJsonDocument jsonBuf(2048); auto error = deserializeJson(jsonBuf, line); if (error) It will work
@nganlives326
@nganlives326 7 лет назад
i want to know cityid(iam form Vietnam)
@cbm80amiga
@cbm80amiga 7 лет назад
Check your city at openweathermap.org
@nganlives326
@nganlives326 7 лет назад
please explain the code below: void getTime() { WiFiClient client; if (!client.connect("www.google.com.vn", 80)) // www.google.com.vn,80 what does it mean. if you have account facebook i think we have talk to massenger.
@cbm80amiga
@cbm80amiga 7 лет назад
It justs connects to google - maybe use www.google.com. Where is your problem? Time offset is wrong?
@nganlives326
@nganlives326 7 лет назад
iam form VIỆT NAM, i use google.com.vn,time zone UTC +7,BANGKOK,HANOI,JAKARTA
@cbm80amiga
@cbm80amiga 7 лет назад
Use google.com
@daynight5858
@daynight5858 7 лет назад
😍 can you send me the code please
@cbm80amiga
@cbm80amiga 7 лет назад
The link to the code is available in the description.
@user-kv9od7pk5v
@user-kv9od7pk5v 4 года назад
Прикольно. А будет перевод на русский язык? Спасибо.
@MrSasha3050
@MrSasha3050 4 года назад
Перевод чего?
@user-kv9od7pk5v
@user-kv9od7pk5v 4 года назад
@@MrSasha3050 всех бегущих надписей, на русский.
@MrSasha3050
@MrSasha3050 4 года назад
@@user-kv9od7pk5v , поправить файл font.h . Это первое и видимо еще нужно что-то , не охота вникать дальше.
@user-kv9od7pk5v
@user-kv9od7pk5v 4 года назад
@@MrSasha3050 Нужно не поправить, а создать русский. И в среде указать на него.
@MrSasha3050
@MrSasha3050 4 года назад
Дмитрий Ягупов, для меня это называется поправить. Инглиш буквы переделать на наши. В принципе не сложно.
@gavrilstefan
@gavrilstefan 7 лет назад
Awesome project! Great work. Unfortunately, on FC-16 modules, the display is rotated 90 degrees.. How could one go about adapting it for those modules? Here's a link for that specific module: www.ebay.com/itm/251933453902 Thanks in advance!
@cbm80amiga
@cbm80amiga 7 лет назад
I'm just waiting for these modules. I added suport for 90deg rotated framebuffer but had no chance to test it yet.
@gavrilstefan
@gavrilstefan 7 лет назад
Awesome! If you post up the code, i can try it out for you :D
@TV-pj1po
@TV-pj1po 7 лет назад
Great Work!! Same 90 degree rotation issue with same module. Really look forward to seeing the solution. Thanks in advance!!
@cbm80amiga
@cbm80amiga 7 лет назад
Instead of refreshAll() paste following code and define ROTATE to 90 or 270. Prepared 2 versions. Let me know which one helps. I'm still waiting for my 32x8 matrices so I have no chance to test it. void refreshAllRot270() { byte mask = 0x01; for (int c = 0; c < 8; c++) { digitalWrite(CS_PIN, LOW); for(int i=NUM_MAX-1; i>=0; i--) { byte bt = 0; for(int b=0; b=0; i--) { shiftOut(DIN_PIN, CLK_PIN, MSBFIRST, CMD_DIGIT0 + c); shiftOut(DIN_PIN, CLK_PIN, MSBFIRST, scr[i * 8 + c]); } digitalWrite(CS_PIN, HIGH); } #endif }
@TV-pj1po
@TV-pj1po 7 лет назад
90 degree ratation works great like Magic.. Thansk a lot!!
Далее
Clock Max7219 4 matrix WiseLord
4:16
Просмотров 50 тыс.
New Dyna Skin is OP🥵🔥 | Brawl Stars
00:16
Просмотров 375 тыс.
I Built a WATERPARK In My House!
26:28
Просмотров 22 млн
#21 4-in-1 Matrix Uhr mit Wetter
17:16
Просмотров 49 тыс.
I'm Building the Best LED Wall on the Internet
10:16
Просмотров 43 тыс.
Why Democracy Is Mathematically Impossible
23:34
Просмотров 2,1 млн
ESP8266 WiFi Weather Station with Color TFT Display
1:56
Big 32x16 LED Internet Clock on ESP8266
2:36
Просмотров 32 тыс.