Go to advanced search

by pstolarz
Tue Oct 18, 2016 6:46 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: 1-wire and OWFS weirdness
Replies: 5
Views: 1367

Re: 1-wire and OWFS weirdness

DS1307 is an I2C RTC chip, and it has support in the kernel. It supports full calendar not an incremental counter like the DS2417 does. DS2417 looks much less popular (maybe by this 1-wire interface) than its I2C counterpart (or even is already obsolete by DS1307). I hoped you would not give up so f...
by pstolarz
Sun Oct 16, 2016 4:17 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: 1-wire and OWFS weirdness
Replies: 5
Views: 1367

Re: 1-wire and OWFS weirdness

Hi Kyso, DS2417 time chip is not supported by the Linux kernel. I don't have experience with owfs stuff, so wont help you in this topic... Briefly looking at DS2417 spec. it looks like it could be very easy handled by my RPi library (librasp), which has 1-wire API interface to interact with any w1 d...
by pstolarz
Tue Oct 04, 2016 6:37 pm
Forum: Device Tree
Topic: Adding a 2nd w1 GPIO
Replies: 21
Views: 10882

Re: Adding a 2nd w1 GPIO

@johnshields if you are still interested in setting w1 on multiple buses check out my w1-gpio alternative:
https://github.com/pstolarz/w1-gpio-cl

No DT patching, kernel ver dependencies or other nuisance. Simply insmod and wroks. Full parasire power support w/o any touch of DT.

Enjoy
by pstolarz
Sat Dec 26, 2015 3:29 pm
Forum: Automation, sensing and robotics
Topic: DS18B20 Low Refresh Rate
Replies: 98
Views: 38740

Re: DS18B20 Low Refresh Rate

dsht_list and w1_list give the same output dsth_list and dsht_list2 give the same output, but dsth_list and w1_list don't. The first lists and probes DS sensors, but the letter simply lists all slaves. So if you have the same hanging issue with w1_list it looks like the kernel problem. Which kernel...
by pstolarz
Sat Dec 26, 2015 9:46 am
Forum: Automation, sensing and robotics
Topic: DS18B20 Low Refresh Rate
Replies: 98
Views: 38740

Re: DS18B20 Low Refresh Rate

Maybe i'll write code for ds18b20 from the scratch....... What do you think about it? Will it be reliable? UPDATE: I've written basic DS18B20 code from scratch in python/pigpio and... have 14 reads per second... with 80% success rate. Slow and errorneus, but I could use any number pins I want and t...
by pstolarz
Wed Dec 23, 2015 2:21 pm
Forum: Automation, sensing and robotics
Topic: DS18B20 Low Refresh Rate
Replies: 98
Views: 38740

Re: DS18B20 Low Refresh Rate

Albert, But when kernel is missing multiple 1wire gpio configuration or basic asynchronous one wire operation on one of the most common sensors used - I feel very disappointed and frustrated. I agree, lack of possibility to configure many w1-gpio bus masters on different gpio pins is for me the most...
by pstolarz
Sun Dec 20, 2015 5:32 pm
Forum: Automation, sensing and robotics
Topic: DS18B20 Low Refresh Rate
Replies: 98
Views: 38740

Re: DS18B20 Low Refresh Rate

Dan, By "read in bulk" I meant something other, but it was probably my misunderstood of Albert. 1-wire bus is simply serial, half-duplex bus. I briefly looked at your code for 1-wire bit-banging and what you really propose is to multiply w1 buses to check them simultaneously. I looked at your app an...
by pstolarz
Sat Dec 19, 2015 4:11 pm
Forum: Automation, sensing and robotics
Topic: DS18B20 Low Refresh Rate
Replies: 98
Views: 38740

Re: DS18B20 Low Refresh Rate

Albert, hacking kernel modules just for reaching some specific (application dependent) benefit on the userland is amost always not a good way to follow. Congrats you reached 1sec. per 64 sensors but you could get the same w/o reaching for the kernel hacking. Additionally there is no such thing like ...

Go to advanced search