source code + supporting library for auto on off led using nodemcu esp8266 as microcontroller + rtc ds3231 + 16x2 lcd display to display date, day, time information,

Job ID: 34041557

Budget: $10 – $40 USD

SSID(nama ssid) contoh SSID Playerku (max 10 digit) simpan ke eeprom 11-20
PASS(password) contoh PASS 1234567890 (max 10 digit) simpan ke eeprom 21-30

Device wifi default name --> AUTOPLAYER and password 123456789
As tcp communication, ip static -> 192.168.44.1 and port 23 or 80 or 81 whatever

The wifi name and password can be changed and stored at the internal eeprom, and displayed on the LCD when starting up the device

Replacement command with the format:
SSID(SSID name) example --> SSID MyPlayer (max 10 digits) save to eeprom 11-20
PASS(password) example --> PASS 1234567890 (max 10 digits) save to eeprom 21-30

a.Needs :

Synchronization of time from hyperterminal send --> SDTDDMMYYHHMMSSDoW (SDT followed by date, month, year and hour, minute, second, and dayofweek (which day of the week index week = 1, Tuesday = 2, Saturday = 7) , for example SDT170820221516175 means August 17, 2022 at 15:16:17 and is index dayofweek is 5 means thursday, then the RTC will be set to thursday 17 august 2022 at 15 minutes 16 seconds 17








Per day consists of 30 schedule slots
SUNDAY

Number Mode Time
(HH:MM) How many time will be on ? Time on
(second) Time off
(second)
1 ON 05:00 4 1 1
2 ON 05:30 2 2 1
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

The table will consist of a




Pay attention to sunday's table
Number Mode Time
(HH:MM) How many time will be on ? Time on
(second) Time off
(second)
1 ON 05:00 4 1 1
2 ON 05:30 2 2 1


Number 1 at sunday
Number Mode Time
(HH:MM) How many time will be on ? Time on
(second) Time off
(second)
1 ON 05:00 4 1 1

As your note
Day names in english Day names in indonesia
Sunday, MINGGU (MG)
Monday, SENIN (SN)
Tuesday, SELASA (SL)
Wednesday, RABU (RB)
Thursday, KAMIS (KM)
Friday, JUMAT (JM)
Saturday SABTU (SB)

Number Mode Time
(HH:MM) How many time will be on ? Time on
(second) Time off
(second)
1 ON 05:00 4 1 1

Send text from hyperteminal to 192.168.44.1 and port 23 or 80 or 81 whatever (nodemcu ip adress n port number )– MG0110500411-- > respond “OK” if received by nodemcu


Separated data MG0110500411-- > SN01-1-05-00-4-1-1
MG01-1-05-00-4-1-1
MG1 -- > sunday(minggu) number 1 ,
------------------------------------------------------------------------------------------------------------------------------------------
MG01-1-05-00-4-1-1
mode 1 (on), off mode -->0
------------------------------------------------------------------------------------------------------------------------------------------
MG01-1-05-00-4-1-1
Hour n minutes
------------------------------------------------------------------------------------------------------------------------------------------
MG01-1-05-00-4-1-1
How many times led will be on
------------------------------------------------------------------------------------------------------------------------------------------
MG01-1-05-00-4-1-1
How long led will be on (in second)
------------------------------------------------------------------------------------------------------------------------------------------
MG01-1-05-00-4-1-1
How long led will be off (in second)
------------------------------------------------------------------------------------------------------------------------------------------






eeprom address allocation to save Sunday schedule number 1
Mode Time
(HH:MM) How many time will be on ? Duration on
(second) Duration off
(second)
Column 1 Column2-3 Column4 Column5 Column 6
ON 05:00 4 1 1
Eeprom addres
101 Eeprom addres
102-103 Eeprom addres
104 Eeprom addres
105 Eeprom addres
106

eeprom address allocation to save Sunday schedule number 2
ON 05:30 2 2 1
Eeprom addres
111 Eeprom addres
112-113 Eeprom addres
114 Eeprom addres
115 Eeprom addres
116

see the attachment document first before place bid