R
R
rinaz222022-02-05 21:30:04
Arduino
rinaz22, 2022-02-05 21:30:04

Why does the i2c scanner not see the DS1307 clock module?

I bought a ready-made real-time clock module DS1307 on Ali. I connected it to arduino nano and uploaded a sketch to set the time (iarduino RTC). The download was successful, but the port monitor shows 00-00-2000, 00:00:00, Dec.
I also tried to scan with an i2c scanner, but it does not see anything.

What could be the problem?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
kalapanga, 2022-02-05
@kalapanga

- Connected incorrectly
- Connected to the right place, but bad contact
- Faulty module
...

M
Myclass, 2022-02-05
@Myclass

I didn't quite understand the problem. But is it not so that the time must first be initialized, before being read later?

V
VT100, 2022-02-05
@VT100

What exactly is the DS1307 module? Are pull-up resistors installed? Is the "CH" bit in the seconds register correct?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question