SerialGhost Module SerialGhost Pro Module!
About the product
The SerialGhost Module and SerialGhost Pro Module are modular RS-232 and serial bus loggers with high-capacity internal memory, which may be accessed as a USB flash drive or USB Virtual COM port (SerialGhost Pro Module). Bidirectional data flowing through the serial bus will be captured and stored on the microSD card in a special file. This data may be retrieved by enabling flash drive mode, or removing the card. The SerialGhost Module does not require any dedicated software or drivers.
The SerialGhost Module and SerialGhost Pro Module have an additional built-in timestamping module and battery. This enables adding time and date information to the log file.Thanks to the internal battery, the time and date persist even when the device is not powered.
The SerialGhost Pro
Module is an enhanced version of the SerialGhost Module with Virtual COM port connectivity. It may be controlled by commands sent over the serial port, allowing accessing the stored data and configuring the device. A special application named KL Tools is delivered free of charge to demonstrate this functionality.Features:• Logs asynchronous serial transmission (RS-232 compatible)• Baud rates up to 115200 bps• Logs 2 streams simultaneously (RX and TX)• High-capacity internal flash memory, accessible as a USB removable drive• Powered from a USB port, or external power supply• No software or drivers required, Windows, Linux, and Mac compatible• USB flash drive mode• Time and date stamping• Built-in battery• Virtual COM port mode (SerialGhost Pro Module)
Requirements:• Asynchronous serial bus with RS-232 logic levels (+/-12V)• Operating system with USB Mass-Storage device support• 5V DC power source (external power supply, or USB port)
Recording data:Record mode is the default mode of operation for the SerialGhost Module (SerialGhost Pro Module) data logger. In record mode, the device will silently monitor the bidirectional data flow on the serial bus and store the captured data on the microSD card in file LOG.TXT.
The SerialGhost must first be configured to the appropriate serial bus parameters, such as baud rate. Refer to section Configuration for detailed instructions.
Installation of the SerialGhost Module (SerialGhost Pro Module) in record mode is quick and easy, no software or drivers are required. Simply connect both serial streams to the RX andTX input connectors. Usually this will be the upstream and downstream line of a serial bus. The device must be powered with a +5V DC (min. 200 mA) power supply, through the +5V/GND connectors, or using the micro-USB socket.
Viewing recorded data:Once serial data has been recorded, it may be viewed simply by removing the microSD card, and inserting it into card reader. The microSD card is formatted as a FAT16 file-system, and may be accessed as a removable drive. The removable disk will contain the file LOG.TXT with a text log of all captured data. The data is stored in the same format as appearing on the serial bus, without any encoding. The upstream data (TX) and downstream data (RX) will be differentiated by the markers [1] and [2] interleaved in the log file. The file LOG.TXT can be viewed and searched with any text editor, such as Notepad or MS Word.
Alternatively, a the micro-USB socket may be used to connect the SerialGhost logger to a computer. The SerialGhost will then enumerate as a Mass-Storage device, and show up as a removable drive. Accessing the log file is identical, as when using a card reader.
For embedded applications, the USB cable may be replaced with hard-wired connections. Refer to the diagram below for a description of pins.
Clock configuration:It is necessary to configure the built-in clock module for getting correct date and time-stamps.To do this, a text file named TIME.TXT should be prepared with the following format:
Year=2019Month=4Day=1Hour=12Minute=34Second=56Format=PM
The fields should contain the current time and date. The field Format allows distinguishing between A.M., P.M., and 24-hour time (use the value AM, PM, or 24). After the file has been prepared, switch to flash drive mode and copy the file TIME.TXT to the root folder of the flash disk.
After copying the file, safely remove the flash drive. The new clock configuration will be loaded during the next power-up.
The clock configuration file must be named TIME.TXT and must be placed in the root folder. Variable and value strings are case insensitive, however they must match the options listed below:
- Year sets the clock year value. Valid range is from 2000 to 2099.• Month sets the clock month value. Valid range is from 1 (January) to 12 (December).• Day sets the clock day value. Valid range is from 1 to 31. If the specified day exceeds the maximum number of days in the specified month, the next valid day value will be chosen.• Hour sets the clock hour value. Valid range is from 1 to 12 for 12-hour time(A.M./P.M.), and 0 to 23 for 24-hour time.• Minute sets the clock minute value. Valid range is from 0 to 59.• Second sets the clock second value. Valid range is from 0 to 59.• Format sets the time format. Valid values are AM, PM, and 24. If AM is chosen, the 12-hour format is selected and the specified hour is treated as before noon. If PM is chosen, the 12-hour format is selected and the specified hour is treated as afternoon. If 24 is chosen, the 24-hour format is selected and the specified hour is treated as 24-hour format.
Sample TIME.TXT for 12-hour time:Year=2019Month=10Day=25Hour=5Minute=51Second=43Format=PM
Sample TIME.TXT for 24-hour time:Year=2019Month=10Day=25Hour=17Minute=51Second=43Format=24
For more fresh content please visit: https://www.keelog.com/