Skip to content

Releases: orgua/OneWireHub

increase compatibility to onewire

10 Oct 23:10
a1a9325
Compare
Choose a tag to compare

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

long overdue maintenance

09 Oct 00:02
834d4d1
Compare
Choose a tag to compare

contributions:

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

v2.2.1

20 Aug 16:03
Compare
Choose a tag to compare
  • 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

v2.1.2

08 Jul 20:47
Compare
Choose a tag to compare

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

version 2.0.0

10 Nov 10:13
Compare
Choose a tag to compare

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()

V1.2.0

24 Oct 22:02
Compare
Choose a tag to compare
  • optimize OW-Timing
  • add and extend ds2408 (thanks to @vytautassurvila), tested with 3 masters
  • add resume_cmd 0xA5
  • fix/update printError()

bug fix release

15 Oct 17:00
Compare
Choose a tag to compare
  • teensy3.2 tested
    • cleaned warnings
    • fixed port access
  • cleaned examples
  • sensors with emulated memory use memset and static_asserts to secure implementation

version 1.0.0

14 Oct 09:17
Compare
Choose a tag to compare

first stable release. look at readme.md for documentation

rc5

26 Sep 12:57
Compare
Choose a tag to compare
rc5 Pre-release
Pre-release
  • 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,

rc4

18 Sep 18:36
Compare
Choose a tag to compare
rc4 Pre-release
Pre-release
  • 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