• Deep or LightSleep, how do i know if it's my FiPy or my PySense?

    1
    2
    0 Votes
    1 Posts
    102 Views
    No one has replied
  • Pytrack GNSS low power mode and lorawan

    5
    0 Votes
    5 Posts
    258 Views
    N
    @jcaron said in Pytrack GNSS low power mode and lorawan: enough Hi Jcaron, thanks for these information. I will use in my custom PCB the sensor you mentioned (thanks for this info) cause I dont need the direction. So the last configuration you suggest (about 10 month) should be the right direction for me. Maybe I will implement the GNSS on board that will be switched on only when the operator (network server) will send a command in the RX windows of the Lora sensor; in this way we roughly Know where the object is in the last RX windows even if it will draw battery. Thank you for the support, I'll keep you updated . Nico
  • FiPy LTE (NB-IoT) modem problem

    1
    0 Votes
    1 Posts
    152 Views
    No one has replied
  • How to get FiPy working on KPN LTE-M network?

    3
    0 Votes
    3 Posts
    188 Views
    H
    @avbalen It works when you update your sqn3330 to version CATM1 41056.
  • Power a Pycom board with the JST battery connector not possible ?

    2
    0 Votes
    2 Posts
    175 Views
    J
    @shadow7457 You can most definitely do it. Note that the battery voltage should be above the threshold (3.3V IIRC) for the Pysense and *Py module to start. One big warning though: wiring of JST connectors on batteries is not standard, and may be reversed compared to what the Pysense expects (there's a tiny + on the PCB to show the expected polarity). Batteries sold by Adafruit and the like have "right" polarity. Batteries sold for drones and other RC devices usually have the reverse polarity. I don't remember if the Pysense has proper protection for reverse polarity or if they will just "blow up" (not literally, luckily) in that situation. Hope for you it has the protection (if the issue is indeed the battery polarity).
  • Cannot Update FW On New FiPy in Pysense

    5
    1 Votes
    5 Posts
    239 Views
    K
    Flashing in offline mode (i.e. using a local file) seems to work for me. For anyone with the same issue, I found the latest FiPy Pybytes firmware via: https://software.pycom.io/downloads/pybytes/FiPy.html Legacy builds are at https://software.pycom.io/downloads/FiPy.html as shown by @Edward-Dimmack.
  • EAI FAIL

    8
    3
    0 Votes
    8 Posts
    472 Views
    K
    @Tgasser Have you tried different locations? The GPY has only 1 lte antenna which makes it susceptible to multipath. I have a few locations at our premises that show reasonable RSRP at -85dBm but the connection reliability is hopeless. When I move the antenna a couple of metres the connection becomes rock solid.
  • OSError: Couldn't connect to Modem!

    15
    0 Votes
    15 Posts
    2k Views
    E
    @tveito Sorry for the late reply. I meant 1.18.2 with no revision update. So I had 1.18.2.r7 and it didn't work so I downgraded to 1.18.2 and it worked.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    18 Views
    No one has replied
  • General questions about FiPy

    5
    0 Votes
    5 Posts
    283 Views
    A
    Introduction To extend the statements of @robert-hh (thanks!) and give some more pointers, the MicroPython port to the ESP32 is based on the Espressif ESP-IDF, which in turn is based on FreeRTOS. The FreeRTOS kernel provides a real time scheduler and a set of inter-task communication primitives. Amazon has taken stewardship of FreeRTOS the other day. Pycom has customized MicroPython for ESP32 to run on Pycom's IoT multi-network modules. More resources https://github.com/espressif/esp-idf https://github.com/aws/amazon-freertos https://www.freertos.org/FAQ_Amazon.html https://github.com/pycom/pycom-micropython-sigfox
  • Error Update firmware FiPy

    3
    1
    0 Votes
    3 Posts
    162 Views
    T
    @robert-hh Thanks for your answer. I have the Pycom MicroPython 1.20.1.r2 and the modem firmware NB1-41019. line 32, it's just lte.attach(band=8,apn="iot.1nce.net"). Ok, I will wait.
  • Unable to flash

    1
    0 Votes
    1 Posts
    105 Views
    No one has replied
  • Reverse bit

    3
    0 Votes
    3 Posts
    173 Views
    T
    @robert-hh Thanks !
  • Nearby cell tower/ cell provider scanning for signal strength?

    5
    1 Votes
    5 Posts
    290 Views
    J
    @securigy Ah I see, I'll try to get my hands on a global SIM for my setup and do some testing using the AT commands, much appreciated!
  • write bluetooth FiPy

    4
    0 Votes
    4 Posts
    210 Views
    T
    @jcaron I read several articles to invert the bytes and read the right values. If I have val= b'\xdd\xee' tanks to struct.pack('<h', *struct.unpack('>h', val)) I get the inverse val= b'\xee\xdd'. However, for val= b'\xxaa\xbb\xcc\xdd' I can't find a way to get val=b'\xdd\xcc\xbb\xaa'. Do you have any idea how to help me? Thank you in advance!
  • urequest IndexError

    15
    0 Votes
    15 Posts
    433 Views
    C
    @andreas I agree that the len part look s odd. But I my money on the message length. All network interfaces beside WLAN are designed for tiny messages. This one will become quite huge when you replace the anonymous fake data with real one. I assume that this payload will be copied together with the protocol data into a buffer, which is used by the modem. This may explain why it fails only with "important" data.
  • FiPy Support of VoLTE

    1
    0 Votes
    1 Posts
    85 Views
    No one has replied
  • string edit

    7
    0 Votes
    7 Posts
    295 Views
    robert-hhR
    @radossslaw a few comments, not related to the error message: The code piece you show has no line 54. the indentation of the first line seems to be wrong But this starting section is odd: num=data num=int(num) num=str(num) x=num[0] y=num[1:3] It starts with data, which is a bytearray. Converting it to int() and back to str() makes it a string with whitespace stripped. You would get the same with: num = data.strip().decode(). Then you take two substrings, x and y. These are not numbers. And I guess, that you uses these later in the code, e.g. in line 54, in a comparison with a number, which fails.
  • Json fipy afer urequest

    9
    2
    0 Votes
    9 Posts
    364 Views
    C
    @Tgasser r does nor contain valid JSON, The valid part is surrounded by ?() If you cannot fix the web service, you have to remove the invalid part before using it as a parameter
  • FiPy: ADC Breakouts for and Voice

    1
    1
    0 Votes
    1 Posts
    108 Views
    No one has replied

Pycom on Twitter