Skip to content

How To Visualize and Monitor Data From SparkFun DataLogger IoT

Introduction

This guide walks you through integrating Machinechat JEDI with the SparkFun DataLogger IoT for seamless data collection, visualization, monitoring, and automation. We'll cover configuring your DataLogger IoT, connecting sensors, and leveraging JEDI's powerful features.

Prerequisites

  • SparkFun DataLogger IoT
  • One or more compatible SparkFun sensors (Refer to the SparkFun DataLogger IoT website for the full list of 50+ supported sensors)
  • Machinechat JEDI
  • Serial Terminal Emulator
    • See the section "Choosing and Using a Serial Terminal Emulator" for recommendations and basic instructions.

SparkFun DataLogger IoT

The SparkFun DataLogger IoT is an all-in-one device that makes IoT data collection incredibly easy.

SparkFun DataLogger IoT
SparkFun DataLogger IoT

It offers plug-and-play functionality, support for over 50+ SparkFun sensors via the Qwiic connector system, and flexible data storage and transmission options.

SparkFun DataLogger IoT Qwiic System
SparkFun DataLogger IoT Qwiic Sensor Connect System (No Soldering Required!)

Machinechat JEDI

Machinechat JEDI is a versatile software application designed for real-time data management. It provides intuitive dashboards, a drag-and-drop rules engine, alert mechanisms, and data storage capabilities – all accessible through a user-friendly web-based interface.

Step-by-Step Guide

Setting Up Machinechat JEDI

Refer to the Machinechat JEDI documentation for download and installation instructions:

Configuring SparkFun DataLogger IoT

  • Use Qwiic cables to effortlessly attach your chosen SparkFun sensors to the DataLogger IoT.
  • Connect the DataLogger IoT to your computer via USB.
  • Open your serial terminal emulator.

Before configuring your SparkFun DataLogger IoT, you'll need a serial terminal emulator to interact with it. Below is a guide to help you select the right one for your operating system and needs.

Popular Options

  • Windows:

    • PuTTY (free, open-source, versatile)
    • Tera Term (free, open-source, scripting support)
    • MobaXterm (free and paid tiers, multi-tool terminal solution)
  • macOS:

    • CoolTerm (free, tailored for serial communication)
    • Serial (commercial, user-friendly, powerful features)
  • Linux:

    • minicom (often pre-installed, menu-driven)
    • screen (multiplexer, good for advanced use)
    • picocom (tiny and minimalist)

Basic Usage (example with PuTTY)

  1. Download & Install: Get your chosen emulator from its official source.
  2. Identify COM Port (Windows):
    • Open Device Manager
    • Expand 'Ports (COM & LPT)'
    • Locate your DataLogger IoT (e.g., "USB Serial Port (COM3)")
  3. Launch Emulator: Open your terminal emulator.
  4. Configure Settings:
    • Connection type: Select "Serial"
    • Serial line: Enter your COM port (e.g., "COM3" on Windows)
    • Speed (Baud Rate): Set to 115200 (the default for DataLogger IoT)
  5. Connect: Click the "Open" or "Connect" button in your emulator. You should now see communication from your DataLogger IoT.

Note: Instructions may vary slightly between emulators. Always consult the specific documentation for your chosen tool.

  • Select the appropriate COM port (Windows) or device (macOS/Linux) for your DataLogger IoT.
  • Set the baud rate to 115200.
  • Once SparkFun DataLogger IoT establishes connection, it prints its current configuration as well as the information about the sensors connected to it. Type the Enter key on your keyboard to enter the settings menu.
SparkFun DataLogger IoT Boot Up Messages
SparkFun DataLogger Boot Up Messages
SparkFun DataLogger IoT Configuration Menu
SparkFun DataLogger IoT Settings Menu
  • Enter 4 in your terminal window to configure your DataLogger IoT's Wi-Fi connection (SSID and password).
SparkFun DataLogger IoT Wi-Fi Settings Menu
SparkFun DataLogger IoT Wi-Fi Settings Menu
  • From the DataLogger IoT settings menu navigate to 'Machinechat settings' (enter '15').
SparkFun DataLogger IoT Machinechat Settings Menu
SparkFun DataLogger IoT Machinechat Settings Menu
  • Enter 2 to configure the Machinechat URL. Input the Machinechat JEDI server URL: http://<jedi_server_ip>:8100/v1/mc (replace <jedi_server_ip> with your JEDI installation's IP address).
  • Enter 1 to enable/disable Machinechat JEDI support. Enter 1 to enable.
  • Save your configuration ('b' to back up, then 'x' to exit configuration).

Verifying Data in JEDI

  • Log into your Machinechat JEDI instance.
  • Navigate to the 'Device Dashboard'. You should see a list of sensors detected by your DataLogger IoT.
Machinechat JEDI Device Dashboard
Machinechat JEDI Device Dashboard
  • The new data sources will now be available when creating charts, create rules, and setup data logging.
New Data Sources From DataLogger IoT
New Data Sources From SparkFun DataLogger IoT in JEDI
New Metrics From DataLogger IoT
New Metrics From SparkFun DataLogger IoT in JEDI

Creating Dashboards, Monitoring, and Logging

  • Consult the comprehensive JEDI documentation for detailed guidance on building dashboards.
Machinechat JEDI Data Dashboard
Machinechat JEDI Data Dashboard

Conclusion

The combination of Machinechat JEDI and the SparkFun DataLogger IoT provides engineers with a robust, user-friendly platform for real-time data collection, visualization, monitoring, and automation.

Need More Help?

Contact our support team: support@machinechat.io