Skip to content
MCU Atlas
ARDUINOATMEGA328PNANO

SparkFun OpenLog: Arduino-compatible data logger

SparkFun OpenLog is a tiny ATmega328-based data logger: anything sent over serial lands on a microSD card — no host code to write before you start logging.

Difficulty:BeginnerSource available

Photos

SparkFun OpenLog: Arduino-compatible data logger photo 1
SparkFun OpenLog: Arduino-compatible data logger photo 2

Photos: sparkfun/OpenLog

Key Facts

  • Chip: ATmega328P
  • Interface: UART serial
  • Storage: microSD
  • Use: drop-in serial logger

About This Project

OpenLog is a SparkFun open-hardware board that listens on a UART and writes everything to a microSD card. Any microcontroller that can print serial can log data without implementing an SD library. The firmware is open and the board is useful for GPS tracks, sensor dumps and debugging. A classic Arduino-family accessory.

Source & Attribution

Source: GitHub
License: unknown (custom/multiple – see repo)
Last verified: 10/15/2026
SparkFun OpenLog: Arduino-compatible data logger

How to Build It

OpenLog is SparkFun's tiny open-source serial data logger. Connect its RX pin to any microcontroller's TX and it writes everything it receives to a microSD card. Its firmware is ATmega328 Arduino code, and settings live in a config.txt on the card.

Parts Needed

Steps

  1. 1

    Wire it

    Connect VCC and GND, and wire your device's TX to OpenLog's RX. Connect OpenLog's TX to your RX only if you want to send commands.

  2. 2

    Insert the card

    Format the microSD card as FAT32 and insert it. On power-up, OpenLog creates a new LOGxxxxx.TXT file and starts logging.

  3. 3

    Set the baud rate

    Edit config.txt on the card to set the baud rate, escape character and mode so they match your device (9600 baud by default).

  4. 4

    Command mode (optional)

    Send the escape character (three Ctrl+Z by default) to enter command mode, where you can create, read or append to files.

  5. 5

    Update firmware (optional)

    The Firmware folder holds the Arduino sketch. Flash it through the FTDI header with the Arduino IDE, selecting an Uno-compatible board, after installing the libraries from the Libraries folder.

Available as a complete kit

Serial data logger with microSD

Part details in our parts library
Buy from SparkFun

DIY Alternative

DIY Parts List

Generic parts to build something similar yourself

generic

3 parts · 1 linked

Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works

No verified link — check the original project
No verified link — check the original project

Related Projects

whisli sense: ESP32 mmWave presence sensor with climate and light
Illustration
ESP32ESP32-C3
A local presence sensor on a Waveshare ESP32-C3-Zero: an HMMD mmWave radar spots even a person sitting still, plus temperature, humidity and light over MQTT.
Intermediate
6 parts listed
XKC-Y25 water-tank monitor: three non-contact level sensors on an ESPHome XIAO ESP32C3
Illustration
ESP32ESP32-C3
Stick XKC-Y25-V sensors to the outside of a plastic tank and an ESPHome XIAO ESP32C3 tells Home Assistant the water level — nothing touches the water.
Intermediate·Code
8 parts listed
ESP32 freezer alarm: a DS18B20 probe that emails you when the freezer warms up
Illustration
ESP32
A build pattern for a temperature alarm: an ESP32, a waterproof DS18B20 probe and a web setup page that emails you when the reading crosses your setpoint.
Intermediate
5 parts listed