Questions tagged [ds1307]

a low-power I2C serial real-time clock (RTC) with full binary-coded decimal (BCD) clock/calendar plus 56 bytes of non-volatile SRAM

18 questions
18
votes
5 answers

i2cdetect shows every possible address

I was trying to turn on I2C following this tutorial http://www.raspberrypi-spy.co.uk/2014/11/enabling-the-i2c-interface-on-the-raspberry-pi/ But I have problem which I cannot solve. The command i2cdetect -y 1 returns 0 1 2 3 4 5 6 7 8 …
wja
  • 183
  • 1
  • 1
  • 5
12
votes
3 answers

How to install Real Time Clock (RTC) on Raspbian?

I have: Raspberry Pi with 2015-05-05-raspbian-wheezy ds1307 attached (it's an Adafruit board, pullup resistors not installed). How do I: configure drivers make sure the Pi actually uses the RTC time on startup? I've actually done the first…
greggo
  • 631
  • 2
  • 5
  • 11
5
votes
4 answers

How can I automatically update the hwclock with NTP when I have internet connection

I'm using an RPi with Raspbian which runs the NTP-daemon by default. I have connected an rtc-ds1307 external i2c hardware clock. I was following the instructions given here to set it…
Thomas
  • 81
  • 1
  • 1
  • 7
2
votes
0 answers

Why is my RTC DS1307 not being recognized?

I'm trying to wire up a DS1307 RTC to my Model B Pi. I'm following the diagram as shown in this crude image and I've also tried it like this but it isn't recognized by the Pi. When I run i2cdetect -y 1 I don't see anything registered. When I wire…
DustinDavis
  • 121
  • 5
2
votes
4 answers

Connecting RTC DS1037, Pin 5 already occupied

I think of adding a RTC Module to my Raspberry Pi. I found the following tutorial. http://www.forum-raspberrypi.de/Thread-tutorial-realtime-clock-rtc-ds1307-am-raspberry-pi-betreiben In general it's clear how I could connect it. But I already have…
Christoph Daum
  • 175
  • 2
  • 8
1
vote
2 answers

Configuring to read RTC at boot time

I have added an RTC to the I2C bus of the Raspberry Pi. If I follow the steps mentioned here (I am using the DS1307 RTC IC), I can run hwclock and read the time. root@raspberrypi:~# modprobe rtc-ds1307 root@raspberrypi:~# echo ds1307 0x68 >…
Lord Loh.
  • 657
  • 11
  • 26
1
vote
2 answers

How to connect DS1307 5V Real time clock (RTC) to 3.3V?

I have DS1307 small SMD parts so I can't simply leave out the resistors easily to make it work with 3.3V by default as with adafruit kit tutorial. How could I connect this device to my Raspberry Pi correctly? I assume I could add a resistor but I am…
DominicM
  • 155
  • 1
  • 3
  • 11
0
votes
2 answers

Why is my RTC DS3231 but seems DS1307?

I bought a RTC DS3231 because of the accuraty of time (2ppm, I was searching an accurate RTC). When I received it, I checked that in the encapsulating it is as well marked like DS3231. But, after install the RTC, I realized that it seems DS 1307. I…
0
votes
1 answer

RTC DS3231 could not be detected

HardwareSet up: Pi Model B, with Raspian Stretch. Boots up. Now try to install RTC Ds3231 module (with yellow capacitor at back) and plugged into the GPIO pins. Software: $ lsmod shows part of the list shows: rtc_ds1307 13908 0 hwmon 10552 …
mark
  • 121
  • 4
0
votes
1 answer

rtc module in Raspbian Stretch

I'm following this guide to set up the rtc module in Raspbian Stretch. First question: after the changes described, the RPi doesn't sync anymore with the actual time from the Internet. Second question: how is handled the sync between system and…
Mark
  • 533
  • 2
  • 11
  • 23
0
votes
2 answers

UPS PIco on Raspberry Pi B+ with Jessie

I have been using a PiModules UPS PIco add-on board on my Raspberry Pi B+ using Wheezy for over a year now. No problems. I just created a new boot SD with Jessie and while the PIco unit seems to be working, the Pi is throwing an error when it runs…
RDK
  • 203
  • 3
  • 10
0
votes
0 answers

How to use two different RTC modules (ds1307/ds3231) on the same PI

The question is: How to use the same SD image when you don't know which RTC module will be connected on top of Raspberry PI? I have two modules in use in…
Dmitry
  • 101
  • 1
0
votes
1 answer

HAT EEPROM DTB and RTC on I2C0

I'm having a problem creating a DTB for a HAT auto-configuration. I have a DS3231 RTC module attached on I2C0 (GPIO0 and GPIO1). It incorporates an AT24C32 EEPROM at address 0x50. To get it working, without getting into the HAT part yet, I've added…
0
votes
0 answers

i2cdetect detects the device but also shows a full row of addresses

I have successfully setup a RTC clock ( DS3231 ) on a RPi zero. The whole process was explained here. It works as expected but with only a minor difference: Row 5 is filled with numbers from 0x50 to 0x5f. There are guys here who complain about all…
BHP
  • 111
  • 4
0
votes
1 answer

DS3231 doesn't update its internal time?

UPD: with another chip of the same model RTC works just fine, presumably that the chip was broken/damaged. I installed DS3231 RTC clock ( which is detected as DS1307 for some reason). My config.txt looks…
jdevelop
  • 113
  • 4
1
2