LoPy4 can not connect to Pybytes. Exception: Board not detected: I2C bus error



  • Hi, Its seams that the board connects, but I get an error Exception: Board not detected: I2C bus error, so I can not connect to the board through Pybytes.

    ets Jun 8 2016 00:22:57

    rst:0x1 (POWERON_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:1
    load:0x3fff8028,len:8
    load:0x3fff8030,len:1688
    load:0x4009fa00,len:0
    load:0x4009fa00,len:14592
    entry 0x400a059c
    WMAC: 30AEA4EC88DC
    Firmware: 1.18.2.r6
    Pybytes: 0.9.12
    Pybytes configuration read from /flash/pybytes_config.json
    Initialized watchdog for WiFi and LTE connection with timeout 660000 ms
    WiFi connection established
    WARNING: consider enabling TLS by using pybytes.enable_ssl()
    Connected to MQTT mqtt.pybytes.pycom.io
    Pybytes connected successfully (using the built-in pybytes library)
    Now starting user code in main.py
    Traceback (most recent call last):
    File "main.py", line 37, in <module>
    File "/flash/lib/pysense.py", line 18, in init
    File "/flash/lib/pycoproc.py", line 103, in init
    File "/flash/lib/pycoproc.py", line 103, in init
    Exception: Board not detected: I2C bus error
    Pycom MicroPython 1.18.2.r6 [v1.8.6-849-a210e85] on 2019-05-13; LoPy4 with ESP32
    Type "help()" for more information.



  • @iarakis said in LoPy4 can not connect to Pybytes. Exception: Board not detected: I2C bus error:

    Exception: Board not detected: I2C bus error

    The previous one is if I connect my LoPy4 to Makr board. If I connect to the Pysense board, I get the following:

    ets Jun 8 2016 00:22:57

    rst:0x1 (POWERON_RESET),boot:0x16 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:1
    load:0x3fff8028,len:8
    load:0x3fff8030,len:1688
    load:0x4009fa00,len:0
    load:0x4009fa00,len:14592
    entry 0x400a059c
    WMAC: 30AEA4EC88DC
    Firmware: 1.18.2.r6
    Pybytes: 0.9.12
    Pybytes configuration read from /flash/pybytes_config.json
    Initialized watchdog for WiFi and LTE connection with timeout 660000 ms
    WiFi connection established
    WARNING: consider enabling TLS by using pybytes.enable_ssl()
    Connected to MQTT mqtt.pybytes.pycom.io
    Pybytes connected successfully (using the built-in pybytes library)
    Now starting user code in main.py
    Connected to Wifi


Log in to reply
 

Pycom on Twitter