Scheduling blinking of NodeMCU
Posted: Sat May 27, 2017 4:25 pm
Hello,
I would like to create a project using NodeMCU. The aim of the project is to move a cylinder, but to simplify I would talk about blinking. The usage of project should proceed as follows:
1) I choose, using my PC, duration (for example 5 minutes) and for example 10 dates like 12/06/2017 12:41, 25/07/2017 11:01 and so on.
2) MCU should remember those dates and (like in the example) turn on LED on 12/06/2017 12:41 for 5 minutes (on the other dates the same behavior).
The assumption is that MCU does not lose the power for whole time. I thought about implementation like client - server via Wi-Fi. So, I use the browser on PC to communicate with MCU. If I connect with MCU, it sends me already scheduled "dates of blinking". I can read them, remove or add another "dates of blinking". I have found that some projects base on something like that (in pseudocode):
(if) server.on("192.168.1.10/page_name", ...
do ... ;
Controling using address.
I think for a long time and I can not figure how to send dates to NodeMCU... Do you have any advices for me, how can I create that project?
Kind regards,
Czarek
I would like to create a project using NodeMCU. The aim of the project is to move a cylinder, but to simplify I would talk about blinking. The usage of project should proceed as follows:
1) I choose, using my PC, duration (for example 5 minutes) and for example 10 dates like 12/06/2017 12:41, 25/07/2017 11:01 and so on.
2) MCU should remember those dates and (like in the example) turn on LED on 12/06/2017 12:41 for 5 minutes (on the other dates the same behavior).
The assumption is that MCU does not lose the power for whole time. I thought about implementation like client - server via Wi-Fi. So, I use the browser on PC to communicate with MCU. If I connect with MCU, it sends me already scheduled "dates of blinking". I can read them, remove or add another "dates of blinking". I have found that some projects base on something like that (in pseudocode):
(if) server.on("192.168.1.10/page_name", ...
do ... ;
Controling using address.
I think for a long time and I can not figure how to send dates to NodeMCU... Do you have any advices for me, how can I create that project?
Kind regards,
Czarek