
- Prog asleep screen 2.jpg (111.15 KiB) Viewed 6029 times
Programmer will now detect if this is the first time that this WheelchairCAN system has been programmed, or if the Joystick and SpeedPot have never been calibrated. If it's a new system, it will automatically send all your User Settings to WheelchairCAN and then tell you how to calibrate the Joystick and SpeedPot. (Until the first programming is done, Master has some provisional values that work well enough that the system won't "crash".)
If this is not the first time programming the system, you will start seeing a series of questions, the first two asking whether you want to re-calibrate the Joystick and SpeedPot or adjust the voltage sensing to match your actual battery voltage. Just follow the instructions.
Whenever you see Y/N it means enter 'Y' (or 'y') for "Yes, I want to do this" or any key except 'Y' or 'y' if you want to skip this step. Volt meter calibration is an exception since you have to enter a number to adjust it. You may have to try several values of the Calibration factor to get WheelchairCAN to match battery voltage, so these three lines will repeat until you enter any letter to signal that you're done.

- Prog screen.jpg (227.31 KiB) Viewed 6029 times
In the above, I've answered N to all of the questions, and WheelchairCAN already had the same User Settings as in the Programmer's UserSettings tab so the output is quite short. Each month, a new log file will automatically be created. You can look at the latest one, or at any of the earlier ones, and if you chose to look at an earlier one you will get instructions about how to tell Programmer which one you want.
Even if this is the very first time you've turned on WheelchairCAN there will be a log file showing the date and time of startup, the amount of time elapsed since the chair was turned on, and the total amount of time that the system has been ON. Time spent sleeping or turned off doesn't count. The log files are stored in a micro SD card in the Display node. If you want to have a copy on your PC, you can copy what is shown in Serial Monitor and paste it to a text editing program - the Arduino IDE does not have a way to save the serial output. (You could also pull the SD card, but for system reliability that's probably not something to do routinely. It also has all of the display graphics and error logging messages stored on it!).
Whagt follows are a couple examples of other Programmer sessions.
I. Programming WheelchairCAN for the first time:

- NewMCU all.gif (171.42 KiB) Viewed 6029 times
Notice that the current log file shows initial startup date and time with 0 RunTime and TotalTime because this is a "fresh" WheelchairCAN. There's also a Read amps error message because the Roboteq is sometimes busy doing other things and doesn't "see" the battery amps CAN query. Not to worry, in 3 seconds Master will ask again and will update the Amp Hour bar graph on Display. There's a "dummy" log file for 12/2014 on the SD card just to illustrate how to retrieve an older log file.