Arduino Clock with Matrix Display

Поделиться
HTML-код
  • Опубликовано: 7 ноя 2024

Комментарии • 95

  • @manukalias
    @manukalias Год назад

    Very Nice Clock 😍
    Video Having subtitles helped me understand it better.
    God Bless You,
    Love from India 🇮🇳🇮🇳🙏🙏

  • @Geeyar
    @Geeyar Год назад

    Amazing. Good dedication. Congrats.

  • @jiribrunc4880
    @jiribrunc4880 5 лет назад +1

    dobře a jednoduše vysvětlené, davám like, tvorbě zdar

  •  5 лет назад +1

    Now, version 1.4 is avaliable. You can turn your clock vertically.

  • @eduardocuneo6295
    @eduardocuneo6295 Год назад

    Excellent !!!! Good Job !!!! Thanks !!!!

  • @draghiciciprian4002
    @draghiciciprian4002 4 года назад

    I made the watch using the Arduino Pro Mini and it works great. Thank you Pet'an!

    •  4 года назад +1

      Good to hear it :) I'm working on version 1.5 - some small upgrades and IR remote control.

    • @draghiciciprian4002
      @draghiciciprian4002 4 года назад

      Wow! Excellent! I'm waiting for news from you my friend. Thank you again.

    •  4 года назад +1

      Version 1.5 is available to download: github.com/mylms/Arduino-Matrix-Clock Short video: instagram.com/p/B7_ztKeJurT/?

  • @hareeshgs
    @hareeshgs 4 года назад

    It is a fantastic project, explaining all the features.Thanks and Congratulations.

  • @schinbone0
    @schinbone0 4 месяца назад

    Great video, thanks for sharing. Is there any way to show Fahrenheit instead of Celsius?

    •  4 месяца назад +1

      Hi, of courese. Have a look at the line 1178 (github.com/mylms/Arduino-Matrix-Clock/blob/1.5/ArduinoMatrixClock/ArduinoMatrixClock.ino#L1178). There is writing the value on the display. You have to convert Celsius to Fahrenheit = (Celsius * 1.8) + 32. There is little problem, becuse value of temperature is stored in two variables (currentTemperatureH = integer value and currentTemperatureL = decimal value)... There is no working with decimal values. You should add new float variable, convert cels. to fahr. and write this variable to display - the same way like Celsius. Then line 1198 change to "DrawSymbol(0, 19); //draw "C" symbol"

    • @schinbone0
      @schinbone0 4 месяца назад

      Thanks so much for the reply. I will give it a try. Thanks again

  • @aaronecho
    @aaronecho 3 года назад

    Excellent job, thank you!

  •  4 года назад

    Version 1.5 is available to download: github.com/mylms/Arduino-Matrix-Clock Short video: instagram.com/p/B7_ztKeJurT/?

  • @MikiCZEch
    @MikiCZEch 5 лет назад

    Pěkný, něco podobného sháním ale s jiným zobrazováním (segmentovky se zobrazením vteřin).

    •  5 лет назад

      To by nebyl problém předělat. Stačí upravit funkci WriteTime() tak, aby spolupracovala s vhodným displejem.

  • @basantapanigrahy277
    @basantapanigrahy277 5 месяцев назад

    Hi sir
    I have changed code in row 1058 for hide 0 and it worked fine
    Can we delete some code ?
    R font turning 1
    r font turning 2
    U. turn font upsidedown
    V. vertical mode
    Reverse font
    Up down font etc....
    So which row delete?
    Please explain
    (in 1.4 version) and can we add weeks as date, temperature
    It is very interesting but
    I don't require this mode
    Thanks

    •  5 месяцев назад +2

      Hi, first, you should understand the code. Just delete some "random" part of code is not a good way to upgrade firmware. I thing, this code is quite "clear to understand". You can not delete some parts or variables, because there are a lots of cross references in all program.
      Every item in menu has number (for example 12 = brightnes (row 794 in v 1.4)). If you press button1 variable systemState increase (row 801- systemState++;). If you want to jump to different part of menu, just change systemState++; to assign systemState=17;

    • @basantapanigrahy277
      @basantapanigrahy277 5 месяцев назад

      OK sir thanks
      I will try

  • @aksdiyprojects1999
    @aksdiyprojects1999 3 года назад

    Very good work n clean tutorial.. especially for those who has less or no knowledge at all of electronics and programming i am one of em ..
    However i ve followed all ur steps and reached to glow the max72xx.. but unable to control or change parameters like time date fonts etc.. i ve v 1.5 of code..at starts it shows LM S ! , Then it changes n shows V 1.5..then 0000.. then 45:65 and keeps its showing 0000 ...45...45:65.. plz help...

    •  3 года назад

      Hi, now I can not check the code. But at first please try to change battery in RTC module. Then try to change RTC module. Som people told me about similar issue - ussualy there was a bad RTC module.

  • @Dancopymus
    @Dancopymus 4 года назад

    Hi Peťan, a suggestion of mine:
    Replace the 2 Buttons with an IR Remote Control to control the Matrix remotely; what do you think?
    EDIT: When you have some time available.

    •  4 года назад +1

      I started to make a new version of firmware for clock... IR remote works instagram.com/p/B71dxYQJDR3/ :)

  • @draghiciciprian4002
    @draghiciciprian4002 4 года назад

    Congratulations friend! Excellent done. Excellent explained.

  • @pauloalvesdealmeida3477
    @pauloalvesdealmeida3477 4 года назад

    Muito legal, gostei! show de bola.

  • @nortedoparana
    @nortedoparana 5 лет назад

    very good sketch, well explained, thanks a lot

  • @moenadza09
    @moenadza09 3 года назад

    Nice project sir, I've been working on it but with pro mini. That's working but after 24 hours the time is delayed for about 6 minutes.
    I'm using cheap phone charger for the power supply.
    Any solution for this sir?
    Thanks in advance

    •  3 года назад

      Hi, time is read from DS3231 module. You can try change the battery or just change the that module. I've hat more feedback about DS3231 accuracy. Anfortunatelly, there are lot of pieces with this problem. I have had a few pieces with same problem, or some of them can't send time - clock shows 45 hours.

    • @moenadza09
      @moenadza09 3 года назад

      @ ok sir, I will try to change the battery first.

  • @jromhek2070
    @jromhek2070 4 года назад

    Thanks man , my question is how accurate this clock comparing to esp8266 ntp clock ? Keep up the good work .

    •  4 года назад +1

      It depend on DS3231 accuracy (use google) - some of this kind of modules are really bad. DS3231 module in my clock is really good - accuracy maybe two minuts a year (tested in real operation). Of course - NTP server is the best, but this clock is offline (you can set it by buttons/remote control). You do not have to use computer to set the clock.

  • @LuisFigueroaB-oi4jc
    @LuisFigueroaB-oi4jc Месяц назад

    Help.Todo funciona solo que poco a poco el reloj se va atrazando.

  • @ricardosimoes2467
    @ricardosimoes2467 5 лет назад

    Adorei o projeto parabéns !!!

  • @soumenroy2006
    @soumenroy2006 2 года назад

    Want to add a buzzer for chime every hour. What will be the code ?
    Thanks in advance.

    •  2 года назад

      Just add the buzzer for some pin (D13) and turn it on when minutes and seconds are zero. Example - add this code on the line 485 (in v1.5): if(minute == 0 && second ==0) {digitalWrite(D13, high);}else{digitalWrite(D13, low);}

  • @idea22yt
    @idea22yt 4 года назад +1

    Ahoj, prosim prispejte Peťanovi cez stranku Patreon, funguje to na principe malych platieb kazdy mesiac, napr 1,2,3 USD mesacne. Naucili sme sa od neho vela, zasluzi si :) dik

  • @xperimentsqf3823
    @xperimentsqf3823 3 года назад

    is it the way to make temperature more accurate?

    •  3 года назад +1

      Without hardware upgrade anfortunately not. Temperature is read directly from RTC module. Could be a good idea to add humidity/temperature sensor.

    • @xperimentsqf3823
      @xperimentsqf3823 3 года назад

      @ thanx for the answer

  • @basantapanigrahy277
    @basantapanigrahy277 5 месяцев назад

    Hi sir
    Nice clock
    It works perfectly I made
    What is d10 d11 switch and how hide first 0 in led matrix
    Example 9:20
    09:20 how delete first 0

    •  5 месяцев назад +1

      Hi, im glad clock woks prefectly 👍
      Please, see github page, there described all parameters.
      "d" means current day
      "D" is numbers of second, when date is shown on display.
      There is no parameter to hide first zero. But you can change program. I thing you just delete one row.

    •  5 месяцев назад +1

      If you want to hide first zero, just see this topic: www.mylms.cz/arduino-hodiny-s-maticovym-displejem/#comment-9422 (but, it is for v1.4!). In v1.5 (see github code) you have to edit this rows 1159, 1169 and 1181.

    • @basantapanigrahy277
      @basantapanigrahy277 5 месяцев назад

      Thanks sir I will try

    • @basantapanigrahy277
      @basantapanigrahy277 5 месяцев назад

      I have edited and it worked fine
      Thanks you

  • @flipdevogel8019
    @flipdevogel8019 Год назад

    werkt dit ook op een uno kan niet in stellen met knopjes

    •  Год назад

      It should work on much different Arduinos. It is not require any special board's features. Try to use other inputs for buttons.

    • @flipdevogel8019
      @flipdevogel8019 Год назад

      WERT DAN U WEL GOED WERK BEDANKT@

  • @Msalberto2012
    @Msalberto2012 3 года назад

    Tiene alarma?

    •  3 года назад +1

      No alarm. Just time, date and temperature.

    • @Msalberto2012
      @Msalberto2012 3 года назад

      @ Gracias

  • @burapat4100
    @burapat4100 4 года назад

    sir, modul matrix 4in1 or singel matrix thnks

    •  4 года назад

      It does not matter. You can use 4in1 (looks better) or you can connect 4 matrix display together.

  • @aksdiyprojects1999
    @aksdiyprojects1999 3 года назад

    Forgot to mention , i m using ds 1307 module.. is it the issue ?

    •  3 года назад +1

      Yes, I thing this is rootcause of issue. This clock need DS3231 RTC module. DS1307 probably have different communication protocol. Pls use DS3231 its more accuracy

    • @aksdiyprojects1999
      @aksdiyprojects1999 3 года назад

      @ thank you for promptness and courtsey as well.. surely try the ds3231 n will updaye you

    • @aksdiyprojects1999
      @aksdiyprojects1999 3 года назад

      @ dear, relaced the rtc module . Now its ds3231, still facing issue of changing the parameters thru btn 1 and 2.. it doesnt respond.. the clock is ticking.. pressed both btn at time, seperately but no luck.. unable to change time...rtc keeps it running internaly even power is pulled off..

    •  3 года назад +1

      What does your clock show? Try to uncomment row nr. 423 (github.com/mylms/Arduino-Matrix-Clock/blob/1.5/ArduinoMatrixClock/ArduinoMatrixClock.ino#L423) - it set time to RTC module. There are some isuues, but ussualy there was a problem with bad RTC, or bad wiring. You can send me a photo of your clock to my mail info@mylms.cz Maybe I will see some error...

    • @aksdiyprojects1999
      @aksdiyprojects1999 3 года назад

      @ dear whenever i remove rtc batt n reinstall it the clk starts ticking 12.00 onwards.. checked serial monitor comand its about something of ir reciever...

  • @manelangulo8352
    @manelangulo8352 3 года назад

    Hello, I have found this wonderful watch, I have assembled it and it works perfectly.
    The IRremote does not work, I have changed the codes in the program according to its indications but it does not work.
    It could give me a solution.
    Thanks and greetings from Spain.

    •  3 года назад

      First check your wiring (receiver must be connect to pin D7, or you have to change number on line 136). Next, you can try send this sketch to arduino: github.com/mylms/Arduino-Matrix-Clock/blob/1.5/IrTest.ino. This will send codes from remote control via serial monitor. You have to use these values in clock sketch - value has this format: 0xFF22DD (do not forget 0x in the beginning).
      Or, send me which value do you use.

    • @manelangulo8352
      @manelangulo8352 3 года назад

      @ Thank you very much for responding.
      I have checked the wiring and I see it correct my codes are these:
      #define IRCODE_BUTTON1 0xF30CFF00 // IR REMOTE CONTROL - button # 1 code
      #define IRCODE_BUTTON2 0xE718FF00 // IR REMOTE CONTROL - button # 2 code
      #define IRCODE_BUTTON1AND2 0xA15EFF00 // IR REMOTE CONTROL - both buttons code (button # 3 code)
      When I press the remote there are no changes, I don't know what can happen.
      Can I send the code to an email to review it?
      I would like to have this watch for my day to day.
      Thank you
      a greeting

    •  3 года назад

      Try to delete "00" from code. Example: #define IRCODE_BUTTON1 0xF30CFF // IR REMOTE CONTROL - button # 1 code

    • @manelangulo8352
      @manelangulo8352 3 года назад

      @Hello Pet'an thanks for responding.
      I've followed your prompts and it still doesn't work.
      I don't understand what can happen, the connections are correct.
      Do you have to disable any line if you use the IR command?
      Can I send the code to an email so that I can review it?
      Thanks for your time
      a greeting
      Sorry for my English

    •  3 года назад

      Of course, you can send your code to my mail info@mylms.cz. But if you use "pure" code (v1.5) from GitHub, it should work... There is no nessesary upgrade of code, only change values of remote control.
      One idea... try to use rotated code. Use these example of code:
      #define IRCODE_BUTTON1AND2 0x00FF5EA1 or
      #define IRCODE_BUTTON1AND2 0xFF5EA1
      Just write pair of numbers upside down (and then try to delete 00): 0x F3 0C FF 00 >> 0x 00 FF 0C F3

  • @nortedoparana
    @nortedoparana 5 лет назад

    My Nano freezes after a few hours of running and I have to reset. Do you have any idea where to search for the reason?

    •  5 лет назад

      I could be a hardware issue. Try to change power source (can you show your wiring diagram?) or Arduino Nano. Do you use original Arduino, or clone?

    • @LuisFigueroaB-oi4jc
      @LuisFigueroaB-oi4jc Месяц назад

      Funciona ,solo que poco a poco el reloj se va atrazando.

  • @fiveooooo
    @fiveooooo 5 лет назад

    Grazie! Grazie!
    era quello che stavo cercando.... ti chiedo una grande cortesia: è possibile aggiungere una schermata dove viene visualizzato un breve testo "Aperto" per un minuto quando viene chiuso uno switch esterno?
    Se non hai tempo o non hai voglia non fa niente , va anche benissimo così!
    Grazie ancora !!!

    •  5 лет назад

      I could not be a big problem. If you do not use "show date" or "show temperature", it is posible to show some text instead of this function. Unfortunately "Aperto" has 6 chars, but there are only 4 displays. See this graphic: xantorohara.github.io/led-matrix-editor/#0029292fe92929e6|005c44c4cc4545dc|00222120212222f9|000c12121212120c . I can change 5th font (what font do you use) to this text and update the code. I will send you upgraded code later. Please see my webpage (comments in the bottom of the page): www.mylms.cz/arduino-hodiny-s-maticovym-displejem/

    •  5 лет назад

      Please, let me know how exactly do you want how it could it work (to the comment on my page - see link above). For example: show time, only if external switch is closed show text (last 10 second in one minute = instead of temperature). From zero second show time.

    • @fiveooooo
      @fiveooooo 5 лет назад

      You are so kind... This afternoon I will contact you with what I need . For now many many thanks

    • @fiveooooo
      @fiveooooo 5 лет назад

      @
      I'm here to explain my needs:
      I've a new garage, it will have to become my den...There is a garage opening ( a slide door up). I would obtain a led panel that says me hour, date and external temperature. This for 3 minutes when I push a button. This button will be a push button in parallel with another momentary switch that will be activated by the start of open the slide door . So when I will go into the garage to go to my work, at the start will open the door, I will can see the information, or when I will make somethings into the garage and I want know the time, date and temperature, I will push the parallel button. All information should be visible for 3 minutes. This is not all ... due to my hurry, few days ago the door not was completly opened, and with my car I bumped the door, only a little ...luckly... so I think is very usefull for me, that when the door is compleatly opened the display change into a full green light, this for 90 seonds, after this time will turn off.
      What do you says about this crazy project? Can you spend your time to help me? Let me know if I must be more clear, if it is necessary change somethings .... Many thanks....My name is Patrizio :-)

    •  5 лет назад

      It could be difficult to make this project (I do not have a lot of free time). I thought you want to easy upgrade the code. I can make this - clock normally show time/date/temperature. When switch is closed it shows "Aperto". Or Instead of this you can use push button and after release button it will show "Aperto" for some time (3 min.).

  • @neirodrigues4159
    @neirodrigues4159 4 года назад

    Very good your project congratulations, just that it is frozen on the date and does not return to the hours !!!

    •  4 года назад

      What is your setting of "D" parameter, day ("d") and month ("m")? I have no feedback about this issue.

  • @fiveooooo
    @fiveooooo 5 лет назад

    Nel caso sia complicato mostrare "Aperto", andrebbe bene anche il pannello completamente acceso e lampeggiante, sempre per un minuto.

  • @VulcanOnWheels
    @VulcanOnWheels 4 года назад

    Why give a video an English language title when it's actually in...Czech?

    •  4 года назад

      You can use English subtitles.

    • @VulcanOnWheels
      @VulcanOnWheels 4 года назад

      @ You're missing the point.