• Cannot join using OTAA using AU915

    6
    3
    0 Votes
    6 Posts
    64 Views
    snorkmanS
    @robert-hh It seems like a firmware upgrade on the LG308 did the job. The code is working fine and I can successfully join the network without retrials. [image: 1608308922946-1e386495-77b7-43c2-be79-44b46086f4c1-image.png] Thanks!
  • Wakeup with UART (LoPy4)

    2
    0 Votes
    2 Posts
    55 Views
    N
    Topic is old but I want to bump it anyway. Same problem here. Received message with this method is unusable. This might be why (from ESP32 documentation on UART wakeup): "Note that the character which triggers wakeup (and any characters before it) will not be received by the UART after wakeup. This means that the external device typically needs to send an extra character to the ESP32 to trigger wakeup, before sending the data."
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Possible to get Lora signal strength report using LoPy4

    3
    0 Votes
    3 Posts
    74 Views
    rcolisteteR
    After mastering LoRaWan node configuration to send packets (uplink), yes, it is possible : to read LoRa signal report if you configure a downlink (LoRaWan server -> LoRaWan gateway -> LoRaWan node); with Pycom MicroPython, use lora.stats(), which returns rssi, snr and sfrx of the last received packet (from a LoRaWan gateway).
  • How to send information to Google IoT Core

    2
    0 Votes
    2 Posts
    27 Views
    K
    ...... a way to be more specific?
  • Bluetooth version of Lopy4

    6
    0 Votes
    6 Posts
    104 Views
    J
    @yongyuan-wang you don’t need to repeatedly call anything to advertise. Just call set_advertisement to set parameters then advertise to start advertising and the BLE stack will do all the work. Also enable is an optional parameter, you can leave it out or set it to True to advertise.
  • Deep Sleep and Battery Consumption.

    ttn lopy deep sleep battery consumption lora
    18
    0 Votes
    18 Posts
    224 Views
    H
    @jcaron So you get a curve that varies during the whole awake time between 30 and over 100 mA. Ah I see. I think I confused myself when I saw the LoRa transmit in the documentation of 105mA and thought it was somehow the overall current draw of the awake time because it was similar to the 100mA you had mentioned before but I get it now. So the current draw is about 100mA (conservative) on average over the awake time. You've been a really great help. Thanks for all your patience :)
  • LoPy4, Power Amplifier

    4
    0 Votes
    4 Posts
    40 Views
    robert-hhR
    @justin said in LoPy4, Power Amplifier: Is Sigfox driven by SX1276? It is. The SX1276 can also provide the modulation required for Sigfox, even if that may not have been the primary focus.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Lopy4 issue receiving in a tight loop

    7
    0 Votes
    7 Posts
    84 Views
    G
    Right, we do not have specific documentation on that (yet) I believe, as in my experience its a fundamental feature of microcontrollers in general. Could you recommend a place where you would expect this information? Gijs
  • LoPy LoRa 2.4Ghz with SX1280?

    2
    1 Votes
    2 Posts
    22 Views
    G
    Hi, At the moment, we are not planning on including this functionality as far as I know. Gijs
  • Sending LoRa messages on a specific frequency

    5
    0 Votes
    5 Posts
    88 Views
    J
    @Colin-Crook If you want full control the best option is to use raw LoRa, and then simulate what the LoRaWAN stack does (mostly adding quite a bit of overhead to the packets, including addresses, frame counters, checksums, etc.). Note sure how the frequency comes into play though, but my guess is that you're probably more interested in manipulating what is actually included in the frames, which (unless you modify the LoRaWAN stack), is probably much easier to do with raw LoRa.
  • ADR and TTN?

    3
    0 Votes
    3 Posts
    54 Views
    K
    Hello, Does it mean that dr=0 in the join will enable ADR? Or is there any additional paramters to set? Thanks, Nicolas
  • Light sleep: crash on wakeup

    2
    0 Votes
    2 Posts
    41 Views
    J
    I've just changed the version to Pycom MicroPython 1.20.0.rc13 [v1.9.4-94bb382] on 2019-08-22; LoPy with ESP32 (legacy firmware) and light sleep works as expected. I'm not sure I understand the difference between different driver types, but I don't use pybyte, so it should be ok. Could it be a bug in the pybyte firmware?
  • Lopy4 OSError: [Errno -29312] MBEDTLS_ERR_SSL_CONN_EOF in urequests.py

    2
    0 Votes
    2 Posts
    56 Views
    G
    Which network are you using? the error MBEDTLS_ERR_SSL_CONN_EOF signifies an error in the SSL connection for end of file, or abrupt disconnection. This could also be due to a memory error in the urequest module. Through google I was able to find several solutions that you can try (you'll probably be able to find them yourself as well :) ) Gijs
  • lopy4 sleep issues

    3
    0 Votes
    3 Posts
    37 Views
    G
    I do not know of the difference between the firmwares, but you could use the git hash to find the exact one in the source (At least, I think that is supposed to work..) I believe this is the one you are looking for: https://github.com/pycom/pycom-micropython-sigfox/tree/7bc2e5cdd34b79c5fa9f493f3df831f57b0b12ce You can follow the instructions in the readme to compile one for yourself (check for the pybytes version, that is the one updated in this commit, among other things) For the actual issue, I have no clue tbh Gijs
  • lopy4 wakeup on change

    2
    0 Votes
    2 Posts
    28 Views
    J
    @kjm that’s a limitation of the ESP32 itself. There are two ways to wake up from deep sleep on pin state changes, and both require you to specify the target level. See https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/sleep_modes.html for details. There may be alternatives using the ULP co-processor, haven’t checked if that would actually be possible.
  • BLE communication with Android

    2
    0 Votes
    2 Posts
    65 Views
    I
    Did you found a solution or coded something already? Having seen and been teased (https://youtu.be/DInzisjAyh4) with mesh messenger demo, what is also available on github (https://github.com/pycom/pycom-libraries/tree/master/pymesh/mobile_app) hoping to get the LoPy/FiPy side of code example as well, to at least play around with the mesh demo app and test ranges in different environments while PyGo's are coming (month by now and counting).
  • SCT-013 current sensor

    37
    0 Votes
    37 Posts
    235 Views
    robert-hhR
    @Stefano-Floriani That's better. The capacitor worked here as a means to suppress noise. You can also increase the value of R7 to 27k. Then the value should be at about 150.
  • ADC causing current increase during deep sleep

    2
    0 Votes
    2 Posts
    50 Views
    B
    SOLVED: The line adc.vref_to_pin('P22') was causing this. Should only be run for calibration with a multimeter for the vref value once, is the current conclusion.

Pycom on Twitter