You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the W1_Therm driver now supports bulk-read, which sends one command to all devices on the bus to read and convert the temperature. These can then be quickly read-out, without having to wait 750 msec for each sensor.
@CJKohler looks indeed like a nice addition. Unfortunately, I don't have enough spare time right now to work on this, but would be more than happy to review a PR and get this feature released!
Hello,
I made that post in RPi-forum because I did not get a reply here from Mr. Furrer. I also addressed another issue. When using DS 2482-800 8-channel I2C to W1 converter only the first channel has the bulk read file / ability. Another problem is, that for initiation - writing "trigger /n" to the file you need supervisor rights or have to change them in bevorehand. All ohter commands can be used by standard user.
It looks like the W1_Therm driver now supports bulk-read, which sends one command to all devices on the bus to read and convert the temperature. These can then be quickly read-out, without having to wait 750 msec for each sensor.
It looks like Bulk Read support was added in May 2020 in the linux driver:
https://github.com/raspberrypi/linux/blob/rpi-5.15.y/drivers/w1/slaves/w1_therm.c
trigger_bulk_read() - function to trigger a bulk read on the bus
This post suggests you need to write "trigger\n" to the therm_bulk_read file
Any chance you could add this to the w1thermsensor package?
The text was updated successfully, but these errors were encountered: