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

    Stability of WiPy

    Scheduled Pinned Locked Moved WiPy 2&3
    3 Posts 2 Posters 34 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.
    • S Offline
      SciWax
      last edited by SciWax

      Dear Pycom-community,

      I want to use the FTP functionality of the WiPy together with an Expansionboard to use an external sd card. I want to send data to the WiPy every 4 seconds through my Arduino so the WiPy saves the data to its own SD-Card, which I want to access via FTP.

      I have 2 questions:

      1. Can I download a File from the FTP-server, while new data gets written to it?

      2. How stable is the WiPy, if I only want to use it for receiving datastrings on the serial, saving them to a sd card and downloading the file from the sd card via FTP?

      I really need stability, otherwise I have to use my Arduino for resetting the WiPy too and check on it all the time, which I probably have to do anyways. It is just a bummer, because I will definitely loose some of the 4 second measurements this way, when the WiPy crashes. I also though about using an ESP8266 for my problem. I know that the ESP32 has stability issues, but I'm not sure about the ESP8266 (Wemos D1 Mini, Nodemcu for instance).

      Kind regards

      1 Reply Last reply Reply Quote 0
      • G Offline
        Gijs
        last edited by

        This application should work perfectly fine. Just watch out for the filesize over FTP, as that can cause some issues for exceptionally large files. Next to that, I would not start messing with the files you're writing to in micropython, (especially as you're writing data every 4 seconds, and it might be hard to extract a file within 4 seconds without it being written to) but perhaps you can make a separate file for each hour or so? Then you'll be able to extract the data files per hour and be sure your micropython script is done with it.

        I know that the ESP32 has stability issues

        Not sure what you're talking about here though..

        1 Reply Last reply Reply Quote 2
        • S Offline
          SciWax
          last edited by SciWax

          Thank you, Gijs. That was actually my idea too. Creating a new file every day (perhaps) for instance, so the file, which gets written to at the moment won't get touched. I also thought, that this mostlikely will cause issues. Thank you for the additional information about filesize too!

          Thanks for the help!

          Kind regards,

          SciWax

          1 Reply Last reply Reply Quote 1

          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