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)
Receive: PA:::::
Explanation: Power output (PWM duty cycle %) in percentage of the five dew ports. 0% to 100%.
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
Receive: PC::::
Reports power consumption
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:::::
Receive: VR:::
Explanation: Reports input voltage in Volts, total current in Amps, Power in Watts.
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:, , , ,
Receive: DSTR:1
Explanation: Stores current Dew Output (from all five outputs) levels to memory.
Device retreives and sets back these levels on boot.
Receive: PV:[RELEASE_MAJOR].[RELEASE_MINOR]
Explanation: Reports firmware version.
NOT YET READY – IGNORE FOR NOW
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.
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.
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
Receive: 1
Explanation: Erase all preferences from memory
Receive: RT:
Explanation: Reports device uptime in seconds
Receive: no output
Explanation: Reboot device