• UART buffer flush

    Firmware lopy lora other
    4
    0 Votes
    4 Posts
    1k Views
    S
    Hi, Yes, it seems to be the same issue. When can I expect a fix for this? Any work around? any other api to check new data arrival at UART? Regards Sameer
  • Pysense Expansion Board External Header not working

    Firmware wipy other bug
    5
    0 Votes
    5 Posts
    1k Views
    A
    Hi @jmarcelino, wow you're right a reminder to always read exactly!! Thanks so far! Now I ran the program with the corrected PINs several times but I still have the issue that I get sensor readings just at a maximum one time per run. I am sure the Hc-sr04 has 5V as needed and the logic level converter should also not be an issue as both trigger, echo and ground are correctly connected to it. I annexed the Atom Output to this post after uploading the new program: Running C:\Users\pmb\Desktop\Wipytest\wipysensortest.py Distance 1 cm Disconnected. Click here to reconnect. Connecting on COM5... Running C:\Users\pmb\Desktop\Wipytest\wipysensortest.py Disconnected. Click here to reconnect. Connecting on COM5... Running C:\Users\pmb\Desktop\Wipytest\wipysensortest.py Traceback (most recent call last): File "<stdin>", line 34, in <module> KeyboardInterrupt: raw REPL; CTRL-B to exit Disconnected. Click here to reconnect. Connecting on COM5... Running C:\Users\pmb\Desktop\Wipytest\wipysensortest.py Running C:\Users\pmb\Desktop\Wipytest\wipysensortest.py Distance 45 cm Disconnected. Click here to reconnect.
  • Change log and what's included in the FW build

    Firmware other
    4
    0 Votes
    4 Posts
    829 Views
    sebS
    Thats correct, The modules in the mods directory are ones coded in C and compiled into the firmware, the modules in frozen are written in micropython but they are also compiled into the firmware.
  • pycom-fwtool-cli

    Software Tools other bug enhancement
    6
    0 Votes
    6 Posts
    2k Views
    L
    @seb Yes I meant copying single files. I installed mpfshell and this can do the job for me. I did use an FTP toool for this, bud when using the WiFi radio in my app I constntly had to switch between IP addresses. Thanks again.
  • [Solved] LoPy firmware update issues

    Firmware lopy other
    5
    2
    0 Votes
    5 Posts
    2k Views
    X
    @burgeh You can start by manually downloading the latest LoPy firmware and flashing it with the latest firmware updater (select "Flash from local file"). To get your board updated for online flashing please run the following command on your board: import machine,binascii binascii.hexlify(machine.unique_id()) and send the output to support@pycom.io asking for your board to be changed from LoPy4 to LoPy.
  • Upstream lora library and sx127x driver to MicroPython

    Firmware other
    4
    0 Votes
    4 Posts
    1k Views
    R
    @jmarcelino, apologies for my ignorance. I did not realize the esp32 port that was just merged into mainline MicroPython is a separate port from yours. I thought I saw Pycom in some of the headers in the MicroPython repository. I won't give up hope then!
  • 0 Votes
    2 Posts
    979 Views
    sebS
    Connect a jumper between P12 and 3.3V and press the reset button, this will cause the onboard LED to flash orange, when you see this please remove the jumper. This puts the device into "safe boot", in this mode it will not run the boot.py and main.py files and drop you straight into the interactive REPL terminal
  • Pysense firmware?

    Firmware other lopy
    5
    1 Votes
    5 Posts
    1k Views
    J
    Thanks very much. From my experience, it is like if some flag is not reset when you press the reset button or you call machine.reset().
  • MicroPython Plugin for PyCharm

    Software Tools other
    8
    8 Votes
    8 Posts
    4k Views
    H
    I've been using Atom with it's plugin and it's been working well for me. It's got it's quirks and feels clunky, but it gets the job done. I would like to see a proper plugin for PyCharm however, because I like that IDE.
  • SmarIoT: A Barebones REST App

    Software Tools other
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    2 Posts
    969 Views
    J
    @jmahesh You are connecting to GATT Server as client, so what you can do is request the server send you notifications. You can't send notifications as a client. Bluetooth.PROP_NOTIFY means you can request notifications on that characteristic. I'm guessing that characteristic is not writable (read only) hence you get that error? If what you want is to be notified by the Server (e.g. when the value changes) use the char.callback(trigger=Bluetooth.CHAR_NOTIFY_EVENT, handler=YourHandlerFunct, arg=YourOptionalArgument)
  • Restart code when micropython throws error

    Software Tools other
    4
    1 Votes
    4 Posts
    2k Views
    L
    @aptusmarvin you can use also watchdog https://docs.pycom.io/chapter/firmwareapi/pycom/machine/WDT.html
  • building a water meter counter using a Pycom Lopy

    Firmware other
    2
    0 Votes
    2 Posts
    1k Views
    sebS
    @vivitern said in building a water meter counter using a Pycom Lopy: http://www.kynix.com/Detail/5097/E2F-X2E1.html Looking at the schematic you posted, the input pin is floating. Have you enabled the internal pull up resistor on the pin it is connected to? This can be done like so: p = Pin('P10', mode=Pin.IN, pull=Pin.PULL_UP) where P10 is the pin you are using as an input from the sensor.
  • hmac on on lopy

    Software Tools other
    5
    0 Votes
    5 Posts
    2k Views
    M
    @this-wiederkehr Seems to work perfectly fine. Even calling it multiple times (from REPL at least) works. Thanks alot! Also for the quick response.
  • Coding in C C++

    Software Tools other
    11
    0 Votes
    11 Posts
    4k Views
    G
    Hello @derchris did you manage to get sigfox working ? I'm in the same situation as you and I wonder where to start to use sigfox in c any hint appreciated.
  • Break out of input after interrupt

    Firmware esp32 other
    6
    1 Votes
    6 Posts
    2k Views
    M
    @robert-hh Thanks! Yeah I can do some stuff in the handler, but as far as I can understand it is recommended to keep the handler short and effective. In this case I would like to transmit (LoRaWAN), receive some data etc. Anyway - thanks for the help - I'll figure something out. :)
  • 0 Votes
    2 Posts
    945 Views
    E
    Note: This error continues to happen at various intervals. The error logs are similar, but never identical.
  • 0 Votes
    4 Posts
    3k Views
    C
    This is the correct procedure. It works 100%. I really appreciate your quick and accurate response. THANKS !!!