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

    Transferring from Raspberry Pi to GPy

    Scheduled Pinned Locked Moved GPy
    newbiegpyraspberry pi
    4 Posts 2 Posters 557 Views 3 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.
    • S Offline
      smoochypea
      last edited by

      I'm wanting to completely switch from my Raspberry Pi to my GPy. What is the process for converting the files over? I am pretty new to this and I would appreciate some help.

      1 Reply Last reply Reply Quote 0
      • P Offline
        Paul Thornton
        last edited by

        It would heavily depend on exactly what the original RaspberryPi setup was doing.

        Just running a few python scripts to do stuff with the IO pins. Easy enough to port.
        running some custom linux app to do a bunch of otherstuff? Significantly harder to port.

        If you can let us know some more details Ill gladly try and offer some advice :)

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          smoochypea @Paul Thornton
          last edited by

          @paul-thornton We use a Linux app to schedule the running of the code. We are running the code in 5 minute intervals. It is a data collection project

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            Paul Thornton @smoochypea
            last edited by

            @smoochypea You can achieve 5 minuite send intervals easily enough by sleeping for 5minuites - however long execution took.

            (read the time at the start and end of executing. run time is end - start sleep for 5 minuites - runtime as long as recording and sending data takes < 5 minuites you'll end up with a nicely timed 5 minuite loop)

            That said. without knowing more about what the rest of the datacollection code does it's rather hard to make recommendations.

            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