Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login
    1. Home
    2. Tags
    3. lopy4

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Log in to post

    • All categories
    • J

      Pymakr can't connect to my board

      Watching Ignoring Scheduled Pinned Locked Moved Discussion pytrack lopy4 connection prob connect issues
      2
      0 Votes
      2 Posts
      563 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

      Watching Ignoring Scheduled Pinned Locked Moved LoPy lopy4 lorawan abp lorawan otaa lopy lora lopy lorawan
      6
      0 Votes
      6 Posts
      1k 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

      Watching Ignoring Scheduled Pinned Locked Moved LoPy us-frequency 915mhz channel channel frequency lopy4
      8
      0 Votes
      8 Posts
      1k Views
      B
      @_grunf Did you figure it out?
    • V

      Pin mapping for SPI / I2C connection to Cinterion TC65T module

      Watching Ignoring Scheduled Pinned Locked Moved LoPy i2c spi lopy4 tc65t
      1
      0 Votes
      1 Posts
      473 Views
      No one has replied
    • H

      Correct UART pins and problems

      Watching Ignoring Scheduled Pinned Locked Moved LoPy lopy4 uart honeywell serial expansion board
      3
      0 Votes
      3 Posts
      1k Views
      robert-hhR
      @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

      Watching Ignoring Scheduled Pinned Locked Moved LoPy lopy4 data counting sd card
      2
      0 Votes
      2 Posts
      595 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

      Watching Ignoring Scheduled Pinned Locked Moved LoPy lopy lorawan lopy4 lorawan nano gw tutorial lopy lora
      3
      0 Votes
      3 Posts
      560 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

      Watching Ignoring Scheduled Pinned Locked Moved LoPy lopy lopy4 compile error
      2
      0 Votes
      2 Posts
      521 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

      Watching Ignoring Scheduled Pinned Locked Moved LoPy bluetooth lopy4 scan
      2
      0 Votes
      2 Posts
      670 Views
      danD
      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

      Watching Ignoring Scheduled Pinned Locked Moved LoPy lora loramac lopy4
      7
      0 Votes
      7 Posts
      2k 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

      Watching Ignoring Scheduled Pinned Locked Moved Support & Troubleshooting pybytes lora otaa lopy4 lorawan
      7
      0 Votes
      7 Posts
      1k 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

      Watching Ignoring Scheduled Pinned Locked Moved LoPy firmware update lopy4 wifi
      8
      0 Votes
      8 Posts
      1k 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

      Watching Ignoring Scheduled Pinned Locked Moved Guides pysense bluetooth lopy4 accelerometer
      1
      0 Votes
      1 Posts
      701 Views
      No one has replied
    • L

      How to restart WLAN connection?

      Watching Ignoring Scheduled Pinned Locked Moved LoPy lopy4 lopy-wlan wlan wlan.station
      1
      0 Votes
      1 Posts
      527 Views
      No one has replied
    • A

      Why do we need to update the firmware?

      Watching Ignoring Scheduled Pinned Locked Moved Enhancements lopy4
      3
      0 Votes
      3 Posts
      656 Views
      bmarkusB
      @anik Without updating you may have incompatible fw versions in module and expansion boards too.
    • X

      LoPy4 not connecting to Sigfox Public Network

      Watching Ignoring Scheduled Pinned Locked Moved LoPy sigfox lopy4 public network
      1
      0 Votes
      1 Posts
      706 Views
      No one has replied
    • C

      Upload failed.: OSError: [Errno 22] EINVAL with LoPy4 and PyMakr

      Watching Ignoring Scheduled Pinned Locked Moved LoPy lopy4 pymakr expansion board
      2
      0 Votes
      2 Posts
      552 Views
      robert-hhR
      @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

      Watching Ignoring Scheduled Pinned Locked Moved Getting Started certification lopy4
      1
      0 Votes
      1 Posts
      537 Views
      No one has replied
    • R

      Uploading code to the Lopy 4 without pymakr

      Watching Ignoring Scheduled Pinned Locked Moved LoPy pymakr lopy4 linux
      2
      0 Votes
      2 Posts
      719 Views
      robert-hhR
      @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