Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 27, 2024, 08:29:08 20:29


Login with username, password and session length


Pages: [1]
Print
Author Topic: 1-Wire cevice code example  (Read 6075 times)
0 Members and 1 Guest are viewing this topic.
dex
Guest
« on: September 08, 2007, 09:28:13 21:28 »

I'm looking for a PBP 1-wire code example to talk to the Dallas Semiconductor DS18B20 digital thermometer.

I'm looking at networking 10 of these devices and would appreciate some assistance on how to communicate with multiple 1-wire devices.

Thanks,
Logged
dex
Guest
« Reply #1 on: September 08, 2007, 09:54:35 21:54 »

I may have found what I’m looking for at Reynolds Electronics web page.  I’ll keep everyone up-to-date on how thing go.
Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2429

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #2 on: September 09, 2007, 12:24:51 00:24 »

did you look here
http://www.picbasic.co.uk/forum/
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
quark576
Newbie
*
Offline Offline

Posts: 19

Thank You
-Given: 13
-Receive: 13


« Reply #3 on: September 09, 2007, 09:02:26 09:02 »

look here ...

http://www.rentron.com/PICX4.htm
Logged
dex
Guest
« Reply #4 on: September 10, 2007, 03:36:01 03:36 »

barney, No I haven't looked there yet.

quark, yep, that is the site I found the 1-wire example on.

Still haven't had a chance to breadboard everything yet.  Still waiting on the DS18B20 to show up in the mail.
Logged
sherm
Junior Member
**
Offline Offline

Posts: 44

Thank You
-Given: 14
-Receive: 9


« Reply #5 on: September 17, 2007, 02:38:37 14:38 »

If you can't get it working, give me a shout. I've done a lot of different projects now with a few different varieties of DS1820 units. I've also interfaced them through the serial port to display the temperature on your PC using Visual Basic 6, and another project that reads more than oone device so that you can compare temperatures between more than one location, like indoors and outdoors. It works quite effectively.

Cheers,

Sherm
Logged
dex
Guest
« Reply #6 on: September 20, 2007, 12:01:39 00:01 »

Sherm, Thanks for the offer.  I'll see how it goes.  The example on the Rentron website looks promising.  Now I just need to find the time to start bread boarding and programming.
Logged
sherm
Junior Member
**
Offline Offline

Posts: 44

Thank You
-Given: 14
-Receive: 9


« Reply #7 on: September 22, 2007, 08:00:48 08:00 »

No problems Dex. The Rentron site has some good, quality examples on it. It  doesn't take much effort to build some useful code snippets for your projects from the tutorials there. I've used many myself as starting points for my own projects.

Good luck! Smiley
Logged
ogul
Newbie
*
Offline Offline

Posts: 15

Thank You
-Given: 169
-Receive: 10


« Reply #8 on: September 22, 2007, 09:24:11 09:24 »

look here too...
http://www.sonsivri.com/forum/index.php?topic=4999.0
Logged
mculove
Newbie
*
Offline Offline

Posts: 32

Thank You
-Given: 25
-Receive: 18


« Reply #9 on: October 26, 2007, 05:47:53 05:47 »

You could also check the following web site

http://www.melabs.com/resources/samples.htm
There are lots of code example for PiC Basic Pro.

1-Wire code could be found in the following link
http://www.melabs.com/resources/samples/pbp/onewire.bas
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC