Debugging pyergometer
See also: ergometria.async.fi
Categorised as: note
See also: ergometria.async.fi
Categorised as: note
I'm having some issues getting JErgometer working with my new Kettler E3, so to rule out the possibility of miswiring (the bike has a traditional RS-232 interface so I got a USB-RS232-WE-5000-BT_0.0 cable from FTDI which comes "wire-ended" and requires some soldering) I dug out "Kettler Treadmill Serial lua class" from mhwlng (thanks!). This, and my own brute-force testing got me the following list of commands relevant in the bike's context, which may be only a subset of the commands that the bike accepts but what could be used to build one's own implementation:
RS
ID
VE
ST
pulse rpm speed*10 distance requested_power energy mm:ss actual_power
CM
PW x
PT mmss
PD x
Notes: I only connected RX, TX and signal ground (looks like the bike does not use any kind handshaking). Serial port settings are 9600bps, 8N1.
Categorised as: note