eChip and 1-Wire-JS

Zach CardozaTulare, CA

I replaced Keiser's legacy Delphi-only iButton tooling with a JavaScript stack. I wrote the USB driver, the 1-Wire-JS protocol library, and a higher-level eChip library that handles the data structures, default values, and the fault tolerance the hardware actually needs in the field. Both libraries were open-sourced and are still published on npm. Originally built against WebUSB. Later ported to Node.js for the headless workflows.

Role
Software Engineer
Employer
Keiser Corporation
Dates
2014 - 2016
Tech
  • JavaScript
  • TypeScript
  • WebUSB
  • Node.js
  • 1-Wire protocol

Artifacts

The eChip is Keiser's smart-key identity hardware, originally an iButton repurposed into a workout-data storage chip. The legacy tooling was Delphi-only, which made it impossible to extend the platform onto modern web or mobile surfaces. The path forward was a JavaScript stack.

1-Wire-JS implements the Maxim 1-Wire protocol in pure JavaScript. The library handles the timing-sensitive bus arbitration, CRC checks, and search-tree operations the 1-Wire spec requires, on top of a USB transport. The original USB driver was built for WebUSB so the eChip could be read from a browser tab; we later ported it to Node.js for the headless workflows.

The eChip library is the higher-level abstraction: typed records for workout data, default value handling, and the fault-tolerance behavior the hardware actually needs in a field environment. The workout-data protocol stored on eChips became the standard format machines on the strength line read and wrote across the product family.

Both libraries are still published on npm and the source remains on the Keiser GitHub organization.