Can''t ID my Weather Station 1-Wire devices
Archiver
Posts: 46,084
Jon,
The P40 Demo Board has a 1K Ohm pull up on it and the Weather Station
V3.0 works fine when connected to my PC. As a test I put an LED on P15
and it does show signs of activity when the code is running. Do you have
any suggestions on what I might try next?
BTW, I am impressed with your programming skill and knowledge of
interfacing to 1-Wire devices. Especially in your N&V article in issue
82 on the 1Wire Weather Station. I've reviewed the OWIN and OWOUT
sections of the Stamp Manual and there's a lot to it.
Thanks,
Chris
<<<>>>
From: "Jon Williams"
Date: Tue Jan 6, 2004 12:08 am
Subject: RE: [noparse][[/noparse]basicstamps] Can't ID my Weather Station 1-Wire devices
I haven't run that program in a long time, but it does still work. I
just tried it on a DS2760; a device we're using in a thermocouple
interface.
I know a lot of people have had trouble connecting to the AAG. Of the
three we purchased to play with, two were bad or had bad parts. I found
I needed a 1K pull-up on the 1-Wire buss to get reliable communications
with the station that does work.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
<<<>>>
Subject: [noparse][[/noparse]basicstamps] Can't ID my Weather Station 1-Wire devices
I'm using the code developed by Jon Williams in 4/01 to identify the
ROM codes within my AAG (formerly DS) 1 Wire Weather Station V3.0. I
ultimately would like to display weather data on an LCD but let's do one
thing at a time. I have a BS2P40 plugged into a P40 Demo Board. I
placed a jumper from P15 to X6 which traces over to the RJ11 jack. I
first tested the Ver3.0 Weather Station on my PC (via the serial port
adaper that comes with the station), then plugged it into the RJ11 jack
on the P40 Demo Board. When I run the code (first 10 lines listed
below) all I get on the debug screen is:
"Searching for 1-Wire Device
ow_pin = 15"
I don't understand why this is happening. Does any have suggestions for
what to do or check?
Thanks,
Chris Dundorf
' Listing 1
' Nuts & Volts - Stamp Applications, April 2001
' {$STAMP BS2p,OWSEARCH.BSP,DSNAMES.BSP}
'
[noparse][[/noparse] Title
]
'
' File...... SRCHDEMO.BSP
' Purpose... Demonstrates Dallas 1-Wire Search Algorithm
' Author.... Jon Williams
' E-mail....
http://groups.yahoo.com/group/basicstamps/post?postID=ncNGoZHobdTj4e5fdS1
V5lt9YQS9mGxs8cB0FJ3M6tQOnzV5M08_GoFYrIp8goMydrNfkn4
' Started... 27 FEB 2001
' Updated... 05 MAR 2001
[noparse][[/noparse]Non-text portions of this message have been removed]
The P40 Demo Board has a 1K Ohm pull up on it and the Weather Station
V3.0 works fine when connected to my PC. As a test I put an LED on P15
and it does show signs of activity when the code is running. Do you have
any suggestions on what I might try next?
BTW, I am impressed with your programming skill and knowledge of
interfacing to 1-Wire devices. Especially in your N&V article in issue
82 on the 1Wire Weather Station. I've reviewed the OWIN and OWOUT
sections of the Stamp Manual and there's a lot to it.
Thanks,
Chris
<<<>>>
From: "Jon Williams"
Date: Tue Jan 6, 2004 12:08 am
Subject: RE: [noparse][[/noparse]basicstamps] Can't ID my Weather Station 1-Wire devices
I haven't run that program in a long time, but it does still work. I
just tried it on a DS2760; a device we're using in a thermocouple
interface.
I know a lot of people have had trouble connecting to the AAG. Of the
three we purchased to play with, two were bad or had bad parts. I found
I needed a 1K pull-up on the 1-Wire buss to get reliable communications
with the station that does work.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
<<<>>>
Subject: [noparse][[/noparse]basicstamps] Can't ID my Weather Station 1-Wire devices
I'm using the code developed by Jon Williams in 4/01 to identify the
ROM codes within my AAG (formerly DS) 1 Wire Weather Station V3.0. I
ultimately would like to display weather data on an LCD but let's do one
thing at a time. I have a BS2P40 plugged into a P40 Demo Board. I
placed a jumper from P15 to X6 which traces over to the RJ11 jack. I
first tested the Ver3.0 Weather Station on my PC (via the serial port
adaper that comes with the station), then plugged it into the RJ11 jack
on the P40 Demo Board. When I run the code (first 10 lines listed
below) all I get on the debug screen is:
"Searching for 1-Wire Device
ow_pin = 15"
I don't understand why this is happening. Does any have suggestions for
what to do or check?
Thanks,
Chris Dundorf
' Listing 1
' Nuts & Volts - Stamp Applications, April 2001
' {$STAMP BS2p,OWSEARCH.BSP,DSNAMES.BSP}
'
[noparse][[/noparse] Title
]
'
' File...... SRCHDEMO.BSP
' Purpose... Demonstrates Dallas 1-Wire Search Algorithm
' Author.... Jon Williams
' E-mail....
http://groups.yahoo.com/group/basicstamps/post?postID=ncNGoZHobdTj4e5fdS1
V5lt9YQS9mGxs8cB0FJ3M6tQOnzV5M08_GoFYrIp8goMydrNfkn4
' Started... 27 FEB 2001
' Updated... 05 MAR 2001
[noparse][[/noparse]Non-text portions of this message have been removed]