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

    Lopy with Raspberrypi 3

    Scheduled Pinned Locked Moved LoPy
    lopyraspberry pi
    10 Posts 4 Posters 2.4k 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.
    • H Offline
      hsn548
      last edited by

      Hi Everyone,

      I have a smartpi hat for a raspberrypi with which i am getting the data of power of my home meter. now i want to send this data through lora node to a gateway. Is it possible to connect lopy with a raspberrypi3? Can i send this data to lopy and then is it possible for lopy to send this data to a gateway?
      Thanks

      HSN

      C T 2 Replies Last reply Reply Quote 0
      • C Offline
        crumble @hsn548
        last edited by

        @hsn548 said in Lopy with Raspberrypi 3:

        Can i send this data to lopy and then is it possible for lopy to send this data to a gateway?

        Yes. There will be multiple way to communicate with your Pi3. You can connect the UARTs, use WiFi or connect them with an USB cable, if you use the expension or sensor board.

        I can't tell you something about the LoRa gateways.

        H 1 Reply Last reply Reply Quote 0
        • H Offline
          hsn548 @crumble
          last edited by

          @crumble thank you for the reply. may be someone else can help me about the lora.. :)

          1 Reply Last reply Reply Quote 0
          • sebS Offline
            seb
            last edited by

            You could connect the LoPy to the RPi via UART, I2C or SPI to send messages between them. The LoPy can only act as a I2C/SPI master currently so the RPi would need to be the salve. Once you've sent the data to the LoPy you can find example code on our documentation about connecting the LoPy to a LoRaWAN network here: https://docs.pycom.io/chapter/tutorials/lopy/lorawan-otaa.html

            I can't find many details about the smartpi but it shouldn't be too difficult to connect it directly to a LoPy without the RPi. Do you know how the smartpi communicates with the RPi?

            H 1 Reply Last reply Reply Quote 0
            • H Offline
              hsn548 @seb
              last edited by

              @seb Thanks for your answer. i really appreciate that.
              SmartPi installs a local server in the RPI and then gives a restApi to get data from a json response.
              https://blog.enerserve.eu/category/smartpi/api/

              1 Reply Last reply Reply Quote 0
              • sebS Offline
                seb
                last edited by

                From what I can tell the device connects to the RPi using I2C so you could directly access it from a LoPy, but this may be quite complex. Since the manufacturer provides a rest API you just need to make sure the LoPy and the RPi are connected to the same network and you should be able to access the rest API directly from the LoPy.

                H 1 Reply Last reply Reply Quote 0
                • H Offline
                  hsn548 @seb
                  last edited by

                  @seb yeah aou are right, i were wondering what if we are in a remote place where there is no local network but just a lora device :D isnt it a good idea to connect them through uart? and do we need interent connection to make lora working?
                  P.S: i am totally new to LORA world..

                  1 Reply Last reply Reply Quote 0
                  • sebS Offline
                    seb
                    last edited by

                    You could make the RPi or LoPy act as a wifi access point but you are correct, using a UART would be better in a remote location because it is much more energy efficient. The LoRa devices do not need internet access, only the LoRaWAN gateways need internet.

                    H 1 Reply Last reply Reply Quote 0
                    • H Offline
                      hsn548 @seb
                      last edited by

                      @seb Thanks man..

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        tam @hsn548
                        last edited by

                        @hsn548 Hi

                        I am senthamil doing my master's in telecommunication from University of south Australia. In my project progress, I am intended to send an image from raspberry pi 3 to Lopy 4 through WiFi.

                        It would be appreciated, if you guide me to send an image from raspberry pi 3 to Lopy 4.

                        Thanks in advance!!!!

                        Regards
                        senthamil

                        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