-
Notifications
You must be signed in to change notification settings - Fork 5
Serial Terminal Use guide
SimosMCmuffin edited this page Jul 23, 2020
·
1 revision
The interface provides a simple and lightweight way to configure and monitor the BMS while it's connected to a PC via USB.
For all configurable parameters, check the wiki page https://github.com/SimosMCmuffin/FlexiBMS_Lite_FW/wiki/List-of-All-Parameters that will be updated along new firmware versions.
Currently all commands start with the character '$' followed either by a letter for a command or a number for a configurable parameter. If an erroneous command is given that the BMS doesn't recognize, the BMS responds with a "Invalid command, type "$?" for command list" message.
| example CMD | Description |
|---|---|
| $? | Prints the command menu |
| $W | Prints out the FW version number |
| $D | Loads default values to all configurable parameters, strongly recommended to use after up-/downgrading FW to make sure the non-volatile parameters data structures stay in proper alignment |
| $R | Turns BMS' state |
| $$ | Prints out all the configurable parameters and their values |
| example CMD | Description |
|---|---|
| $0 | Returns the value for parameter #0 |
| $0=10 | Writes the value 10 to parameter #0 and then echos the new value back |
| $21=1.0531 | Writes the value 1.0531 to parameter #21 and then echos the new value back, note some parameters take floating point values as inputs |