Getting Started

Getting Started – AWS Cloud for SenzConnect

91 views May 23, 2025 monisha-d 0

Introduction

Welcome to SenzConnect, a smart, secure, scalable sensor monitoring solution designed for today’s connected world. Whether you’re tracking environmental parameters like temperature, humidity, and CO2 levels, or integrating your devices with cloud systems via MQTT or REST APIs, SenzConnect makes it simple.

This guide will walk you through the quick and easy setup process to connect your device to the AWS Cloud. In a few steps, you can configure your device, establish a secure connection, and start visualizing real-time sensor data online.

Prerequisites

Before we begin, make sure you have:

  1. Hardware: SenzConnect Module.
  2. Power source: USB-C cable.
  3. Internet Access: 2.4GHz Wi-Fi network access.
  4. Wi-Fi-enabled device (PC/laptop or Smartphone).
  5. Access to your Wi-Fi network.
  6. Modern web browser (Chrome, Safari, Edge, etc.).
  7. AWS Cloud Account (or any MQTT/MQTTs supported platform).

LED Indicators

ColorStateIndication
RedSolid (2 seconds)Device is powered on
PurpleBlinkingAP Mode: Waiting for STA Device to get conneted
PurpleSolidAP Mode: STA Device is connected
GreenBlinkingStation Mode: Trying to connect to Wi-Fi network
GreenSolidStation Mode: Connected to Wi-Fi network
BlueBlinkingTrying to connect to MQTT broker / Not connected
BlueSolidConnected to MQTT broker
Blue + White BlinkSolid Blue with White Blinking in the BackgroundMQTT publishing is active — white LED blinks at every publish interval
YellowSolidFalling back to AP (Configuration mode)
RedBlinking Factory reset initialized

Power the Device

The SenzConnect Module operates using a single standard 5V USB-C cable. Use any 5V, 1A USB-C adaptor or power source to power the board reliably. Once powered, the Power LED glows solid red for 2 seconds, signaling that the system has started properly.

Setting up – SenzConnect Module

The SenzConnect Module features a built-in Wi-Fi Access Point (AP) made for easy, direct configuration, no app or special software needed.

Step 1: Connect to the Access Point (Configuration Mode):

  • On Power-On, the purple LED indicates the device is in AP mode.
  • On your Wi-Fi-enabled device, open Wi-Fi settings and look for the network with the SSID like the module’s Default Hostname.
  • Connect to the network using the default password.
  • Once connected, the purple LED will turn solid, confirming successful connection.

Step 2: Accessing the Configuration Page:

  • Open any web browser and access 192.168.4.1.
  • Login using the default credentials when prompted, now you will be prompted to the device dashboard.

Step 3: Explore the Web Dashboard:

  1. Monitor live sensor readings (like temperature, humidity, CO2, and more).
  2. Configure the network settings.
  3. Configure MQTT/ MQTTs.
  4. Calibrate the sensor for better accuracy.
  5. Perform a reboot.

Step 4: Configure Network Settings:

The SenzConnect device allows you to configure the device’s connection to an existing Wi-Fi network. You can update the SSID, set the password, adjust the hostname, and configure the network settings according to your needs.

Step 5: Reboot:

Note: Once all the necessary settings are completed, reboot the device to enable the set changes.

  • You can reboot the device in two ways:
    1. From the web Interface: Click Reboot on the Device settings page under the Device Management section.
    2. Using the Multi-Purpose Switch: A single click will reboot the device with the saved configuration.

Step 6: Application Mode – The Station Mode:

  • Once the device network settings are configured and rebooted, the device enters Station Mode. The LED will blink green while connecting and turn solid green when connected to the network of your choice.
  • It is essential for the device to be connected to the Wi-Fi network to establish a connection to the MQTT broker, allowing it to publish data.

Setting up the SenzConnect Module with AWS Cloud

This guide walks you through the steps to connect your SenzConnect module to AWS Cloud and start publishing real-time sensor data using MQTT.

Step 1: Create an AWS Cloud Account

      1. Visit AWS Cloud and sign up for an IoT Core account.
      2. Once logged in, navigate to “Policies” under “Security”.
      3. Create a policy to attach to the certificate.
      4. Under Create policy, enter the policy name of your choice. In the policy Document section,
          • Set policy effect as “Allow”.
          • Set policy action as “*”.
          • policy resource as “*”.

      5. Once the policy is created navigate to “Things” under “All devices”.
      6. Create Device Things.
      7. Select “Create single thing” and enter the “Thing name”.
      8. Choose “Auto-generate a new certificate” under “Device certificate”.
      9. Attach your respective policy to the certificate and “create thing”.
      10. Download the Auto-generated Certificates.
        • The device certificate is the client certificate.
        • The private key is the client key.
        • The Root CA certificate “RSA 2048 bit key: Amazon Root CA1” is the CA certificate.

          Note: Please ensure that the certificate names are fewer than 32 characters.

      11. Under “Connect one device”, find the Device Endpoint, which serves as the MQTT Broker URL.

 

Step 2: Configure the SenzConnect Module

  1. Power on your SenzConnect device.
  2. Connect to the Configuration mode over the AP.
  3. Open a browser and go to the device dashboard at http://192.168.4.1 to access the configuration portal.
  4. Navigate to Network Settings and configure to the Network (This is required for the device to connect to the Cloud Broker).
  5. Navigate to the MQTT Settings section.
    Configure the following details:
    SettingsValue
    Broker URLmqtts://your-AWS_end_point-iot.eu-north-1.amazonaws.com
    Client IDSet a MQTT Client ID.
    TopicSet a topic of your choice
    Publish IntervalMinimum 500ms
    Message FormatExample:
    {Temperature: ~t0_val~, Humidity: ~h0_val~, CO2: ~co2_val~}
    Live sensor data will replace the placeholders (t0_val, etc.)

    Note: See the user manual for comprehensive setup and troubleshooting instructions.
    Security- Username: Leave blank.
    - Password: Leave blank.

    Note: UPLOAD THE SECURITY CERTIFICATES
    - Client certificate: Device certificate from AWS IoT Core.
    - Client Key: Private Key from AWS IoT Core.
    - CA certificate: Root CA certificate from AWS IoT Core.
  6. Click “Update MQTT Settings”.
  7. Reboot the device.

Step 3: Start Streaming Data

  1. After reboot, the device connects to the configured Wi-Fi network.
  2. It will automatically begin publishing real-time data to AWS Cloud via MQTT.
  3. To verify, go to your device in AWS IoT Core dashboard and open the “MQTT test client” tab, subscribe to the topic you configured you should see live data incoming.

Troubleshooting Tips

If no data in AWS IoT Core, double-check:

    • Wi-Fi credentials and connectivity.
    • Verify the LED Indication and know the device status.
    • AWS endpoint (Broker URL) and certificates.
    • Correct MQTT.
    • Check the pre-fix in broker URL (mqtts:// for AWS – Broker URL).

 

 

 

 

 

 

Was this helpful?

Leave A Comment
*
*