Navigation

    Welcome to the Pycom forum

    Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. lora
    Log in to post

    • N

      Send Sensor data using to server using LoRa
      FiPy • fipy lora pysense server lora gateway • • Nazz  

      6
      0
      Votes
      6
      Posts
      2026
      Views

      N

      @jmarcelino Am getting the error at gateway side. Error message with line number is as below Traceback (most recent call last): File "<stdin>", line 47, in <module> TypeError: unsupported types for add: 'str', 'bytes' Gateway code is attached also node side code is attached. And also please let me know whether i have used correct method to send data to server in the gateway code, using below lines of code response = urequests.get("http://localhost/ksn/server.php?data=" + msg) response.close() 1_1523684617338_node.py 0_1523684617338_gateway.py
    • N

      FiPy LoRaWAN OTAA join freezing after subband selection
      Firmware • fipy lora bug • • nemik  

      9
      0
      Votes
      9
      Posts
      1837
      Views

      B

      I have raised a ticket for the issue of allowing dr_min > 0 for channels 64-71, tested the fix and added a pull request. Hope that it helps (it is working for me!). Regards, Brian
    • T

      Externally Power LoPy
      LoPy • lopy lora power • • tyteo  

      4
      0
      Votes
      4
      Posts
      1093
      Views

      T

      Thanks for the replies! @robert-hh It might be that the program is not burnt onto my LoPy. I ran the uos command and this is what I got: ['main.py', 'sys', 'lib', 'cert', 'boot.py']
    • J

      Multi-hop End-Device?
      LoPy • lopy lora lora lorawan lo • • juan.narvaezb95  

      7
      0
      Votes
      7
      Posts
      1262
      Views

      robert-hh

      @juan-narvaezb95 said in Multi-hop End-Device?: listens, sends and transmits at the same time At the RF channel, the LoPy can either Receive or Send at a given moment. You can of course communicate by WiFi and Lora at the same time.
    • S

      Failed 50% of the time to send data!? LORA
      LoPy • lopy lora python • • stefan85e  

      1
      0
      Votes
      1
      Posts
      548
      Views

      No one has replied

    • R

      3 ultrasonic sensor+lopy+expansion board
      LoPy • lopy lora expansion board ultrasonic sens • • Rachelsimida  

      2
      0
      Votes
      2
      Posts
      689
      Views

      livius

      @rachelsimida this is to fast to read it in this way look at pulses_get https://docs.pycom.io/chapter/firmwareapi/pycom/pycom.html#pycompulsesgetpin-timeout sometimes is also good to dissable irq remember = disable_irq() .... enable_irq(remember)
    • J

      LoRaWAN with multi-hop ¿HELP?
      LoPy • lopy lora lorawan us-frequency • • juan.narvaezb95  

      2
      0
      Votes
      2
      Posts
      529
      Views

      bmarkus

      @juan-narvaezb95 Multi-hop is not supported by the LoRaWAN Specification.
    • joearkay

      LoPy in Metal Enclosure - Issues with external antenna?
      LoPy • lopy lora 868mhz sma • • joearkay  

      6
      0
      Votes
      6
      Posts
      1150
      Views

      joearkay

      @jmarcelino Thanks for these resources - I'll definitely give them a read.
    • A

      LoRa Specification Module
      MicroPython • fipy lora micropython pycom lora lopy • • Archana Kadam  

      5
      0
      Votes
      5
      Posts
      1055
      Views

      A

      @rskoniec Thank You sir
    • B

      REPL Prompt missing and no response after connection
      Issues & Bugs • lora lopy4 firmware repl • • brentoon  

      3
      0
      Votes
      3
      Posts
      962
      Views

      B

      @robert-hh Thanks, that did it! I had to do the P12 to 3.3V for the 7-9s to load the factory firmware. I retested a firmware update and it went back to the unresponsive mode. So I then reformatted the /flash area by running: import os os.mkfs('/flash') A firmware update then worked ok. Thanks again.
    • M

      Need help
      LoPy • lopy lora adc sensors • • MrBomBasTiKs  

      6
      0
      Votes
      6
      Posts
      1185
      Views

      M

      @livius I'm actually using this code, because I'm looking to get the blink of the meter. Know I need to find when the led is blinking, because he send everytime the value. I want to know how to check the difference between this value and the last one.
    • robert-hh

      [(not)Solved] LoRa timing of LoPy and FiPy
      LoPy • lopy fipy lora lopy4 timing • • robert-hh  

      8
      0
      Votes
      8
      Posts
      1740
      Views

      robert-hh

      @sympatron ACK, so my tendency is to close that attempt.
    • S

      Change FiPy from 868 to 916 MHz
      Firmware • fipy lora • • smbunn  

      3
      0
      Votes
      3
      Posts
      888
      Views

      S

      So I need to do both, i.e. upgrade and change code or is changing my code to declare AU915 is not enough? thanks Simon p.s. just tried changing code and did not see it post to my gateway.
    • A

      Two LoRa Socket
      LoPy • lora pymakr python socket thread • • AHellLycan  

      7
      0
      Votes
      7
      Posts
      1381
      Views

      T

      @ahelllycan I think we would need to see code, or general overview of your process. At the moment we are guessing. But @jcaron is right. You should have a call back on message receive and you choose when to send messages based on other criteria. The rest of the time you will be sleeping or waiting.
    • D

      Battery options
      Discussion • lora battery • • Dylan  

      7
      0
      Votes
      7
      Posts
      2632
      Views

      N

      For that kind of longevity you're better off ditching the secondary cells (rechargeable) and going for a primary cell. I would recommend looking at the SAFT LS or LSH series. They are the best energy density to size batteries available.
    • K

      FW Version & os.uname
      Firmware • lopy lora • • kumarbala  

      9
      0
      Votes
      9
      Posts
      1569
      Views

      J

      It’s probably a better option to try to make it work with the current version of the firmware, otherwise you may have issues down the road when you need something else added or fixed. What are your settings on your sensors? In which direction to you have traffic flowing?
    • B

      LoPy Ping-Pong Example
      Comments & Feedback • lopy lora antenna rssi • • Burgeh  

      4
      0
      Votes
      4
      Posts
      1689
      Views

      robert-hh

      @burgeh As said, I did not investigate the ping-pong example further. I just used it to check, whether the devices work at all. Using the TTN gateway software was more reliable. At least messages form the node to the gateway arrive all the time. You may have a look at the non-TTN gateway example https://github.com/pycom/pycom-libraries/tree/master/examples/loraNanoGateway That one is a litte bit more elaborate and may be a better starting point. I tried it too, and it worked. The code of interest is in the respective main.py files.
    • rubencg195

      ValueError: invalid join data rate 3 Lopy LORAWAN
      LoPy • lopy lora error lora lopy data rate • • rubencg195  

      29
      2
      Votes
      29
      Posts
      7290
      Views

      M

      @robert-hh There is a PR for that to fix the issue OK, thank you for the heads up
    • J

      LoRa NVRAM clear on restore issues
      Discussion • lora lorawan deep sleep battery powered nvram • • jcaron  

      4
      0
      Votes
      4
      Posts
      1360
      Views

      G

      @jcaron Thanks. Just to note this method works also for both a software reset AND powercycle.
    • Iplooky

      [SOLVED] LoPy LoRa general consumption/effiency (code and scope printscreen)
      LoPy • lopy lora lora antenna • • Iplooky  

      22
      0
      Votes
      22
      Posts
      6288
      Views

      Iplooky

      Hello @braulio. I think the extra milliseconds are from Lopy info processing, you can try with a different number (10 seconds, 20, 30 etc) and the "extra" time is the same then you have a solution. Also you hsould try to make a new post, the topic is quite different from this one.
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 6 / 11