Gravity: Serial Data Logger Module

SKU: TEL0147

The Gravity Serial Data Logger Module offers a convenient data storage solution with onboard 128MB Flash memory, eliminating the need for TF cards. It features USB connectivity for easy PC connection, allowing direct file reading. The module's onboard LED indicates data writing status, while the SAVE key facilitates data storage into separate files, making data management efficient and user-friendly.

Front view of serial data logger arduino with labeled components and USB port-DFRobot product sku:TEL0147 image.
  • Docs
  • Tech Specs
  • Projects
  • 1. Getting Started

    This guide offers a detailed walkthrough for first-time module users, covering initial setup, storage formatting, CONFIG.TXT generation, and configuration of communication settings for efficient data management.

    2. Example for Arduino-Write Data

    This article presents a comprehensive example of how to write data using Arduino and a Serial Data Logger, including hardware/software requirements, connection diagrams, and sample code.

    3. Example for Arduino-Write Data in CSV Format

    This article provides a step-by-step guide on how to write data in CSV format using Arduino and a Serial Data Logger, complete with hardware requirements, connection diagrams, sample code, and running results to help hobbyists and enthusiasts effectively log data.

    4. TEL0147 V1.0 Firmware Upgrade

    The article offers a detailed guide on upgrading the TEL0147 V1.0 firmware to avoid data recording errors, including formatting storage, setting baud rates, and connecting to the maincontroller serial port, ensuring optimal module performance for users purchasing before May 2022.

    Specification

    SIZE

    Parameter Specification
    Supply Voltage 3.3V~5V
    Operating Current 10mA
    USB Protocol USB2.0
    Operating Temperature Range -20℃~65℃
    Operating Humidity Range 5%RH~85%RH
    Dimension 32×27mm/1.26×1.06”

    Pinout

    Pinout

    Num Silkprint Description
    1 VCC/+ Power Positive
    2 GND/- XX
    3 RX/R UART Receive
    4 TX/T UART Transmit
    5 S/SAVE SAVE pin/button, save the current file, and create a new file to store the following data, save data at low level.

    The SD LED indicator indicates data interaction status between module and storage. It blinks when data is being written or a new file is being created.

    FAQ

    • I got this unit and the demo works fine. Here are some questions.
      How do I record a CSV instead of a TXT. CSV can be opened easily by excel and is formatted

      When is the system recording a new file? How do I program it to generate a new file after 24 hours for instance ? (After the Arduino started)

      How do I change the name of file to be recorded?
      How do I make your system record the files under a name I specify ?

      Thanks

      Hi there, everybody happy with the serial logger? Anybody else has got problems using the logger? Mine „freezes“ after a minute or so, stopping the led blinking, and having disconnected it from TX and Arduino Power, reading it on my notebook shows up FAT problems while reading the last file written! Thanks for further comments!

    • When will the module enter USB flash drive mode? When to enter data storing mode?
      When a USB host is used to connect the module, the module enters the USB flash drive mode, at the time data can't be stored in the module and the CONFIG.TXT file and new blank files will not be automatically generated when the module is powered on. In other cases, the module enters the data storing mode, and the CONFIG.TXT file and new blank files will be generated automatically if the module doesn't have a CONFIG.TXT file.
    • What can I do if a file cannot be deleted?
      Please format the storage first, and then refer to the methods in "For First Time Use".
    • The CONFIG.TXT file isn't automatically generated when the module is powered on.
      Check whether the USB host is used to power the module first, and then check whether the file system for storage is FAT32.
    • The SD indicator is not lit when data is rapidly written to the module.
      The SD card has write endurance cycles of 100 thousand times. In order to ensure the SD life, write to SD card once about 50ms or 512 bytes after the module writes to data.

    Explore More Related Questions >

    Was this article helpful?

    TOP