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
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.
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
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!
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?
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
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.
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?
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.
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.
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!
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
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?
@@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.
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.
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?
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.
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!
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!
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
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 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
@@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
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?
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?
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.
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 ...
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.
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?
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?
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
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
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)
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
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
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
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 !
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.
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.
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.
@@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.
@@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.
@@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.
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?
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
@@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?
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?
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%'
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)
Jestes pewny, ze klucz do openweather jest poprawny? Najlepiej wklej sobie kompletny URL do przegladarki, zeby sprawdzic czy serwis poprawnie wygeneruje dane json.
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.
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
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!
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 :)
@@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.
@@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?
@@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
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!
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
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.
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.
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.
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
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
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 . :)
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.
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 ()) {
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
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!
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 }
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
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.
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
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!
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?
Problem 2 solved: long epoch = round(curEpoch + 3600 * (utcOffset - 1) + 86400L) % 86400L; .
@@tobo5757 Hi! I am glad to hear that.
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
...I read your comment, where I change 'ROTATE to 0 or 90' ? can you help me? thanks
Set utcoffset= -7 to correct the time but date is one day ahead, how can we fix this? Thanks
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.
... works but the writing is upright, how can I do to fix the problem? thanks
It’s nice but the seconds don’t “tick” smoothly. They advance slightly more than or less than a second.
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?
Perdon he visto la solucion en los comentarios, instale la version 2.4.0 . gracias
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
what about wemos d1 r1 ? ...what are the pins i have to connect ?
// for Wemos D1 Mini
#define DIN_PIN 13 // D7
#define CS_PIN 2 // D4
#define CLK_PIN 14 // D5
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.
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.
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!
Thanks. Regarding pullup resistor - I've seen many people just connect it directly to VCC which is not correct.
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
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?
Issue solved, newest update for esp8266 was the cause of the error.
@@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.
@@bladerunner114 You are great!
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.
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.
Muy buen proyecto pero me podrías pasar las modificaciones que mencionaste y como cargaste el código al controlador
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?
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.
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!
It is caused by timezone correction which doesn't change date.
@@cbm80amiga Can you help me to solve this and how? Thank you!
Bardzo fajny projekt :-) będę próbował ustawić coś na 2xMAX7219 ale czekam na dostawę
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!
You need to find your local service for currency exchange. For Poland only conversion to PLN is available.
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
I used popular and cheap Chinese 8x8 LED matrix modules. You can connect them to have wider display. Here there are 6 modules.
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
Look at my other projects with this display, later I provided rotation feature
@@cbm80amiga please provide the link ?????????????????
@@sanu7210 Look at my channel, I have many projects. The most current is display for KODI
@@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
@@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
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?
can you please help me? i got your code to run but the characters are 90 degress counter clockwise. how to change?
There is a patch where you have to define ROTATE 90, but better use newer version of this project - link in the description.
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?
It is also solved in new version of the display. Also summer time calculation.
Ok thank you. I will look at your new version. :)
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.
hi!
good clock
but, except that the display rotated reversal degrees.How do I change it.
Many thanks
Exchange max7219 module with new one taken from my Google cloud and define ROTATE to 0 or 90.
cbm80amiga I will try to install max7219.h again.
Exchange new max7219.h , but I can't make it. we need rotated reversal degrees.
You can use 0, 90 or 270 value for rotate, but matrixes I know are rotated 90 degrees or are not rotated at all.
Works like a Charm. Excellent Project cbm80amiga!. Many Thanks.
Pomocy nie wiem co zrobic, mam
Compilation error: invalid operands of types 'float' and 'long int' to binary 'operator%'
troque por esta linha:- long epoch = (long)(round(curEpoch + 3600 * utcOffset + 86400L)) % 86400L;
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 ...
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.
1.6.7 and both libraries are builtin installed
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?
can i get a code without -- currency rates are grabbed from HTML page
Yes, just remove from the code everything you don't need
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?
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
If you substract 8h from time just check if hour is
cbm80amiga
hi how to do that please let me know where i have to substract 1 day thanks
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
Use ROTATE=90 or 270 in max7219.h (this new one).
@@cbm80amiga thanks all ok
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
Rx/Tx are also GPIOs. Look at the comments in the source code.
While uploding code json error is comming pse check code atonce
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)
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)
Thank you for sharing. Thanks for your time, for us
great job! What version of Arduino you were using to load the program? thanks
apologies guys, I got the code and library working now. thanks
I have trouble to make it works with currency. Any suggestions ?
I remember that service I was using changed the syntax, I fixed the code im my KODI display project. Look at there.
Sir,
How to convert time to 12 hour clock.Thanks
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
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
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
Hola Daniel hablas español? lo las podido hacer funcionar en español ? que deberia coclocar en esa linea weatherLang = "xxxxx = xx"; gracias.
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 !
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.
Do ktorego momentu dochodzi? Laczy sie chociaz z WiFi?
Witam
projekt bardzo mi sie spodobal jest sznsa na udostepnienie kodu z polskimi opisami ???
Gdzies podzialem ten kod. Ale w API do openweather po prostu ustaw jezyk na PL. A stale napisy po prostu przepisz po polsku.
Great Stuff .. was looking for this !! Thanks friend
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 ??
Yes, it should work without internet but it tries to update data every few minutes.
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.
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.
Why my Clock shows vertically instead of horizontally,please.
Use rotate 90 or 270 option from this or my other LEDMatrix projects
@@cbm80amiga I will try this,by the way, Thank you.
@@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.
@@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.
@@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.
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?
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
Andrés Calderón , I will try! Thanks
how to rotate the display?
How can i get Indian clock time? what will be the modification?
You have to change time zone offset in the code.
@@cbm80amiga Thanks.
Nice. Is it possible to add 12H/24Hour selection for the time in the code.
You can do this. Just check if h>12 and sustract 12.
Thanks for the quick response. Will check and update you.
hi . very nice project but my problem with wather and currencyHost plz send me code with ardabil,iran
'DynamicJsonBuffer' was not declared in this scope ???????
Library Json Beta... problem solved
@@robertrobarco5882What did you do?
libraries in the full ver.. - NOT beta version. And everything works.
@@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?
@@MrTiagomigueltavares I have the same problem!
My solution , using ESP8266 version 2.4.0 and new Arduino 1.8.8 >it's working!
Did you use the arduino UNO board as a programmer to upload/flash the ESP module?
No, ESP was directly connected to PC via usb2serial interface. It works with anything which drivers for Windows are available.
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?
In this project I used my own code for MAX72xx. Rotation +/-90 degrees is supported by changing #define
làm sao do you change
comment changer format de date merci
thankz for this project and how can i change the language
solved... I used right MAX7219 library.
Can somebody post the link for the library ESP8266WiFi.h - Thanks
apologies guys, I got the code working now. thanks
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%'
Ś1wietny projekt. Czy myślałeś nad wykożystaniem WS2812b do zrobienia większego wyświetlacza informacji ??
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
@@cbm80amiga a mozesz podzielic sie projektem. Szukam wlasnie cargos takiego z wiekszym wyswietlaczem
@@robertrobarco5882 Na WS8212 nigdy tego nie portowalem, tak wiec nie mam nic gotowego.
Awesome project!!! but geting this error while uploading undefined reference to `__cxa_guard_acquire'. Pls help
Maybe something is changed in newer Arduino IDE. I use older 1.6.5
yea it worked in the older version of JSON ...ty for the reply
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)
Jestes pewny, ze klucz do openweather jest poprawny? Najlepiej wklej
sobie kompletny URL do przegladarki, zeby sprawdzic czy serwis poprawnie
wygeneruje dane json.
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.
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.
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
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
hi
where is the codes to download
thanks
Look at new video link in the description
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!
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 :)
Very good project congratulations, how you determine the day, the month and the year.
Thank you
Date is taken AFAIR from google service. In my newer projects it is handled more properly.
Muchas gracias
Witam, pograniu oprogramowania wyświetla mi tylko godzinę i datę, api do pogody jest poprawne
Sprobuj nowych wersji tego projektu rozszerzonego o wyswietlacz do KODI.
@@cbm80amiga Przy kodi łączy się podaje IP poczym jest linia ciągła na górze
@@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.
@@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?
I have the same problem, please help
Try to use my newer project - KODI display, it still works at my home so nothing changed in internet APIs.
Thanks for quick reply, I will try
@@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
Strange. Maybe other libs are changes. I used Arduino IDE 1.6.5 and ESP8266 libs from same time.
Skrypt zadziała na Arduino UNO R3?
Jaki skrypt? Program zadziala tylko na ESP.
Nice don it !
can you share please again the source code? (link is not good)
I need this simple variant, instead kodi4, Thank you !
I just fixed the link once again. Google seems to change something from time to time.
Thank you !
i like the clock slide, :D
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
how do i rotate the characters 90 degrees?
Just replace max7210 header with new one and define ROTATE 90 or switch to my new project code
please tell me how to rotate display :) beacouse i bought matrices in 4 in module, ant i cant rotate it manualy :(
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!
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
Thank you!
Thanks. The code look quit different but I will try it out and see if I can get it work. :)
i am using 1.8.12 Arduino IDE i cant upload code
I used 1.6.5, try to use older IDE and all libs
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.
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.
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.
Did you mean openweathermap.org?
Yes :)
You should change the delay value on line 191 into delay(10). This will give a much better second reading !!!!!!!!!!!!!
Sir, how to change clock max7219, i'm from Indonesia... Thnks
Change time zone offset in the code
@@cbm80amiga ok, thnks
Excellent Project and impressed me lot cbm80amiga!. Could you share the source please.
Could you share the code please.
The link to the code is available in the description.
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
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
@@cbm80amiga so the solution, there is a new code...thnks
i want to know cityid(iam form Vietnam)
Check your city at openweathermap.org
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 . :)
The link to the code is available in the description.
Thank you very much :)
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.
It justs connects to google - maybe use www.google.com. Where is your problem? Time offset is wrong?
iam form VIỆT NAM, i use google.com.vn,time zone UTC +7,BANGKOK,HANOI,JAKARTA
Use google.com
😍 can you send me the code please
The link to the code is available in the description.
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 ())
{
awesome!
hola saludos muy buen video
nice
Thanks for the codes
awesome
Прикольно. А будет перевод на русский язык? Спасибо.
Перевод чего?
@@MrSasha3050 всех бегущих надписей, на русский.
@@ДмитрийЯгупов-т6ь , поправить файл font.h . Это первое и видимо еще нужно что-то , не охота вникать дальше.
@@MrSasha3050 Нужно не поправить, а создать русский. И в среде указать на него.
Дмитрий Ягупов, для меня это называется поправить. Инглиш буквы переделать на наши. В принципе не сложно.
THANK SỰ CHIA SẼ NÀY
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
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!
I'm just waiting for these modules. I added suport for 90deg rotated framebuffer but had no chance to test it yet.
Awesome! If you post up the code, i can try it out for you :D
Great Work!! Same 90 degree rotation issue with same module.
Really look forward to seeing the solution.
Thanks in advance!!
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
}
90 degree ratation works great like Magic..
Thansk a lot!!