Slashdot Mirror


Am I Hot or Not

Sure, it's not the dream system with computer-controlled vents on the furnace and a genetic algorithm to optimize heat-flow, but it is pretty damn cool. This system makes use of Dallas Semiconductor Digital Thermometers to monitor temperature throughout the house. Hopefully the fellow running the project will put up the source to the Linux driver he has running the sensors. This project ties in nicely with the question posed by a recent Ask Slashdot as well.

102 comments

  1. why is this new technology by crystalplague · · Score: 3, Interesting

    I've always wondered why thie hasn't existed for a long time already. All you need is a thermostat for each room and a servo controlled baffle for the vents in that room. Upstairs hotter than down? Close downstairs baffles a little...problem solved. This is hardly innovative technology.

    1. Re:why is this new technology by Bush_man10 · · Score: 0

      I agree. I mean just throw a few PID Controllers around the house to control the vents and problem solved. :)

      --
      "I believe in everything in moderation. Including moderation." -Dean DeLeo, Stone Temple Pilots
    2. Re:why is this new technology by flippet · · Score: 1

      Errr, they already do... quite common in skylights, the window opens and closes depending on a little white control box with a sensor in it on the wall. Plugging this into a normal computer is not something I've seen before though.

      --
      "Cattle Prods solve most of life's little problems."
    3. Re:why is this new technology by vthome · · Score: 1

      Because it is more complicated than it seems. Just one simple fact: if you close the dampers too much, the inside coil will freeze. Why? Now, the answer is not obvious...

  2. Developers: Am I Hot Or Not by Craig+Maloney · · Score: 5, Funny

    Whew... For a moment from the title I thought it might have been a competition amongst developers to determine if they were Hot or Not. I don't think a lot of the egos out there could take that kind of abuse.

    1. Re:Developers: Am I Hot Or Not by Anonymous Coward · · Score: 0
      The real question -- is Steve Ballmer hot or not?

      developers Developers DEVELOPERS!!

    2. Re:Developers: Am I Hot Or Not by Anonymous Coward · · Score: 0

      Hedi Wall == Hot

      Guy Steele == Not

      Grace Hooper == Hot

      Bill Joy == Not

      (Hey it's almost beter than a copy of Wierd)

  3. What if there is a bug ? by theefer · · Score: 0

    The day you will have to debug some code to switch on the central heating in winter, you'll understand why people keep doing it by hand.

    --
    theefer
    1. Re:What if there is a bug ? by SirSlud · · Score: 2

      more to the point, I lived 18 years with my parents with no AC, no magic temperature sensing house, etc. Who cares? Whats a little tempurature-related adversity in ones life?

      All the technology in the world wont bring you back to the womb. Better to be tough and deal with it.

      --
      "Old man yells at systemd"
    2. Re:What if there is a bug ? by Anonymous Coward · · Score: 0

      Meanwhile, you're whining on /.

      Brilliant.

    3. Re:What if there is a bug ? by danimrich · · Score: 1

      I agree with you.
      Moreover, would you like a computer virus/hacker to turn your apartment into a sauna?

      --
      where's all that Karma?
  4. Hot Or Not? by Ass-Gas-Istan · · Score: 1

    When I saw the title I thought some of the Slashdot editors posted their pics on this site.

  5. Heh. by Skreech · · Score: 3, Funny

    Frankie is a Radisys EP-32 with a 33Mhz 486DX, a megs of flash memory, and 16 megs of EDO RAM. Of course he boots Linux directly from the flash disk.

    I hope thats not the webserver! Otherwise, I belive the answer is "hot."

  6. I should have used the Preview Button! by Ass-Gas-Istan · · Score: 1

    this site

    (Use the Preview Button! Check those URLs! Don't forget the http://!)

  7. Oh, come on.... by SlashChick · · Score: 5, Interesting

    You can't have an article entitled "Am I Hot Or Not" without having a link to the real Am I Hot Or Not page! Who wants to look at thermometers when you can look at real people and rate how "hot" they are based on a completely shallow judgement?!

    1. Re:Oh, come on.... by Anonymous Coward · · Score: 0

      Here is a MCSE you Microsoft worshippers can kill kittens with...

      Enjoy!

    2. Re:Oh, come on.... by Anonymous Coward · · Score: 0

      Dude, isn't she that chick(!) who wrote teh New Riders book on the NT Registery?

  8. What i would like to see... by Medevo · · Score: 1

    I would like to see a system that attaches to the back of your computers and uses the heat energy to heat to house. Why extra furnace bills to keep the room that your thermostat warm with natural gas when a couple P4's running a web server will work?

    Just a thought, after all we should be lowering our need of Fossil Fuels

    Medevo

    1. Re:What i would like to see... by SEWilco · · Score: 1
      "I would like to see a system that attaches to the back of your computers and uses the heat energy to heat to house."

      It's called a fan. Most systems include that feature. Where you direct the warm air is up to you.

      Many people do overrate the actual amount of heat generated. If your power supply is less than 1,000 watts, you can't even create as much heat as a toaster. Just a furnace fan uses 750 watts. An electric furnace is 8,500 watts.

      And those aren't "fossil" fuels, they're abiogenic except for coal. It's not a matter of using it all, it's a matter of whether we use it faster than it trickles up.

  9. It'll be hotter when it's done I suspect... by MrIcee · · Score: 4, Insightful
    The web page is sorely lacking in details other than a wishlist. Though the two sensors do appear to update in realtime.

    The project is a great idea, but I would have rather the post had waited until the designer had actually done the computer controlled vents. I would certainly like to see what vents he chose, and any problems he had hooking them up.

    I also wonder about feedback problems in such a design... that is... consider that the house finds some rooms too warm... it closes their vents and other rooms heat up, as this occurs it oscilates between the rooms and vents opening and closing. Obviously this could be tweazed, but what is the electrical overhead. Where I live, electricity is extremely expensive and so it would be questionable if such a design would be cost effective.

    It would also be nice to have variable vents, that is, vents that could be selectivly opened a certain amount (which would reduce the feedback problem).

    Of course, here on the Island our problem is not heat control, it's dampness and channeling of tradewinds through the house - so I wonder what the possibilities of a computer controlled window screen would be, with moisture and wind sensors (probably motorized louvered windows).

    Ah well, nice idea but it seems a bit premature for a solid slashdot discussion.

    1. Re:It'll be hotter when it's done I suspect... by vthome · · Score: 1

      ;)

      My vents *are* computer controlled, and they're variable ;) Moreover, the A/C unit itself can be controlled.

      See my other post for the URL.

  10. Great idea finally came out. by zoloto · · Score: 1

    One of the great ideas to finally come out to the masses. Sure it's been floating around in an unknown amount of people's heads, But for someone to announce and centralise it for those who are interested takes action and will.

    I can see this project helping out those more technically minded in business and the home. Imagine your limited mobile who needs to monitor temperatures all over the house, but can't simply because they can't walk or !

    Definately a plus.

    1. Re:Great idea finally came out. by zoloto · · Score: 1

      sorry, for some reason it blocked my text in these types.

      Imagine your limited mobile aunt/cousin/sibling or parent... ... they can't walk or | insert reason here |

  11. I.. by outz · · Score: 1

    thought I was gonna get to rate some hotties.

    --
    What was your username again? -BOFH
  12. Source code is already available - Digitemp by Jess · · Score: 5, Informative
    The source code for collecting data from these sensors is already available in a package written by Brian Lane called Digitemp: http://www.brianlane.com/digitemp.php I've been using these sensors and digitemp to monitor our computer room temperature for the last year. It works flawlessly.

    By the way, the interesting thing about these sensors is that they are actually network devices, each with it's own unique ID. You can address each of them separately over the "1-wire network" and get their temperature reading. Also note, that these sensors directly give you a temperature reading, not current or some other reading. So, they do not require any calibration and are a breeze to use.

    1. Re:Source code is already available - Digitemp by krow · · Score: 2

      How difficult did you find it to setup and run? Did you try multiple probes?

      From reading up on the site you mentioned, it looks like they solved the problem using the serial port, while the guy this article is written about used the parrelel port (which gave him the ability to do many probes at once).

      --
      You can't grep a dead tree.
    2. Re:Source code is already available - Digitemp by Jess · · Score: 2

      I am using 4 sensors now, but you can use many more (I'm not sure of the precise limit). The 1-wire network allows me to get readings from all of the probes with out any problem.

    3. Re:Source code is already available - Digitemp by libertynews · · Score: 2

      Thanks for the mention. Don't forget that there is a whole series of different devices that can be attached to the network, including a weather station (which I just re-connected yesterday), humidity and barometric pressure sensors, Java iButtons, etc. I don't support pressure or humidity yes, but it will be added soon.

      IMHO the site referred to in the article is pretty sparse, except for the diagram of the house. I use RRD to graph all my sensors, as well as the traffic to my webserver -- I'd been wondering why traffic had jumped today.

      Brian

      --
      Remember Lexington Green!
    4. Re:Source code is already available - Digitemp by libertynews · · Score: 2

      Dallas Semiconductor is the manufacturer/inventor of the 1-Wire network. Take a look at www.ibutton.com for a bunch of different devices. The iButtons are 1-Wire devices in a metal can, some can read temperatures and others can be used for access control. Dallas/Maxim has other 1-Wire devices that are not in a can, these are the ones that I use for my DigiTemp kits.

      There are serial and parallel port adapters available (from iButton.com or from me in my Basic DigiTemp kit which uses the serial adapter), but the bus itself can be extended pretty far. Using cat-5 cable there are people with 300m runs I believe. The theoretical limit to the number of sensors on one 1-Wire lan is unlimited, they are digital device with a 64 bit unique serial number so that they can be individually addressed.

      Brian

      --
      Remember Lexington Green!
  13. Linux drivers for DS temperature sensors by jvaarani · · Score: 1

    Brian Lane has made public drivers for these nice Dallas Semiconductors temperature sensors. The software can be loaded from here.

    --jarkko

  14. I see a problem by PacoTaco · · Score: 2

    A DoS attack launched at his thermometer server at the right time (when the heater is on) will raise his electric bill and cause serious personal discomfort. This could be the best DoS attack yet.

  15. Damn, I should have known by vthome · · Score: 1

    that I was not the only one doing something like this. Oh well, too late, but here's the link:

    DIY Zoning

    1. Re:Damn, I should have known by Anonymous Coward · · Score: 0

      Are you interested in pooling resources? I sure am...

    2. Re:Damn, I should have known by vthome · · Score: 1

      Yes.

      There's a lot of work to be done, primarily the GUI (I'm a middleware guy, and my GUIs usually suck), and of course, the pilot testing. So far, it's been working in my home for about a year, but you know, every setup is different.

      Just come and join the list.

  16. Am I Geek Or Not? by KILNA · · Score: 3, Funny

    Am I Geek Or Not

    'Nuff said. I claim no affiliation with this site.

    --
    Error: PANTS NOT FOUND. Press <F1> to continue.
    1. Re:Am I Geek Or Not? by XBL · · Score: 2

      Most of the pictures on that site are not loading (broken). Probably for a good reason.

    2. Re:Am I Geek Or Not? by KILNA · · Score: 1

      Could it be that your browser is refusing to load them on principle?

      --
      Error: PANTS NOT FOUND. Press <F1> to continue.
    3. Re:Am I Geek Or Not? by matguy · · Score: 1

      wow, my pic is still there... http://AmIGeekOrNot.com/?id=1081

      --

      matguy(.com)
  17. Temperature of my basement (without Linux) by asmithmd1 · · Score: 3, Interesting
    You don't need a full blown PC just to monitor the temperature and control a couple of motors. My RCM 2200 does this task for just $55

    1. Re:Temperature of my basement (without Linux) by Versa · · Score: 1

      That small computer is cool and all, but what this guy did (and its not unique) is use the ultra cheap dallas semi conductor 1-wire chips. Which for around 10 bucks for the controller and 4 bucks in parts for each sensor is way cost effective compared to your 55 dollar single unit sensor. And the dallas units are not limited to strictly temperature sensors either. You can get humidity and dew point sensors also.

      Here is a better site that is along the same lines.
      http://www.garyga.com/OCX/default.htm

    2. Re:Temperature of my basement (without Linux) by asmithmd1 · · Score: 1

      If you go to my web page you will see I am using the exact same chip as he is to sense the temperature. Instead of using a PC running Linux to read the chip and serve the web page, my $55 computer ($34 qty/1000) is reading the chip and serving the web page (and co-ordinating the movements of 2 stepper motors, and it has plenty of cycles to spare.

    3. Re:Temperature of my basement (without Linux) by NetMasta10bt · · Score: 1

      But does this require you to buy the $400 C development pkg in order for you to write software for it? Or how about the $130 Ethernet adapter to hook it to the internet?

    4. Re:Temperature of my basement (without Linux) by Frank+of+Earth · · Score: 1

      Very cool web-etech-a-sketch.

      I might as well plug my weather page. Nothing inovative, but it was fun to do.

      http://www.fperkins.com/weather/

  18. Did something similar by certsoft · · Score: 1

    A few years back. It was mainly designed to control automatic horse feeders, but it also controlled HVAC, generator, etc. Web Page

    1. Re:Did something similar by Krapangor · · Score: 2, Funny

      How do you measure the "success" of the control of an automatic horse feeder ?
      By the number of horses which don't starve ?

      --
      Owner of a Mensa membership card.
  19. Hardly cool. by Krapangor · · Score: 1

    Monte Carlo methods like genetic algorithms are usually the last resort for the clueless to get some kind of solution for an optimization problem.

    --
    Owner of a Mensa membership card.
  20. Do this for retail food stores and you'll be rich by Anonymous Coward · · Score: 2, Interesting

    I had envisioned something like this for my family's grocery store. We had three beverage refrigerator cases, one dairy case, one retail freezer case, two walk-in boxes, three 8 foot refridgerated display cases, three air conditioners, tons of flourescent lighting, slicing machines, cheese grater, coffee machine, and much more. The electric cost was over $2000 per month in the summer. Another relative had a retail seafood store, with freezers, ice machines, display cases, etc. His bill was over $10,000 per month in summer. This is in NYC.

    If I had some way of regulating temperature with temperature sensors, and monitored by a computer, turning fans on and off by computer regulation, I could easily have run ducting between the three display cases as one zone, the three refridgerated beverage cases as a second zone, the dairy case and one walk-in box as another zone, etc. I could have turned off the smaller beverage cases, and the bigger one at night (we did some of this by extending the defrost cycle at night). During the winter, I would have like to pipe in cold (below 36 or so degrees) air from outside into refridgerators. By shutting down beverage cases that had compressors mounted under case (instead of in basement like other cases), we would need less cooling (3 ton, 1 ton, 1 ton air conditioners), and we could have reduced peak usage.

    For those of you who know about demand meters and large electricity users in NYC, you know what I am talking about. For those that don't, I estimate that I could have knocked off about $600-$800 from the electric bill monthly in summer, and a couple hundred per month in winter/spring. My relative with seafood store was able to cut $5,000 off of his electric bill by shutting down one freezer and one ice machine. Had he implemented a system like I'm envisioning, I estimate he could have knocked off $4,000, and still retain use of all his equipment.

    The system could be made very simple. For beverage cases, display cases, small walk-in boxes, etc., all that is needed is simple flexible 4" ducting, with small fans placed within ends to push/pull air. The fans can even be powered through the computer, since the sensor wiring would go there anyway. Or powered by the display cases, where electric outlets are normally available, if using wireless to talk to computer.

    Common sense and experimentation would show you where/how to place ducting and fans. I know this would work because we've done something similar on multiple occasions when a display case went down, and freon was hard to locate. It always worked, but without the computer and temperature sensors. We had to carefully eyeball thermometers, and manually turn fans on/off as needed.

    Someone who writes the code to run a computer/temp sensors/fans with a system described above, and goes into the field and installs something like this can make some good money. Businesses may be skeptical at first, but when you mention saving electricity, watch their eyes open up.

    It would take some effort, but hopefully a geek has a grocery store owner in the family that can try this out. Be aware that dairy/cheese/frozen spoils, and you may only be given the go-ahead with beverage cases only.

    System should include dial up or beeper or internet notification if the system or a sensor/fan goes down overnight, alarms for overheated cases, etc. Be aware for dial up that burglary alarm will grab line if triggered, etc.
    System should also be configurable/managed through dial-up or internet. Forget billing for field visits for downed computer. You'll be thrown out on your ass the first time you present the bill due to low margins/profits in industry and coservative nature of grocery store owners.

    Such a system will save considerable money for grocery store (and other heavy refridgeration/HVAC users) owners, and will be something that you can sell if examples are provided, and you LEASE THE SYSTEM, GIVING TIME FOR THE SYSTEM TO PAY FOR ITSELF, or provide financing through monthly payments, while giving the grocery store owner time to see the savings in his electric bills.
    And you'll be helping to save the environment through conservation as well. And I suspect you'll be a celebrity geek in short order.

    Now build it!

  21. Re:Do this for retail food stores and you'll be ri by Anonymous Coward · · Score: 0

    System should also regulate fans by time, to turn off beverage cases at night when store is closes. This would have to be resolved against defrost cycle which also happens at night, and turns off case compressor as well.

  22. I did this (Dallas stuff) years ago.. by rongage · · Score: 1

    My how old news becomes new again...

    I have had a Dallas Semiconductor library for Linux available from my FTP site for about 4-5 years now. Completely open source too. Worked just fine with the DS-1820 and DS-1920 temperature sensors. Heck, I still use it to this day to do temperature checks of equipment.

    --
    Ron Gage - Westland, MI
  23. Dallas Semi LInux kit by Todd+Knarr · · Score: 2

    I can't reach the guy's site so I don't know if he's added custom drivers, but Dalls Semiconductor has Linux development kits and source code for their 1-Wire stuff here.

  24. dynip.com? by 2MuchC0ffeeMan · · Score: 2

    yeah, slashdot linked a site to this guy's home office ip through dynip.com

    and they thought it would stay up?

    he's prolly going to get kicked off his isp for running a server, or even a whole house fully wired with censors has to be against the isp's eula somehow.

    --
    Runnin' On Empty .... I'm Still Alive
  25. But Is by iONiUM · · Score: 1

    But Is Cindy McCaffrey on it?

  26. server is slashdotted i hope he's not dead by Anonymous Coward · · Score: 1, Funny

    Jeeze, we've slashdotted the sensor already.

    I hope we didnt end up roasting or freezing the guy.

    this could end up as the first slashdot induced fatality.

  27. If yuu like that... you might also like by Anonymous Coward · · Score: 0

    These pages are still a work in progress.. I'm currently designing version four of my PCB. I'll put more details up when it's ready.

    http://ipaq.secret.org.uk/HomeAutomation/HA_Main .h tm

    1. Re:If yuu like that... you might also like by Anonymous Coward · · Score: 0

      Yep.. that's even cooler ;0

      for the lazy

  28. Pretty standard, really by riflemann · · Score: 1
    These devices are available from lots of electronics suppliers, such as here, and simply run off a standard serial port.

    I have been monitoring the temperature inside and outside my house for months using these things. I use a quick perl script to read these devices from my gateway box, and run RRDtool to graph it.

  29. The 'real' am I hot or not website ;-) by ppetrakis · · Score: 0, Redundant
    http://hotornot.com

    BTW moderators, it meant to be funny.

    Peter

    --
    www.alphalinux.org
  30. geesh, been there, done that (with X10 and 1-wire) by Locutus · · Score: 2

    It's fun but nothing new. A company called Spiderplant.com had a pic based 1-wire kit and I ported their stuff to work with Linux 4 or so years ago. I had a script reading temperature sensors (4 of them) placed around the house( and outside ) and based on that data, I'd direct 2 X10 controlled fans to turn on or off. One fan vented the attic and the other vented downstairs into the attic.

    This is very easy to do and very inexpensive. Cool too ( I mean that literally :).

    LoB

    --
    "Anyone who stands out in the middle of a road looks like roadkill to me." --Linus
  31. Here it comes.... by destiney · · Score: 1


    Cheap "Hot or Not" PHP script: http://destiney.com/prated/

  32. 1-Wire kicks ass by marxmarv · · Score: 2
    I set up a similar system using Dallas' TINI Tiny InterNet Interface to poll the temperatures in three parts of my studio apartment: the fridge[1], the hallway to the bathroom, and the kitchen. On the TINI I ran a server in Java that, under control from any TCP client, would continuously poll the 1-Wire bus and work TTL I/O that was on the TINI sockets board but unpopulated[2]. The client for this was a perl program that polled the TINI, put data into a database[3], and switched a relay on/off which controlled a loud muffin fan[4] based upon the temperature in the main room. I had a servlet on my app server which would draw graphs using gdJava[5] from the database and a JSP which would allow zooming in and out.

    Yes, I agree it was grossly overcomplicated, and if I were doing the same thing today I'd probably have had the TINI post data to the app server instead, so as to cut the perl script out of the loop. But I didn't really trust the TINI as much more than a really smart 1-Wire interface, so in reality I'd probably design with the RS232-based 1-Wire interface card instead, or use a PIC to do all this. :-)

    -jhp

    [1] It was a bar fridge and the freezer frequently affected the thermostat due to their closeness. In line with programmer virtue #1, I wanted to wait to defrost until the temperature in the fridge put my food at risk.
    [2] This was my first experience with surface-mount soldering. The new rev of the sockets board has a lot less cool stuff on it now -- the LCD interface is gone, for one.
    [3]The TINI's Java environment wasn't hefty enough to handle PostgreSQL JDBC drivers so something else had to do this.
    [4]It was 2001. I was trying to be nice to the electric grid and my own power bill, even though I was living in a district served by a municipal electric utility. Screw the "right to profit", every town should have one of these.
    [5]RRDtool is for wimps and looks bad too. I had sub-pixel resolution, PNG output and anti-aliased fonts.

    --
    /. -- the Free Republic of technology.
  33. IRC Channel for Homeautomation. by Anonymous Coward · · Score: 1, Interesting

    I've just created #homeautomation on irc.openprojects.net for anyone who's interested in having a chat about maybe pooling some resources from our many different individual systems.

    Tangent

  34. Why is this a new thing? by Anonymous Coward · · Score: 0

    My god since back in the Z80 days there has been house automation to do this. My father has had our house security (with voice synthesizer status, zones), fire/sprinkler, house HVAC (zoned and with season response based on averaged outside conditions), separate garage HVAC control, generator control (we have rural electric), and phone system for the past twelve years! All based on a Z80 running Basic. He has tried a few times to migrate to a PC, however the hardware is way too complex/closed for this system.

    Heck most commercial large security systems are still based on Z80s! They work well, are cheap as hell and perfect for this limited embedded purpose.

  35. 1-Wire is a proper bus by marxmarv · · Score: 2
    and is multidrop by design. It's pointless to put each probe on its own bus and design interface circuitry yadda yadda, unless you have so many probes that 750ms to poll each one is too much of a wait.

    That said, a 33MHz machine might not have the UARTs and the speed to handle 115.2kbps data, which is the 1-Wire high-speed rate.

    -jhp

    --
    /. -- the Free Republic of technology.
    1. Re:1-Wire is a proper bus by thogard · · Score: 1

      115.2k isn't the data rate. At 115kbaud, the stop bit (or is that start bit?) is just ignored noise and you send either 0x00 or 0xff if you want to send a high or low signal.

      Where I work sells a small micro that hooks up to 4 channels and mounts in a nice rackmount box and sends the data out a 9600 baud serial line. I've got a small program that read teh data, shoves it in /tmp so mrtg can pull it out every 5 minutes. I also know when people leave the computer room door open.

    2. Re:1-Wire is a proper bus by marxmarv · · Score: 2
      115.2k isn't the data rate. At 115kbaud, the stop bit (or is that start bit?) is just ignored noise and you send either 0x00 or 0xff if you want to send a high or low signal.
      The basic rate for the 1-Wire bus is 14.4kbps. The overdrive rate for the 1-Wire bus is 115.2kbps. Regardless of which speed is used, assuming a 16550 with FIFO high water mark set to 13 bytes, the CPU is still potentially servicing over 1000 very general-purpose interrupts per second, on a none-too-fast machine. If it weren't for the pesky ACK bit one could turn the UART bit rate down to 14.4kbps, easily enough done with an 8250 descendent. These days one may as well use a USB-to-1-Wire bridge. The chip presumably exists or will soon (DS2490, IIRC).
      Where I work sells a small micro that hooks up to 4 channels and mounts in a nice rackmount box and sends the data out a 9600 baud serial line. I've got a small program that read teh data, shoves it in /tmp so mrtg can pull it out every 5 minutes. I also know when people leave the computer room door open.
      That's not so bad. I almost wrote code for a PIC to do some basic 1-Wire stuff but couldn't find great code to handle the bus and had to roll up my electronics workbench rather hastily due to a sudden lack of rent money. A friend of mine had his whole house 1-Wired for temperature based on a slightly more powerful machine in the 486 family. I wonder if he's gotten around to implementing control yet -- he had a handful of DS2406 switches but was pretty much incompetent with a soldering iron.

      -jhp

      --
      /. -- the Free Republic of technology.
    3. Re:1-Wire is a proper bus by fegu · · Score: 1

      You don't have to wait 750ms for each, just issue a skip rom command followed by a start conversion. They will all convert simultaneously and you then get the data from each one at a time (which is very quick).

      --
      "There is no substitute for thinking" - Bjarne Stroustrup
  36. 486/33 with 16555 UARTS plenty fast enough. -nt by Anonymous Coward · · Score: 0

    no text

  37. Control of Temperature by the+eric+conspiracy · · Score: 2

    Rather than use of something like a genetic algoritm,I would recommend that you look at 3-mode (aka PID) control, possibly with auto-tuning. This algorithm has been used industrially for process control for 50+ years, and nobody has really found anything better. The first hardware implementations were pnuematic based analog computers. One of the biggest early applications was to control the massive banks of gas diffusion separators at Oak Ridge for the Manhattan Project. They were critical for this project because it would not have been possible to control this plant using people due to the size of the operation. At the time this was the largest industrial facility ever built. The electrical demands were so large that Oak Ridge could not obtain enough copper for the electrical runs; silver had to be borrowed from the US Treasury.

    http://www.jashaw.com/pid/description.htm

  38. Re: It's actually pretty simple by EMIce · · Score: 2

    It's actually pretty simple as most zoned commercial hvac systems do it. If any of the rooms fall below their preset temp the heating system is turned on and baffles built into the ductwork for those rooms are opened. As each room reaches it's preset temp it's baffle is shut. When all the rooms have reached their individual preset temperatures the main heating unit system turned off. I know sometimes there are problems with the system being overpressurized when too few rooms need heat, a design may need to factor in for this.

  39. Awesome software - take a look by pHDNgell · · Score: 1

    I've got a stack that I wrote and have been using for a few years without a problem...well, until 0325 this morning when a battery in one of my thermometer servers caused the machine to fail. It does a lot of cool stuff, including some cool multicast action for plug-n-play data collection and stuff. You can see some good examples here:

    http://bleu.west.spy.net/~dustin/projects/ibutton. xtp

    --
    -- The world is watching America, and America is watching TV.
  40. I was going to do something like this to ... by Ripsnorter · · Score: 1

    monitor my parents chicken shed located a long way frem thier house. I even started a source forge project to write a generic reader and writer of 1 wire devices so I could have multiple apps could read and write to the one wire network. The project stalled due to lack of time, but I think I'll pick it up again some time. The project is called owis, one wire information server, check it out if your interested. Its not real pretty tho, sorta went in the wrong direction, but I learnt abit so it wasn't a complete loss.

    Anyway you can get the sorce code to drive these dohickies from Dallas, can't rememberwhat they call it tho.

  41. Old thing, barely innovative... boring =D by Anonymous Coward · · Score: 0

    This is old thing, i made similar temp monitoring system years ago and it supports upto... well not sure but a lot more than needed, i cannot remember how many sensors parallel, tho eventually pc's COM-port couldn't give enough power prolly, even one sensor doesn't cost much, i used Digitemp to fetch temp info and had an online log running sometime ago but threw whole system away as useless...

    Never made system to control heating of house but i thought that about also, and threw it to trashbin as useless... for me =D but maybe some others find that usefull...

  42. Pretty simple optimization problem by dbrandon · · Score: 1

    We did this stuff at a place I worked called AspenTech (http://www.aspentech.com). I think the product is now called "Aspen Plus Online." When I worked on it it was called RT-Opt (Real Time Optimizer). Of course, there we were optimizing entire chemical plants -- say 3000 independant variables in a 250000 equation system. Heating a house would be a pretty trivial optimization problem. Of course Aspen's software cost, say, a quarter million US for an installation (including consulting to customize the plant model). Out of the range of most homeowners, unfortunately. There's tons of chemical engineering literature on these problems, for those interested.

  43. Re:Do this for retail food stores and you'll be ri by rat7307 · · Score: 1
    Someone who writes the code to run a computer/temp sensors/fans with a system described above, and goes into the field and installs something like this can make some good money. Businesses may be skeptical at first, but when you mention saving electricity, watch their eyes open up.

    Howd'ya think companies like Honeywell etc make money??? What you suggest ain't a new concept. They (and others) have been doing it for years...

    I know this coz what youre talkin bout...I do for a living (energy managment small to large business..)

    People can pay for systems with the money they save.... (almost cxost neutral)

    --
    Burma?
  44. CPU speed by rat7307 · · Score: 1

    What a lot of people here don't get is that you dont need a kick ass processor to do this kind of control

    Most HVAC CPU's in the real world operate with 2-5 Sec cycle times to allow for temp variations etc

    Mind you ....its not as hella cool as a kick ass CPU.......

    So get out that old 386 and turn it into your home zone controller.........

    --
    Burma?
  45. Hot or Not? by Anonymous Coward · · Score: 0

    I'm going to have to say hot!

  46. Been wanting to do this for years. by xA40D · · Score: 1
    Last time my heating's thermostat and clock died, I hade to fork out a respectable amount of cash. At the time I remember thinking that that 486DX-4 in the cellar could be an amusing solution. After all, I can handle electrical wiring, I've seen games ports used as temperature sensors, and I'm a fairly competant hack programmer

    The only problem is that I've absolutely no idea how to switch 240VAC mains with my PC. I usually do things by the seat-of-my-pants, but I don't think this would be too clever with "BIG" electricity.

    So, has anyone got some knowlege and/or experience they could pass along?

    --
    Do you mind, your karma has just run over my dogma.
    1. Re:Been wanting to do this for years. by Anonymous Coward · · Score: 0

      You might give one of these a try.

      http://www.quasarelectronics.com/3108.htm

      Tangent

    2. Re:Been wanting to do this for years. by Anonymous Coward · · Score: 0

      If you're actually interested in getting your soldering iron out... I've spent the past 9 months building a system which does all sort of marvellous things. I've reached the stage where it's 99.9% stable... I won't say it never goes wrong, but I can't remember the last time it did anymore.

      It's a mixture of custom hardware, some pre-purchased kits, and a python GUI to control it all.

      I'm trying to collect like-minded people to work on the project with me.

      If you're interested, hop over to #homeautomation on irc.openprojects.net for a chat.

      Tangent

  47. many linux users have had this for years. by Lumpy · · Score: 2

    Misterhouse the Perl home automation system has had the ability to talk to a myriad of sensors including the Dallad Semiconductor Ibutton sensors for a really really long time... Now some guy who recently discovers linux thinks of something neat-o and it get's a slashdot front page story?

    If you want to do the dampers and other things download misterhouse from misterhouse.net it's ready to go.... with a ton more capabilities.

    Home automation is starting to become a mature industry... so someone fooling with a little bit of electronics is not novel, not innovative, and not anything really special except to the braindead sheep that make up the other 50% of the population out there (I actually feel it's more like a 30-70 split.. espically when leaving a concert and the mass-morons cross the street against the light causing traffic to stop.)

    If anyone wants to do this, please do a simple search for linux + home automation on google.. you'll find a plethora of information... I also reccomend researching home automation in general.

    --
    Do not look at laser with remaining good eye.
  48. *Yawn* Here, have some Karma. by Mulletproof · · Score: 1

    News for nerds, stuff that... Nevermind.

    --
    You need a FREE iPod Nano
  49. "1-wire" bus takes 2 wires by Animats · · Score: 2
    The Dallas Semiconductor "1-wire" bus is actually 2 wires. Power and signal are on one wire, and the other wire is ground. It's usually wired as a twisted pair. You'd think from the name that the "1-wire" bus was some kind of captive RF system, but it's not.

    Thus, the Dallas SemiconductorSecret Decoder Ring does require a two-contact connection. It would be more convenient if you could just touch metal to metal and go, for door locks and such. There's a round, socket-like arrangement instead.

    Except for the deceptive name, it's a good technology.

    1. Re:"1-wire" bus takes 2 wires by Anonymous Coward · · Score: 0

      Ding... wow you win the booby prize.

      for door locks I DO just touch metal to metal.. a small indented receptor on my door handle in the house and the door unlocks..

      please think and know before you talk... it makes you look really really stupid.

      Oh wait...... Nevermind... we all know you are stupid.

    2. Re:"1-wire" bus takes 2 wires by Animats · · Score: 2

      That's probably an RF-tag system, like late-model car keys. The Dallas Semiconductor iButton has to be pressed into a mating "Blue Dot" connector. See here for a "1-button" tutorial, clearly showing the two (2) wires.

    3. Re:"1-wire" bus takes 2 wires by Anonymous Coward · · Score: 0

      The bus is only 1-wire...

      You can supply power at the other end, and not need power cables..

      Definately a 1-wire bus... I have one-bit of wire running across my desk right now.

  50. azz by Anonymous Coward · · Score: 0

    what a dumb fuck you are. hardly innovative my ass -- you stupid fucking troll.