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

    Using PyCom boards with Arduino IDE

    Scheduled Pinned Locked Moved Guides
    arduinofipy
    19 Posts 11 Posters 6.3k Views 15 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.
    • L Offline
      Lonefish @mattt
      last edited by

      @mattt I never even had an OK back. Did you use the exact same code?

      M 2 Replies Last reply Reply Quote 0
      • M Offline
        mattt @Lonefish
        last edited by

        @Lonefish I tried using that code and the code in this pull request against the TinyGSM library, same result. Almost like the modem is locked until it receives a certain command.

        1 Reply Last reply Reply Quote 0
        • M Offline
          mattt @Lonefish
          last edited by mattt

          I did have to add #define SerialAT Serial2
          @Lonefish said in Using PyCom boards with Arduino IDE:

          Did you use the exact same code

          L 1 Reply Last reply Reply Quote 0
          • B Offline
            BorbonJuggler
            last edited by

            Have anyone managed to do it with a Gpy ?, I have been trying without success

            I am defining the UART pins as :

            #define LTE_TX    23
            #define LTE_RTS   18
            #define LTE_RX    5
            #define LTE_CTS   19
            
            1 Reply Last reply Reply Quote 0
            • L Offline
              Lonefish @mattt
              last edited by Lonefish

              @mattt said in Using PyCom boards with Arduino IDE:

              I did have to add #define SerialAT Serial2

              That seemed to work indeed! Sending AT+CSQ replied with 99,99 which is no connection. Haven't tried it any further, but it's more than I had a few months ago ;) Thanks!

              EDIT : There was no antenna connected nor was there a SIM inserted, so the 99,99 is logical.

              VolodymyrV 1 Reply Last reply Reply Quote 0
              • VolodymyrV Offline
                Volodymyr @Lonefish
                last edited by

                @Lonefish I'm wondering if you got this working ;)
                I have updated the OP use the Serial2.

                L 1 Reply Last reply Reply Quote 0
                • L Offline
                  Lonefish @Volodymyr
                  last edited by

                  @Volodymyr I'm restarting my efforts to get this working again. Have been jumping from POC to POC. But we're switching to esp-idf instead of Arduino. Although, once it's working in esp-idf, it'd be an easy port to arduino back probably.

                  ATM I'm still at the "having communication" part, no actual internet connection yet, but just started working on it again.
                  9e13f284-d50d-47f8-8887-57da1585780b-image.png

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    Lonefish
                    last edited by

                    I'm using this library at the moment, I can attach and connect to the network, but my efforts fail when I want to do some actual calls to servers. I don't seem to have http-traffic:

                    https://github.com/vshymanskyy/TinyGSM

                    J K 2 Replies Last reply Reply Quote 0
                    • J Offline
                      JFarque @Lonefish
                      last edited by

                      @Lonefish Ever get TinyGSM working? I need to sent CoAP UDP messages with it. I've used TinyGSM with other Arduino computers on standard ublox cell modules but new to narrow band.

                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        Kinnay21 @Lonefish
                        last edited by Kinnay21

                        @Lonefish
                        Hello, did you finally able to use TinyGSM with FiPy or GPy in order to call servers?

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          Clemens
                          last edited by

                          Would be also interested to use FiPy or GPy with TinyGSM for Arduino

                          P 1 Reply Last reply Reply Quote 0
                          • P Offline
                            pottendo pottendo @Clemens
                            last edited by

                            @Clemens said in Using PyCom boards with Arduino IDE:

                            Would be also interested to use FiPy or GPy with TinyGSM for Arduino

                            hi, you may look here: https://github.com/vshymanskyy/TinyGSM/issues/579
                            bye, pottendo

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              Jeroen Jager
                              last edited by

                              I'm getting this error whenever I try to compile anything for the GPy:

                              [15975] Error loading Python lib '/var/folders/57/hyd6ntr1233_x_brscxdp8480000gn/T/_MEI7xbrkg/libpython3.8.dylib': dlopen: dlopen(/var/folders/57/hyd6ntr1233_x_brscxdp8480000gn/T/_MEI7xbrkg/libpython3.8.dylib, 10): Symbol not found: ____chkstk_darwin
                                Referenced from: /var/folders/57/hyd6ntr1233_x_brscxdp8480000gn/T/_MEI7xbrkg/libintl.8.dylib
                                Expected in: /usr/lib/libSystem.B.dylib
                               in /var/folders/57/hyd6ntr1233_x_brscxdp8480000gn/T/_MEI7xbrkg/libintl.8.dylib
                              

                              I have just re-installed Python 3.9.
                              Anyone know how to fix this?

                              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