@WilsonB wrote:
Pi3 B+ , HyperPixel 4" , Debian distro, DS3231 timer connected through the I2C interface connection on LCD.
LCD works…on LCD— on DS3231 (clock module)
GND ---- negative (-)
SCL ---- C
SDA ---- D
3v3 ---- PositiveAfter I reroute it;
sudo ln -s /dev/i2c-3 /dev/i2c-1It shows in
root@kali:~# sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – -- – -- – -- – -- – -- – -- –
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- – -- – -- – --
40: – -- – -- – -- – -- – -- – -- – -- – --
50: – -- – -- – -- – -- – -- – -- – -- – --
60: – -- – -- – -- – -- 68 – -- – -- – -- –
70: – -- – -- – -- – --But when I use hwclock, it does not see it;
sudo hwclock -r
hwclock: Cannot access the Hardware Clock via any known method.removed the fake clock
/etc/modules
i2c-dev
i2c-bcm2708
snd-bcm2835
i2c-bcm2835
rtc-ds1307
added in ;
/boot/config.txtdtoverlay=i2c-rtc,ds3231
Theoretically, couldn’t I just solder it direct to GPIO pins and have it set clock initially at boot , then ignore and then use pins for LCD there after?
If I can’t get this going, I will just solder pins directly and figure out how to setclock at boot , then switch to LCD
Posts: 1
Participants: 1