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"
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;
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.
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/ :)
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.
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.
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);}
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
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.
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
@ 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...
@ 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...
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.
@ 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
@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
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.
@ 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.).
Very Nice Clock 😍
Video Having subtitles helped me understand it better.
God Bless You,
Love from India 🇮🇳🇮🇳🙏🙏
Amazing. Good dedication. Congrats.
dobře a jednoduše vysvětlené, davám like, tvorbě zdar
Now, version 1.4 is avaliable. You can turn your clock vertically.
Excellent !!!! Good Job !!!! Thanks !!!!
I made the watch using the Arduino Pro Mini and it works great. Thank you Pet'an!
Good to hear it :) I'm working on version 1.5 - some small upgrades and IR remote control.
Wow! Excellent! I'm waiting for news from you my friend. Thank you again.
Version 1.5 is available to download: github.com/mylms/Arduino-Matrix-Clock Short video: instagram.com/p/B7_ztKeJurT/?
It is a fantastic project, explaining all the features.Thanks and Congratulations.
Great video, thanks for sharing. Is there any way to show Fahrenheit instead of Celsius?
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"
Thanks so much for the reply. I will give it a try. Thanks again
Excellent job, thank you!
Version 1.5 is available to download: github.com/mylms/Arduino-Matrix-Clock Short video: instagram.com/p/B7_ztKeJurT/?
Pěkný, něco podobného sháním ale s jiným zobrazováním (segmentovky se zobrazením vteřin).
To by nebyl problém předělat. Stačí upravit funkci WriteTime() tak, aby spolupracovala s vhodným displejem.
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
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;
OK sir thanks
I will try
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...
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.
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.
I started to make a new version of firmware for clock... IR remote works instagram.com/p/B71dxYQJDR3/ :)
Congratulations friend! Excellent done. Excellent explained.
Muito legal, gostei! show de bola.
very good sketch, well explained, thanks a lot
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
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.
@ ok sir, I will try to change the battery first.
Thanks man , my question is how accurate this clock comparing to esp8266 ntp clock ? Keep up the good work .
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.
Help.Todo funciona solo que poco a poco el reloj se va atrazando.
Adorei o projeto parabéns !!!
Want to add a buzzer for chime every hour. What will be the code ?
Thanks in advance.
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);}
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
is it the way to make temperature more accurate?
Without hardware upgrade anfortunately not. Temperature is read directly from RTC module. Could be a good idea to add humidity/temperature sensor.
@ thanx for the answer
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
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.
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.
Thanks sir I will try
I have edited and it worked fine
Thanks you
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.
WERT DAN U WEL GOED WERK BEDANKT@
Tiene alarma?
No alarm. Just time, date and temperature.
@ Gracias
sir, modul matrix 4in1 or singel matrix thnks
It does not matter. You can use 4in1 (looks better) or you can connect 4 matrix display together.
Forgot to mention , i m using ds 1307 module.. is it the issue ?
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
@ thank you for promptness and courtsey as well.. surely try the ds3231 n will updaye you
@ 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..
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...
@ 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...
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.
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.
@ 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
Try to delete "00" from code. Example: #define IRCODE_BUTTON1 0xF30CFF // IR REMOTE CONTROL - button # 1 code
@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
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
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?
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?
Funciona ,solo que poco a poco el reloj se va atrazando.
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 !!!
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/
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.
You are so kind... This afternoon I will contact you with what I need . For now many many thanks
@
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 :-)
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.).
Very good your project congratulations, just that it is frozen on the date and does not return to the hours !!!
What is your setting of "D" parameter, day ("d") and month ("m")? I have no feedback about this issue.
Nel caso sia complicato mostrare "Aperto", andrebbe bene anche il pannello completamente acceso e lampeggiante, sempre per un minuto.
Why give a video an English language title when it's actually in...Czech?
You can use English subtitles.
@ You're missing the point.