3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Temperature sensor / weatherstation

Step 4Make the sensors and the network

Make the sensors and the network
«
  • sens.png
  • sch2.png
  • IMG_1149.jpg
  • IMG_1155.jpg
When wiring up your 1wire network, you wan to use cat 5 network cables.
I have had some bad experiences using other cables, and with combining different types of cable.

When running over cat5, the 1wire bus can have quite long cables.
In one weatherstation setup, I run a 30 meter cat5 from a technical room with a Linux computer and up to the roof. On the roof, the cable is split into 3 5-15 meter long cables with a sensor at the end of each one. This setup works flawlessly. The 1-wire network is quite robust.

Making the sensor:

You want to make the sensor both waterproof, and rigid.

1)
Cut a Cat 5 cable to the desired length.

2)
De-insulate the sensor end.
Cut off 3 of the 4 pairs, leaving the green/whitegreen one.

3)
Slide a small shrink tube over the green wire.

4)
Solder the green wire to the middle pin of the DS1820

5)
Pull the the shrink tube up, so it covers all the metal of the middle leg and the metal of the wire connected to it. Then heat it with a lighter or heat gun to shrink it in place

6)
Solder the white/green wire to the two other pins.

7)
Put a larger shrink tube over the sensor and the cable.
See the picture.
Then heat it gently with a lighter to shrink in place.
You don't want to set the thing on fire, just hold the flame 4-10mm away from the shrink tube.

8)
Put your sensors wherever you want to have them, connect to the rs232 interface and plug into your computer.
« Previous StepDownload PDFView All StepsNext Step »
2 comments
Jul 6, 2009. 1:47 PMdarkcape says:
Loving this I have wanted to do this ever since reading about it in the linux toys book. on question I have though what is the maximum number of sensors that the 1 wire network can handle?
Jan 27, 2011. 10:25 AMBrafferton says:
Depends on whether it's in parasitic mode or non parasitic. From the number of components used, I'd say it in parasitic mode. Therefore, no more than 3.
In non-parasitic mode (2 more components required) 10 or 12 would be quite happy. With a separate 5 volt PSU, several thousand.
Jun 23, 2009. 9:38 PMsalimi says:
hi please write vb code for monitoring graph

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
652
Followers
7
Author:chr
I like microcontrollers and LEDs :D