Skip to content
MCU Atlas
ARDUINOATMEGA328PNANO

SparkFun OpenLog: Arduino-compatible data logger

A tiny ATmega328-based logger that writes serial data to a microSD card with almost no host code.

Difficulty:BeginnerCost:Source 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/16/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

  • SparkFun OpenLog
  • microSD card (FAT16/FAT32, up to 64GB on recent firmware)
  • Host microcontroller or serial device
  • 3.3-12V power

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.

Parts List (BOM)
Complete parts list from the creator
complete
PartQtyRoleEst. PriceBuy
1logger$15–$20View
1storage$4–$8View
Estimated Total$19–$28 USD

Not included: 3D-printed case, wire, solder, USB cable

Download CSV

Related Projects

grbl: high-performance CNC motion control on Arduino Uno
Illustration
ARDUINOUNO
The classic open-source g-code interpreter that turns an Arduino Uno into a 3-axis CNC controller.
Intermediate·Cost varies·Code
4 parts listed
SimpleFOC Arduino balancer: BLDC two-wheel balancing robot
Illustration
ARDUINOUNO
A modular two-wheel balancing robot using gimbal BLDC motors and the SimpleFOC library on Arduino-class boards.
Advanced·Cost varies·Code
5 parts listed
Arduino Uno e-ink home weather station
Illustration
ARDUINOUNO
A simple Arduino Uno weather station with a Waveshare 4.3in e-ink display, BME280 and DS3231 clock.
Beginner·Cost varies·Code
4 parts listed