SparkFun Qwiic OpenLog
by SparkfunThe SparkFun Qwiic OpenLog is the smarter and better looking cousin to the extremely popular OpenLog but now SparkFun have ported the original serial based interface to I2C!
Thanks to the added Qwiic connectors, you can daisy chain multiple I2C devices and log them all without taking up your serial port. The Qwiic OpenLog can store, or "log", huge amounts of serial data and act as a black box of sorts to store all the data that your project generates, for scientific or debugging purposes. Utilizing the handy Qwiic system, no soldering is required to connect it to the rest of your system. However, SparkFun still have broken out 0.1"-spaced pins in case you prefer to use a breadboard.
Like its predecessor, the SparkFun Qwiic OpenLog runs off of an onboard ATmega328, running at 16MHz thanks to the onboard resonator. The ATmega328 has been sure to feature the Optiboot bootloader loaded, which allows the OpenLog to be compatible with the “Arduino Uno” board setting in the Arduino IDE. It is important to be aware that the Qwiic OpenLog draws approximately 2mA-6mA in idle (nothing to record) mode, however, during a full record the OpenLog can draw 20mA to 23mA depending on the microSD card being used.
The Qwiic OpenLog also supports clock stretching, which means it performs even better than the original and will record data up to 20,000 bytes per second at 400kHz. As the receive buffer fills up this OpenLog will hold the clock line, letting the master know that it is busy. Once the Qwiic OpenLog is finished with a task, it releases the clock thus allowing the data to continue flowing without corruption. For even better performance the OpenLog Artemis is the tool you need, featuring logging speeds up to 500000bps.
Note: The SparkFun Qwiic OpenLog supports 64MB to 32GB microSD cards in both FAT16 and FAT32 formats.
Note: The I2C address of the OpenLog is 0x2A and is jumper selectable to 0x29. A multiplexer/Mux is required to communicate to multiple OpenLog sensors on a single bus. If you need to use more than one OpenLog sensor consider using the Qwiic Mux Breakout.
The SparkFun Qwiic Connect System is an ecosystem of I2C sensors, actuators, shields and cables that make prototyping faster and less prone to error. All Qwiic-enabled boards use a common 1mm pitch, 4-pin JST connector. This reduces the amount of required PCB space, and polarized connections mean you can’t hook it up wrong.
Get started with the SparkFun Qwiic OpenLog Guide
Features
- Continuous data logging at 20,000 bytes per second without corruption
- Compatible with high speed 400kHz I2C
- Compatible with 64MB to 32GB microSD cards (FAT16 or FAT32)
- Preloaded Uno bootloader so upgrading the firmware is as easy as loading a new sketch
- Valid I2C Addresses: 0x08 to 0x77
- 2x Qwiic Connectors
Documents
Examples
- Example 1 - Writing to a log
- Example 2 - Creating and appending a file
- Example 3 - Creating a new empty file
- Example 4 - Reading the size of a file
- Example 5 - Read the contents of a file
- Example 6 - Make a directory
- Example 7 - Read contents of a directory
- Example 8 - Remove a file and directory
- Example 9 - Read firmware version
- Example 10 - Check status
- Example 11 - Change I2C address of OpenLog
These examples are included when you install the Qwiic OpenLog library.
We no longer stock this product
It's sad to say goodbye but sometimes we have to retire products to make way for new things.
You may still be able to buy this product directly from our friends at Sparkfun - check out their website!
Shop with confidence – we've been serving the hobbyist electronics, Maker, and retro gaming communities since 2012.
- Satisfaction or refund guarantee
- Worldwide shipping via mail or courier
- 54,000+ customer reviews
- Secure website and payments