Desktop Sheet Press: Command Usage
Set the serial monitor to 115200 baud, with lines ending in a newline only (LF, not CR+LF).
Setpoints are in degrees C and durations in minutes. The setpoint and PID gains apply to both control loops.
| Command | Description | Example |
|---|---|---|
st=<value> |
Sets the setpoint, degrees C. | st=25.5 |
dt=<value> |
Sets the process duration, minutes. | dt=60 |
dt+<value> |
Increases the duration by that many minutes. | dt+15 |
dt-<value> |
Decreases the duration by that many minutes. | dt-10 |
rt=<value> |
Sets the remaining time, minutes. Only while active. | rt=30 |
kp=<value> |
Sets the proportional gain. | kp=2.5 |
ki=<value> |
Sets the integral gain. | ki=0.1 |
kd=<value> |
Sets the derivative gain. | kd=0.01 |
prep |
Sets the state to preparing. | prep |
active |
Sets the state to active. | active |
term |
Sets the state to terminating. | term |
standby |
Sets the state to standby. | standby |
eeprom=reset |
Partially resets the settings stored in EEPROM. | eeprom=reset |
eeprom=fullreset |
Fully resets the settings stored in EEPROM. | eeprom=fullreset |
Manual output
Section titled “Manual output”| Command | Description | Example |
|---|---|---|
sudo |
Enters the manual state, in which the PID loops stop computing. | sudo |
o1=<value> |
In the manual state, sets relay 1’s duty, out of 255. | o1=64 |
o2=<value> |
In the manual state, sets relay 2’s duty, out of 255. | o2=64 |
Warning: in the manual state nothing regulates temperature. The duty you set drives the heaters directly.
- Entering
sudodoes not zero the outputs. Each heater keeps its last PID output until you set it witho1=oro2=. - The firmware caps the outputs at 191.25 of 255. If either one is set above that,
both are set to 191.25. So
o1=255also turns relay 2 up to 191.25, and relay 2 stays there until you sendo2=orstandby. standbyleaves the manual state and sets both outputs to 0.
