• MQTT example in doc fails

    5
    0 Votes
    5 Posts
    404 Views
    R
    @nervencid I made it work using the simple mqtt library, to connect to Azure IoT Hub without using Pybytes. Have a look at this thread: https://forum.pycom.io/topic/5713/send-data-to-azure-iothub-with-mqtt-protocol-without-using-pybytes-solved
  • Cannot detect wipy AP

    ap mode
    2
    0 Votes
    2 Posts
    119 Views
    A
    I tried reflashing the wipy but this time I unticked "enable Pybytes/SmartCofig support" and I can see the AP on my PC now [image: 1582739721070-pycommupgrade.png]
  • WiPy 2.0 with GPRS SIM800

    wipy 2.0 sim800 router ap mode
    2
    1 Votes
    2 Posts
    1k Views
    A
    Dear @Roqueton, we have tried to implement SIM800 PPPoS support (WIP), see also [1,2,3]. With kind regards, Andreas. [1] https://github.com/pycom/pycom-micropython-sigfox/pull/408 [2] https://community.hiveeyes.org/t/ppp-over-serial-pppos-support-for-micropython-on-esp32/2994 [3] https://community.hiveeyes.org/t/unlocking-and-improving-the-pythings-sim800-gprs-module-for-micropython/2978/29
  • littlefs vs fatfs differences

    12
    0 Votes
    12 Posts
    411 Views
    G
    @robert-hh @andreas Gentlemen thanks. that was it. i didnt notice the capital and since fatfs didnt care i didnt look at it.
  • Develop using Arduino IDE/libs

    4
    0 Votes
    4 Posts
    254 Views
    F
    @robert-hh, thank you very much for this complete answer!
  • Error 28

    1
    0 Votes
    1 Posts
    82 Views
    No one has replied
  • WiPy integration with Camera Module

    2
    0 Votes
    2 Posts
    368 Views
    securigyS
    @EngeenerAtendee Did you find out how to connect pins to WiPy ?
  • What happened to pin_deepsleep_wakeup()?

    9
    0 Votes
    9 Posts
    392 Views
    A
    Hi techykermit, I'm sorry about the delay in the documentation update. I've now updated the machine.pin_deepsleep_wakeup() function - [https://docs.pycom.io/firmwareapi/pycom/machine/#machine-pin-deepsleep-wakeup-pins-mode-enable-pull] and I am currently working on updating the the os.mkfs() function in the documentation. Keep us posted with how you get on, Ankith B Have you checked out our docs for the answer? (Now with an easy search function) https://docs.pycom.io    Check out our newly revamped device management platform, Pybytes! https://pybytes.pycom.io/
  • Using Adafruit's PIR Sensor

    1
    0 Votes
    1 Posts
    101 Views
    No one has replied
  • Wipy WIFI + MQTT lamp from plaster molded in 3D printed parts

    1
    0 Votes
    1 Posts
    95 Views
    No one has replied
  • Bluetooth scan response data

    1
    0 Votes
    1 Posts
    90 Views
    No one has replied
  • urequests "need more than 2 values to unpack"

    8
    0 Votes
    8 Posts
    313 Views
    robert-hhR
    @techykermit Things like these happen all of us the time. But still, the python code could have an error handling for it, like the two lines before.
  • OSError: in error.log file

    wipy lopy
    6
    0 Votes
    6 Posts
    292 Views
    W
    @jcaron Many thanks for your info
  • Updating WiPy firmware on Ubuntu

    1
    0 Votes
    1 Posts
    96 Views
    No one has replied
  • Python 2 or 3

    python
    2
    0 Votes
    2 Posts
    133 Views
    robert-hhR
    @Limka said in Python 2 or 3: They're basically the same. Learn 3 and when you need to use 2 (i.e. certain packages only support 2) you can easily switch to 2 I guess that should be the answer to your question. And that's also my opinio. If you start, start with Python 3.
  • utf-8 iteration / ord() behaves unexpected

    2
    0 Votes
    2 Posts
    173 Views
    P
    For future reference: Here's a solution. text = "aouäöü" print(text) print(len(text)) for char in text: print(char) print(ord(bytes(char, "utf-8")))
  • Why is using Pylab discouraged?

    1
    0 Votes
    1 Posts
    107 Views
    No one has replied
  • Wipy3.0 DAC

    2
    0 Votes
    2 Posts
    160 Views
    robert-hhR
    @MisureMeccaniche According to the ESP32 data sheet, the maximum drive capacity of a digital output is 40mA for a high level and 28mA for the low level. I expect the analog output of the DAC to drive less. For 100mA and more you will need an amplifier.
  • 0 Votes
    9 Posts
    484 Views
    robert-hhR
    @jc_serg That looks bad then. Since 3.3V is an output of the board, it means that the board is not working. Are you sure you plugged in the board in the right orientation?
  • how to determine which processor module i'm using?

    4
    0 Votes
    4 Posts
    144 Views
    A
    Dear @cYc, @cYc said in how to determine which processor module i'm using?: I need to determine at run time which module the code is running on so i can initialise LTE (GPy) or not (WiPy) aside from using the try/except method. @robert-hh said in how to determine which processor module i'm using?: import sys print(sys.platform) If you will need a more extensive platform switch, you are welcome to take our implementation [1] from the Universal MicroPython Application Loader. More or less, it just wraps sys.platform and sys.implementation. We are using it to run the Terkin-Datalogger on both ESP32 and STM32 plaforms and to decide whether it is running on Pycom MicroPython or Genuine MicroPython. platform_info = PlatformInfo() if platform_info.mcu == platform_info.MCU.ESP32: print('Running on ESP32') elif platform_info.mcu == platform_info.MCU.STM32: print('Running on STM32') if platform_info.vendor == platform_info.MICROPYTHON.Pycom: print('Running on Pycom MicroPython') elif platform_info.vendor == platform_info.MICROPYTHON.Vanilla: print('Running on Genuine MicroPython') With kind regards, Andreas. [1] https://github.com/hiveeyes/hiveeyes-micropython-firmware/blob/8ced0b29f6b5cc7061b9d78f545293a5b804a5ab/lib/umal.py#L10-L77

Pycom on Twitter