Giter Site home page Giter Site logo

Comments (13)

Svein-Tore avatar Svein-Tore commented on August 17, 2024 1

NICE!

I will take a look on it tomorrow!

from pxt-iot-lora-node.

ryanteck avatar ryanteck commented on August 17, 2024

Hi Svein,

could you try increasing the pause to 7000Ms to see if that fixes it as it may be that the radio is trying to transmit more often.

Can I also check which gateway you are using?

from pxt-iot-lora-node.

Svein-Tore avatar Svein-Tore commented on August 17, 2024

Hi Ryan!

I have tested with 10000ms, but got the same problem. I'm using gateway Dragino LG-01N (https://www.dragino.com/products/lora/item/143-lg01n.html).

yes it is one channel and not what I wanted. But it is almost impossible to get Pi Supplys IOT lora gateway phat today😢

Svein-Tore

from pxt-iot-lora-node.

ryanteck avatar ryanteck commented on August 17, 2024

Hi Svein-Tore,

Ok good news I've figured out the issue then! Bad news the workaround will take a day to implement.

When you transmit LoRa nodes will randomly select one of between 3-8 channels (ours chooses between 3 for EU868). As you're only using an SCG this explains why some packets aren't being recieved. (And why it's important usually apart from developing that gateways are 8 channels but I know what you mean as my first gateways were only single channel).

As of this, the solution will be while you only have a single channel gateway to set the node to one frequency (not recommended and is why we haven't added blocks in yet on the Make:code library).

However as I know it can be an issue for some either being able to source Gateways or because of the cost I'll get a block added in within the next couple of days that will allow you to select 1 of the 3 frequencies to match your SCG.

from pxt-iot-lora-node.

Svein-Tore avatar Svein-Tore commented on August 17, 2024

Hi Ryan!
You are superb!  And this make sense. When I sent 10 packages it received 3-4, when I sent 20 it received 6-7, that is about 1/3. So since it switch between 3 channels,  I will theoretiacally get one third thru!   BTW it is no problem for me to wait a day or two

NICE WORK Ryan!!

Best wishes, Svein-Tore

from pxt-iot-lora-node.

ryanteck avatar ryanteck commented on August 17, 2024

Hi @Svein-Tore , I'm working on this today.

Can I ask what frequency your SCG is configured to?

from pxt-iot-lora-node.

Svein-Tore avatar Svein-Tore commented on August 17, 2024

Hi Ryan!

The frequency is 868.1

from pxt-iot-lora-node.

ryanteck avatar ryanteck commented on August 17, 2024

Excellent. I'll be working on this today.

from pxt-iot-lora-node.

Svein-Tore avatar Svein-Tore commented on August 17, 2024

👍

from pxt-iot-lora-node.

ryanteck avatar ryanteck commented on August 17, 2024

Hi @Svein-Tore , I've implemented it however if you could test it and let me know that' be great.

You'll need to find this new block which is "EU Set Freq:" under the more blocks tab. You should get the ability to set to one of the 3 channels the node supports for EU, or back to al 3 frequencies.

Screenshot from 2020-04-24 20-47-32

I tested it on my node and while on my 8 channel gateway we can see all the packets were on the same freq.

microbit-screenshot (25)
Screenshot from 2020-04-24 21-35-11

from pxt-iot-lora-node.

ryanteck avatar ryanteck commented on August 17, 2024

Oh, you might have to force update your library. To do this go to the Javascript tab, then at the side with the list of libraries click the re-load symbol, you'll need v0.1.37 or greater for it to work.
Uploading Screenshot from 2020-04-24 21-40-55.png…

from pxt-iot-lora-node.

Svein-Tore avatar Svein-Tore commented on August 17, 2024

Hi Ryan!

So I have tested and it works fine! Now I get all the values,

THANKS A LOT!!

from pxt-iot-lora-node.

ryanteck avatar ryanteck commented on August 17, 2024

Excellent glad to hear! I'll close this ticket now.

from pxt-iot-lora-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.