• I2C Clock Stretching

    Moved i2c clock stretch
    7
    0 Votes
    7 Posts
    2k Views
    B
    @iannucci I'm curious if you ever got this working. The TI documentation is a hot mess. If you did, can you post up some example code, please? =)
  • 0 Votes
    9 Posts
    5k Views
    C
    Refer to this thread for details on how Pycom builds the libraries: https://forum.pycom.io/topic/2835/is-it-possible-to-recompile-pycom-s-esp-idf-with-different-settings
  • Pymakr doesn't detect Lopy1 device after successful firmware update

    1
    0 Votes
    1 Posts
    167 Views
    No one has replied
  • Pyscan firmware update

    3
    0 Votes
    3 Posts
    370 Views
    X
    @israel There is currently no firmware update for the Pyscan. The version flashed during production is the latest one available.
  • LoRa NVRAM clear on restore issues

    lorawan lora deep sleep battery powered nvram
    4
    0 Votes
    4 Posts
    1k Views
    G
    @jcaron Thanks. Just to note this method works also for both a software reset AND powercycle.
  • Argument order of time.ticks_diff()

    ticksdiff v1.20.0rcx
    1
    4 Votes
    1 Posts
    261 Views
    No one has replied
  • ESP32 RAM cache issue when using both cores

    esp32 esp-idf crash dual core
    1
    0 Votes
    1 Posts
    336 Views
    No one has replied
  • HTTP Server with WiFi in AP mode

    @http server @http client @ap mode @sta mode @wipy
    4
    0 Votes
    4 Posts
    585 Views
    M
    @johan @thibault I've managed to do it finally. After I've set IP for HTTP server wlan.ifconfig(id=1, config=('192.168.4.10', '255.255.255.0', '192.168.4.1', '192.168.4.1')) i've tried to read IP address of HTTP Server and that was the problem, it's keep returning me '0.0.0.0'. IP address was set properly to '192.168.4.10' but function returns '0.0.0.0'. print('Network config:', wlan.ifconfig()) Network config: ('0.0.0.0', '0.0.0.0', '0.0.0.0', '0.0.0.0') Thank you for your help.
  • Query supported NB-IoT bands?

    gpy nb-iot band
    1
    0 Votes
    1 Posts
    308 Views
    No one has replied
  • Orange Belgium Gpy

    gpy nbiot orange belgium
    25
    0 Votes
    25 Posts
    4k Views
    M
    Hello all, Finally I manage to make it works. The problem wasn't in the software, but hardware. I don't use a expansion board, I use a ttl converter like this one https://www.ebay.com/itm/5V-3-3V-FTDI-FT232RL-USB-to-TTL-Serial-Converter-Adapter-Module-Arduino-Mini-Hot/182736917146 With this converter 3.3V is not enough to power on stably the board, so, I used it in 5V mode, but it seem that 5v for serial communication is ok for the python REPL, but have problem when flashing the modem or use the LTE modem. Finally, I changed my design by using another 5v power source, and use the ttl converter un 3v3 mode with common ground. And then it just works fine ;) Thank you for you support
  • CRC handling in raw LoRa mode

    lora
    2
    0 Votes
    2 Posts
    1k Views
    N
    Sorry for the year late grave-dig on this, I wanted this answer for myself and I landed on this post. Here we see a crcOn parameter in the driver https://github.com/pycom/pycom-micropython-sigfox/blob/4481a1c283be97640592ea2a0440830e336064de/drivers/sx127x/sx1276/sx1276.c#L364 Here we see the lora micropython module invoking these functions https://github.com/pycom/pycom-micropython-sigfox/blob/4481a1c283be97640592ea2a0440830e336064de/esp32/mods/modlora.c#L1093-L1101 The arguments and parameters formatted: RadioModems_t modem = MODEM_LORA, uint32_t bandwidth = init_data->bandwidth, uint32_t datarate = init_data->sf, uint8_t coderate = init_data->coding_rate, uint32_t bandwidthAfc = 0, uint16_t preambleLen = init_data->preamble, uint16_t symbTimeout = symbol_to, bool fixLen = LORA_FIX_LENGTH_PAYLOAD_OFF, uint8_t payloadLen = 0, bool crcOn = true, <-- CRC enabled. bool freqHopOn = 0, uint8_t hopPeriod = 0, bool iqInverted = init_data->rxiq, bool rxContinuous = true This is the same for both tx and rx. This setup function is invoked when in LORA (Raw) mode: https://github.com/pycom/pycom-micropython-sigfox/blob/4481a1c283be97640592ea2a0440830e336064de/esp32/mods/modlora.c#L821 TL;DR; Yes, CRC is enabled internally.
  • Stop code execution

    codeing
    2
    0 Votes
    2 Posts
    388 Views
    robert-hhR
    @misterlisty Did you try Ctrl-C?
  • frozen AWS MQTT

    aws mqtt mqtt
    7
    0 Votes
    7 Posts
    952 Views
    R
    @martinnn said in frozen AWS MQTT: @robertkeizer What do you mean by 'relative path'? The import statement is from MQTTLib import AWSIoTMQTTClient How do you point this to another source? I added my own copy of the library in the directory AWSIoTPythonSDK, and then was able to use from AWSIoTPythonSDK.MQTTLib import AWSIoTMQTTShadowClient or similar. Effectively just add your own copy of the library and then use a from xx import ; As long as you don't use the exact same name as the default one, and the directory exists in /lib you should be able to use another version.
  • 1 Votes
    1 Posts
    256 Views
    No one has replied
  • ticks_xx wrap-around period

    ticksxx utime timer
    1
    0 Votes
    1 Posts
    329 Views
    No one has replied
  • Confusing development process

    micropython version management
    24
    4 Votes
    24 Posts
    3k Views
    robert-hhR
    @iwahdan There is another branch now called stable_update. I understand that this is the trial update to 1.18.1.rx. I left a note there on one of the newer commits. Having a note somewhere about the intention of each branch would be helpful.
  • Persistent event logging

    logging persistence
    3
    0 Votes
    3 Posts
    629 Views
    D
    @paul-thornton Thank's Paul, anyway it would be helpful to implement NVS support for string and blob objects. I think this is already available in the IDF. What's your opinion @iwahdan ?
  • Bluetooth device name unable to resolve in Pycom

    wipy wipy 2.0
    3
    0 Votes
    3 Posts
    684 Views
    N
    Using manufacturer data, we can get the proper data from the sensor. mfg_data = bluetooth.resolve_adv_data(adv.data, Bluetooth.ADV_MANUFACTURER_DATA) advData = binascii.hexlify(mfg_data)
  • SD over "shared" SPI bus

    spi sdcard driver
    6
    0 Votes
    6 Posts
    2k Views
    P
    @paulm Ignore recent post; I fixed this myself: https://forum.pycom.io/topic/4000/fixed-broken-sdcard-py-library-previously-impossible-to-have-external-spi-usd-card-with-pycom-boards
  • ESP-IDF Version?

    esp-idf
    2
    0 Votes
    2 Posts
    613 Views
    danD
    @cmisztur 3.0 for development, and stable wasn't an official release

Pycom on Twitter