DataLogger - USB


Product ID : P-109


Datasheet / Sample Code

Datasheet - V1.0
Sample Code - V1.0

This USB-Host acts as a data logger with serial interface. Files can be read as well as write in the pendrive. It is very useful to create a text file or a csv file in a pendrive and write any data in to it. The module uses simple AT commands to read or write a file. Support appending file in writing so that data can be written continuously. Any simple MCU with UART interface can do the complex job of file creation, reading / writing using this module.


The ultra compact size of the unit (2.5cm X 2.5cm) makes it suitable to add in to your existing device. In addition to LED indicators additional outputs are provided for USB device removal detection and data ready signal to the external MCU for user convenience.


Operating Voltage : 5V

BaudRate : 9600



Read Command:


RF $00$05$00$0A/CW001.TXT$0D - ($00 - one hex byte, $ is just a symbolic representation to understand)


$00$05 - $00 is high byte and $05 is low byte. This is a 16 bit value which skips that number of characters. Here it will skip first 5 characters and will start to read from the 6th character.


$00$0A - $00 is high byte and $0A is low byte. This is a 16 bit value which reads that number of characters. This shows that it will read 10 characters.


/CW001.TXT - File name to read.


$0D - Carriage return to indicate end of command.



Write Commands:


WF /CW002.TXT$0D   - Specifies the file name to write the data. If the file name already exists then it will append the file and keep writing to it. If there is no file with the given name is available then it will create a new file adn will start writing in to it.


WB Hello World$0A$0D - WB is the write buffer command which has the actual data to be written in the file.


Maximum buffer length is 250 bytes.


Note : This product doesn't come with pendrive. You have to purchase pendrive separately.


This product can be customized as per need.


Related Products

DataLogger - Advanced (SD + RTC)
usb-host-keyboard-decoder
This is advanced version of serial interface data logger with real time clock as well as manual and automatic mode. This module has inbuilt SD Nand memory.
DataLogger - Advanced (SD + USB + PDF)
usb-host-keyboard-decoder
This advance model data logger with serial interface has 2 USB ports with PDF file generation capability. This module has inbuilt SD Nand memory to log the files.
DataLogger - SD NAND
usb-host-keyboard-decoder
This is a data logger with serial interface. This module has inbuilt SD Nand memory to log the files instead of using removable USB pendrive.
Circuits World - Logo
© Circuits World. All Rights Reserved.