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

    How can I connect two (or more) lopy with different frequency?

    Scheduled Pinned Locked Moved LoPy
    lopyfrequencychannelsocketbind
    1 Posts 1 Posters 1.1k Views 1 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.
    • R Offline
      rloro338
      last edited by

      I'm trying to do a sensor network with three LoPy that communicates through LORA. I want to stablish one of this LoPy as a gateway.
      At the moment, i don't need upload data to the internet.

      It would be possible that the gateway would recibe data from the other nodes whose lora radio has been sintonized at a different frequency at each node
      for avoiding collisions? For example...

      node1 ... lora = LoRa(mode = LoRa.LORA, frequency = 868100000, sf = 7)
      node2 ... lora = LoRa(mode = LoRa.LORA, frequency = 868300000, sf = 7)
      node3 ... lora = LoRa(mode = LoRa.LORA, frequency = 86500000, sf = 7)

      I've read in the docummentation that the LoPy device only can work in a single frequency channel... in that case, how can I transmit data from two nodes
      to the gateway with different frequency or spreading factor? I necessarily need a multichannel gateway (for example ic880a)?

      On the other hand, i don't understand how works the socket.bind() function. After of create sockets, if I try to s1.bind(10) in device node1, s2.bind(20) in device node2 and
      s1.bind(10) and s2.bind(20) in the gateway ... when I send data from s1(node1) to s1(gateway), why s2(gateway) receive too?

      Sorry for my english.

      Thank you people!

      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