Author |
|
phil13 Groupie
Joined: December 19 2004 Location: France
Online Status: Offline Posts: 60
|
Posted: December 19 2004 at 11:06 | IP Logged
|
|
|
What's about add ibutton and 1-wire support ?
http://www.maxim-ic.com/products/ibutton/
It will be interesting for temperature measurement or access control for example.
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: December 19 2004 at 22:25 | IP Logged
|
|
|
Phillipe,
The ibutton and 1-wire support is an interesting product. I had not heard of them. It looks to be a simple serial port interface so support could certainly be added. I will probably wait until I have added the PowerHome plug-in interface and would do it as a plug-in rather than trying to interface directly since it currently doesnt fall into the realm of a controller.
I see the advantage for access control but missed how it could be used for temerature measurement. Could you explain a little?
Dave.
|
Back to Top |
|
|
phil13 Groupie
Joined: December 19 2004 Location: France
Online Status: Offline Posts: 60
|
Posted: December 19 2004 at 23:48 | IP Logged
|
|
|
Dave
have a look here :
http://www.maxim-ic.com/products/ibutton/ibuttons/thermochron.cfm
http://www.maxim-ic.com/quick_view2.cfm?qv_pk=2820&ln=
The kit price is 40 euros so about 52$.
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: December 20 2004 at 07:15 | IP Logged
|
|
|
I looked at these before. Dallas/Maxim sells a 1-wire to '232 adaptor for <$20, and temp sensors are <$4 each.
|
Back to Top |
|
|
onhiatus Senior Member
Joined: May 12 2004 Location: United States
Online Status: Offline Posts: 279
|
Posted: February 04 2005 at 17:47 | IP Logged
|
|
|
I use (and love) Peter Anderson's IOM #142A board. It's a nice easy serial (or USB) interface to many 1-wire sensors. Additionally it provides 4 reasonably beefy relays (15A / 120 VAC, 10A / 240 VAC) and four optoisolators (digital inputs). Cost is less than $60. See http://www.phanderson.com/iom142/iom142.html
For 1-wire support it handles up to 32 of the following: DS18S20/DS18B20/DS1822 (Temperature sensors); DS2438 (Temperature and A/D Sensors); DS2450 (Quad 12-bit A/D); and DS2423 (Dual Counter).
Note that you can user the counter to interface with alot of different data collection devices (wind speed, rain collectors, volume knob, etc.) The DS2438 seems to be used a lot with humidity sensors.
These boards (and many others) are available directly from Peter Anderson's web page or from Peter on eBay.
Granted so far I am only using the board for temperature collection (just three sensors right now - but I just ordered 5 more) - but so far I am very impressed with the hardware and the service.
|
Back to Top |
|
|
onhiatus Senior Member
Joined: May 12 2004 Location: United States
Online Status: Offline Posts: 279
|
Posted: May 18 2005 at 13:55 | IP Logged
|
|
|
If any one is interested I just noticed that Peter Anderson is now offering a striped down version of the above in kit form for $19.95. Basically it includes two runs for the dallas devices (total of up to 32 sensors).
For < $20 you can have pretty much as many tempurature sensors as you could possibly need!
Note that I do not use this model, so I'm just going off his web page. But I am very satisfied with the 142A I bought from him.
Also note that this is a kit - that means it takes some assembly...
Link to the kit: http://www.phanderson.com/tm128/tm129.html
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: May 18 2005 at 20:41 | IP Logged
|
|
|
Tony,
Have you interfaced the 142A with PowerHome?
Dave.
|
Back to Top |
|
|
onhiatus Senior Member
Joined: May 12 2004 Location: United States
Online Status: Offline Posts: 279
|
Posted: May 19 2005 at 13:45 | IP Logged
|
|
|
Kind of. My plan was to wait for the plug in capability and do it right. Meanwhile I've written a vb app that just polls the 142A (actually I think it would work for most of Peter Anderson's boards) and passes on the results to PH. I only have temp sensors so that's all that are currently decoded. The app lets you lable each sensor based on the serial number of the sensor, so PH gets a temp (in F) and a lable (i.e. Outside, Living Room, Water, etc)
I've got a couple serial displays so I'm thinking about folding in some display capability - I'd like PH to display what it's just done, info message, what's currently playing, the temp, etc. Might make more sense to write it as a separate app, but since I already have a UI, serial handling, an setting coded...
Also, in case anyone is interested, I use the 142A with a USB to Serial cable.
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: May 23 2005 at 16:33 | IP Logged
|
|
|
Tony,
How do you interface your VB app with PowerHome? Are you using Windows Messaging? If so, what message type are you using?
Thanks,
Dave.
|
Back to Top |
|
|
onhiatus Senior Member
Joined: May 12 2004 Location: United States
Online Status: Offline Posts: 279
|
Posted: May 23 2005 at 19:29 | IP Logged
|
|
|
Yes I am using Windows messaging My applet -> PH:
COPYDATASTRUCT message (74) - with the location and temperature in the string ready to be parsed by the macro triggered by WM_COPYDATA - all learned from you and TonyNo (see this article)
So far I don't have and communications going the other way, but that's next as I would like to control the IOM 142A's relays with PH. Also will be required if I end up foling in the serial display support...
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: May 24 2005 at 09:24 | IP Logged
|
|
|
Tony,
I remember now...I was going to talk about the additional messaging functions but see that Ive already done so in the message you reference .
Dave.
|
Back to Top |
|
|