[OpenTRV-dev] DS18B20 with Arduino

Bo Herrmannsen EMAIL ADDRESS HIDDEN
Thu Sep 19 12:48:53 BST 2013


Hi

Damon might not have mentioned or i have not seen that he has

but we would like ideas on how to detect if we have a DS18B20 or TMP112 
fitted

the TMP is very low power and great res. but also a pain in the arse to fit 
even with manual pick and place..  thou i'm getting close... just need a 
solder dispenser and i'm good for it

/bo

-----Oprindelig meddelelse----- 
From: Kevin Wood
Sent: Thursday, September 19, 2013 1:26 PM
To: Closed list for developer discussions
Subject: Re: [OpenTRV-dev] DS18B20 with Arduino

It seems that the code I used was derived from this:

http://www.siwawi.arubi.uni-kl.de/avr_projects/tempsensor/

There's no mention in the code or the web site of any license or
permission under which it may be used, unfortunately. At the time, that
didn't bother me, of course...

It's not that complex, and I have onewire devices, so I could attempt to
"white room" myself and write something?

Kevin

> Thanks, that would be helpful!
>
> Rgds
>
> Damon
>
>
> On 18 Sep 2013, at 19:25, Kevin Wood wrote:
>
>> I've been using OneWire sensors with an AVR quite a bit. I'll have a
>> look at where the code I used came from. Can't remember if it was
>> home-made, pinched from somewhere or a combination thereof!
>>
>> Kevin
>>
>> On 18/09/13 18:09, Damon Hart-Davis wrote:
>>> Hi,
>>>
>>> Bo: following our earlier discussions
>>>
>>> With a little research I think it should be possible to make the V0.2
>>> work with DS (when running on 3.3V) or TMP, detected at run-time if
>>> need be, though there are a number of trickinesses, especially with
>>> timing because the DS is slow.
>>>
>>> But I have not yet found a sensibly-licensed 1-Wire library for
>>> Arduino/ATMega (ie *with* some sort of licence that isn't GPL and pref
>>> is BSD or Apache or MIT or similar), so might have to reverse engineer
>>> something.
>>>
>>> In any case it's not a trivial bit of work, but not insurmountable
>>> either.
>>>
>>> Rgds
>>>
>>> Damon
>>>
>>>
>>> _______________________________________________
>>> OpenTRV-dev mailing list
>>> EMAIL ADDRESS HIDDEN
>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>
>> _______________________________________________
>> OpenTRV-dev mailing list
>> EMAIL ADDRESS HIDDEN
>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>
>
> _______________________________________________
> OpenTRV-dev mailing list
> EMAIL ADDRESS HIDDEN
> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>


_______________________________________________
OpenTRV-dev mailing list
EMAIL ADDRESS HIDDEN
http://lists.opentrv.org.uk/listinfo/opentrv-dev 



More information about the OpenTRV-dev mailing list