Tinker Board Forum

Full Version: DS1307 support
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
is there anyone who has working DS1307 on tinkerboard?

I tried many manuals, but nothing works for me. 
I can easily connect i2c bus and I can detect ds1307 on this bus (0x68).

Most successful I was using python script, which was able to read and write to this RTC module. But when I rebooted the tinkerboard, it gets somehow overwritten. I tried also write time, disconnect RTC, reboot tikerboard, connect RTC back and this worked. So I am assuming something is writing to these RTC during boot. Any idea? Or any other manual, which works? 

Thanks,
Igor
(07-24-2017, 12:03 PM)Svermigo Wrote: [ -> ]Hello,
is there anyone who has working DS1307 on tinkerboard?

I tried many manuals, but nothing works for me. 
I can easily connect i2c bus and I can detect ds1307 on this bus (0x68).

Most successful I was using python script, which was able to read and write to this RTC module. But when I rebooted the tinkerboard, it gets somehow overwritten. I tried also write time, disconnect RTC, reboot tikerboard, connect RTC back and this worked. So I am assuming something is writing to these RTC during boot. Any idea? Or any other manual, which works? 

Thanks,
Igor

Hi, I had same issue with piface RTC on Pi 2...

Solved by removing fake-hwclock and ntp :

sudo apt-get remove fake-hwclock ntp
sudo rm /etc/cron.hourly/fake-hwclock
sudo update-rc.d -f fake-hwclock remove
sudo rm /etc/init.d/fake-hwclock
sudo update-rc.d hwclock.sh enable

Now i'm trying to make it work on tinkerboard but i can't... Is there anything to do to enable i2c on armbian ?