×
INDI Library v1.8.1 Released (09 Sep 2019)

Monthly maintenance release INDI v1.8.1

RTC and RPI4

4 days 14 hours ago
maxthebuilder
Gold Boarder
Gold Boarder
Posts: 214
More
Topic Author
RTC and RPI4 #43177
Hi All,
SM 1.4.3.
RTC works fine on my RPI3.
On my new RPI4 I cannot make it work.
I have dtoverlay=i2c-rtc,ds3231 added to my config.txt (it was there by default).
When I issue sudo i2cdetect -y 1, nothing shows up.
How to configure RTC on RPI4, please?
Thanks!

Max S.
RPI 3 B+ and RPI 4 B (4Gb) with Stellarmate OS.
Nikon D5300. Nikon D5500 H-a modified. 180 mm f/2.8 antique Nikon. Tamron AF 28-75mm f/2.8.
AT72EDII refractor. ZWO ASI294MC Pro
ZWO ASI120MC-S on ZWO 30F4 MiniScope.
SW AZ-GTi mount in EQ mode.
iOptron SkyTracker Pro.

Please Log in or Create an account to join the conversation.

4 days 9 hours ago
Ihoujin
Platinum Boarder
Platinum Boarder
Posts: 617
Karma: 3
More
RTC and RPI4 #43181
I2C baudrate can not be too high (Ask me how I know!)
You can try manually setting it in /boot/config.txt
dtparam=i2c_baudrate=400000
100000-500000 should work with RTC's
Good luck.

INDI/KStars on Raspberry Pi 3B+
Lubuntu 16.04
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.

Please Log in or Create an account to join the conversation.

4 days 5 hours ago 4 days 5 hours ago by maxthebuilder.
maxthebuilder
Gold Boarder
Gold Boarder
Posts: 214
More
Topic Author
RTC and RPI4 #43190
Thanks!
No. This didn't make any difference.
I still get:
stellarmate@stellarmate:~$ 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: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
stellarmate@stellarmate:~$

Maybe the module is defective?

Max S.
RPI 3 B+ and RPI 4 B (4Gb) with Stellarmate OS.
Nikon D5300. Nikon D5500 H-a modified. 180 mm f/2.8 antique Nikon. Tamron AF 28-75mm f/2.8.
AT72EDII refractor. ZWO ASI294MC Pro
ZWO ASI120MC-S on ZWO 30F4 MiniScope.
SW AZ-GTi mount in EQ mode.
iOptron SkyTracker Pro.

Please Log in or Create an account to join the conversation.

4 days 5 hours ago
wvreeven
Platinum Boarder
Platinum Boarder
Posts: 977
Karma: 6
More
RTC and RPI4 #43191
When you type dmesg in a terminal, do you see anything related to the RTC module?

ASI1600MM-Pro Cooled and filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro

ASI1600MM-Pro Cooled and filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R

Please Log in or Create an account to join the conversation.

4 days 5 hours ago
Ihoujin
Platinum Boarder
Platinum Boarder
Posts: 617
Karma: 3
More
RTC and RPI4 #43192
You may find some answers in this forum. Please report back if you do.
www.raspberrypi.org/forums/viewtopic.php...4ac9da28afebe866be49

INDI/KStars on Raspberry Pi 3B+
Lubuntu 16.04
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.

Please Log in or Create an account to join the conversation.

3 days 17 hours ago
maxthebuilder
Gold Boarder
Gold Boarder
Posts: 214
More
Topic Author
RTC and RPI4 #43216
No nothing related to it as far as I can tell...

wvreeven wrote: When you type dmesg in a terminal, do you see anything related to the RTC module?


Max S.
RPI 3 B+ and RPI 4 B (4Gb) with Stellarmate OS.
Nikon D5300. Nikon D5500 H-a modified. 180 mm f/2.8 antique Nikon. Tamron AF 28-75mm f/2.8.
AT72EDII refractor. ZWO ASI294MC Pro
ZWO ASI120MC-S on ZWO 30F4 MiniScope.
SW AZ-GTi mount in EQ mode.
iOptron SkyTracker Pro.

Please Log in or Create an account to join the conversation.

3 days 17 hours ago
maxthebuilder
Gold Boarder
Gold Boarder
Posts: 214
More
Topic Author
RTC and RPI4 #43217
It behaves as the module doesn't exist or defective..
I tried another RTC module (exactly the same) which did work with RPI3.
Same story. Doesn't show up when I issue sudo i2cdetect -y 1.
: (

Max S.
RPI 3 B+ and RPI 4 B (4Gb) with Stellarmate OS.
Nikon D5300. Nikon D5500 H-a modified. 180 mm f/2.8 antique Nikon. Tamron AF 28-75mm f/2.8.
AT72EDII refractor. ZWO ASI294MC Pro
ZWO ASI120MC-S on ZWO 30F4 MiniScope.
SW AZ-GTi mount in EQ mode.
iOptron SkyTracker Pro.

Please Log in or Create an account to join the conversation.

3 days 6 hours ago
Ihoujin
Platinum Boarder
Platinum Boarder
Posts: 617
Karma: 3
More
RTC and RPI4 #43227
I got an RTC for my new RPi4 and at first it did not show up. But changing my i2c bus speed while tweaking it for my motor controller board suddenly made it show up. Or so I thought. The next time I configured the system I could not repeat my earlier success. I thought maybe the higher speed damaged it. But now I'm not sure because others are also having trouble.

INDI/KStars on Raspberry Pi 3B+
Lubuntu 16.04
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.

Please Log in or Create an account to join the conversation.

3 days 1 hour ago
maxthebuilder
Gold Boarder
Gold Boarder
Posts: 214
More
Topic Author
RTC and RPI4 #43235
So.. I am not alone..
Was anyone able to make RTC work with RPI4?
Thanks!

Max S.
RPI 3 B+ and RPI 4 B (4Gb) with Stellarmate OS.
Nikon D5300. Nikon D5500 H-a modified. 180 mm f/2.8 antique Nikon. Tamron AF 28-75mm f/2.8.
AT72EDII refractor. ZWO ASI294MC Pro
ZWO ASI120MC-S on ZWO 30F4 MiniScope.
SW AZ-GTi mount in EQ mode.
iOptron SkyTracker Pro.

Please Log in or Create an account to join the conversation.

1 day 17 hours ago
maxthebuilder
Gold Boarder
Gold Boarder
Posts: 214
More
Topic Author
RTC and RPI4 #43297
Reporting: RTC works in SM 1.4.4 (KDE)

Max S.
RPI 3 B+ and RPI 4 B (4Gb) with Stellarmate OS.
Nikon D5300. Nikon D5500 H-a modified. 180 mm f/2.8 antique Nikon. Tamron AF 28-75mm f/2.8.
AT72EDII refractor. ZWO ASI294MC Pro
ZWO ASI120MC-S on ZWO 30F4 MiniScope.
SW AZ-GTi mount in EQ mode.
iOptron SkyTracker Pro.

Please Log in or Create an account to join the conversation.

Time to create page: 0.754 seconds