Subcategories

  • General discussion for getting started and support

    723 Topics
    3k Posts
    robert-hhR
    @theshade Pycom INC is closed. And whoever purchased the assets did not buy the debts or responsibilities. Personally I'm upset that not even the technical documentation of their boards was published as a small feedback for the community.
  • For all topics related to the WiPy

    566 Topics
    3k Posts
    S
    @robert-hh okay, makes sense regarding the documentation. thanks for the information
  • For all topics related to the LoPy

    2k Topics
    9k Posts
    S
    I am facing a challenge when attempting to decompress data compressed using the miniz library on the ESP32 platform. My objective is to compress data using miniz library in flasher_stub compoment of esp-idf and then decompress the data on the cloud side using some python script that can be compatible with miniz decompression style like zlib. As per the documentation and information available, the miniz library is described as a "lossless, high-performance data compression library" that implements the zlib (RFC 1950) and Deflate (RFC 1951) compressed data format specification standards. However, I am encountering difficulties when attempting to decompress the compressed data using Python. Specifically, when using the Python zlib module, which should be compatible with the zlib and Deflate formats, I am receiving an "unknown compression method" error. I have verified that the file and data are correct, and they were compressed using the miniz library on the ESP32. Despite this, I am unable to successfully decompress the data. I would greatly appreciate any help or any insights that you can provide regarding how to properly decompress data that has been compressed with the miniz library using Python.
  • For all topics related to the SiPy

    163 Topics
    783 Posts
    M
    @matt3526 DID anyone figure this out?
  • For all topics related to the GPy

    411 Topics
    2k Posts
    D
    Hi, Just for reference, our GPy replacement Walter is going live on Crowd Supply very soon. We already tested with some beta testers and you can read the review in this topic: https://forum.pycom.io/topic/7748/the-future-of-pycom/32 For everybody interested, this is the Crowd Supply link: https://www.crowdsupply.com/dptechnics/walter
  • For all topics related to the FiPy

    531 Topics
    3k Posts
    robert-hhR
    @Julia-Steiwer As you should have noticed, Pycom Inc ceased it's operation, and there is no service any more for Pycom products, be it hardware or software like Pymakr. The latter should still work with the older VSCode versions. So if you want to use PyMakr, you have to stick with an working combo of an older VSCode version and PyMakr.
  • For all topics related to the Pymakr

    129 Topics
    599 Posts
    robert-hhR
    @Kalle-Misto Pymakr is not supported any more. It might help to fall back to a previous version of Vscode and keep it.
  • For all topics related to the Pymate

    10 Topics
    50 Posts
    T
    Hi, I think I'm doing everything correctly and following Roberto's tutorial to a T. I am getting errors when I try both reading and writing virtual pins. I am using a wipy 2.0 running firmware 1.18.2.r4 Here Is my process: set up pymate safe boot device, download files. edit pymate_basic.py in lib with code under "# Initialize Virtual Pins and Terminal Pins Here" restart, add widgets to app, and it always returns errors. Here are two examples of errors: a) When I try Roberto's first example of writing, I add the following code under "# Initialize Virtual Pins and Terminal Pins Here" to pymate_basic.py: # Initialize Virtual Pins and Terminal Pins Here import pycom def set_led_color(params): val = int(params[0]) if (val < 256): val = val & 0xFF elif (val > 255 and val < 512): val = (val << 8) & 0xFF00 elif (val > 511): val = (val << 16) & 0xFF0000 pycom.rgbled(val) pymate_library.add_virtual_pin(1,None, set_led_color) After uploading, and setting up a widget type slider with pin V1, and range 0-750, I slide the slider and get one of the following errors: "Error calling provided virtual method" 2)"Traceback (most recent call last): File "boot.py", line 39, in <module> File "/flash/lib/pymate_basic.py", line 25, in <module> File "/flash/lib/pymate_library.py", line 414, in run File "/flash/lib/simple.py", line 202, in wait_msg File "/flash/lib/pymate_library.py", line 352, in _recv_msg_callback File "/flash/lib/pymate_library.py", line 278, in _handle_hardware_msg KeyError: 32" 3)Warning: Virtual write to unregistered pin 1 b) When I try Roberto's second example of reading, I add the following code under "# Initialize Virtual Pins and Terminal Pins Here" from uos import urandom def read_random(): val = int(urandom(1)[0]) return val pymate_library.add_virtual_pin(1,read_random, None) After setting up the widget type to Display, pin V1, pin Mode INPUT, refresh Rate 500ms, I hit play, and I get the following error: Traceback (most recent call last): File "boot.py", line 39, in <module> File "/flash/lib/pymate_basic.py", line 19, in <module> File "/flash/lib/pymate_library.py", line 414, in run File "/flash/lib/simple.py", line 202, in wait_msg File "/flash/lib/pymate_library.py", line 352, in _recv_msg_callback File "/flash/lib/pymate_library.py", line 278, in _handle_hardware_msg KeyError: 32 Please help. There is very little documentation to go off of, and I can't find anything wrong with what I'm doing. Thanks
  • For all topics related to the Expansion Board

    298 Topics
    1k Posts
    D
    @Mr-Admin said in syntax question: mqtt_publish(client, "home-assistant/altitude", str(alt.altitude).encode('utf-8')) thank you, this looks like what I need
  • For all topics related to MicroPython

    417 Topics
    2k Posts
    K
    @robert-hh maybe wrong forum. I couldn't figure out the Github system and found this forum instead. Thanks for the tip on the USB cable. Hope it's that simple. .
  • [SOLVED] Errors building frozen bytecode

    frozen
    2
    0 Votes
    2 Posts
    927 Views
    B
    Found the problem quickly. I read the error message very carefully and found the file name embedded in that long STATIC variable name. Those were some old/unnecessary test code and when I removed them, it compiled.
  • LoPy pcb female connector

    hardware lopy pcb connectors
    4
    0 Votes
    4 Posts
    2k Views
    cocoaC
    @tcb Thank you!
  • How do I diagnose MemoryError?

    memoryerror
    18
    0 Votes
    18 Posts
    5k Views
    B
    @robert-hh said in How do I diagnose MemoryError?: b) follow the instructions in https://github.com/pycom/pycom-micropython-sigfox/README.md, section ESP32 (not Pyboard) Correct URL https://github.com/pycom/pycom-micropython-sigfox/blob/master/README.md
  • WiPy2.0: funny antenna effect

    wipy2.0 antenna effect
    12
    1 Votes
    12 Posts
    4k Views
    J
    @rustydusty This is a great contribution. I have the same problem with a LoPy module, I am going to apply the RF design rule on LoPy.
  • G01module: LTE modem pins and EMAC use

    g01 oem module
    6
    0 Votes
    6 Posts
    2k Views
    H
    The EMAC RMII signals are the few ESP32 signals which cannot be reassigned to different I/O pads on the ESP32. It is unfortunate that PyCom uses some of those pins for the LTE modem rather than pins which can be re-assigned. Being able to use the EMAC would have opened more use cases for the G01 hardware module. @jmarcelino said in G01module: LTE modem pins and EMAC use: Maybe using a SPI Ethernet interface chip? Using an SPI Ethernet defeats the purpose a bit as the ESP32 has a very capable and fast Ethernet MAC and the esp-idf has really good out-of-the-box software support for it.
  • Gpy lte sdk

    gpy lte emulator
    4
    0 Votes
    4 Posts
    2k Views
    L
    hi @bucknall, can you tell a date, when the documentation will be available? thank you
  • Interrupt wakeup from deepsleep

    pytrack pysense deepsleep deep sleep wakeup
    9
    1 Votes
    9 Posts
    4k Views
    J
    @chrisi if you are using the Deep Sleep shield, then you have the relevant functions in the library that goes with it. If you are using a Pysense (and I believe the same applies to the Pytrack), then it's a lot more complex. There's only one usable pin on the I/O header, you need to patch the Pysense firmware, isolate a pin between the module and the Pysense, and change a few things in the sleep process. But it does work. Refer to https://forum.pycom.io/topic/1673/pysense-pinout-wake-on-pin/16 for details.
  • Experiences with LoPys

    tldr
    2
    0 Votes
    2 Posts
    1k Views
    L
    @g0hww said in Experiences with LoPys: Try disable some steap and look at result. e.g. what if you do not use Lora? also your Lopy go to unresponsive state?
  • WiPy + PyTrack Windows USB Setup Problems

    wipy pytrack windows usb com
    4
    3
    0 Votes
    4 Posts
    2k Views
    S
    @jcaron Thanks for the tip. Output below. from pytrack import Pytrack py = Pytrack() py.read_fw_version() 4 Which I think means it had flashed successfully (partly as my previously loaded libs had disappeared!). I had tried to connect the External I/O header as an alternative but had similar lack of luck. Tried High speed transfer both ticked and unticked based on reading another similar post. Just tried this again with same result. Flash tool states it is connecting... then shows a Failure! warning. The only COM port in the drop down is COM3 but I am not sure that's the attached PyTrack as removing the PyTrack from USB doesn't de-list the item listed in Device Manager. I am still concerned that it is more related to not having the correct Windows drivers in place that's preventing things from working as they should. Thanks again for the response. Regards Shaun
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    14 Views
    No one has replied
  • Programming/test jigs for W01 and G01

    w01 g01
    4
    0 Votes
    4 Posts
    1k Views
    R
    @BetterAuto Fair enough. I can't add anything to this other than being mindful of power and also providing a dummy load for the antenna. We elected to have programming pins on the pcb we can use - though it means the W01 must be soldered in first of course. I would be interested in hearing how it works for you. Sounds interesting. Kind regards - Richard
  • Pin: max sink current

    hardware pin open drain sipy power
    4
    0 Votes
    4 Posts
    3k Views
    robert-hhR
    @littlebat It said max current 40 mA in the maximum ratings sections, but I myself did not trust that anyhow. Even if, the output levels then are somewhat off GND/Vcc. So 12 mA sounds much more convenient.
  • Nonvalatile storage on WiPy?

    Moved wipy
    4
    0 Votes
    4 Posts
    2k Views
    M
    Thanks for the replies. I figured I must be missing something. I didn't find anything about read() or write() in the PyCom docs and the uio micropython library isn't mentioned either. I'll give it a shot today. Sounds like it will work perfectly for my needs.
  • W01 Information / version / got one going

    w01 w01version w01breadboard
    1
    2 Votes
    1 Posts
    742 Views
    No one has replied
  • Pytrack, usb serial communication and REPL

    uart repl usb pytrack
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [SOLVED] Cannot Connect

    firmware usb connection connection prob
    4
    0 Votes
    4 Posts
    5k Views
    T
    USB issues SOLVED The problem was the baud rate being used by Putty. The default baud rate in Putty is 9600 but the rate that should be used is 115200. This is mentioned in the documentation section for using Linux . After I changed the baud rate to 115200 did that Serial USB was working.
  • [SiPy] PyTrack GPS Not Working? (Firmware 0.0.4) [SOLVED]

    sipy pytrack
    8
    0 Votes
    8 Posts
    3k Views
    B
    @OPCDF Unfortunately there isn't a way to mark it as resolved (we're looking into other forums that allow you to do it). The best thing you can do right now is to modify the title of this post to add '[SOLVED]' to the end of it! Thanks!
  • CW (Carrier Wave) mode for LoRa, WiFi, etc.

    lora lopy wifi radio power saving
    1
    0 Votes
    1 Posts
    983 Views
    No one has replied
  • Power up wipy from raspberry pi 3

    power raspberry pi pins
    3
    0 Votes
    3 Posts
    5k Views
    O
    @bucknall ok, thank you! I had not considered that the pytrack hasn't extra female pins, so i think i'll start with a standard usb connection, because i don't want to have to solder, at least for now. I'll have a look at the lopy-raspberry code :D
  • Reading descriptors of BLE Client GATTc device

    ble
    2
    0 Votes
    2 Posts
    964 Views
    K
    Have started on issue on this in github https://github.com/pycom/pycom-micropython-sigfox/issues/37

Pycom on Twitter