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

    pysense: why a coprocessor

    Scheduled Pinned Locked Moved Comments & Feedback
    pysense
    5 Posts 3 Posters 1.1k Views 4 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.
    • T Offline
      tmcolby
      last edited by

      i am wondering why there is a need for the coprocessor on the pysense board. is there any specific reason why the pcyom modules could not interface with the sensors directly?

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jcaron @tmcolby
        last edited by

        @tmcolby Can't speak for Pycom, but my understanding is that the PIC provides the USB/serial communication (that was probably the main reason). It also includes battery voltage measurement, control of the power to the sensors. It also helps switching the module to programming mode purely by software.

        It has also helped with early versions of the modules (LoPy, SiPy, WiPy 2) to manage deep sleep, including ways to wake up (timer, wake on pin, wake on interrupt), though this is more or less successful.

        As far as I remember, most communication between the modules and the sensors does not actually go through the PIC, though.

        1 Reply Last reply Reply Quote 1
        • M Offline
          Martinnn
          last edited by

          Is there any documentation on this? The pysense spec sheet is extremely meager.

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            jcaron @Martinnn
            last edited by

            @martinnn The source code of the Pysense library will tell you quite a few things, as well as the data sheets of the various components.

            You'll find a bit more information on the internal wiring of the PIC in this old thread: https://forum.pycom.io/topic/1673/pysense-pinout-wake-on-pin/17

            M 1 Reply Last reply Reply Quote 2
            • M Offline
              Martinnn @jcaron
              last edited by

              @jcaron thanks for pointing to this informative thread! I've looked through the library code as well, very informative. In addition, I spent half a day reverse engineering the connections and looking up cryptic SMT markings for the undocumented parts on the board (TPS78233 LDO, BQ24040 Lipo charger, TT8J13 dual P channel FET).
              Thankfully I don't need the low power capabilities of this board (I need an active WiFi connection), I only need the sensors, so this simplifies things.
              Let's hope Pycom releases the secrecy around this board and published PIC source code and schematics.

              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