Navigation

    Welcome to the Pycom forum

    Forum

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

    • J

      Pymakr can't connect to my board
      Discussion • lopy4 pytrack connection prob connect issues • • james.matthews  

      2
      0
      Votes
      2
      Posts
      533
      Views

      J

      Incase anyone else has this problem I managed to solve it. The problem was with my code. boot.py was set to launch main.py but there was a problem with main.py causing the connection to time out. The solution (which I found by accident) was to ctrl+c in the terminal window to kill main.py. It connected fine after that!
    • H

      Lorawan ABP Frame counts
      LoPy • lopy4 lopy lorawan lorawan otaa lopy lora lorawan abp • • Harish kumar  

      6
      0
      Votes
      6
      Posts
      1254
      Views

      J

      @harish-kumar Well, you're not sleeping, so you shouldn't need to nvram_save/restore, but you're re-creating the LoRa object (twice!) in your loop, using two different modes (raw LoRa and LoRaWAN), and re-joining each time, so no wonder your frame counters get re-initialised. I'm really not sure you can use the current LoRa stack like this to achieve what you want. I'm quite certain it would require some extensive changes to the stack, especially if you really want to maintain true LoRaWAN compatibility (i.e. including ADR, MAC commands, etc.).
    • _

      LoPy4: operation problem US_915
      LoPy • lopy4 frequency us-frequency channel 915mhz channel • • _grunf  

      8
      0
      Votes
      8
      Posts
      1072
      Views

      B

      @_grunf Did you figure it out?
    • V

      Pin mapping for SPI / I2C connection to Cinterion TC65T module
      LoPy • lopy4 i2c spi tc65t • • Verkehrsrot  

      1
      0
      Votes
      1
      Posts
      425
      Views

      No one has replied

    • H

      Correct UART pins and problems
      LoPy • lopy4 expansion board uart serial honeywell • • hopkapi  

      3
      0
      Votes
      3
      Posts
      1029
      Views

      robert-hh

      @hopkapi If you connect G24 aka P3 -> 7 G11 aka P4 -> 6 GND -> 8 GND Vin -> 2 (5V) and run the LoPy from USB. then the electrical conditions shoul be OK, and the device shoudl be accessible via UART 1. SOmetimes the definition of Tx and Rx are reversed, so you may swap P3 and P4. That should not cause any harm to the devices. The UART setting according to the data sheet is baud rate: 9600, databits: 8, stopbits: 1, parity: no Some test code would be like: from machine import UART uart = UART(1, 9600) # init with given baudrate uart.init(9600, bits=8, parity=None, stop=1) # init with given parameters while True: data = uart.readall() if data is not None: print(data)
    • J

      Micropython Counter
      LoPy • lopy4 sd card data counting • • Justin_Dylan  

      2
      0
      Votes
      2
      Posts
      577
      Views

      S

      Python code without proper indentation is not very useful. You should try to put it inside a code block like this: import time import machine from machine import Pin tip_num = 0 tip = (Pin('P10', mode=Pin.IN, pull=Pin.PULL_UP)) tip([1]) while tip !="": tip_num += 1 tip_value = (tip) total += tip_value tip = (Pin('P10', mode=Pin.IN, pull=Pin.PULL_UP)) print("Counter", tip_num) print("Done") Apart from that there are a lot of mistakes (e.g. tip([1])) and redundancies (e.g. wrapping everything in parenthesis) in your code. You should probably read the the MicroPython and Pin documentation first.
    • H

      lorawan nano Gateway Program
      LoPy • lopy4 lopy lorawan lopy lora lorawan nano gw tutorial • • Harish kumar  

      3
      0
      Votes
      3
      Posts
      546
      Views

      H

      @robert-hh Thanks for your reply. Yeah exactly I am talking about repeater. Just let me know once they develop this part. Till then I will try to do by myself.
    • H

      Comipling error
      LoPy • lopy lopy4 error compile • • Harish kumar  

      2
      0
      Votes
      2
      Posts
      484
      Views

      X

      @harish-kumar Did you follow the guide at https://docs.pycom.io/chapter/pymakr/installation/atom.html
    • A

      Bluetooth on Lopy4 doesn't detect any device
      LoPy • lopy4 bluetooth scan • • AlejandroReyes  

      2
      0
      Votes
      2
      Posts
      669
      Views

      dan

      Hi @AlejandroReyes, I've just tried this code and managed to find my BT headphones with it. The issue could be that your devices don't use BLE, so the LoPy board couldn't find them. Currently, only BLE is supported. You can find more on this on the Bluetooth docs page. Let me know if this helped!
    • A

      LoRa.region doesn't accept any attribute
      LoPy • lora lopy4 loramac • • AlejandroReyes  

      7
      0
      Votes
      7
      Posts
      1789
      Views

      E

      @researcher Nice chart, what hardware do you use on the GNURadio Side ? Software libraries ?
    • M

      Help me understand the data flow: LoPy (LoRa OTAA) -> LoRaWAN Nano-Gateway -> TTN -> PyBytes
      Support & Troubleshooting • lopy4 lorawan pybytes lora otaa • • Macc  

      7
      0
      Votes
      7
      Posts
      1236
      Views

      M

      @xykon Thanks for your confirmation - that will save me a lot of time. I'm going to wait for the official Nano gateway support then. Already pretty excited!
    • C

      Updating Firmware using WiFi
      LoPy • lopy4 wifi firmware update • • ClementDecaux  

      8
      0
      Votes
      8
      Posts
      1220
      Views

      J

      @clementdecaux Not only is there no USB support directly on the LoPy (I guess you connected to the UART lines), but additionally USB is 5V while the LoPy only supports 3.3V...
    • L

      Visualised acc data on app via Bluetooth using Pysense/Lopy4
      Guides • lopy4 pysense bluetooth accelerometer • • luke89  

      1
      0
      Votes
      1
      Posts
      693
      Views

      No one has replied

    • L

      How to restart WLAN connection?
      LoPy • lopy4 wlan lopy-wlan wlan.station • • lsoria  

      1
      0
      Votes
      1
      Posts
      519
      Views

      No one has replied

    • A

      Why do we need to update the firmware?
      Enhancements • lopy4 • • anik  

      3
      0
      Votes
      3
      Posts
      628
      Views

      bmarkus

      @anik Without updating you may have incompatible fw versions in module and expansion boards too.
    • X

      LoPy4 not connecting to Sigfox Public Network
      LoPy • lopy4 sigfox public network • • xorlover  

      1
      0
      Votes
      1
      Posts
      550
      Views

      No one has replied

    • C

      Upload failed.: OSError: [Errno 22] EINVAL with LoPy4 and PyMakr
      LoPy • lopy4 pymakr expansion board • • christian_kohler  

      2
      0
      Votes
      2
      Posts
      549
      Views

      robert-hh

      @christian_kohler Did you set Filezilla to single link/passive mode? The number of simultaneous links have to be set in the server settings submenu->transfer settings for each connection. I'm using ftp all the time, and it is pretty reliable and fast. SInce I have Firfox open all the time anyhow, I prefer the FireFTP plugin.
    • R

      Radio Certifications Reports LoPy 4
      Getting Started • lopy4 certification • • rchaudet  

      1
      0
      Votes
      1
      Posts
      524
      Views

      No one has replied

    • R

      Uploading code to the Lopy 4 without pymakr
      LoPy • lopy4 pymakr linux • • Re  

      2
      0
      Votes
      2
      Posts
      705
      Views

      robert-hh

      @re The LoPy4 has like any xxPy device a WiFI connection and starts both a FTP and Telnet server. So you can use ftp and suitbale ftp clients like FileZilla and FireFTP to manage files on the LoPy4. see the FTP section of the docs: https://docs.pycom.io/chapter/gettingstarted/programming/FTP.html You can configure both clients to donwload/upload files into the editor of your choice when you double-click them in the devices file pane.
    • 1
    • 2
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 7 / 10