SparkFun 原廠 Qwiic OpenLog (DEV-15164)
The SparkFun Qwiic OpenLog is the smarter and better looking cousin to the extremely popular OpenLog but now we've 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 our handy Qwiic system, no soldering is required to connect it to the rest of your system. However, we 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.
Note: The SparkFun Qwiic OpenLog supports 64MB to 32GB microSD cards in both FAT16 and FAT32 formats.
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.
- 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
- 示例1 - 寫入日誌
- 示例2 - 創建和附加文件
- 示例3 - 創建新的空文件
- 示例4 - 讀取文件的大小
- 示例5 - 讀取文件的內容
- 示例6 - 創建目錄
- 示例7 - 讀取目錄的內容
- 示例8 - 刪除文件和目錄
- 例9 - 讀取固件版本
- 例10 - 檢查狀態
- 例11 - 更改OpenLog的I2C地址
- 例12 - 快速記錄和基準測試