Re: [beagleboard] Re: Dallas 1-Wire BeagleBone Black

2016-10-27 Thread William Hermans
Yeah, I guess I read that wrong. Isn't fixed point fun ?!

On Thu, Oct 27, 2016 at 7:44 AM, Mark A. Yoder 
wrote:

> So it was a bit unclear, I only teach for a living :->.  I've fixed it a
> bit.
>
> This must be an interesting topic.  Over 5000 views in this group and 100
> views of the eLinux page.
>
> --Mark
>
> On Thursday, October 27, 2016 at 10:38:58 AM UTC-4, Jason Kridner wrote:
>>
>>
>>
>> On Oct 26, 2016, at 3:20 PM, William Hermans  wrote:
>>
>> HI Mark,
>>
>> So here: http://elinux.org/EBC_Exercise_31_Dallas_1-Wire#Reading_the_
>> DS12B20
>>
>> Shouldn't
>>
>> The *t=24437* is the temperature in C times 1000. Warm up the probe and
>>> see what happens to the temp.
>>>
>>>
>> I believe this is stated properly, but could be confusing.
>>
>> Be:
>>
>> The *t=24437* is the temperature in C times .001. Warm up the probe and
>>> see what happens to the temp.
>>>
>>
>> ?
>>
>>
>> Perhaps you mean:
>> Given t=24437, you can determine the temperature in C by multiplying t by
>> .001. Warm up the probe and see what happens to the temp.
>>
>> You could also say by dividing by 1000. Mark's language was right because
>> he was describing how t is derived from the temperature and not the other
>> way around.
>>
>>
>> I do like your courses though. Really easy for someone like me , who has
>> yet had experience with one-wire devices.
>>
>> On Wed, Oct 26, 2016 at 7:23 AM, Mark A. Yoder 
>> wrote:
>>
>>> I've just posted[1] updated instructions on how to use Dallas 1-wire
>>> devices on the Bone.  I'm running:
>>> bone$ *uname -a*
>>> Linux yoder-debian-bone 4.4.21-ti-r47 #1 SMP Fri Sep 23 22:23:02 UTC
>>> 2016 armv7l GNU/Linux
>>> bone$ *cat /ID.txt*
>>> BeagleBoard.org Debian Image 2016-08-28
>>>
>>> The instructions show how to deconfigure  P9_12 so the 1-wire driver can
>>> run on it.
>>>
>>> --Mark
>>>
>>> [1] http://elinux.org/EBC_Exercise_31_Dallas_1-Wire
>>>
>>> On Sunday, January 19, 2014 at 8:42:49 PM UTC-5, godsf...@gmail.com
>>> wrote:

 Can you post a photo of how you have them wired please?

 On Wednesday, December 4, 2013 8:51:26 AM UTC-5, Doug Edey wrote:
>
> I've got 3 DS18B20 sensors on my bus at the moment, providing you've
> got the sensors running in non-parasitic mode, I think you'll be fine.
>
> On Tuesday, December 3, 2013 8:13:31 PM UTC-5, lorena...@gmail.com
> wrote:
>>
>> Thinking of replacing the dedicated microcontroller that runs my
>> house with a BBB. Being able to read the existing 1-Wire network will be
>> critical. Currently have 12 18B20 sensors on one bus, need more. Can the
>> kernel module described here actually address and read multiple sensors 
>> on
>> the same bus? Can it search and retrieve addresses from unknown sensors?
>>
>> I see people selling 8-port capes, as if maybe this is a simple one
>> device per bus routine...  Wouldn't help me!
>>
>> As for the "considerations" of long buses, yes there was a learning
>> curve. I have both active pull-up and active pull-down, with careful
>> source-end termination. All cable is CAT-5, and all sensors are within 1m
>> of a single linear topology installation. In several cases the bus goes 
>> out
>> one pair of the CAT-5 to a distant sensor and comes back on another pair 
>> of
>> the same cable to continue to the next destination. Branching.in a star
>> fashion is death to 1-Wire. My current system works, reliably controlling
>> serious solar hot water and outdoor wood boiler operation that could blow
>> off expensive antifreeze fluid (a huge hassle to recharge) if anything
>> overheated.
>>
>> Great long-bus reference:
>> http://www.1wire.org/Files/Articles/1-Wire-Design%20Guide%20v1.0.pdf
>>
> --
>>> For more options, visit http://beagleboard.org/discuss
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "BeagleBoard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to beagleboard...@googlegroups.com.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/beagleboard/6a937fdb-7316-48b0-8b84-543757958c8c%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beagleboard...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/beagleboard/CALHSORoZHnv1PArG9zyCfV36esCb8T_%2BtJ-
>> 1zy7amx8TMOQocA%40mail.gmail.com
>> 

Re: [beagleboard] Re: Dallas 1-Wire BeagleBone Black

2016-10-27 Thread Mark A. Yoder
So it was a bit unclear, I only teach for a living :->.  I've fixed it a 
bit.

This must be an interesting topic.  Over 5000 views in this group and 100 
views of the eLinux page.

--Mark

On Thursday, October 27, 2016 at 10:38:58 AM UTC-4, Jason Kridner wrote:
>
>
>
> On Oct 26, 2016, at 3:20 PM, William Hermans  > wrote:
>
> HI Mark,
>
> So here: 
> http://elinux.org/EBC_Exercise_31_Dallas_1-Wire#Reading_the_DS12B20
>
> Shouldn't
>
> The *t=24437* is the temperature in C times 1000. Warm up the probe and 
>> see what happens to the temp. 
>>
>>
> I believe this is stated properly, but could be confusing. 
>
> Be: 
>
> The *t=24437* is the temperature in C times .001. Warm up the probe and 
>> see what happens to the temp. 
>>
>
> ?
>
>
> Perhaps you mean:
> Given t=24437, you can determine the temperature in C by multiplying t by 
> .001. Warm up the probe and see what happens to the temp.
>
> You could also say by dividing by 1000. Mark's language was right because 
> he was describing how t is derived from the temperature and not the other 
> way around. 
>
>
> I do like your courses though. Really easy for someone like me , who has 
> yet had experience with one-wire devices.
>
> On Wed, Oct 26, 2016 at 7:23 AM, Mark A. Yoder  > wrote:
>
>> I've just posted[1] updated instructions on how to use Dallas 1-wire 
>> devices on the Bone.  I'm running:
>> bone$ *uname -a*
>> Linux yoder-debian-bone 4.4.21-ti-r47 #1 SMP Fri Sep 23 22:23:02 UTC 2016 
>> armv7l GNU/Linux
>> bone$ *cat /ID.txt* 
>> BeagleBoard.org Debian Image 2016-08-28
>>
>> The instructions show how to deconfigure  P9_12 so the 1-wire driver can 
>> run on it.
>>
>> --Mark
>>
>> [1] http://elinux.org/EBC_Exercise_31_Dallas_1-Wire
>>
>> On Sunday, January 19, 2014 at 8:42:49 PM UTC-5, godsf...@gmail.com 
>> wrote:
>>>
>>> Can you post a photo of how you have them wired please?
>>>
>>> On Wednesday, December 4, 2013 8:51:26 AM UTC-5, Doug Edey wrote:

 I've got 3 DS18B20 sensors on my bus at the moment, providing you've 
 got the sensors running in non-parasitic mode, I think you'll be fine.

 On Tuesday, December 3, 2013 8:13:31 PM UTC-5, lorena...@gmail.com 
 wrote:
>
> Thinking of replacing the dedicated microcontroller that runs my house 
> with a BBB. Being able to read the existing 1-Wire network will be 
> critical. Currently have 12 18B20 sensors on one bus, need more. Can the 
> kernel module described here actually address and read multiple sensors 
> on 
> the same bus? Can it search and retrieve addresses from unknown sensors? 
>
> I see people selling 8-port capes, as if maybe this is a simple one 
> device per bus routine...  Wouldn't help me! 
>
> As for the "considerations" of long buses, yes there was a learning 
> curve. I have both active pull-up and active pull-down, with careful 
> source-end termination. All cable is CAT-5, and all sensors are within 1m 
> of a single linear topology installation. In several cases the bus goes 
> out 
> one pair of the CAT-5 to a distant sensor and comes back on another pair 
> of 
> the same cable to continue to the next destination. Branching.in a star 
> fashion is death to 1-Wire. My current system works, reliably controlling 
> serious solar hot water and outdoor wood boiler operation that could blow 
> off expensive antifreeze fluid (a huge hassle to recharge) if anything 
> overheated. 
>
> Great long-bus reference:
> http://www.1wire.org/Files/Articles/1-Wire-Design%20Guide%20v1.0.pdf
>
 -- 
>> For more options, visit http://beagleboard.org/discuss
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to beagleboard...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beagleboard/6a937fdb-7316-48b0-8b84-543757958c8c%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/CALHSORoZHnv1PArG9zyCfV36esCb8T_%2BtJ-1zy7amx8TMOQocA%40mail.gmail.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

Re: [beagleboard] Re: Dallas 1-Wire BeagleBone Black

2016-10-27 Thread Jason Kridner


> On Oct 26, 2016, at 3:20 PM, William Hermans  wrote:
> 
> HI Mark,
> 
> So here: http://elinux.org/EBC_Exercise_31_Dallas_1-Wire#Reading_the_DS12B20
> 
> Shouldn't
> 
>> The t=24437 is the temperature in C times 1000. Warm up the probe and see 
>> what happens to the temp. 
>> 

I believe this is stated properly, but could be confusing. 

> Be: 
>> The t=24437 is the temperature in C times .001. Warm up the probe and see 
>> what happens to the temp. 
> 
> ?

Perhaps you mean:
Given t=24437, you can determine the temperature in C by multiplying t by .001. 
Warm up the probe and see what happens to the temp.

You could also say by dividing by 1000. Mark's language was right because he 
was describing how t is derived from the temperature and not the other way 
around. 

> 
> I do like your courses though. Really easy for someone like me , who has yet 
> had experience with one-wire devices.
> 
>> On Wed, Oct 26, 2016 at 7:23 AM, Mark A. Yoder  
>> wrote:
>> I've just posted[1] updated instructions on how to use Dallas 1-wire devices 
>> on the Bone.  I'm running:
>> bone$ uname -a
>> Linux yoder-debian-bone 4.4.21-ti-r47 #1 SMP Fri Sep 23 22:23:02 UTC 2016 
>> armv7l GNU/Linux
>> bone$ cat /ID.txt 
>> BeagleBoard.org Debian Image 2016-08-28
>> 
>> The instructions show how to deconfigure  P9_12 so the 1-wire driver can run 
>> on it.
>> 
>> --Mark
>> 
>> [1] http://elinux.org/EBC_Exercise_31_Dallas_1-Wire
>> 
>>> On Sunday, January 19, 2014 at 8:42:49 PM UTC-5, godsf...@gmail.com wrote:
>>> Can you post a photo of how you have them wired please?
>>> 
 On Wednesday, December 4, 2013 8:51:26 AM UTC-5, Doug Edey wrote:
 I've got 3 DS18B20 sensors on my bus at the moment, providing you've got 
 the sensors running in non-parasitic mode, I think you'll be fine.
 
> On Tuesday, December 3, 2013 8:13:31 PM UTC-5, lorena...@gmail.com wrote:
> Thinking of replacing the dedicated microcontroller that runs my house 
> with a BBB. Being able to read the existing 1-Wire network will be 
> critical. Currently have 12 18B20 sensors on one bus, need more. Can the 
> kernel module described here actually address and read multiple sensors 
> on the same bus? Can it search and retrieve addresses from unknown 
> sensors? 
> 
> I see people selling 8-port capes, as if maybe this is a simple one 
> device per bus routine...  Wouldn't help me! 
> 
> As for the "considerations" of long buses, yes there was a learning 
> curve. I have both active pull-up and active pull-down, with careful 
> source-end termination. All cable is CAT-5, and all sensors are within 1m 
> of a single linear topology installation. In several cases the bus goes 
> out one pair of the CAT-5 to a distant sensor and comes back on another 
> pair of the same cable to continue to the next destination. Branching.in 
> a star fashion is death to 1-Wire. My current system works, reliably 
> controlling serious solar hot water and outdoor wood boiler operation 
> that could blow off expensive antifreeze fluid (a huge hassle to 
> recharge) if anything overheated. 
> 
> Great long-bus reference:
> http://www.1wire.org/Files/Articles/1-Wire-Design%20Guide%20v1.0.pdf
>> 
>> -- 
>> For more options, visit http://beagleboard.org/discuss
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to beagleboard+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beagleboard/6a937fdb-7316-48b0-8b84-543757958c8c%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/CALHSORoZHnv1PArG9zyCfV36esCb8T_%2BtJ-1zy7amx8TMOQocA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/FC414112-5988-431D-9027-10E88088AE2F%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Dallas 1-Wire BeagleBone Black

2016-10-26 Thread William Hermans
HI Mark,

So here: http://elinux.org/EBC_Exercise_31_Dallas_1-Wire#Reading_the_DS12B20

Shouldn't

The *t=24437* is the temperature in C times 1000. Warm up the probe and see
> what happens to the temp.
>
> Be:

The *t=24437* is the temperature in C times .001. Warm up the probe and see
> what happens to the temp.
>

?

I do like your courses though. Really easy for someone like me , who has
yet had experience with one-wire devices.

On Wed, Oct 26, 2016 at 7:23 AM, Mark A. Yoder 
wrote:

> I've just posted[1] updated instructions on how to use Dallas 1-wire
> devices on the Bone.  I'm running:
> bone$ *uname -a*
> Linux yoder-debian-bone 4.4.21-ti-r47 #1 SMP Fri Sep 23 22:23:02 UTC 2016
> armv7l GNU/Linux
> bone$ *cat /ID.txt*
> BeagleBoard.org Debian Image 2016-08-28
>
> The instructions show how to deconfigure  P9_12 so the 1-wire driver can
> run on it.
>
> --Mark
>
> [1] http://elinux.org/EBC_Exercise_31_Dallas_1-Wire
>
> On Sunday, January 19, 2014 at 8:42:49 PM UTC-5, godsf...@gmail.com wrote:
>>
>> Can you post a photo of how you have them wired please?
>>
>> On Wednesday, December 4, 2013 8:51:26 AM UTC-5, Doug Edey wrote:
>>>
>>> I've got 3 DS18B20 sensors on my bus at the moment, providing you've got
>>> the sensors running in non-parasitic mode, I think you'll be fine.
>>>
>>> On Tuesday, December 3, 2013 8:13:31 PM UTC-5, lorena...@gmail.com
>>> wrote:

 Thinking of replacing the dedicated microcontroller that runs my house
 with a BBB. Being able to read the existing 1-Wire network will be
 critical. Currently have 12 18B20 sensors on one bus, need more. Can the
 kernel module described here actually address and read multiple sensors on
 the same bus? Can it search and retrieve addresses from unknown sensors?

 I see people selling 8-port capes, as if maybe this is a simple one
 device per bus routine...  Wouldn't help me!

 As for the "considerations" of long buses, yes there was a learning
 curve. I have both active pull-up and active pull-down, with careful
 source-end termination. All cable is CAT-5, and all sensors are within 1m
 of a single linear topology installation. In several cases the bus goes out
 one pair of the CAT-5 to a distant sensor and comes back on another pair of
 the same cable to continue to the next destination. Branching.in a star
 fashion is death to 1-Wire. My current system works, reliably controlling
 serious solar hot water and outdoor wood boiler operation that could blow
 off expensive antifreeze fluid (a huge hassle to recharge) if anything
 overheated.

 Great long-bus reference:
 http://www.1wire.org/Files/Articles/1-Wire-Design%20Guide%20v1.0.pdf

>>> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/beagleboard/6a937fdb-7316-48b0-8b84-543757958c8c%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALHSORoZHnv1PArG9zyCfV36esCb8T_%2BtJ-1zy7amx8TMOQocA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Dallas 1-Wire BeagleBone Black

2014-01-20 Thread godsfshrmn
Can you post a photo of how you have them wired please?

On Wednesday, December 4, 2013 8:51:26 AM UTC-5, Doug Edey wrote:

 I've got 3 DS18B20 sensors on my bus at the moment, providing you've got 
 the sensors running in non-parasitic mode, I think you'll be fine.

 On Tuesday, December 3, 2013 8:13:31 PM UTC-5, lorena...@gmail.com wrote:

 Thinking of replacing the dedicated microcontroller that runs my house 
 with a BBB. Being able to read the existing 1-Wire network will be 
 critical. Currently have 12 18B20 sensors on one bus, need more. Can the 
 kernel module described here actually address and read multiple sensors on 
 the same bus? Can it search and retrieve addresses from unknown sensors? 

 I see people selling 8-port capes, as if maybe this is a simple one 
 device per bus routine...  Wouldn't help me! 

 As for the considerations of long buses, yes there was a learning 
 curve. I have both active pull-up and active pull-down, with careful 
 source-end termination. All cable is CAT-5, and all sensors are within 1m 
 of a single linear topology installation. In several cases the bus goes out 
 one pair of the CAT-5 to a distant sensor and comes back on another pair of 
 the same cable to continue to the next destination. Branching.in a star 
 fashion is death to 1-Wire. My current system works, reliably controlling 
 serious solar hot water and outdoor wood boiler operation that could blow 
 off expensive antifreeze fluid (a huge hassle to recharge) if anything 
 overheated. 

 Great long-bus reference:
 http://www.1wire.org/Files/Articles/1-Wire-Design%20Guide%20v1.0.pdf



-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[beagleboard] Re: Dallas 1-Wire BeagleBone Black

2013-12-04 Thread Doug Edey
I've got 3 DS18B20 sensors on my bus at the moment, providing you've got 
the sensors running in non-parasitic mode, I think you'll be fine.

On Tuesday, December 3, 2013 8:13:31 PM UTC-5, lorena...@gmail.com wrote:

 Thinking of replacing the dedicated microcontroller that runs my house 
 with a BBB. Being able to read the existing 1-Wire network will be 
 critical. Currently have 12 18B20 sensors on one bus, need more. Can the 
 kernel module described here actually address and read multiple sensors on 
 the same bus? Can it search and retrieve addresses from unknown sensors? 

 I see people selling 8-port capes, as if maybe this is a simple one device 
 per bus routine...  Wouldn't help me! 

 As for the considerations of long buses, yes there was a learning curve. 
 I have both active pull-up and active pull-down, with careful source-end 
 termination. All cable is CAT-5, and all sensors are within 1m of a single 
 linear topology installation. In several cases the bus goes out one pair of 
 the CAT-5 to a distant sensor and comes back on another pair of the same 
 cable to continue to the next destination. Branching.in a star fashion is 
 death to 1-Wire. My current system works, reliably controlling serious 
 solar hot water and outdoor wood boiler operation that could blow off 
 expensive antifreeze fluid (a huge hassle to recharge) if anything 
 overheated. 

 Great long-bus reference:
 http://www.1wire.org/Files/Articles/1-Wire-Design%20Guide%20v1.0.pdf


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[beagleboard] Re: Dallas 1-Wire BeagleBone Black

2013-12-03 Thread lorenamelang
Thinking of replacing the dedicated microcontroller that runs my house with 
a BBB. Being able to read the existing 1-Wire network will be critical. 
Currently have 12 18B20 sensors on one bus, need more. Can the kernel 
module described here actually address and read multiple sensors on the 
same bus? Can it search and retrieve addresses from unknown sensors? 

I see people selling 8-port capes, as if maybe this is a simple one device 
per bus routine...  Wouldn't help me! 

As for the considerations of long buses, yes there was a learning curve. 
I have both active pull-up and active pull-down, with careful source-end 
termination. All cable is CAT-5, and all sensors are within 1m of a single 
linear topology installation. In several cases the bus goes out one pair of 
the CAT-5 to a distant sensor and comes back on another pair of the same 
cable to continue to the next destination. Branching.in a star fashion is 
death to 1-Wire. My current system works, reliably controlling serious 
solar hot water and outdoor wood boiler operation that could blow off 
expensive antifreeze fluid (a huge hassle to recharge) if anything 
overheated. 

Great long-bus reference:
http://www.1wire.org/Files/Articles/1-Wire-Design%20Guide%20v1.0.pdf

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.