Re: [Owfs-developers] DS18B20 Question

2016-03-01 Thread Peter Hollenbeck
Right. Will do. On Tue, Mar 1, 2016 at 3:17 PM, Colin Reese wrote: > Check your connector. Those Rj12s can get squidgy with enough fussing > about. > > > On Tue, Mar 1, 2016 at 3:14 PM, Peter Hollenbeck > wrote: > >> I must have it wired wrong. >> Really odd that yesterday evening it worked and

Re: [Owfs-developers] DS18B20 Question

2016-03-01 Thread Colin Reese
Check your connector. Those Rj12s can get squidgy with enough fussing about. On Tue, Mar 1, 2016 at 3:14 PM, Peter Hollenbeck wrote: > I must have it wired wrong. > Really odd that yesterday evening it worked and I got valid ocean > temperature values. > > Back to checking wiring. > > Thanks, >

Re: [Owfs-developers] DS18B20 Question

2016-03-01 Thread Peter Hollenbeck
I must have it wired wrong. Really odd that yesterday evening it worked and I got valid ocean temperature values. Back to checking wiring. Thanks, Peter On Tue, Mar 1, 2016 at 1:59 PM, Eric Vickery wrote: > Definitely sounds like the 1-Wire bus is getting shorted out. > > On Mar 1, 2016, at 3

Re: [Owfs-developers] DS18B20 Question

2016-03-01 Thread Eric Vickery
Definitely sounds like the 1-Wire bus is getting shorted out. > On Mar 1, 2016, at 3:56 PM, Peter Hollenbeck wrote: > > I must have something else wrong. When I connect the DS18B20 without a > resistor the MS-TV disappears. > > Odd that it worked last night - with a 5K resistor. > I do not kno

Re: [Owfs-developers] DS18B20 Question

2016-03-01 Thread Peter Hollenbeck
That's encouraging. On Tue, Mar 1, 2016 at 2:01 PM, Colin Law wrote: > On 1 March 2016 at 21:56, Peter Hollenbeck wrote: > > I must have something else wrong. When I connect the DS18B20 without a > > resistor the MS-TV disappears. > > Is that with the correct connections or the original wrong o

Re: [Owfs-developers] DS18B20 Question

2016-03-01 Thread Colin Law
On 1 March 2016 at 21:56, Peter Hollenbeck wrote: > I must have something else wrong. When I connect the DS18B20 without a > resistor the MS-TV disappears. Is that with the correct connections or the original wrong ones? Correct the wiring, if it is wrong, and try again. Check the manual for the

Re: [Owfs-developers] DS18B20 Question

2016-03-01 Thread Peter Hollenbeck
I must have something else wrong. When I connect the DS18B20 without a resistor the MS-TV disappears. Odd that it worked last night - with a 5K resistor. I do not know electronics. Thanks, Peter On Tue, Mar 1, 2016 at 1:48 PM, Johan Ström wrote: > > > On 01/03/16 22:38, Peter Hollenbeck wrote:

Re: [Owfs-developers] DS18B20 Question

2016-03-01 Thread Johan Ström
On 01/03/16 22:38, Peter Hollenbeck wrote: > Raspberry Pi Ethernet to LinkUSB > Ethernet from LinkUSB to MS-TV > Ethernet from MS-TV to DS18B20 > > Ethernet connections to DS18B20: > DS18B20 +5V red connected to RJ45 pin 2 > DS18B20 ground blue to RJ45 pin 6 > DS18B20 data yellow to RJ45 pin 4 Th

Re: [Owfs-developers] libftdi support: take 2

2016-03-01 Thread Johan Ström
Bingo! I think. Adding a short sleep right *before* turning on the break seems to have solved it. My guess, the 'b' was still pending in the FTDI chip's buffer, and when sending the break too early, it never had a chance to reach the Link chip. Stefano: patch commited in ftdi branch, can you

Re: [Owfs-developers] DS18B20 Question

2016-03-01 Thread Peter Hollenbeck
Raspberry Pi Ethernet to LinkUSB Ethernet from LinkUSB to MS-TV Ethernet from MS-TV to DS18B20 Ethernet connections to DS18B20: DS18B20 +5V red connected to RJ45 pin 2 DS18B20 ground blue to RJ45 pin 6 DS18B20 data yellow to RJ45 pin 4 Thanks, Peter On Tue, Mar 1, 2016 at 1:27 PM, Johan Ström

Re: [Owfs-developers] DS18B20 Question

2016-03-01 Thread Peter Hollenbeck
I didn't read your message carefully. "Are you using a dedicated onewire host adapter chip or just a simple GPIO pin? For the latter you have to connect the pullup to 3.3V, not 5V." I am connecting from the DS18B20 to cat6 to the MS-TV. I am not using the GPIO. Don't know how. I have other sensors

Re: [Owfs-developers] DS18B20 Question

2016-03-01 Thread Johan Ström
On 01/03/16 22:21, Peter Hollenbeck wrote: Question regarding the workings of this forum: Does everyone see your email and does everyone see this reply? I hope so, so that all information on the subject shared. Correct, every mail sent to this address is sent to every member of the list, and is

Re: [Owfs-developers] DS18B20 Question

2016-03-01 Thread Peter Hollenbeck
I think 3 wire, but don't know. That is: DS18B20 +5V red connected to RJ45 pin 2 DS18B20 ground blue to RJ45 pin 6 DS18B20 data yellow to RJ45 pin 4 If this is 3 wire, what is 2 wire? Thanks, Peter On Tue, Mar 1, 2016 at 1:00 PM, Colin Law wrote: > On 1 March 2016 at 18:48, Peter Hollenbeck w

Re: [Owfs-developers] libftdi support: take 2

2016-03-01 Thread Johan Ström
On 01/03/16 14:11, Stefano Miccoli wrote: Really weird, since it should just use semi-low-level USB messages to tell the device to send a Break; the OS should not interfere? Further weirdness. I just noticed that my main network (FreeBSD, same version, with LinkUSB v1.5) suffers from the re

Re: [Owfs-developers] DS18B20 Question

2016-03-01 Thread Peter Hollenbeck
Question regarding the workings of this forum: Does everyone see your email and does everyone see this reply? I hope so, so that all information on the subject shared. Anyway, I followed the suggestion of one person to connect a 1K resistor to 3.3 V and Data. The DS18B20 is not seen but the MS-TV

Re: [Owfs-developers] DS18B20 Question

2016-03-01 Thread Colin Law
On 1 March 2016 at 18:48, Peter Hollenbeck wrote: > I have a Raspberry Pi with LinkUSB and a MS-TV reading DC voltage. This > works. > Yesterday I added an Adafruit DS18B20 waterproof temperature sensor and it > worked for a while. > This morning neither the MS-TV nor the DS18B20 are seen by owfs.

Re: [Owfs-developers] DS18B20 Question

2016-03-01 Thread Johan Ström
In your initial post you wrote "I have a Raspberry Pi with LinkUSB and a MS-TV reading DC voltage." If you have a LinkUSB, you don't connect your 1-Wire devices to a GPIO pin, right? The LinkUSB should not require any pullup at all. On 01/03/16 21:16, Peter Hollenbeck wrote: It did not work

Re: [Owfs-developers] DS18B20 Question

2016-03-01 Thread Peter Hollenbeck
I'll try that. Thank you very much. Peter On Tue, Mar 1, 2016 at 12:11 PM, Jan Kandziora wrote: > Am 01.03.2016 um 19:48 schrieb Peter Hollenbeck: > > > > The new temperature sensor is connected with 150 feet of waterproof Cat6. > > When trying to get it working I read that the DS18B20 needs a 4

Re: [Owfs-developers] DS18B20 Question

2016-03-01 Thread Jan Kandziora
Am 01.03.2016 um 19:48 schrieb Peter Hollenbeck: > > The new temperature sensor is connected with 150 feet of waterproof Cat6. > When trying to get it working I read that the DS18B20 needs a 4.7K resistor > connecting +5V to Data. > Are you using a dedicated onewire host adapter chip or just a sim

Re: [Owfs-developers] DS18B20 Question

2016-03-01 Thread Peter Hollenbeck
It did not work without the resistor. I thought to look at Adafruit product information: https://www.adafruit.com/products/381 "We toss in a 4.7k resistor, which is required as a pullup from the DATA to VCC line when using the sensor." Yesterday evening it worked with the 5K resistor. (Actually 5

Re: [Owfs-developers] DS18B20 Question

2016-03-01 Thread Matthias Urlichs
On 01.03.2016 19:48, Peter Hollenbeck wrote: > When trying to get it working I read that the DS18B20 needs a 4.7K > resistor connecting +5V to Data. Where did you read that? Did you try without the resistor? -- Matthias Urlichs --

[Owfs-developers] DS18B20 Question

2016-03-01 Thread Peter Hollenbeck
I have a Raspberry Pi with LinkUSB and a MS-TV reading DC voltage. This works. Yesterday I added an Adafruit DS18B20 waterproof temperature sensor and it worked for a while. This morning neither the MS-TV nor the DS18B20 are seen by owfs. If I remove the DS18B20 the MS-TV reappears. The new temper

Re: [Owfs-developers] libftdi support: take 2

2016-03-01 Thread Stefano Miccoli
> On 29 Feb 2016, at 23:35, Johan Ström wrote: > > Stefano's ARMv7l device, running Linux 4.1.17 It’s a RaspberryPi I have for testing. > Really weird, since it should just use semi-low-level USB messages to tell > the device to send a Break; the OS should not interfere? > > If this cannot b