Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PiFace Real Time Clock Issue
07-06-2015, 11:56 AM,
#5
RE: PiFace Real Time Clock Issue
OK So I've managed to suss this one out. I've included some steps incase anyone else out there is having issues.

sudo rm /etc/modprobe.d/rpitc-blacklist.conf
sudo nano /etc/modules

Ensure that the below modules are added
snd_bcm2835
i2c-bcm2708
i2c-dev

sudo nano /boot/config.txt

Add add the bottom
dtparam=i2c1=on
dtparam=i2c_arm=on


wget https://raw.githubusercontent.com/piface...e-clock.sh

chmod +x install-piface-real-time-clock.sh
sudo ./install-piface-real-time-clock.sh
sudo reboot
sudo date -s "02 JUN 2015 22:20:30"
sudo hwclock -w
sudo hwclock -r
sudo -s
hwclock -w
hwclock -r

Unplug the network cable

sudo reboot

Test and ensure the hardware clock is now working. Should be all good.

Also I did notice if you plug the PiFace RTC Shim in to the incorrect GPIO headers it short circuits the battery. This then acts as if you were to remove the battery from the device. Hence the clock resets.

Thanks to Admin for helping me out and everyone else who has worked and helped on this project.
Reply


Messages In This Thread
PiFace Real Time Clock Issue - by keen4listerine - 26-05-2015, 05:38 AM
RE: PiFace Real Time Clock Issue - by admin - 28-05-2015, 11:37 AM
RE: PiFace Real Time Clock Issue - by keen4listerine - 07-06-2015, 11:56 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)