Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Reliability of pytrack

    Scheduled Pinned Locked Moved Issues & Bugs
    bugslopypytrack
    1 Posts 1 Posters 713 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      rolandvs
      last edited by

      I'm trying to finish a project wit the lopy, but after running the program for an hour of two it crashes:

      pytrack.py, line 212, in button_pressed
      pytrack.py, line 141, in peek_memory
      pytrack.py, line 106, in _write
      OSError: I2C bus error

      The first question would be why?
      What made it decide to crash while it was running for two hours straight?
      Was the root cause the PIC microcontroller on the pytrack create the problem or was it micropython running on the ESP32?

      The pytrack uses a microcontroller for USB/SERIAL conversion and a few other things too. Why is the schematic not published? The peeking/poking in the code is not very descriptive on what is going on.

      The button_pressed is polled to see if a button is pressed and then stops the loop it is running in. On itself it seems a big waste of energy to use I2C to poll for a button, so now I'm hooking up a separate switch to overcome this and forget about the button.

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • 1 / 1
      • First post
        Last post

      Pycom on Twitter

      Pycom