teklektik wrote:Pot configuration now uses 'deadband' settings instead of min/max voltages.
It took me some trial and error to figure out how this works: the "low threshold "dead band" is the voltage difference between 0.0 and the minimum voltage of the connected pot. The "high threshold dead band" is the voltage difference between 5.0 and the maximum voltage of the connected pot.
My potentiometer gives a range of 1.15 to 3.95 volts. Using the default values with my potentiometer results in a usable range between 20 and 80 percent. To enjoy a potentiometer range of 0 to 100 percent I had to update the thresholds to 1.15 and 1.05 for the low and high thresholds respectively.
Yep you got me.
This is a case of 'exhaustive documentation' - I documented until I got tired...
You are exactly right about the 'deadband' terminology.
Here's some additional details:
- The top deadband is the difference between the highest pot voltage and 5V.
- The lower deadband varies by configuration:
It's the difference between the lowest pot voltage and one of:
- 0.00V if there is no AuxD device
- 0.86V if there is a Shottky AuxD device with Schottky diodes
- 1.26V if there is an AuxD device with conventional diodes
For a pot with output that swings rail to rail like the standard Grin pot, the deadbands can typically be 0V for all cases. There can be a little variation according to temperature, so they default to something slightly higher than 0V that should work in pretty much all cases a, b, and c. Your pot is a little unusual in that it doesn't swing rail to rail (across the whole voltage range) making it need a little more tweaking. With the various voltage requirements tied to the DixiAux feature, this is a slippery user interface to make easy and obvious, so frankly we went with something that is essentially plug and play for customers with off-the-shelf controls, but that can still work for DIYers who have less standard custom setups and are more techie by their very nature.
A 'no measurement' technique for adjusting these bands is to look at the Setup AuxA section preview screen with AuxA->Function
set the desired limiting type (Amps, Spd, Pwr, Spd, or PAS) and adjust the pot to the extremes. The displayed limit percentage should swing from 0% to 99% and start and stop changing very close to the pot extremes. Adjust the deadband settings until this is the case.EDIT - This extra config info has been added to the release post above...
There are a few other small additions that are called out on the Release Notes. For instance, there is now a more generic 'Li-ion' battery type
My batteries are the Samsung INR18650-29E with cathode chemistry, LiNiCoMnO2.
I used the "new" Li-ion chemistry setting, but I find that it gives a consistently pessimistic capacity assessment, showing a half-charge when I know the battery has been charged to about 75%, and shows only 1 dot (6-7%) when the battery has at least 20% charge remaining. Does the battery capacity gauge require a "learning" period, like some smartphone battery indicators?
I was a little imprecise above and should have explained this as do the actual Release Notes:
"The battery chemistry option 'LiMn' has been renamed to 'Li-ion'."
This is just the previous LiMn setting which should be appropriate for most Li-ion chemistries. We felt that the LiMn designation was too restrictive and confused folks who couldn't find their particular chemistry.
So - this should be working just as LiMn did before. All but the LiFePo4 work the same and use both Ah and open circuit voltage - no learning involved. So - what were you using before and did that have this same behavior? If it gave more satisfying results, I would just recommend swapping back to that setting.
[...] and a minor tweak to the temp icon to make initial rising temperature easier to see...
Ambient temperature today was 15C or lower, ... My highest temperature reading on the motor was 87.5C. I won't be able to test this until the weather warms
Yep, I have the same problem and had to re-adjust my temp limit to force a reading on the bike... I confess that the bulk of the examination came on the bench where things were warm and cozy and I just had to twist the 'temperature' knob on the test rig...
As always - thanks for the feedback and thoughts - appreciated.