Built-in LED - Blink Date and Time

Hello.

I have a NodeMCU ESP8266.

Has anyone tried making a project where it syncs to a time server and then the built-in LED blinks the time and date?

eg/ 27 February 12:05. 27 blinks. Wait. 2 blinks. Wait. 12 blinks. Wait. 5 blinks.

I can't seem to find such an existing project.

How easy would it be to code?

The principle is simple. Given a number do you know how to make the LED blink that number of times ?

What is your programming experience ?

Maybe better with morse code ??

Hi.

Is your HTTPS server connection working now?

You can't expect any project you dream up to have been coded for you already!

But as @otronics says, it should be simple.

I remember your HTTPS code from the other topic gets the time ok. So you just need to turn that into a series of blinks.

I guess it will take some time to complete the blink sequence you described to complete, allowing for a human to count them. If you code it using delay() this could prevent the ESP from performing other tasks at the same time. Is that ok?

How will you know when the next blink pattern starts?

This is like an indoor treadmill. You will never count to 27 after the first try.

Programming experience is not great.

I was thinking of doing something with Morse code actually.

HTTPS server project is on hold due to long term building work now blocking the UV sensor!

The ESP will only carry out this function and no others.

Re/ when the next blink pattern - something like keep the LED on for 30 seconds, blink rapidly, then start the time sequence.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.