Skip to content

PocketOBI v2.5.2: Connecting... banner, cleaner messages

Choose a tag to compare

@TheRepairforge TheRepairforge released this 25 Oct 19:37
· 6 commits to main since this release

A small update: the screen no longer looks frozen while a pack is read, and the short messages are easier to read.

Added

  • "Connecting..." while the pack is read (#33). Opening Battery or Repair, refreshing the battery page, and the error-reset and debug reads in Tools now show a yellow "Connecting..." banner until the pack has answered. A read takes a few seconds, and the screen used to sit still during that time. In every language of both builds. Thanks to @scp38 for the contribution.

Changed

  • Short messages ("LEDs ON", "Nothing to repair", "Fix hardware first", ...) now use the same font as the rest of the interface instead of the enlarged pixel font.

No change to the reading, the verdicts or the PC bridge: the PackScope companion app needs no update.

Build

Release images are now built by the project's CI with tools/release_bins.sh, which you can also run yourself. The PlatformIO platform is pinned to espressif32@7.1.3 (Arduino core 2.0.17), the one every release so far was built on.

Known issue

Flashing a .bin by hand at 0x0 resets the saved settings (language, screen flip, CYD touch calibration). The web flasher keeps them unless you tick "Erase device". After a manual flash, set them again (on the CYD: Tools > Settings > Calibrate touch).

Full changelog: CHANGELOG.md.

Which file do I flash?

Hardware English / French / German / Spanish Asia: English / Japanese / Korean / Vietnamese
ESP32-C3 SuperMini + ST7789 + EC11 encoder (reference) PocketOBI-v2.5.2-esp32-c3.bin PocketOBI-v2.5.2-esp32-c3-asia.bin
CYD ESP32-2432S028R (touch) PocketOBI-v2.5.2-cyd.bin PocketOBI-v2.5.2-cyd-asia.bin
CYD with an ILI9341 screen (mirrored image on the plain CYD build) PocketOBI-v2.5.2-cyd-ili9341.bin build from source with CYD_ILI9341

Easiest: the web flasher, from Chrome or Edge, nothing to install. Or by hand: each .bin is a merged image (bootloader + partitions + app), flashed at address 0x0.

pip install esptool
esptool --chip esp32c3 write_flash 0x0 PocketOBI-v2.5.2-esp32-c3.bin
esptool --chip esp32   write_flash 0x0 PocketOBI-v2.5.2-cyd.bin

If a CYD flash stops halfway ("chip stopped responding"), add --baud 115200. SHA-256 checksums are in SHA256SUMS.txt. The *-parts.zip files hold the separate images and their offsets (OFFSETS.txt).

Never connect the pack's B+ (18 V) to the ESP32.