Orgua OneWireHub Versions Save

OneWire slave device emulator

v2.2.3

1 year ago

Changes:

  • allow to disable multidrop (thanks to @hrushka) needed for ds2434
  • update 701c battery example with working memory-dump (also thanks to @hrushka)
  • use github actions to test-compile
    • all examples
    • several Microcontrollers
    • 52 Tests in total to check regressions for pull requests
  • allow to skip reboot after search-rom and read-rom -> default OW-feature that was not implemented before
    • fast search rom not supported by: ds2401, ds18b20
    • fast read rom not supported by: ds2401

v2.2.2

1 year ago

contributions:

  • improve general onewire-behavior and also ds2438 (#97, thanks to @raintonr)
  • improve DELL-Charging-Example of ds2502 (#105, thanks to @rikka0w0)
  • add ds2430 (#55, thanks to @Siarhei-Hanchuk)
  • uncover onewire-flaw in search-rom (thanks to @Siarhei-Hanchuk)
  • improve compatibility with SAMD21 (thanks to @sabas1080)

other changes:

  • add ds2434 and probably 90% of ds2436
  • remove datasheets (now in datasheet-branch) for quicker lib-updates
  • add clang-format file
  • spell-checking and file-formatting automated with pre-commit
  • small bug-fix in ds2408
  • fully implement DS2430

2.2.1

6 years ago
  • add CI and test a bunch of controllers
  • determine some value_ipl for new controllers (arduino due, zero, esp32, esp8266)
  • repair dellcharger example
  • update platform-code
  • fix some attiny problems

2.1.2

6 years ago

this is mostly bugfix-release with the following changes:

  • more explicit coding
  • a lot less compiler warnings on PC, esp, atiny and teensy
  • code compiles on PC and should be easily ported to raspberry or other linux-boards
  • unittests on PC!
  • therefore a lot of bugfixes -> hub.attach, esp8266, bea910, ds18b20
  • even more bugfixes for ds18b20-family (degC<=0)
  • a little bit simplified interrupt-handling

2.0.0

7 years ago

big pile of changes:

  • overdrive for onewire, even for atmega328 @ 16 Mhz (arduino uno)
  • rework / clean handling of timing-constants with user defined literals.
  • extend const-correctness to all onewire-slaves and unify naming of functions across similar devices
  • include tests into each device-example and add a lot of get()/set() for internal device-states
  • full support for ds2423, ds2450 and ds2503/5/6
  • fix and enhance ds2431, ds2433, ds2502, ds2890, probably every slave got a rework
  • new timing-method with nanosecond-resolution and without guessing, micros(), delay() or similar arduino-fn
  • rework send() and recv(), much more efficient -> less time without interrupts (no missing time with millis())! AND code is more compact (ds2433.cpp shrinks from 176 to 90 LOC)
  • offline calibration by watching the bus (examples/debug/calibrate_by_bus_timing)
    • you need to calibrate your architecture if not already done
    • it helps if you have a logic analyzer
  • branch for online calibration was abandoned because it took to much resources (DS18B20-Sketch compiled to 8434 & 482 bytes instead of 7026 & 426 bytes now)
  • debug-pin shows state by issuing high-states - see explanation in "features"
  • teensy3.2 tested: cleaned warnings, fixed port access, cleaned examples
  • sensors with emulated memory use memset and static_asserts to secure implementation
  • a lot of cleanup
  • no return value for hub.search() or item.duty() needed anymore
  • returns 1 if error occured in the following functions: recv(buf[]), send(), awaitTimeslot(), sendBit(), checkReset(), showPrescence(), recvAndProzessCmd()

1.2.0

7 years ago
  • optimize OW-Timing
  • add and extend ds2408 (thanks to @vytautassurvila), tested with 3 masters
  • add resume_cmd 0xA5
  • fix/update printError()

1.1.0

7 years ago
  • teensy3.2 tested
    • cleaned warnings
    • fixed port access
  • cleaned examples
  • sensors with emulated memory use memset and static_asserts to secure implementation

1.0.0

7 years ago

first stable release. look at readme.md for documentation

0.9.8

7 years ago
  • rename time_t to avoid collision with some boards
  • simplify and clean pin-access

this will be v1.0.0 if no one finds any issues till friday,

0.9.7

7 years ago
  • prepare hub for overdrive-mode
  • added or extended the ds2431, ds2431, ds2501, ds2502 (also tested)
  • lots of cleanups and fixes
  • fix ds18s20
  • fix check of compilerswitches