ESP8266 Internet Clock, Weather Station and Information Display

Поділитися
Вставка
  • Опубліковано 10 січ 2025

КОМЕНТАРІ • 260

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

    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

  • @OG_Zlog
    @OG_Zlog 7 років тому

    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.

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

    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

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

    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 6 років тому

      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 6 років тому +1

      Problem 2 solved: long epoch = round(curEpoch + 3600 * (utcOffset - 1) + 86400L) % 86400L; .

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

      @@tobo5757 Hi! I am glad to hear that.

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

    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

  • @anatolxxx
    @anatolxxx 7 років тому

    ...I read your comment, where I change 'ROTATE to 0 or 90' ? can you help me? 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.

  • @anatolxxx
    @anatolxxx 7 років тому

    ... works but the writing is upright, how can I do to fix the problem? thanks

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

    It’s nice but the seconds don’t “tick” smoothly. They advance slightly more than or less than a second.

  • @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

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

    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

  • @scube8614
    @scube8614 7 років тому

    what about wemos d1 r1 ? ...what are the pins i have to connect ?

    • @jeroenoostrijck
      @jeroenoostrijck 7 років тому

      // for Wemos D1 Mini
      #define DIN_PIN 13 // D7
      #define CS_PIN 2 // D4
      #define CLK_PIN 14 // D5

  • @HariWiguna
    @HariWiguna 8 років тому +1

    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 років тому +1

      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.

  • @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 років тому +1

      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

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

    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 років тому +1

      @@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!

  • @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.

  • @polobolo3320
    @polobolo3320 8 років тому

    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.

  • @juanjosereynaherrera551
    @juanjosereynaherrera551 7 років тому

    Muy buen proyecto pero me podrías pasar las modificaciones que mencionaste y como cargaste el código al controlador

  • @mearion
    @mearion 8 років тому

    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  8 років тому

      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.

  • @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 5 років тому

      @@cbm80amiga Can you help me to solve this and how? Thank you!

  • @Lennypl1
    @Lennypl1 7 років тому

    Bardzo fajny projekt :-) będę próbował ustawić coś na 2xMAX7219 ale czekam na dostawę

  • @sergeyzaikin12
    @sergeyzaikin12 8 років тому

    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  8 років тому

      You need to find your local service for currency exchange. For Poland only conversion to PLN is available.

  • @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.

  • @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

  • @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?

  • @mrwizworks
    @mrwizworks 7 років тому +1

    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 років тому +1

      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. :)

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

    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.

  • @parkjaeil7030
    @parkjaeil7030 8 років тому +1

    hi!
    good clock
    but, except that the display rotated reversal degrees.How do I change it.
    Many thanks

    • @cbm80amiga
      @cbm80amiga  8 років тому

      Exchange max7219 module with new one taken from my Google cloud and define ROTATE to 0 or 90.

    • @parkjaeil7030
      @parkjaeil7030 8 років тому

      cbm80amiga I will try to install max7219.h again.

    • @parkjaeil7030
      @parkjaeil7030 8 років тому

      Exchange new max7219.h , but I can't make it. we need rotated reversal degrees.

    • @cbm80amiga
      @cbm80amiga  8 років тому

      You can use 0, 90 or 270 value for rotate, but matrixes I know are rotated 90 degrees or are not rotated at all.

  • @davebeckham5429
    @davebeckham5429 8 років тому

    Works like a Charm. Excellent Project cbm80amiga!. Many Thanks.

  • @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;

  • @amaze11
    @amaze11 8 років тому

    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  8 років тому

      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 8 років тому

      1.6.7 and both libraries are builtin installed

    • @amaze11
      @amaze11 8 років тому

      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?

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

    can i get a code without -- currency rates are grabbed from HTML page

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

      Yes, just remove from the code everything you don't need

  • @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?

  • @gur316
    @gur316 8 років тому

    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  8 років тому

      If you substract 8h from time just check if hour is

    • @gur316
      @gur316 8 років тому

      cbm80amiga
      hi how to do that please let me know where i have to substract 1 day thanks

  • @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

  • @saheedazeez3650
    @saheedazeez3650 7 років тому

    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  7 років тому

      Rx/Tx are also GPIOs. Look at the comments in the source code.

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

    While uploding code json error is comming pse check code atonce

  • @karnkrit4464
    @karnkrit4464 8 років тому +1

    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 8 років тому

      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)

  • @꿈과희망-c1k
    @꿈과희망-c1k 7 років тому

    Thank you for sharing. Thanks for your time, for us

  • @mohammedzaman1937
    @mohammedzaman1937 7 років тому

    great job! What version of Arduino you were using to load the program? thanks

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

    apologies guys, I got the code and library working now. thanks

  • @gormgambahansen4732
    @gormgambahansen4732 7 років тому

    I have trouble to make it works with currency. Any suggestions ?

    • @cbm80amiga
      @cbm80amiga  7 років тому

      I remember that service I was using changed the syntax, I fixed the code im my KODI display project. Look at there.

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

    Sir,
    How to convert time to 12 hour clock.Thanks

  • @Dancopymus
    @Dancopymus 7 років тому +2

    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  7 років тому

      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 7 років тому

      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.

  • @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 !

  • @polobolo3320
    @polobolo3320 8 років тому

    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  8 років тому

      Do ktorego momentu dochodzi? Laczy sie chociaz z WiFi?

  • @polobolo3320
    @polobolo3320 8 років тому +1

    Witam
    projekt bardzo mi sie spodobal jest sznsa na udostepnienie kodu z polskimi opisami ???

    • @cbm80amiga
      @cbm80amiga  8 років тому

      Gdzies podzialem ten kod. Ale w API do openweather po prostu ustaw jezyk na PL. A stale napisy po prostu przepisz po polsku.

  • @wvijay
    @wvijay 7 років тому

    Great Stuff .. was looking for this !! Thanks friend

  • @alnoorratansi9364
    @alnoorratansi9364 7 років тому

    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  7 років тому

      Yes, it should work without internet but it tries to update data every few minutes.

  • @nganlives326
    @nganlives326 8 років тому

    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  8 років тому +2

      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.

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

    Why my Clock shows vertically instead of horizontally,please.

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

      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 роки тому +1

      @@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.

  • @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

  • @sniper1000
    @sniper1000 7 років тому

    how to rotate the display?

  • @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.

  • @davebeckham5429
    @davebeckham5429 7 років тому

    Nice. Is it possible to add 12H/24Hour selection for the time in the code.

    • @cbm80amiga
      @cbm80amiga  7 років тому +1

      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.

  • @saeed.raminfar
    @saeed.raminfar 7 років тому

    hi . very nice project but my problem with wather and currencyHost plz send me code with ardabil,iran

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

    'DynamicJsonBuffer' was not declared in this scope ???????

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

      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!

  • @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

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

    comment changer format de date merci

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

    thankz for this project and how can i change the language

  • @anatolxxx
    @anatolxxx 7 років тому

    solved... I used right MAX7219 library.

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

    Can somebody post the link for the library ESP8266WiFi.h - Thanks

  • @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%'

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

    Ś1wietny projekt. Czy myślałeś nad wykożystaniem WS2812b do zrobienia większego wyświetlacza informacji ??

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

      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 6 років тому

      @@cbm80amiga a mozesz podzielic sie projektem. Szukam wlasnie cargos takiego z wiekszym wyswietlaczem

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

      @@robertrobarco5882 Na WS8212 nigdy tego nie portowalem, tak wiec nie mam nic gotowego.

  • @djamg
    @djamg 7 років тому

    Awesome project!!! but geting this error while uploading undefined reference to `__cxa_guard_acquire'. Pls help

    • @cbm80amiga
      @cbm80amiga  7 років тому +1

      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

  • @polobolo3320
    @polobolo3320 8 років тому

    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  8 років тому

      Jestes pewny, ze klucz do openweather jest poprawny? Najlepiej wklej
      sobie kompletny URL do przegladarki, zeby sprawdzic czy serwis poprawnie
      wygeneruje dane json.

  • @gauravbansal5073
    @gauravbansal5073 8 років тому

    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  8 років тому

      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 8 років тому

      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  8 років тому

      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 8 років тому

      hi
      where is the codes to download
      thanks

    • @cbm80amiga
      @cbm80amiga  8 років тому

      Look at new video link in the description

  • @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 років тому +1

      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 :)

  • @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

  • @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?

  • @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.

  • @Julian-th8uo
    @Julian-th8uo 7 років тому

    Skrypt zadziała na Arduino UNO R3?

    • @cbm80amiga
      @cbm80amiga  7 років тому +1

      Jaki skrypt? Program zadziala tylko na ESP.

  • @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 років тому +1

      I just fixed the link once again. Google seems to change something from time to time.

    • @YO2LDK
      @YO2LDK 7 років тому

      Thank you !

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

    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

  • @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 :(

  • @MrGeorg56
    @MrGeorg56 8 років тому

    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  8 років тому +1

      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 8 років тому

      Thank you!

  • @gormgambahansen4732
    @gormgambahansen4732 7 років тому

    Thanks. The code look quit different but I will try it out and see if I can get it work. :)

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

    i am using 1.8.12 Arduino IDE i cant upload code

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

      I used 1.6.5, try to use older IDE and all libs

  • @polobolo3320
    @polobolo3320 8 років тому

    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  8 років тому

      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.

  • @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.

  • @serverguy2
    @serverguy2 7 років тому

    Did you mean openweathermap.org?

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

    You should change the delay value on line 191 into delay(10). This will give a much better second reading !!!!!!!!!!!!!

  • @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

  • @davebeckham5429
    @davebeckham5429 8 років тому

    Excellent Project and impressed me lot cbm80amiga!. Could you share the source please.

    • @davebeckham5429
      @davebeckham5429 8 років тому +1

      Could you share the code please.

    • @cbm80amiga
      @cbm80amiga  8 років тому +1

      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

  • @nganlives326
    @nganlives326 8 років тому

    i want to know cityid(iam form Vietnam)

    • @cbm80amiga
      @cbm80amiga  8 років тому

      Check your city at openweathermap.org

  • @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  8 років тому +1

      The link to the code is available in the description.

    • @AttiqAamir
      @AttiqAamir 8 років тому

      Thank you very much :)

  • @nganlives326
    @nganlives326 8 років тому

    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  8 років тому

      It justs connects to google - maybe use www.google.com. Where is your problem? Time offset is wrong?

    • @nganlives326
      @nganlives326 8 років тому

      iam form VIỆT NAM, i use google.com.vn,time zone UTC +7,BANGKOK,HANOI,JAKARTA

    • @cbm80amiga
      @cbm80amiga  8 років тому

      Use google.com

  • @daynight5858
    @daynight5858 8 років тому

    😍 can you send me the code please

    • @cbm80amiga
      @cbm80amiga  8 років тому

      The link to the code is available in the description.

  • @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 ())
    {

  • @유종원-y4u
    @유종원-y4u 7 років тому

    awesome!

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

    hola saludos muy buen video

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

    nice

  • @gur316
    @gur316 8 років тому

    Thanks for the codes

  • @mohhalimbimantara6932
    @mohhalimbimantara6932 7 років тому

    awesome

  • @ДмитрийЯгупов-т6ь
    @ДмитрийЯгупов-т6ь 5 років тому

    Прикольно. А будет перевод на русский язык? Спасибо.

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

      Перевод чего?

    • @ДмитрийЯгупов-т6ь
      @ДмитрийЯгупов-т6ь 4 роки тому

      @@MrSasha3050 всех бегущих надписей, на русский.

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

      @@ДмитрийЯгупов-т6ь , поправить файл font.h . Это первое и видимо еще нужно что-то , не охота вникать дальше.

    • @ДмитрийЯгупов-т6ь
      @ДмитрийЯгупов-т6ь 4 роки тому

      @@MrSasha3050 Нужно не поправить, а создать русский. И в среде указать на него.

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

      Дмитрий Ягупов, для меня это называется поправить. Инглиш буквы переделать на наши. В принципе не сложно.

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

    THANK SỰ CHIA SẼ NÀY

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

    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

  • @gavrilstefan
    @gavrilstefan 8 років тому

    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  8 років тому

      I'm just waiting for these modules. I added suport for 90deg rotated framebuffer but had no chance to test it yet.

    • @gavrilstefan
      @gavrilstefan 8 років тому

      Awesome! If you post up the code, i can try it out for you :D

    • @TV-pj1po
      @TV-pj1po 8 років тому

      Great Work!! Same 90 degree rotation issue with same module.
      Really look forward to seeing the solution.
      Thanks in advance!!

    • @cbm80amiga
      @cbm80amiga  8 років тому +1

      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 8 років тому

      90 degree ratation works great like Magic..
      Thansk a lot!!