Skip to content

ESP8266 12E #5

@tamato27

Description

@tamato27

I have a esp8266 with micropython on and this does not work at all , the date can not be set at all
keep getting [2000, 0, 0, 0, 0, 0, 0] as the date even if I explicitly set the date with ds.date_time([2022, 0, 0, 0, 0, 0, 0])
ds.year() still returns 2000

My Pins config
RTC CONNECTIONS:
DS1302 CLK/SCLK --> D5
DS1302 DAT/IO --> D4
DS1302 RST/CE --> D2
DS1302 VCC --> 3.3v - 5v
DS1302 GND --> GND

ds = DS1302(Pin(5), Pin(4), Pin(2))
ds.start()
ds.date_time() output is [2000, 0, 0, 0, 0, 0, 0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions