Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Lightweight onewire library

LwOW is lightweight, platform independent library for Onewire protocol for embedded systems. Its primary focus is UART hardware for physical communication for sensors and other slaves.

More about 1-Wire over UART can be found on link below.

Read first: Documentation


  • Written in ANSI C99
  • Platform independent, uses custom low-level layer for device drivers
  • 1-Wire protocol fits UART specifications at 9600 and 115200 bauds
  • Hardware is responsible for timing characteristics
    • Allows DMA on the high-performance microcontrollers
  • Different device drivers included
    • DS18x20 temperature sensor is natively supported
  • Works with operating system due to hardware timing management
    • Separate thread-safe API is available
  • API for device scan, reading and writing single bits
  • User friendly MIT license


Fresh contributions are always welcome. Simple instructions to proceed::

  1. Fork Github repository
  2. Respect C style & coding rules used by the library
  3. Create a pull request to develop branch with new features or bug fixes

Alternatively you may:

  1. Report a bug
  2. Ask for a feature request