Digital clock - Max 7219 dot matrix display - DS1307 RTC module - DHT11 sensor - with code

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

КОМЕНТАРІ •

  • @cicerosantana4085
    @cicerosantana4085 2 роки тому +2

    Good evening !
    Possible , coulti ask a question about the watch?
    i set it up as described , the animations but it doesn`t count the time, it always appears: 00::00. Thankn you in advance for your attention

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

      You have an explanation in this video: ua-cam.com/video/Yidbmcn1H_w/v-deo.html

  • @leilanielectronics
    @leilanielectronics Рік тому +1

    I love the max7219! Versatile chip

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

      With Wemos D1 mini, NTP clock with webinterface for language settings: ua-cam.com/video/aQKoYM4pvMw/v-deo.html More details from video description.

  • @syarifhidayatullah5858
    @syarifhidayatullah5858 2 роки тому +2

    please tell me how to change the time to be on time, sorry I don't know the code in romanian🙏🏻

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

      In this video it is explained how to set the time of the RTC module. Please watch this video carefully and you will understand. ua-cam.com/video/Yidbmcn1H_w/v-deo.html

  • @adijumaryadi2374
    @adijumaryadi2374 Рік тому +1

    Nice clock build and this would be my next project, but as suggest, could this clock added Alarm Function and some buttons to set Time Display and Alarm?, Thank you for the shared project👍

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

      Welcome to this channel! I don't know when I will have time to make another version. Anyway, if I make another version, it will be one with wifi, which will take the exact time from an NTP server.

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

      Ich habe mit der Arbeit an der NTP-Version begonnen: ua-cam.com/users/shorts2NpNKnaNmck Ich hoffe, dass ich eine Weboberfläche fertigstellen kann, damit die Einstellungen über den Browser gesteuert werden können: i.imgur.com/sppHDPf.png

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

      Wemos D1 mini internet clock, with webinterface for language settings: ua-cam.com/video/aQKoYM4pvMw/v-deo.htmlfeature=shared

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

    Hi I made it. Nice digital clock with calendar, temperature, humidity and text message. The whole font is look simple and tidy. Hopefully you will upgrade it into NTP clock one day. Thanks for sharing the knowledge 👍👍

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

      Sounds great!

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

      NTP clock, with WebInterface for language and TimeZone settings, on wemos d1 mini: ua-cam.com/video/aQKoYM4pvMw/v-deo.html

  • @LH-sm1lp
    @LH-sm1lp Рік тому +1

    Hallo , habe den Code herrunter geladen , aber die Zeit und das Datum stimmt nicht. zeigt 00:00 und 2000 an. Hilfe !!

    • @LH-sm1lp
      @LH-sm1lp Рік тому +1

      Hallo , habe den Fehler gefunden , funktioniert jetzt alles!

    • @LeventeDaradici
      @LeventeDaradici  Рік тому +1

      @@LH-sm1lp Ich freue mich sehr, dass es dir gelungen ist!

  • @DFrTY-ef9ec
    @DFrTY-ef9ec Рік тому +1

    nice clock project and I want to try this one, but if not mind may I ask the codes if I use nodemcu as NTP to display clock sir, thanks you so much for attention.

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

      Welcome!
      I didn't do it on nodemcu, but it probably works on this one too. In the near future, I will make a version that extracts the exact time from an NTP server. Thanks for the idea!

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

      I've started work on the NTP version: ua-cam.com/users/shorts2NpNKnaNmck I'm hoping to finish a web interface so settings can be controlled from the browser: i.imgur .com/sppHDPf.png

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

      With Wemos D1 mini, NTP clock with webinterface for language settings: ua-cam.com/video/aQKoYM4pvMw/v-deo.html More details from video description.

  • @LH-sm1lp
    @LH-sm1lp Рік тому +1

    Hallo, bei dem rechten Matrix leuchtet der 4. Von oben und der. Von rechts bei der Uhrzeit nicht. Sonst funktioniert alles super. Kann ich da was am Sketch machen? Gruß Lutz aus Deutschland

    • @LH-sm1lp
      @LH-sm1lp Рік тому +1

      Der 4. von rechts, soll es heißen.

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

      Ich verwende Google Translate und verstehe Ihr Problem nicht wirklich. Entschuldigen Sie.

    • @LH-sm1lp
      @LH-sm1lp Рік тому +1

      ​@@LeventeDaradici
      Hallo, wahrscheinlich muss ich das eine Modul von den 4 Matrix Modulen austauschen. Ein Pixel leuchtet nicht. Danke für die schnelle Antwort.
      Sehr schöne Projekte haben sie.

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

      Ich wünsche Ihnen einen besonderen Tag! Danke für die Rückmeldung.

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

    can you sharing schematisc in another site
    i think i can't download that above link

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

      Try using the Opera browser and start the VPN function from the address bar.

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

    Sir...I have few doubts
    So how can I contact u??

  • @abah_ganjen
    @abah_ganjen Рік тому +1

    Projek bagus, sy mencoba utk mengupload code tetapi ukuran byte terlalu besar, bagaimana solusinya, thanks

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

      In the description of this video: ua-cam.com/video/Yidbmcn1H_w/v-deo.html you have a link, which includes a code, which does not have the temperature sensor. Try uploading that code: pastebin.com/EkX8aJvc
      Dalam deskripsi video ini: ua-cam.com/video/Yidbmcn1H_w/v-deo.html Anda memiliki tautan yang menyertakan kode yang tidak memiliki sensor suhu. Coba unggah kode itu: Pastebin.com/EkX8aJvc

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

      Google has banned the file again, I don't understand why it does that. I uploaded the file here: shorturl.at/dEJT7

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

    can you add bluetooth to the code sir? for running texts?

  • @neagstef5007
    @neagstef5007 2 роки тому +2

    Multumiri pentru acest proiect.Am o problema cu dimensiunea codului care este prea mare pentru a putea fi uploadat in Arduino Nano .Va rog ca daca puteti sa publicati un cod fara partea cu senzorul DHT11. Multumesc.

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

      Probabil folosesti un arduino nano care are procesorul Atmega168, care intr-adevar are jumatate din memoria unui Arduino uno. Am si eu un asemenea exemplar. Dar cand mai cumperi un arduino nano, sa fi atent sa aiba procesorul Atmega 328P. Momentan nu mai am montajul la dispozitie, dar o sa incerc sa-ti scot partile de cod care se ocupa de acel senzor, si am sa-ti pun un link cu noul cod. Problema e ca va fi unul complet netestat, tu va trebui sa vezi daca functioneaza.

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

      Se pare ca s-a ingrasat vre-o librarie, pentru ca nici mie nu-mi mai incape pe un nano. Uite aici pastebin.com/EkX8aJvc am scos partea care se ocupa de DHT11. Nu l-am incarcarcat, deci nu este nici testat. Dar ar trebui sa-ti functioneze. Spor la bricolat !

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

      @@LeventeDaradici Multumesc mult pentru raspuns.Am incercat pe un Arduino Uno si l-a uploadat.Din pacate nu ruleaza decat un scurt mesaj de genul ``Digital clock + de numele dvs``. Nu trece la partea cu ceas si data. Codul este cu terminatia cpp si nu ino.Trebuie sa mai incarc si altceva ?

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

      @@neagstef5007 Probabil nu se initializeaza modulul RTC. Vezi ce eroare ai in serial monitor ! Din pacate UA-cam Studio doar azi mi-a aratat o multime de comentarii, desi le verific zilnic ! Probabil as fi putut sa-ti raspund in timp util, nu atat de tarziu.

  • @TechnoEveryday
    @TechnoEveryday 2 роки тому +2

    I have DS1302 RTC. Can the code be customised for this rtc?

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

      If I'm not mistaken, I think I have that RTC module too. Depending on the free time available, I will try to write for this module as well.

    • @TechnoEveryday
      @TechnoEveryday 2 роки тому +2

      @@LeventeDaradici 🆒 Thank you so much 🇵🇰

    • @LeventeDaradici
      @LeventeDaradici  Рік тому +1

      @@TechnoEveryday In this video ua-cam.com/video/LbG89wk2fHM/v-deo.html I have a watch that consists of an RTC module and two buttons for adjusting the exact time. It also includes a DS18B20 temperature sensor, and an LDR that automatically adjusts the screen lighting according to ambient light. It's just that that watch uses 4 pieces of 1.8-inch screens with 7 segments. For the control of the 7 segments we used 4 integrated circuits 74hc595 shift register. More details can be found in the description of that video.
      In this video ua-cam.com/video/Yidbmcn1H_w/v-deo.html I explained how to adjust the exact time for rtc mode. Basically arduino will take over the date and time from the laptop with which you load the code into the microcontroller.
      Be careful, when you set the exact time in the mode a line will be allowed in the code, then load the code with that line, then disable that line and load the code again in the microcontroller without that line! It is very important to disable that line after you have set the time, because if you don't, every time you start the clock it will take the time and date that the code was loaded into the arduino, and it will deregulate the rtc mode, and it will not return the time, date and day in a correct way!
      Indeed, a version of a watch where the adjustment of the RTC module is done with the help of two buttons, would help enormously the use of this watch in simpler conditions.

    • @TechnoEveryday
      @TechnoEveryday Рік тому +1

      @@LeventeDaradici wonderful projects

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

      NTP clock, with WebInterface for language and TimeZone settings, on wemos d1 mini: ua-cam.com/video/aQKoYM4pvMw/v-deo.html

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

    How can I modify to put other animations can you help me

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

      The source code is available in the description of this video, and can be modified by anyone, to the liking of each.

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

      thanks, what line can I modify to give more light to the display

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

      @@pascualpalacios7099
      // Set the brightness of the led, 0= minimum, 15= maximum
      P.setIntensity(0);

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

      NTP clock, with WebInterface for language and TimeZone settings, on wemos d1 mini: ua-cam.com/video/aQKoYM4pvMw/v-deo.html

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

    I really like this clock. Tried to download code, but link does not work. :( I was also wondering if it would be possible to use 8x MAX71219 modules? (8x64)?

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

      The download link works. Yes, several pieces of display can be used. Just change the code here: #define MAX_DEVICES 4 In this case I have 4 8x8 displays that make an 8x32 display. So instead of 4 from max_devices, enter the number of screens you use. You can also find the code in the description of this forum: satelit-info.com/phpBB3/viewtopic.php?f=172&t=3229

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

      @@LeventeDaradici Thank you SO much! I appreciate the response and help. I will do my best to make this work. I am still a bit of a beginner, but love learning new things everyday.

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

      I think the reason some people can't access Pastebin is because of firewall/antivirus settings. Also, have you considered making this with an ESP8266? You would then have wifi/bluetooth access to change time/date/etc. Just a thought, thank you for sharing my Friend.

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

      @@TMRu22311 Yes. The idea is very good. The watch can also be taken from a GPS receiver. There is even a video on this channel about how to extract data from the GPS signal and another video about a watch that takes the exact time from the GPS signal. Thanks for the suggestions!

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

    26/09/2021 - added random animations pastebin.com/N7PaZNFk

  • @billfield8300
    @billfield8300 Рік тому +1

    Most Excellent find! I have been looking for some example code that is more than just the MD_PAROLA examples. I learned a few things that allowed me to do what I wanted, the way I wanted, and all because of your code. Thanks for sharing!

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

      I'm glad I could help you!

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

      With Wemos D1 mini, NTP clock with webinterface for language settings: ua-cam.com/video/aQKoYM4pvMw/v-deo.html More details from video description.

  • @ajithponoth2294
    @ajithponoth2294 Рік тому +1

    How to get CODE for this project

  • @bayusaftaguna6492
    @bayusaftaguna6492 Рік тому +1

    Nice clock 👍👍

  • @ALLINONE-ec9jq
    @ALLINONE-ec9jq 2 роки тому +1

    please add auto dim at night

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

      At the moment I have other projects in the works. But if I have the necessary free time, I will completely rewrite this watch.
      It is normally very easy to add a dimmer depending on the existing light. An LDR is added to the ANALOG input, the data on this pin is read, and depending on the data obtained we make the brightness higher or lower. You can be inspired by this video, where depending on the ambient light, an electric motor starts in one direction or the other. ua-cam.com/video/7rev4r0uNe8/v-deo.html

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

    Working ok thanks can we run in 12h time format code plz

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

      I haven't tested this. But it can be done that way. If the time is more than 12 then the time is equal to time minus 12. I think that would be the simplest method. Although RTClib probably has the ability to set the time to be displayed in 12 hour format.
      More documentation about this library can be found here: github.com/adafruit/RTClib

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

      @@LeventeDaradici Thanks

  • @emiryigitoglu
    @emiryigitoglu Рік тому +1

    Code link broken =(

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

    tôi không biết cách chỉnh giờ..bạn có thể hướng dẫn

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

      RTC.adjust(DateTime(__DATE__, __TIME__)); // put this line of code in void setup, and when loading software on arduino, real time clock will be set to the time of the laptop with which you loaded the software. After setting the real time clock module once, delete that line of code from the void setup and reload the code into the arduino.

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

      Normally the setting of the RTC module had to happen at the first software load.
      if (! RTC.isrunning())
      {
      //Serial.println("RTC is NOT running!");
      RTC.adjust(DateTime(__DATE__, __TIME__));
      }
      The module has probably been used before. But with the method described above you can set it that way.

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

      @@LeventeDaradici bạn có thể làm video hướng dân không.tôi hk làm được

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

      @@djmanpro1318 Cái này dành cho bạn ua-cam.com/video/Yidbmcn1H_w/v-deo.html

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

      @@LeventeDaradici ok , cảm ơn bạn rất nhiều.mình đã làm được.
      Mình Mong bạn sẽ làm ra những chiếc đồng hồ có nhiều hiệu ứng đẹp hơn ❤

  • @qsdrfghgujfddyffguff
    @qsdrfghgujfddyffguff 3 роки тому +2

    WOW SUPERB CLOCK SUPERB CODE SUPPORT THNKS

  • @raghavendradarji4863
    @raghavendradarji4863 Рік тому +1

    Sir coding error Araha Hai

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

      Check if you have loaded the libraries in the Arduino IDE.

  • @ckpprodaction2861
    @ckpprodaction2861 Рік тому +1

    Program error'

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

      how can i help you?

    • @ckpprodaction2861
      @ckpprodaction2861 Рік тому +1

      @@LeventeDaradici error' code

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

      @@ckpprodaction2861 I can't help you with just this much information. The best help I can give you is if we meet with a TeamViewer and I can see exactly what is happening with you and if I can correct the error that appears to you. Do you have the necessary libraries installed?

  • @ALLINONE-ec9jq
    @ALLINONE-ec9jq 2 роки тому +2

    wrong time show

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

      This video explains how to set the exact time in the RTC module: ua-cam.com/video/Yidbmcn1H_w/v-deo.html

    • @ALLINONE-ec9jq
      @ALLINONE-ec9jq 2 роки тому +1

      Okay sir thanks

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

      NTP clock, with WebInterface for language and TimeZone settings, on wemos d1 mini: ua-cam.com/video/aQKoYM4pvMw/v-deo.html

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

    Best Clock compiling ok but not uploading

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

      If it compiles without errors, the problem is yours. You do not have the correct COM port or board.

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

      Try without the DHT sensor, this is the code without temperature and humidity pastebin.com/EkX8aJvc