miniThrottle, Serial Interface
miniThrottle: A model railroad WiFi throttle.
Serial Console
The full list of commands can viewed using the "help" or "help summary" commands at the serial console.
The name of a command can be given as a parameter to help if you want more details about a specific command, eg: "help add".
The console is case sensitive so that "A" and "a" are different.
Some of the more useful commands are shown below:
Diagnostics
- config Shows the general configuration of the MiniThrottle device
- export Exports the commands required to duplicate this MiniThrottle's configuration. This is useful when usng more than one MiniThrottle on a system or to simply create a backup.
- locos or turnouts Lists locos or turnouts known to the device
- nvs Show the contents of "Non Volatile Storage" - these are the device's settings that are retained after power off or reset.
- pins Shows the esp32 pin assignments - each pin should have at most one assigned function. Check there are no duplicate pins. Unassigned pins are OK.
- showkeypad Shows which keys are being pressed, useful for checking keypad configuration. "noshowkeypad" to stop.
- showpackets Shows the data sent to and from the miniThrottle and the control station. "noshowpackets" to stop.
- sendcmd Sends a command to the control station. You need to understand the protocol used by the control station before attempting this. eg on DCC-Ex to power on track: sendcmd <1>
Display set up
- font Get or set display font to use
- rotatedisplay get or set the display orientation
- cpuspeed Set the processor speed, slower speeds may have slower screen update/refresh times but consume a little less power.
Wireless set up
- name Sets the name of the throttle, when using WiThrottle this can aid in distinguishing various throttle units.
- protocol designates which protocol to defer to if the command station sends no initial identifing information within the first few seconds of connection.
- server In the event mDNS query does not identify your control station, the server command can direct the throttle to a control station IP address/Name and port number. These get polled sequentially until one connects. By specifying multiple ser entries a MiniThrottle can easily move between layouts.
- wifi Used to specify WiFi networks you want to connect your MiniThrottle to. It will require the WiFi SSID and password. By specifying multiple networks a MiniThrottle can move between different networks. At least one wWiFi network must be specified.
- wifiscan Normally MiniThrottle will poll networks in turn and connect to the first discovered network. By enabling wifiscan, network signal strength is scanned an the MiniThrottle is attached to the strongest signal. However, this mode can sometimes lead to unexpected disconnection and reconnection.
DCC-Ex Only
In a WiThrottle system, the JMRI computer will provide your throttle with lists of locomotives, turnouts or routes.
Although DCC-Ex allows rosters, and switches to be stored, many users may find defining them in miniThrottle easier to manage.
miniThrottle does not check DCC-Ex for roster or turnout information set in the DCC-Ex controller.
When using WiThrottle the programming of CVs is done though JMRI web interface, the wiThrottle interface does not allow for easy CV programming.
But they can be set using miniThrottle and DCC-Ex.
- add Adds locomotives, turnouts or routes to the MiniThrottle.
- del Deletes locomotives, turnouts or routes from the MiniThrottle.
Thank you for visiting this website | | Home |