Command List for DewMaster2

Device exposes a USB to Serial COM port:

Manufacturer: PegasusAstro

Product: DewMaster2

VID: 303a

PID: 9007

Connection Settings: 115200, 8N1 (DTR on)

(All commands should be terminated with a new line /n)

Send: P# or ##

Receive: DM2__

Explanation: Reports device identifcation.
is a 8 char unique identificaion string e.g 35AC34FC
revision char is the PCB revision (e.g A, B, C)

Send: PA

Receive: PA:::::

Explanation: Power output (PWM duty cycle %) in percentage of the five dew ports. 0% to 100%.

Send: D:{power_percentage)

Receive: D:{power_percentage)

Explanation: Set power output (PWM duty cycle %) in percentage of the five dew ports. 0% to 100%.

E.g: D2:75

Sent: PC
Receive: PC::::


Reports power consumption

To set per dew output

Send: DA:value

Receive: DA:value

The autodew aggresiveness value can be set from 1-10. The highest the more aggresive in provided power.

To read

Send: DAP

Receive: DAP:::::

Send: VR

Receive: VR:::

Explanation: Reports input voltage in Volts, total current in Amps, Power in Watts.

To set

Send: DSET

Receive: DSET:, , , ,

Explanation: Set mode for each dew port

0: Manual
1: AutoDew
2: Sensor1
3: Sensor2

To read

Send: DSH
Receive: DSH:, , , ,

Send: DSTR

Receive: DSTR:1

Explanation: Stores current Dew Output (from all five outputs) levels to memory.
Device retreives and sets back these levels on boot.

Send: PV

Receive: PV:[RELEASE_MAJOR].[RELEASE_MINOR]

Explanation: Reports firmware version.

NOT YET READY – IGNORE FOR NOW

Send: ES

Receive: ES::

Explanation: Reports Environmental Sensor data.

Temperature is a double in Celsius degrees
DewPoint is a double in Celsius degrees
Relative Humidity is an interger.

Sensor presense is a boolean (0 or 1} that reports if the sensor is connected.

Send: TS

Receive: TS::::

Explanation: Reports Temperature of sensors.

Temperature is a double in Celsius degrees

Sensor presense is a boolean (0 or 1} that reports if the sensor is connected.

Send: CT:

Receive: CT:

Explanation: Offset value for temperature sensor. The value is a signed double.

Send: CH:

Receive: CH:

Explanation: Offset value for relative humidity sensor. is a signed integer.

Send: CR

Receive: CR::

Explanation: Read temperature and humidity sensor offsets.

is a signed double, is a signed integer

Send: EE

Receive: 1

Explanation: Erase all preferences from memory

Send: RT

Receive: RT:

Explanation: Reports device uptime in seconds

Send: PF

Receive: no output

Explanation: Reboot device