background image

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 

Stop bits 

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) 

 

 
 
 
 
 
 
 

Summary of Contents for State of Charge V6 Meter

Page 1: ...f the configuration variables are set correctly which are pre set initially by Lithionics Battery but user adjustable with supporting hardware If they are ever accidently modified a record of the defa...

Page 2: ...n SoC sending box for collecting and computing data points List of accessories for the SoC Sending Box Round SoC Display Gauge Pod Bi Directional Serial ASCII Data Formats o USB o RS232 via DB9 o TTL...

Page 3: ...Page 10 o 3 Bit Register Page 11 o Generator Control Module Page 12 Serial Data Outputs o USB DB9 RS232 Page 13 o Bluetooth Serial Data Page 13 o Ethernet TCP IP Interface Page 13 TCP IP Configuratio...

Page 4: ...external NeverDie unit turn it off as well 2 Connect the SoC NEGATIVE REFERENCE WIRE to the battery negative terminal 3 Connect the battery positive to the BATTERY on the SoC Sender Box NOTE If you ha...

Page 5: ...nect the screw connector to the panel interface with the two highlighted indentations mating with each other 3 While pressing the ring down lightly rotate the ring counter clockwise until you feel a l...

Page 6: ...w 100 SoC State of Charge The percent of usable energy left in the battery 23 4 A Amperage Instant current reading A sign in front of the value indicates charging current No sign indicates discharging...

Page 7: ...in 20 seconds then Setup Mode will time out and switch to display mode automatically Below is the listing of all setup screens and their variable descriptions The factory default values are recorded f...

Page 8: ...SOC reading still remains true to battery capacity regardless of the temperature Low Fuel Low Fuel level This percentage value determines the minimal Fuel Gauge level at which the Low Fuel circuit is...

Page 9: ...with a digital multi meter in DC amperage mode in series with the SoC NEGATIVE REFERENCE WIRE Allowed range is 0mA 200mA Cell Count This setting must be set to the number of cells in series Example 1...

Page 10: ...s 0V when inactive and 5V when active It corresponds to the Low Fuel setting in the user menu 2 Full Charge The Full Charge output circuit is 0V when inactive and 5V when active It corresponds exclusi...

Page 11: ...uts 1 3 represent a 3 bit register with binary output for SOC Outputs 1 3 goes 0 5V binary 0 or 1 Out3 is least significant bit LSB Out 1 is most significant bit MSB SOC 100 all 3 bits are high SOC 0...

Page 12: ...with automatic charging start stop functionality The start and stop points of the generator can be user programmed as follows Low Fuel When the SoC Meter is at the low fuel level see page 8 Low Fuel...

Page 13: ...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 seco...

Page 14: ...r configuration purposes as it allows to send complete string rather than one character at a time as most programs do Once SOC Gauge is configured with desired IP addressing it can be connected to liv...

Page 15: ...ry LLC SOCV6 REV0 PRE RELEASE 15 Battery Module Ethernet TCP IP Physical Interface Typically the physical interface is a M12 D Coded connector which is an industrial weather resistant standard for RJ4...

Page 16: ...000000T000R00000 Data packet fields B Battery address typically 1 in multi battery systems this will represent battery order 1 digit long H AmpHours remaining in 0 1Ah resolution i e 123 12 3Ah 5 digi...

Page 17: ...rough Putty Using USB Serial DB9 Interface CSV Line Definitions RAW Code B H328 V269 F92 S93 D0 A0 W0 T91 E Begin Amp Hours Voltage Fuel State Of Charge Current Direction Charge1 Discharge0 Amps Watts...

Page 18: ...mode and Data Mode Commands listed below List of all AT commands Commands listed below must be followed by new value after sign If new value is outside of expected range error message will be sent If...

Page 19: ...END End Setup mode and resume to normal Data mode AT SETUP Halt normal operation and enter Setup mode Data Mode commands During data mode SOC Gauge can receive and process real time commands listed b...

Page 20: ...E State of the battery represents one of basic conditions of a battery in real time Status Byte is the last byte of parameter R in Serial Ethernet streams In CANBus stream it is the first byte in the...

Page 21: ...Full voltage Empty voltage Resolution 0 1V range 0V 6553 5V CUR Instant current Resolution 0 1A range 0A 6553 5A DIR Current direction 1 charging 0 discharging PWR Watts instant Resolution 1W range 0...

Page 22: ...2016 Lithionics Battery LLC SOCV6 REV0 PRE RELEASE 22 Default values for battery system ____ ____ VAh 64V Ah V 20 Normal 10 10 F 96 0 3 Off 0 1000A 0 0 mA No...

Reviews: