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. .
  • PySense Expansion Board

    pysense
    2
    0 Votes
    2 Posts
    953 Views
    B
    HI @mike632t, I'm writing up the documentation for both the Pysense and the Pytrack as I'm typing this now! It will go up once the device arrives! I can however confirm that all the sensors are connected on the I2C bus via pins P22 (SDA) and P21 (SCL). Hope this helps!
  • LOPY ANTENNA FREQUENCY BRAZIL

    lopy antenna brazil lora
    6
    0 Votes
    6 Posts
    2k Views
    J
    @eduardorocha yes, the maximum is 20dBm (100 mW) the antenna has no issues with that.
  • HTTP POST with json: Documentation

    http post
    3
    0 Votes
    3 Posts
    2k Views
    B
    Hi @robmarkcole this isn't in our docs as it isnt a core library, however it is commonly used so I'll draw up the documentation for it.
  • FiPy / GPy LTE Antenna Connector Type?

    fipy gpy lte nb-iot
    2
    0 Votes
    2 Posts
    1k Views
    R
    Hello! I believe it's u.fl for both WiFi and LTE
  • Does GPy Have a NanoSim?

    gpy nanosim
    2
    1 Votes
    2 Posts
    1k Views
    R
    Hello, Under the webshop you'll find photos of Fipy module. It has a nanoSIM socket, also on spec sheet: Fipy I thinking that the two modules have almost the same sizes so maybe Gpy will have also nanoSIM...
  • UART wiring for Sipy to FOCA converter

    sipy serial
    3
    0 Votes
    3 Posts
    1k Views
    robert-hhR
    @Vercellotti a) You must set Putty to "No flow control", 8 N 1 b) Try to exchange RX/TX. (RX to Rx, TX to TX). The labeling is sometimes swapped. c) And yes, you do not need DTR.
  • Lipo battery extension board 2

    lipo battery lopy battery connec
    4
    0 Votes
    4 Posts
    2k Views
    B
    Hi @tholden, no problem! :) We had a similar issue when we ordered in a number of JST connectors from ebay as well!
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Importing & using external libraries

    micropython
    6
    0 Votes
    6 Posts
    3k Views
    G
    @bucknall Thanks. Using the MicroPython Interpreter I use the built-in serial terminal on Mac OS known as 'screen' to open a USB serial connection to the Pycom Device. Maybe a stupid question, but why do you serial connect to the xxPy (using eg screen on Mac, the alternative on win I suppose is Putty or TeraTerm)? Pymakr itself has already a serial connection the xxPy? Additionally isn't writing your code as part of a project (in Pymakr) followed by ftp'ing (FileZilla or other) the code/firmware from the Mac or win PC to the xxPy not enough? Also, when clicking (in Pymakr) "Run this code' what exactly happens, isn't clear to me? Should I first ftp the code to the xxPy and then click "Run this code", but if so I'm asking myself why, because when you reset the xxPy the code/firmware runs from the xxPy? Thanks. Guy
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    13 Views
    No one has replied
  • Looking for general advices concerning usage

    sipy serial
    10
    0 Votes
    10 Posts
    3k Views
    M
    Expansion board. Sry for late answers. Must wait 600s between different replies.

Pycom on Twitter