Skip to content
  • Get the latest on our community.

    2 Topics
    2 Posts
    cehlersC

    We will be at Embedded World in Nuremberg from 11 – 13.3.2025 and are giving away free tickets for the exhibition.

    Please reply to let us know if you’re interested in attending and what you’re most looking forward to at the exhibition, and we’ll send you a free voucher code.

    If you’re there, please visit us at Hall 3, Stand 3-501!

    f053fe48-86e8-418c-9829-d49063228d38-image.png

  • Tutorials from SG Wireless

    3 Topics
    7 Posts
    cehlersC

    You can reset the devnonce on TTN (or even set it to be ignored). Go to the end devices section on TTN, open the end device affected, go to settings and scroll down all the way to join settings and click expand.

    image.png

    The devnonce is stored in the nvs partition, which is normally not erased when just flashing a firmware update. But if the board is erased completely then the last devnonce used is also erased.

  • Need support for your projects? Fire away!

    10 Topics
    33 Posts
    S

    I solved my issue using the UART directly from the Pins P21(TX) and P22(RX). I’ve also deduped UART 1 and use it to communicate with my peripheral.
    To monitor with the REPL I’m using /dev/ttyACM0 (Ubuntu system)

  • Let us know how to improve the community experience.

    11 Topics
    16 Posts
    ddtdaniloD

    Hi everyone,

    I’m Danilo, and I’ve been working on adding official board support for the Pycom LoPy and LoPy4 to the upstream MicroPython project (v1.27.0+, ESP-IDF v5.4/v5.5.1).

    As many of you know, Pycom’s MicroPython fork was archived in September 2024 (last commit February 2022), leaving LoPy/LoPy4 owners stuck on an ancient codebase based on MicroPython ~v1.20. I wanted to change that.

    What’s been done so far:

    Board definitions for both PYCOM_LOPY (ESP32 + SX1272) and PYCOM_LOPY4 (ESP32 + 8MB flash + 4MB PSRAM + SX1276) A unified SX1272/SX1276 LoRa driver in Python (the only one in the MicroPython ecosystem that supports both chips) LoRaWAN 1.0.x MAC layer with OTAA and ABP activation (Class A) OTA firmware update support (dual app partitions) Named pin mapping (P0-P23 + LORA_* pins) matching Pycom documentation Hardware validation test scripts All four build configurations compile successfully (LoPy, LoPy4, LoPy OTA, LoPy4 OTA) A MicroPython contributor (robert-hh) has already done a trial build and confirmed WiFi works on actual LoPy4 hardware!

    Pull Requests currently open:

    Main PR (board definitions + driver + LoRaWAN + OTA + tests): https://github.com/micropython/micropython/pull/19026 Board images: https://github.com/micropython/micropython-media/pull/116 SX127x driver + LoRaWAN packages for micropython-lib: https://github.com/micropython/micropython-lib/pull/1102

    Why this matters:

    With this port, LoPy/LoPy4 owners get access to 7 years of MicroPython improvements: f-strings, async/await, proper asyncio, TLS 1.3, BLE 5.0, WPA3, and thousands of bug fixes. All while keeping LoRa functionality.

    Collaboration welcome!

    Since SG Wireless now maintains the Pycom legacy, I’d love to collaborate. If anyone from the SG Wireless team or the community would like to help with testing, reviewing, or extending this work (e.g., adding support for FiPy, GPy, or other Pycom boards), please feel free to jump in! The PRs are open and ready for review.

    If you have a LoPy or LoPy4 board gathering dust, now’s a great time to dust it off!

    Cheers,
    Danilo

  • Check out what members have been doing with our products!

    0 Topics
    0 Posts
    No new posts.

Looks like your connection to SG Community Forum was lost, please wait while we try to reconnect.