Button Adjustment for LED Matrix Alarm clock.

Hi ! I'm a beginner in this Arduino forum & not so competent in C++ Prog. I've been learning from your codes & Trying make out something.

Here's the video Link : LED MATRIX CLOCK, DS1307, DHT11 - YouTube

I need the same help : I've already made a Clock with Max7219 32x8 LED Matrix, DS1307, DHT11 & Arduino Nano.

The Clock working well but Only being able to adjust the time, date & Mainly Alarm with Serial command. So I want some Physical button to adjust Alarm time.

Please help me with it.

Matrix_clock7_168_softi2c_cleaned.ino (23 KB)

The easiest way to do this is to buy a cheap infrared remote control and a matching receiver.
Then you have to develop a protocol like say #1712141129* to set the time to 2017-12-14 11:29.

You can also do it with 4 buttons. Copy the current time into a buffer when say 2 buttons are pressed simultaneously and display it (or part of it if the display cannot contain all the digits of the date/time). Use the left and right button to select the digit to change (make it flash) and the up down button to increase/decrease the value of the displayed digit. Again a sequence to terminate the programming and maybe a timeout which reverts to the original time if the attempt to set the time is abandoned. It gets complicated if your display shows only 4 digits and you want to scroll left and right through a 12 digit date representation.

@6v6gt

II don't know if I'm wrong to "resurrect" this topic but, do you have any Remote IR Clock sketches for this array, as you mentioned above: "The easiest way to do this is to buy a cheap infrared remote control and a matching receiver. " ?

If so, could you make it available here?

I'm in time looking for an IR Remote Controlled LED Matrix Clock but I can't find it!

I have some examples of both a 4 digit and 6 digit clock which can be set by an IR remote control. These are seven segment, but the principle would be the same for a dot matrix clock. The IR remote part is an NEC type device (these are available of about $1 each from China). The IR receiver is a TSOP type device. I have not published the code before so it is a bit "rough" but you may see bits in it which could help.

Hi 6v6gt

I asked the question here for you: Need help completing sketck for Clock - Jobs and Paid Consultancy - Arduino Forum (#19)

But if you can share your sketches with me, I really appreciate it and if you can help me with the forum I mentioned to you, I thank you too