Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

USBStickLogger - Log serial data to an USB thumb drive

Status
Not open for further replies.

tpetar

Advanced Member level 7
Joined
Sep 27, 2010
Messages
6,417
Helped
1,713
Reputation
3,456
Reaction score
1,673
Trophy points
1,393
Location
Pancevo-Belgrade, Serbia
Activity points
37,363
USBStickLogger - Log serial data to an USB thumb drive
Web address : https://www.fischl.de/usbsticklogger/

With this circuit you can log serial (UART) data to an USB thumb drive and record data over a long period without the need of a PC. Simply connect your system to the logger and plug in an USB keydrive. All incoming data is logged to a file on the memory stick.

usbsticklogger.jpg
usbsticklogger_usbstick.jpg



Features

No smd components are needed.
Firmware is open source.
Single power supply voltage: 5V (about 80mA).
Connection to your circuit with only three lines: +5V, GND, uC-Tx.
UART baudrate can be adjusted with a configuration file on the USB keydrive.


usbsticklogger_circuit.png



Usage
Connection
USBStickLogger has two connectors: the USB connector for the memory stick and a pin header socket for interfacing the UART and power supply:
Pin Function Connection diagram of USBStickLogger
1 +5V
2 GND
3 [uc-Rx/Logger-Tx]
4 GND
5
6 GND
7
8 GND
9 uc-Tx/Logger-Rx
10 GND
Configuration
Default setting for the UART is: 9600 baud, 1 start bit, 1 stop bit, no parity. You can configure this paramter by placing the file "CONFIG.TXT" to the USB thumb drive. Currently only the baudrate can be configured. Example:

COM_BAUDRATE: 115200

Logging
Once the device is connected and correctly configured, all incoming characters on the serial interface are written to the file "LOGGING.TXT" on the USB key drive.

connection.png



Firmware
usbsticklogger_firmware_v1.2.tar.gz (2011-08-06)


Steps to compile the firmware:

Install the MAL Microchip Application Library (USB framework). Tested with v2010-10-19.
Unpack usbsticklogger*.tar.gz into a subfolder to the Microchip library folder.
e.g. C:\Microchip Solutions v2010-10-19\usbsticklogger\usbsticklogger_firmware_v1.2\
Open the Project with MPLAB IDE 8*. Tested with v8.63.
Compile with MPLAB C30. Tested with v3.24.


Circuit:
https://www.fischl.de/usbsticklogger/usbsticklogger_circuit.pdf

Firmware:
www.fischl.de/usbsticklogger/downloads/usbsticklogger_firmware_v1.2.tar.gz
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top