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

    A practical example request

    Scheduled Pinned Locked Moved MicroPython
    3 Posts 2 Posters 1.3k 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.
    • J Offline
      jomifo Pybytes Beta
      last edited by

      Hello-

      I know the Pycom folks are very busy on firmware and docs, but wanted to make this request in regards to a useful practical example that would cover some of the main common useful features of the LoPy and would really help me and I think others as well-

      The example would consist of a remote LoPy node with a sensor (lets say temperature) and a "gateway" node. The gateway node would get the sensor data via LoRa and also use Wifi to get the data into a traditional network (via sockets or http-request).

      The specifics I would like to see are the radio-related code on both nodes and the details of battery optimization (i.e. sleep/low-power modes).

      I plan to set-up sensor nodes like this on my farm and I know an example like this would help me tremendously.

      Maybe examples like this are planned for already?

      Thanks,
      jomifo

      1 Reply Last reply Reply Quote 0
      • R Offline
        Ralph
        last edited by

        Hi @jomifo,

        Thanks for the request. We are now working on the docs an getting all examples organised in one place. In case you didn't find it yet, on the current docs there are a few lora examples:
        https://docs.pycom.io/pycom_esp32/pycom_esp32/lora_examples.html#lora-examples

        There is also a complete nano-gateway example on this forum post.

        Is this enough for you to get started? In any case, we'll keep expanding the examples and also include some complete example projects.

        The sleep/low power modes are not implemented yet, so I fear you'll have to wait a little longer for those features.

        1 Reply Last reply Reply Quote 0
        • J Offline
          jomifo Pybytes Beta
          last edited by

          Thanks @Ralph for the links. I will experiment with the LoRa examples. One thing that might help specifically in regards to the LoRa examples, which is a new technology to me and possibly a lot of others, is at least a short description of each example and why you might implement that example. I see terms like LoRaMAC, LoRaWAN with OTAA, LoRa with ABP, LoRa nano-Gateway, LoRa basestation, LoRa Gateway, etc. in the forums and examples and it is a bit overwhelming on where to start and what I need. Perhaps I need to do more research in LoRa. But still I think a little guidance could go a long way.

          Regarding fully implemented end-to-end, but simple, real-world examples (like the one I mentioned)- I think they will help flush out some details and best practices. It's possible these examples will naturally come out in the forum more once features like sleep are enabled.

          This is some great tech and looking forward to experimenting and using.

          jomifo

          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