• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Difficulty in running RTC DS3231

Q&A Forum › Category: Raspberry Pi › Difficulty in running RTC DS3231
0 Vote Up Vote Down
Philip Borg asked 9 months ago

I have connected the RTC DS3231 and trying to run the code in Chapter 10.4 on page 457. I keep getting the error code as shown below: MPY: soft reboot Traceback (most recent call last): File \”<stdin>\”, line 26, in <module> File \”urtc.py\”, line 134, in datetime File \”urtc.py\”, line 45, in _register OSError: [Errno 5] EIO   I checked all connections and they seem sound enough. Any suggestions please?   Regards,   Philip

Question Tags: I
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 9 months ago

Hi.
I’m not sure, but that seems a problem with the connections…
What is exactly the RTC model you’re using? Can you send a link to the exact model?
Revarxs,
sara

0 Vote Up Vote Down
Philip Borg answered 9 months ago

Hello Sara,
Thank you very much for your reply.
I have changed my leads to ensure to eliminate any problems with the leads I was using, and it did the trick.
It is now working as intended.
 
 

0 Vote Up Vote Down
Sara Santos Staff answered 9 months ago

Great.
I’m glad everything is working as expected now.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.