
6
COMMS
On power up serial comms defaults to OFF.
The serial comms functionality is an added extra, as such the top acrylic panel must be removed to access
the serial header at the top of the unit. The serial voltage levels are TTL.
To enable comms press and hold the LEFT & RIGHT buttons together. Enabled comms is indicated on the
LCD as well as flashing the small red LED near the comms header..
If the serial comms is not being used then it is advised to leave it switched OFF as it will help the
responsiveness of the unit.
The header on the top of the unit enables direct connection to a Windows PC via a suitable serial to USB
converter, such as 3.3Vdc “Adafruit FTDI Friend”. Not supplied.
Most adaptors will not plug in directly and will need an adaptor cable made up.
PDVS2mini Serial Protocol:
A simple bi-directional Ascii based serial data protocol, BAUD: 250k,N,8,1
Rate = Data from PDVS2mini to PC is sent every 100mS
Format to PC VR0,0,12345
Format from PC <KeyVoltage, 0, 1.23456>
The following details all the data being sent from the PDVS2mini, and only a partial listing of the data from
the PC.
PDVS2mini OUTPUTS TO PC:
KV,0, Output Voltage of PDVS2mini
BV,0, Battery Voltage or DC Input Voltage
BVFM,0, Battery Voltage Feed Mult
OVF,0, Output Voltage Feedback
OVFM,0, Output Voltage Feedback
BC,0, Message = DC Input - Charging, DC Input, DC Input - Full, Running on Batteries, Battery Charge high mA!
BLI,0, Message = Status - Low, Status –Ok
Mode,0, Message = Main Menu, Normal, Calibration, Settings
BMIM,0, Battery Monitor IC Mult
BI,0, Battery current
CMS,0, Cal Mode Sub
dacZ0,0, DAC Zero Cal 0
dacS0,0, DAC Span Cal 0
dacS1,0, DAC Span Cal 1
dacS2,0, DAC Span Cal 2
dacS3,0, DAC Span Cal 3
dacS4,0, DAC Span Cal 4
dacS5,0, DAC Span Cal 5
dacS6,0, DAC Span Cal 6
dacS7,0, DAC Span Cal 7
dacS8,0, DAC Span Cal 8
dacS9,0, DAC Span Cal 9
OUTPUT FROM PC TO PDVS2mini:
<KeyVoltage,0,1.23456> Voltage requested to output from PDVS2mini