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

    FiPy or Gpy as modem?

    Scheduled Pinned Locked Moved FiPy
    modemat commands
    11 Posts 6 Posters 1.8k Views 6 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.
    • J Offline
      jmarcelino @electronic
      last edited by jmarcelino

      @electronic
      I’ve never tested with a Raspberry Pi but you should be able to connect the FiPy pins as listed LTE_RX, LTE_TX, LTE_CTS, LTE_RTS to the corresponding UART pins + GND on the Raspberry Pi

      https://docs.pycom.io/chapter/datasheets/downloads/fipy-pinout.pdf

      You should also hold the FiPy I reset by holding th line to GND.

      UART speed is 921600 with CTS/RTS hardware flow control

      On the GPy the pins aren’t exposed, you can only do it (directly at least, without fiddling with the software) on the FiPy

      S S 2 Replies Last reply Reply Quote 0
      • S Offline
        soulsurfer @jmarcelino
        last edited by

        @jmarcelino This is intriguing news! Has this ever been tested using something other than a Raspberry Pi?

        I have several old Pis and I could try the obvious experiment. However I've only just received my very first FiPy and I'm reluctant to risk damaging it before even using it anger for the first time.

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jmarcelino @soulsurfer
          last edited by

          @soulsurfer
          Yes this works on Mac and Windows using a USB-serial adapter, it's the setup used for certification.

          1 Reply Last reply Reply Quote 0
          • S Offline
            Sebastien @jmarcelino
            last edited by

            @jmarcelino
            Hi, Has anybody tested this configuration successfully ?
            (I mean with Raspberry Pi Serial <==> LTE_RX, TX, CTS, RTS))
            when you mention : "reset by holding the line to GND." , you ment pin1 (RST) connected to the GND ?
            Thanks in advance

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

              @sebastien Yes, the RST pin, next to the Reset button. Pulling that low keeps the ESP32 in reset state and all it's GPIO's floating.
              (P.S.: That's a trick used also by Arduino people for using it as an USB/UART bride).

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                Sebastien @robert-hh
                last edited by

                @robert-hh
                Thanks Robert. I have done it. but still the LTE modem remain silent.

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

                  @sebastien Did you try to swap RX/TX? Or with the RTS/DTR lines?

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    Sebastien
                    last edited by Sebastien

                    @robert-hh
                    Actually, I am quite confident in the "wirering", since I can receive, on the rpi, a "+sysstart" message when the I leave Fipy starting by itself ... I meant silent because I do not have any "OK / ERROR" message after the simple commands like AT, ATE1 or ATZ ... I try to communicate between Fipy & Rpi via "minicom -b 921600 -o -D /dev/serial0 ctsrts" (on the rpi , the serial0 is ttyAMA0 , and the CTS RTS pins are also enabled)

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      Sebastien @Sebastien
                      last edited by

                      @sebastien
                      Ah ah ! I found my mistake :-) it works now when i initialize my serial port as follow :
                      stty -F /dev/ttyAMA0 921600 raw -echo -echoe -echok -crtscts
                      Thanks !

                      B 1 Reply Last reply Reply Quote 1
                      • B Offline
                        bitvijays @Sebastien
                        last edited by

                        Hey @Sebastien, Hope you are doing well. Just curious, were you able to use FiPy/ GPy as a modem? If so, how? If we connect UART of Pi with LTE RX, TX. does it act like a network interface like lte0? eth0?

                        Also, if we are able to do this, by default the way of communication (accessing internet) would be via LTE? What if, we want to use SigFox or Wifi?

                        Also, is there a detail blog post regarding the same?

                        Cheers,
                        Vijay

                        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