Not with the kernel 1-Wire driver though as (to the best of my knowledge) it doesn't provide the strong pull on on the data pin required for parasitic operation to work.dpenezic wrote:In theory it is suitable for direct connection to RPi, how ever RPi provide in ideal condition minimum VPU, which isnt enough for normal operation of temperature sensor.
I have had no problems running fairly large 1-Wire networks (up to about 15-20 temperature sensors on up to about 100m of cable) using parasitic power.dpenezic wrote:Also from my experience, parasite power using 1-Wire network isnt best solution at all, if you expect normal, predictable work of system.
Code: Select all
sudo modprobe w1-gpio pullup=1 sudo modprobe w1-therm strong_pullup=1
That's what I currently have in my config. I spent all day today trying to figure this out and I'm not even sure if I haven't fried the damn thing now... As of wiring it's just ground to ground and DQ split to GPIO 4 and 4.7k ohm to 3v3, right? Also, what that "1" in pullup stand for? GPIO or as "on"? Why then I red somewhere to strong_pullup=4? Also I forgot to mention that I have pi 2 B with Ubuntu mint (Noobs didn't boot for me and when I flashed Raspbian manually locales where screwed, couldn't sudo or do anything pretty much...). Everyting was sooo much simpler with Arduino Oh well, maybe I wouldn't be so frustrated if I bought the right damn sensors...rpdom wrote:I haven't got any of the "P" sensors to test this with, but adding this line to /boot/config.txt should work
Code: Select all
I think that's right. Like I said, I don't have any of the "P" sensors, so can't checkDrooLTU wrote:[That's what I currently have in my config. I spent all day today trying to figure this out and I'm not even sure if I haven't fried the damn thing now... As of wiring it's just ground to ground and DQ split to GPIO 4 and 4.7k ohm to 3v3, right?
It means "on". You can also use "pullup=yes" or "pullup=on".Also, what that "1" in pullup stand for? GPIO or as "on"?
Write off those sensors as a mistake and get some of the normal ones. I use ebay. If I'm in a hurry I can get one from a UK supplier shipped within a couple of days for just over £1, or if not urgent I buy a batch of ten from China for just a bit more than that.Oh well, maybe I wouldn't be so frustrated if I bought the right damn sensors...
Users browsing this forum: No registered users and 9 guests