1-Wire
-
One more question as I am trying to understand requirements and the best and hopefully simplest way to add 1-wire devices to mango. Can I simply come out of a comm port and start adding 1-wire devices that are wired correctly and have mango poll these devices? When and how far is the comm port not enough to supply power to the devices? Does the bus need power from another source besides the comms port? Is it better to use a stand alone controller?? Basically I want to add around 10 temp sensors and 2 humidity sensors and have mango poll these devices, just curious what others have done...
-
Mango provides very simple setup of 1-wire networks. Questions about powering the devices and such should be directed toward your hardware vendor.
In our lab we set up a 1-wire hub that came with its own power supply, so there were never issues about whether serial port power is sufficient.
-
@mlohbihler said:
Mango provides very simple setup of 1-wire networks. Questions about powering the devices and such should be directed toward your hardware vendor.
In our lab we set up a 1-wire hub that came with its own power supply, so there were never issues about whether serial port power is sufficient.
Anybody got information how mango supports 1 wire sensors:
DS-2438Z from Dallas
and Honeywell HIH-3610They are both in this sensors:
http://www.ibuttonlink.com/ms-th.aspx
http://www.ibuttonlink.com/ms-t.aspx
connected to RS 232 via LinkTH http://www.ibuttonlink.com/linkth.aspx
I did some testing on my notebook via PCMCIA RS 232 conector. Instalation was ok, sensor detection not so succesful. But test was very short.
If anybody has positive experience wih mango and these sensors please let me know to further invest more time in setting the whole thing up.
-
Hi
I've just found your question. I've got about 30 temp sensors and some switches set up on a 1 wire network. I'm planning to control my complex heating system through it using Mango.
Getting it to be reliable is a right pain. Its very sensitive length and hoe the sensors are added. This article is very helpful
http://www.maxim-ic.com/appnotes.cfm/an_pk/148If you want to do some testing to check the system is working either use the dallas software or LOGTEMP by mr soft both free
Here's my public view page http://www.bacwak.net:8080/public_view.htm?viewId=8
Which is a bit scrrewed at the moment as i have been playing with dials and buttons on it
Cheers
Keith
-
@Keith said:
.....
I've got about 30 temp sensors and some switches set up on a 1 wire network. I'm planning to control my complex heating system through it using Mango.Getting it to be reliable is a right pain. Its very sensitive length and hoe the sensors are added....
CheersKeith
Your webpage looks interesting :-)
I am looking to build similar (mainly) logger system with 1-wire sensors including:
- around 5 dual counters (DS2423)
- around 20 temp. sensors (DS18S20)
- 8 DI / 8 DO
- Oregon Scientific WMTS-200 weather station with extra wireless room sensors (was cheapest way as wires were not possible).
I have heard that direct 1-wire takes lot of CPU-capasity to keep timelines required. Could this be part of your stabilization problem?
To solve that, I have been looking got TEMP08 (also mentioned here in forum), but no reply on that one.
Looks that Mango don't support TEMP08 yet?
-
Doesn't the TEMP08 just forward the 1-wire protocol, or does it use something else? If the former, Mango should work with it.
-
@mlohbihler said:
Doesn't the TEMP08 just forward the 1-wire protocol, or does it use something else? If the former, Mango should work with it.
I don't think so - its sending (depending on paramenters, among othher things) to COM all measuremt every 1min, so any COM-listener can capture steam
http://www.midondesign.com/TEMP08/P04Instructions.htmlThe TMP Output Display
>
SUN 16:52:46
Reading Sensors...
Humidity #01[DC0000002B274726]=58%
Voltage #00 = 00.01V
Voltage #01[520000002B25A826]=00.12V 05.05V
Voltage #02[020000002B2CB326]=03.98V 05.03V
Lightning #01[D4000000045C621D]=00020 24592
1WIO Status = On,On,On,On
Temp #01[4C00080031220C10]=70.80F
Temp #02[10000800312D2B10]=79.80F
Temp #03[520000002B25A826]=76.21F
Temp #04[020000002B2CB326]=72.77F
Temp #05[DC0000002B274726]=76.21F
>Can it be integrated by using some simple ASCII transfer-file (mango would read/poll this file) or any better/easier ideas?
-
@Keith said:
Hi
I've just found your question. I've got about 30 temp sensors and some switches set up on a 1 wire network. I'm planning to control my complex heating system through it using Mango.
Getting it to be reliable is a right pain. Its very sensitive length and hoe the sensors are added. This article is very helpful
http://www.maxim-ic.com/appnotes.cfm/an_pk/148If you want to do some testing to check the system is working either use the dallas software or LOGTEMP by mr soft both free
Here's my public view page http://www.bacwak.net:8080/public_view.htm?viewId=8
Which is a bit scrrewed at the moment as i have been playing with dials and buttons on it
Cheers
Keith
Keith,
What switches are you using and how do you have them connected? Powered, parasite, pullup resistors, etc? The reason I ask is that I have switch module D2P from EDS (DS2406 based). Mango sees the switch (but only one, it should see A and B since it is a double I/O) but it does not sense the switch staus (binary change). I am using this on serial input and parasite mode. Interestingly enough I have the same exact problem with LogTemp. However, Dallas/Maxim viewer sees status changes perfectly.
http://www.embeddeddatasystems.com/assets/images/supportFiles/manuals/D2PandD2PC.pdf
Anybody else, feel free to chime in.
BTW, love the Mango software so far.
Mike