1 Wire - Hardware / Software?

Ask questions about the GEM here.
Teken
Posts: 2700
Joined: Wed Dec 15, 2010 4:09 pm
Location: The Bad Lands

1 Wire - Hardware / Software?

Post by Teken » Tue Sep 09, 2014 12:21 pm

Hello All,

I wanted to confirm if the GEM uses an actual 1 wire chip to perform its temperature functions. Opposed to using an emulated software solution to do the same.
Teken . . .

My ongoing projects thread: http://www.brultech.com/community/viewt ... ?f=2&t=929
Buy me a cup of coffee: https://www.paypal.me/Teken https://gfinotify.com/ Discount Code: PC10
ben
Site Admin
Posts: 4259
Joined: Fri Jun 04, 2010 9:39 am

Re: 1 Wire - Hardware / Software?

Post by ben » Thu Sep 11, 2014 11:39 am

It's a software implementation and it doesn't have a strong pull-up so parasitic may not work. For parasitic (no power wire), you can try adding a strong pull-up between 5V and Data.
Ben
Brultech Research Inc.
E: ben(at)brultech.com
slords
Posts: 28
Joined: Sat Oct 21, 2017 3:20 pm

Re: 1 Wire - Hardware / Software?

Post by slords » Fri Dec 08, 2017 6:29 pm

I've just moved a 1-wire bus over from a WEL server to the GEM. I know all the sensors are/were working correctly before I moved the bus over. They are all parasitic and I'm wondering what needs to be done (if possible) to get them working.

All the sensors were discovered but they are all reading 185.0 F.

You mention doing a strong pull-up between the 5V and Data pins. I'm not exactly sure what this means or how to do it. I'm willing to try anything if you can give me instructions on what needs to happen.
Teken
Posts: 2700
Joined: Wed Dec 15, 2010 4:09 pm
Location: The Bad Lands

Re: 1 Wire - Hardware / Software?

Post by Teken » Fri Dec 08, 2017 6:42 pm

slords wrote:I've just moved a 1-wire bus over from a WEL server to the GEM. I know all the sensors are/were working correctly before I moved the bus over. They are all parasitic and I'm wondering what needs to be done (if possible) to get them working.

You mention doing a strong pull-up between the 5V and Data pins. I'm not exactly sure what this means or how to do it. I'm willing to try anything if you can give me instructions on what needs to happen.
Whoaaaa this is a really old thread! :lol:

Your first task is to wire one single 1 wire sensor to the GEM as outlined in the full installation manual. Next, to enroll and detect each sensor (one at a time) once done you may deploy to where ever you need them.
Teken . . .

My ongoing projects thread: http://www.brultech.com/community/viewt ... ?f=2&t=929
Buy me a cup of coffee: https://www.paypal.me/Teken https://gfinotify.com/ Discount Code: PC10
slords
Posts: 28
Joined: Sat Oct 21, 2017 3:20 pm

Re: 1 Wire - Hardware / Software?

Post by slords » Fri Dec 08, 2017 7:26 pm

I've got all the sensors enrolled already. They are all detected fine. The issue is whether I connect them one at a time or via the bus they only read 185.0 F. The sensors only have 2 wires and are parasitic. They have been working fine for years hooked to a different 1-wire system. If I hook them back up to that system they read the correct values.
ben wrote:It's a software implementation and it doesn't have a strong pull-up so parasitic may not work. For parasitic (no power wire), you can try adding a strong pull-up between 5V and Data.
I'm wondering what this means and if I can do this in order to get the sensors working.
Teken
Posts: 2700
Joined: Wed Dec 15, 2010 4:09 pm
Location: The Bad Lands

Re: 1 Wire - Hardware / Software?

Post by Teken » Sat Dec 09, 2017 12:19 pm

Once all of the 1 wire sensors have been properly enrolled its up to you to decide what wiring topology to use. There are pros and cons of using a star, stub, and linear which is dictated by various elements like length and type of wiring.

Regardless, all of the sensors are going to be connected to one central point somewhere.
Teken . . .

My ongoing projects thread: http://www.brultech.com/community/viewt ... ?f=2&t=929
Buy me a cup of coffee: https://www.paypal.me/Teken https://gfinotify.com/ Discount Code: PC10
slords
Posts: 28
Joined: Sat Oct 21, 2017 3:20 pm

Re: 1 Wire - Hardware / Software?

Post by slords » Sat Dec 09, 2017 1:56 pm

As I've already said. I already had a 1-wire bus installation that has been working great for years. I just moved the bus over to the GEM.

It is a straight 80 ft run with 8 sensors installed. All the sensors are already registered to the GEM. I'm just not getting valid temperature data out. They all ready 185.0 F (185!). That number is constant and unchanging. If I remove one sensor and connect it directly to GEM I get the same value. The actual temperature should be between 60-80 F.
Teken
Posts: 2700
Joined: Wed Dec 15, 2010 4:09 pm
Location: The Bad Lands

Re: 1 Wire - Hardware / Software?

Post by Teken » Sat Dec 09, 2017 5:06 pm

slords wrote:As I've already said. I already had a 1-wire bus installation that has been working great for years. I just moved the bus over to the GEM.

It is a straight 80 ft run with 8 sensors installed. All the sensors are already registered to the GEM. I'm just not getting valid temperature data out. They all ready 185.0 F (185!). That number is constant and unchanging. If I remove one sensor and connect it directly to GEM I get the same value. The actual temperature should be between 60-80 F.
My earlier reply to you was to address your question about how it should be wired up. That was to first decide on the type of topology that best suits your environment. Regardless of that, the GEM is a three wire system and requires ground, power, and data.

You only have two wires which I have never seen in a true Maxim / Dallas 1 Wire system. The GEM only supports 3 wire DS18B20 sensors and the other which I don't recall off the top of my head.
Teken . . .

My ongoing projects thread: http://www.brultech.com/community/viewt ... ?f=2&t=929
Buy me a cup of coffee: https://www.paypal.me/Teken https://gfinotify.com/ Discount Code: PC10
slords
Posts: 28
Joined: Sat Oct 21, 2017 3:20 pm

Re: 1 Wire - Hardware / Software?

Post by slords » Sat Dec 09, 2017 5:10 pm

If I have to replace the sensors with the 3-wire version I will. But Ben states that if the sensors are parasitic that adding a strong pullup between 5V and Data might fix the issue. I don't know what this means or how to do it. I'm willing to give it a try but I need directions on what/how to do it.

If I try and it doesn't work then I'll end up replacing the sensors.
Teken
Posts: 2700
Joined: Wed Dec 15, 2010 4:09 pm
Location: The Bad Lands

Re: 1 Wire - Hardware / Software?

Post by Teken » Sat Dec 09, 2017 5:15 pm

slords wrote:If I have to replace the sensors with the 3-wire version I will. But Ben states that if the sensors are parasitic that adding a strong pullup between 5V and Data might fix the issue. I don't know what this means or how to do it. I'm willing to give it a try but I need directions on what/how to do it.

If I try and it doesn't work then I'll end up replacing the sensors.
I believe Ben is indicating to place a resistor of defined value at the end of the sensor which connects both 5 VDC & Data. Going off rough memory that resistor was 10K plus but you can search the forums for the exact value.
Teken . . .

My ongoing projects thread: http://www.brultech.com/community/viewt ... ?f=2&t=929
Buy me a cup of coffee: https://www.paypal.me/Teken https://gfinotify.com/ Discount Code: PC10
Post Reply