Navigation

    Welcome to the Pycom forum

    Forum

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

    • J

      Mesh network study group is formed, using LoPy
      LoPy • lopy lora mesh network secure text • • jdcrunchman  

      4
      2
      Votes
      4
      Posts
      762
      Views

      catalin

      hi @jdcrunchman, we open-sourced the openthread (small) port to Lora (still not 100% features suported). More interesting, you can already use all mesh commands from https://github.com/openthread/openthread/blob/master/src/cli/README.md So, you can start already with UDP sockets. I take this opportunity, to invite Mesh enthusiastics (firmware and networking engineers) to even join Pycom (some formal JD will follow), as we have good plans to open Mesh to masses. <later edit>: If interested, just drop me an email on support@pycom.io
    • P

      Failed firmware update, unable to flash new firmware
      Firmware • lopy • • Paulw  

      2
      1
      Votes
      2
      Posts
      607
      Views

      dan

      Hi @Paulw Are you using the Expansion Board to connect to your LoPy? If so, which version (2 or 3)?
    • O

      Problem getting MAG data from Adafruit LSM303
      LoPy • lopy adafruit magnetometer • • oldGuyDave  

      4
      0
      Votes
      4
      Posts
      719
      Views

      O

      @rcolistete Maybe I misunderstood your question. The code I was referring to above is my own library that calls the 'built-in' machine.I2C micropython driver supplied in the LoPy firmware binary rev. 1.18.1.r1. Example: def __init__(self): self.i2c = I2C(0, mode=I2C.MASTER, pins=(sda, scl), baudrate=100000); magEnable = [0x10, 0x20, 0x00] self.i2c.writeto_mem(MAG_DEV_ADDR, MAG_CONFIG_REG_A, bytearray(magEnable));
    • B

      Wake-Up Via LoRa
      Discussion • lopy lora sleep collision wake reason • • Burgeh  

      2
      0
      Votes
      2
      Posts
      910
      Views

      J

      @burgeh It depends a lot, but generally (and specifically in your case), no. Listening for LoRa packets consumes power. The LoRa chip on the LoPy 4 (SX1276) uses 10 mA when listening, and the rest of the LoPy uses about 50 mA average. You could probably reduce the ESP32 power draw with some more or less advanced uses of sleep (i.e. not out of the box), but we're still talking tens of mA, compared to about 10-20 µA in deep sleep. This means that if you are listening all the time, even a relatively large 2500 mAh battery will only last a few days. This may or may not be a problem for you depending on the use case (mains powered, enormous battery, solar powered, ability to recharge/change battery often...), but this is usually not the kind of use case for LoRa, and from your question "more efficient power wise", it's clearly not what you are looking for. So it usually remains more power efficient to deep sleep, wake up on whatever event (time, pin change...), send the frame, check for an ACK, retry if no ACK was received, and go back to deep sleep. Note also that there are many other reasons than just another one of your nodes sending data that could trigger a frame being lost. The frequency bands are shared, so there will be other devices using them, and you will end up with collisions and other forms of noise even if you control when all of your devices send.
    • J

      Send data with JSon
      Projects • lopy sipy pycom json • • Juan_Peroza  

      2
      0
      Votes
      2
      Posts
      1036
      Views

      J

      @juan_peroza JSON is not a protocol, it’s just a data representation. You can send whatever you want, but JSON is not very space efficient, and is usually not the best choice for data sent over a (very) low bandwidth link such as LoRa, SigFox, NB-IoT, or BLE. It’s usually better to use an optimised binary format in those cases.
    • O

      LoPy link error
      Discussion • lopy firmware • • oldGuyDave  

      3
      0
      Votes
      3
      Posts
      502
      Views

      O

      @robert-hh said in LoPy link error: pycom-esp-idf That was the problem. Thanks - everything works and firmware flahses fine.
    • L

      Connecting and Sending PyCom LoPy 4 Data to a Server
      LoPy • lopy pycom server send data data lopy • • letsgo  

      3
      0
      Votes
      3
      Posts
      595
      Views

      bmarkus

      D not forget LoRa as an option if it is a LoPy 4 device.
    • D

      Library for Sensirion SHT1x SHT7x
      LoPy • lopy library sht1x sht7x • • Dragosh  

      1
      0
      Votes
      1
      Posts
      455
      Views

      No one has replied

    • B

      Using Lopy1 for just LoRa
      LoPy • lopy lora uart lora lopy lora gateway • • Burgeh  

      11
      0
      Votes
      11
      Posts
      1555
      Views

      B

      @robert-hh So a remote raw lora receiver with a lot of nodes sending it is just inevitable that collisions happen? My current "solution" is to send and wait for it to send back an acknowledge, if not just wait a random period of time.
    • C

      LoRaWAN Nano-Gateway: Stuck on "Not joined yet..."
      LoPy • lopy ttn nano gateway • • cooper  

      9
      0
      Votes
      9
      Posts
      856
      Views

      H

      @robert-hh They are next to each other - 1 meter I would say.
    • B

      Including C Libraries in Micropython Build
      Firmware • lopy esp32 • • brady.aiello  

      1
      1
      Votes
      1
      Posts
      511
      Views

      No one has replied

    • C

      Restarting code without reset button or power-cycle
      LoPy • lopy wifi reset • • christian_kohler  

      3
      0
      Votes
      3
      Posts
      899
      Views

      C

      @robert-hh Thanks, that is perfect.
    • B

      FTP
      LoPy • lopy wifi pybytes ftp access point • • brady.aiello  

      5
      0
      Votes
      5
      Posts
      853
      Views

      robert-hh

      @brady-aiello You have to change it on the xxPy device. I usuall switch to station mode in my boot.py script and connect the xxPy device to my home AP.
    • B

      Multitech Conduit AP 'Not OTAA joine yet...' issue (EU 868)
      LoPy • lopy lorawan otaa multitech • • bnjroos  

      7
      0
      Votes
      7
      Posts
      839
      Views

      robert-hh

      @bnjroos Yes, the RX1 and RX2 delay are specified in the LORaWAN regional settings. I did not look that up for every region, but the ones I recall use 5 and 6 seconds for OTAA join, and 1 and 2 seconds for other downlink messages as default.
    • A

      Buffer size too small
      LoPy • lopy lora raspberry pi buffer downlink struct • • AHellLycan  

      1
      0
      Votes
      1
      Posts
      474
      Views

      No one has replied

    • B

      LoPy to RN2903
      LoPy • lopy lora rn2483 rn2903 • • Burgeh  

      3
      0
      Votes
      3
      Posts
      555
      Views

      robert-hh

      @burgeh It is definitely possible, if you use raw LoRa mode. The simple expamples from the docs would serve for LoPy. I do not know how you want to drive the RN2903.
    • H

      Has anyone successfully used lora.nvram_save() and restore?
      LoPy • lopy lopy4 lopy lorawan lorawan otaa lopy lora • • Harish kumar  

      3
      0
      Votes
      3
      Posts
      663
      Views

      H

      @jcaron oh thank you. I will do that. And I need a small help from you. In this code, I am trying to start my downlink once in a day. So I am using this code. import time a = time.localtime() hour = a.tm_hour minutes = a.tm_min if hour == 10 and minutes == 40: print('{0}:{1}'.format(hour, minutes)) But it's not working properly. Do I have to change some conditions ?
    • J

      mqtt in another thread
      LoPy • lopy lora mqtt threading mqtt bugs • • james  

      1
      0
      Votes
      1
      Posts
      434
      Views

      No one has replied

    • J

      Uploading project...
      LoPy • lopy firmware update file transfer • • james  

      7
      1
      Votes
      7
      Posts
      1439
      Views

      nespressif

      hello, I think we are talking about the same problem in another post. Regards,
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 40
    • 41
    • 6 / 41