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

    Power cycle LoPy from outside (Linux machine)

    Scheduled Pinned Locked Moved LoPy
    fipylinuxpower cycle
    2 Posts 2 Posters 398 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.
    • M Offline
      mraj
      last edited by

      Hi!

      Apology if this was discussed before. I am wondering if it is possible to power cycle a LoPy/FiPy devices from a connected machine (Linux machine)?

      robert-hhR 1 Reply Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @mraj
        last edited by

        @mraj By hardware or by software?
        By Software: if you have a communication defined, you can define a command which leads the Lopy to do execute machine.reset().
        By Hardware: You need extra hardware, which depending on what you need either toggle the reset pin or power off/on the device. A separate small micro could do that, maybe even the PIC which now resides on the various expansion/ensor boards.

        There a subtle (unintended I guess) differences between machine.reset(), pulling the reset pin and power cycling the device.

        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