2016 | Lithionics Battery LLC | SOCV6 REV0
PRE-RELEASE
13
Serial Data Output
Serial data output is supported over either a USB, TTL UART, DB-9 RS232, and Bluetooth
interface.
The USB interface emulates a virtual COM port. ASCII serial stream data is broadcast via USB or
Serial DB9. Any terminal program that can view/record serial data via a COM port is compatible.
At Lithionics we use the program “Putty.exe” to log and display data in real time (available at
putty.org). This fixed length data line is updated once every second. The file is saved real time,
viewable as plain text in a .log file. This data can be integrated into other applications that can
read data via a COM port.
COM Port Settings:
Speed/Baud
9600
Data bits
8
Stop bits
1
Parity
None
Bluetooth Serial Data
The Bluetooth module will output the same fixed length data stream as the serial data output
above at the same 1 second time interval. The default pairing password is “1234”.
On a windows PC this will create a virtual serial port.
On an Android device this can be accessed within an app such as BlueTerm, a free Bluetooth
terminal app in the play store.
Serial Bluetooth data is blocked on iOS devices.
Ethernet TCP/IP Interface:
TCP/IP interface supports Auto Negotiation (Full/Half duplex and 10/100 Mb speed). Data is
transmitted over UDP socket in a text string with CR+LF termination.
Default IP configuration is as follows:
IP Address – 192.168.0.254
Subnet Mask – 255.255.255.0
Gateway – 192.168.0.1
Destination IP – 192.168.0.255 (broadcast to local LAN)
Source Port – 48879 (0xBEEF)
Destination Port – 65261 (0xFEED)