User Interface

Leater is driven from the serial command line. By default it is configured for a serial port at 115200,n,8,1 .

The default command line is updated once a second and looks like this;

Static(S:13.0°C A:24.0°C H:0%)>

This shows you're running a Static temperature, the S:etpoint is 13.0°C and the A:ctual temperature is 24.0°C. You can enter commands at the prompt and there are a few control characters; CTRL-L clears the screen, CTRL-C aborts the current line and TAB completes the current command if there is one.

If the temperature sensor is not working properly, or simply isn't present, the prompt will be;

Parameters can be changed using the setparam command, and the parameter name given in [square brackets]. Note the Profiles at the end of the parameter set. These are pre-configured profiles for different applications which can be executed via the Run command. If the Autorun parameter is set to a profile number then that profile will be executed on power up, otherwise the system will attempt to attain the static temperature (STATIC) or will simply not do anything (IDLE).

Flushlogs

Clear out the logging memory and restart the logs at log 1.

HelpPrint shortform help.

InfoProvide basic information about the configuration of the system, for example;

Active log 9 Version V13.4 Variant 00008122Brownouts 0 Thermocouple

Which shows we're currently recording log number 9, the chip version is 13.4, variant 0x8122. There have been no brownouts while the system has been running and the system is configured for a Thermocouple.

Loginfo

Provide information about the logs currently recorded.

Loop <Open|Closed>Move between open loop (direct control using the Output command) and closed loop (PID) control. This is used for characterising the system to allow PID tuning - pehaps using the excellent information from Control Guru.

Newlog

Open a new log instance.

Output <Level>Set output level when in open loop mode 0-1000 where 0=off.PIDMonitor

Output PID information in CSV compatible format to allow tuning. Each second, assuming no sensor fault, the system will output a line like;

730,800,792,80,92,0,172

Where the fields are <TimeInSeconds>,<CommandedTemp>,<ActualTemp>,<P>,<I>,<D>,<Output>

Profilemonitor Monitor the steps when executing a profile.

Run <ProfileNum>Execute the selected profile.

Setparam <Parameter> <Value(s)>Set parameter to defined value. This parameter setting is retained for the current session but, unless written to non-volatile store, is lost when leater is power cycled.

Setpoint <Temp>

Set a static control temperature. System will try to achieve and then maintain this temperature.

Stop

Stop running an active profile.

Uptime

Output the length of time the system has been running in seconds. On my system the time has a drift of about 0.25%..which isn't too bad considering I run from the internal oscillator.