Skip to content

MQTT won't connect to AWS IoT without serial connection. #62

Open
@weimiao86

Description

@weimiao86

Hi,

I am using the Arduino MKR NB1500 to connect to the AWS IoT.
My current issue is the MQTT won't connect to AWS if the USB serial port is not recognized by my computer.
Scenarios as below.

  1. Power the Arduino from computer USB and the serial port shows up (COM6). MQTT works fine, it can connect to the cellular network and AWS.
  2. Power the Arduino from computer USB with charging only USB cable, which means there is no serial port showing up in computer device manager. the cellular network connection is fine, but the MQTT won't connect.
  3. Power the Arduino from a power bank with a data-supported USB (the one used to download code to Arduino). The cellular network connection is fine, but the MQTT won't connect.
  4. I tried to power the Arduino from the VIN pin, got the same result, it can connect to the cellular network, but won't connect to AWS.

My final goal is to power the Arduino from the power bank or VIN pin, but none of them work.

Please help, thank you! here is the log.

124

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions