Releases: NicoAleman/BKB-Lisp_scripts
Releases · NicoAleman/BKB-Lisp_scripts
v1.60 Beta (CAN-Only Mode)
When UART and PPM modes are both disabled, CAN will be exclusively used to transmit a UART remote input. This also allows the receiver lisp script to be loaded on any VESC Express to be used as a receiver, removing the need to install the included receiver into the controller.
v1.50
-
Complete Pairing Overhaul
- Receiver sends pairing requests on boot-up, for either 15s or until connected to already-paired remote
- Remote looks for these pairing requests once in PAIR menu, and upon receiving, remembers Receiver and sends request for Receiver to remember the Remote, completing Pairing
- NOTE: Occasional bug in which remote pairs to receiver, but receiver does not pair back, resulting in no connection despite saying "Board Paired". Pairing once more typically resolves this issue.
- NOTE: Very rare bug in which the remote crashes upon pairing with the receiver (frozen, unresponsive screen). Connecting remote to VESC Tool -> LispBM Scripting and tapping "Run" Button in center-right will reset the remote to clear this crash.
-
New Default Values (Forced for existing users)
- Default values were updated to better suit Onewheel use
- NOTE: If coming from a previous version, note that your remote settings (including calibration) will be reset once upon updating; be sure to reconfigure as needed
- Default Calibration based on production remotes
- Default to Throttle Mode H (no throttle scaling for nose down)
- Default to UART mode (Be sure to switch to PPM if needed)
- Default to Battery Saver Mode
- Default to typical Onewheel motor specs (30 poles, 1:1, 280mm)
- Default to 18s Battery
v1.42
NOTE: If coming from 1.41, you only need to update Remote script. Receiver script is identical to 1.41
- Remote Pairing Screen: Optimizations and Crash Fix
- Previously, would occasionally crash on Pairing Screen, even when no receiver is present.
- May still require remote reboot after successfully pairing to properly pair at the moment.
v1.41
- Added standby mode for WiFi management when disconnected from Receiver. This should improve battery life significantly when disconnected (previously kept WiFi on while searching for Receiver)
- Battery Saver Data Rate when Idle reduced to prioritize battery life over the refresh rate of readings (like Speed and Current)
- Data Rate without Battery Saver enabled is now still reduced slightly when idle (still much faster than with Battery Saver)
v1.40
- Significant improvement to battery life, thanks to improved WiFi management:
- Remote WiFi is turned on when sending data, and Receiver sends data back once it receives data from the Remote. Then, we turn WiFi off once we get data back from the Receiver, and it remains off until the next data send. Fairly simple solution, but this should result in SIGNIFICANTLY better battery life, especially in Battery Saver mode (on by default) where the data_send rate is much more limited when unnecessary.
- One con is reduced refresh rate of data readings (including speed and current) with Battery Saver on. Feel free to turn it off if this is an issue. Even off, the battery life should still see a notable improvement over the previous ~3 hour or less charge life.
v1.34
- Re-introduced Safety Switch for locking out throttle input
- When enabled (can be enabled in Remote settings, under Safety menu), short pressing the power button will lock out the throttle from any input, instead just sending an input of 0%.
- Speed text will appear Green when throttle is locked. Unlock by short pressing the power button once more.
v1.33
- Various fixes to Pairing's process and UI/UX (including remote display crash)
- Throttle Calibration now requires a valid range before saving (Max and Min can't be too close to Mid). This helps prevent unintentional bad throttle calibrations.
- Remote can now Idle Timeout (Shut-off) while in Config Screen
v1.32
- Added new auto-shutdown conditions:
- Shutdown if filtered Remote Voltage reaches below 3.4V (critically low, 3.5V = 0%)
- Shutdown if idle for 5 minutes straight:
- Speed must be under 5mph, and EITHER:
- ADC is centered (1.65-1.95V), OR
- Calibrated throttle is near zero (-10% to 10%)
- Throttle is now disabled when USB-C plugged in (when charging, essentially)
- A bit bothersome for debugging / dev, but can easily be commented out if needed. This is for safety, to prevent unintended inputs from remotes left on (or that turned themselves on) while charging
v1.31 (Critical Bug Fix)
- Fixed throttle "overflow" bug, where throttle going beyond calibrated maximum causes it to wrap around to max throttle in the opposite direction
- Removed unnecessary Local_server_ESC script from releases files (we do not write a Lisp script to the controller, only to the receiver and remote)
- Fixed some bugs with trip meter (thanks TheZeroBeast!)
v1.30
- Displayed Remote SOC is now a percentage, based on observed discharge curve (still need to implement forced LV cutoff, be sure to turn off at or before 0%)
- Battery Saver Mode: Variable Data Rate
- When in Bat. Saver Mode, we throttle the data transmission rate at lower/idle throttle speeds (switches between 50Hz, 25Hz, and 5Hz). CPU usage is noticeably lower when idle.
- Main Screen UI revamped to only re-draw when necessary (when respective displayed values change), hopefully reducing power draw
- Display and Throttle Threads now run at specified refresh rates and properly sleep in-between, hopefully reducing power draw (CPU usage is noticeably reduced)