mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 11:54:30 +03:00
restructuring
This commit is contained in:
35
F0:F030,F042,F072/Chiller/Readme.md
Normal file
35
F0:F030,F042,F072/Chiller/Readme.md
Normal file
@@ -0,0 +1,35 @@
|
||||
Self-made chiller control system
|
||||
|
||||
UART: 115200N1, not more than 100ms between data bytes in command
|
||||
To turn ON human terminal (without timeout) send "####"
|
||||
|
||||
Protocol: [ command line ]
|
||||
'[' clears earlier input
|
||||
'\n', '\r', ' ', '\t' are ignored
|
||||
All messages are asynchroneous!
|
||||
|
||||
Commands:
|
||||
Ax - turn on(x=1)/off(x=0) external alarm or check its value
|
||||
Cx - set cooler PWM to x
|
||||
d - (only when EBUG defined) go into debug commands
|
||||
F - get flow sensor rate for 5s period
|
||||
Hx - set heater PWM to x
|
||||
L - check water level sensor value
|
||||
Px - set pump PWM to x
|
||||
R - reset MCU
|
||||
Tx - get NTC temperature for channel x
|
||||
t - get MCU temperature
|
||||
V - get Vdd value *100V
|
||||
|
||||
Debugging commands:
|
||||
A - show raw ADC value (next letter is index, 0..5)
|
||||
F - get flow_cntr value & PB state
|
||||
T - show raw T values
|
||||
w - test watchdog
|
||||
|
||||
|
||||
Messages:
|
||||
MCUTEMP10=x - mcu temperature * 10 (degrC)
|
||||
SOFTRESET=1 - software reset occured (msg @ start)
|
||||
VDD100=x - Vdd*100 (V)
|
||||
WDGRESET=1 - watchdog reset occured (msg @ start)
|
||||
Reference in New Issue
Block a user