owsbm(4)

owsbm4

1-wire smart battery monitor device

Usage

owsbm* at onewire?

Overview

The owsbm driver provides support for the 1-Wire smart battery monitor. The sensor possesses a temperature sensor, an A/D converter for measuring both battery voltage and current, a current accumulator of both incoming and outgoing current, an elapsed time and 40 bytes of nonvolatile EEPROM.

Only the three voltages (VDD, VAD, CR) and temperature are accessible by the sysctl(8) interface.

The following chips are supported by the driver:

  • Maxim/Dallas DS2438

Measuring current

The sensor does not measure current directly. Instead it measures the voltage across the Rsens pins.

I = Voltage CR / Rsens    (where Rsens is in Ohms)

Releases

41 releases since OpenBSD 4.1; the text changed 2 times.

  1. 4.1
  2. 4.2–5.3
  3. 5.4–8.0

History

The owsbm driver first appeared in OpenBSD 4.1.

Authors

The owsbm driver was written by Aaron Linville ⟨[email protected]⟩.

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.