Log incoming serial UART data to text files on USB Pen Drive. Baud rate of incoming data can be configured.
Accepts incoming serial data and then logs data to text files. The files stored in USB Pen drive card can be accessed on PC when pen drive is removed and inserted into PC.
LED indicates if the logger is connected to card. The switch can be used to start or stop logging action.
Status LEDs
When USB Drive is inserted, it automatically starts to logging and red error led will switch off and yellow will come on.
Interface/Power Pins (3x)
Pin# |
Pin Name |
Function |
1 |
GND |
Ground pin |
2 |
+5V |
Provide regulated +5V DC voltage to this pin for board operation. Board has LM1117-3.3V regulator to power all parts. |
3 | RX-IN |
Incoming serial data at 5V or 3V level. If your data source is microcontroller, then you can connect its TXD pin to RX-IN of the board directly. If your data is at RS232 level data is use a MAX232 to convert that data to 5V UART suitable for board. The board does not interpret the incoming data format, It can be any format, it just takes and writes to file. It is only considering baud rate of incoming data. It should be correctly set as per board configuration to write properly. |
Switch Input pins (2x)
Pin# |
Pin Name |
Function |
1 |
GND |
Ground pin |
2 |
DET |
Switch for START / STOP(Safe Eject) is connected. Before powering off board or removing pen drive. Please push this switch to save any data pending in its memory. Removing usb drive without pressing this switch might cause loss of data in file or corruption of file.
|
To configure your board on which baud rate it should log the data you need to create a simple text file on your card. It can be empty file without any content in it. If there is no file for baud rate configuration default baud rate of 9600 bps will be set. It supports following baud rates. You can insert the USB Pen dive in your PC's USB port to create an empty text file with particular name as below table.
Note: In PC, some computer you cannot see file extensions. To see file extensions, you can open windows Explorer > Organize > Folder Options > View > UNCHECK (Hide Extensions for known file types)
Setup File Created on Card |
Baud Rate Format (8-N-1) |
<No File> Default Baud rate will be 9600 |
9600 |
b115200.txt |
115200 |
b57600.txt |
57600 |
b56000.txt |
56000 |
b38400.txt |
38400 |
b28800.txt |
28800 |
b19200.txt |
19200 |
b14400.txt |
14400 |
b9600.txt |
9600 |
b4800.txt |
4800 |
b2400.txt |
2400 |
b1200.txt |
1200 |
b600.txt |
600 |
To read data on your USB Drive, you can remove from board and insert into it PC's USB port. You can view the text files as well as baud rate configuration file which you have created. Files will be numeric starting from 0.txt. These files are autoincremented and manged by board on its own at each power up. The highest number is the latest file. Maximum files it can manage is 65,000.