Arduino temp probe K type or RTD ??? | HomeBrewTalk.com - Beer, Wine, Mead, & Cider Brewing Discussion Community.

Homebrew Talk

Help Support Homebrew Talk by donating:

  1. Dismiss Notice
  2. We have a new forum and it needs your help! Homebrewing Deals is a forum to post whatever deals and specials you find that other homebrewers might value! Includes coupon layering, Craigslist finds, eBay finds, Amazon specials, etc.
    Dismiss Notice

Arduino temp probe K type or RTD ???

Discussion in 'Brew Stands' started by resslerk, Apr 2, 2010.

 

  1. #1
    resslerk

    Well-Known Member

    Posted Apr 2, 2010
    Can some people with experience please way in on whether or not it is better to use K type or RTD temp probes with your arduino? And how you wired yours up and how it works would be appreciated too. Thanks. I'm planning on buying one of the above types from Auber, but can't decide which is better.
     
  2. #2
    kladue

    Senior Member  

    Posted Apr 2, 2010
    While the Arduino like the BrewTroller is a worthy platform, it will not directly interface with either type K or RTD probes. Here is where you should look for a probe for your application under temperature probes for brewtroller, http://www.brewershardware.com/Temperature-Sensors/
     
  3. #3
    CodeRage

    Death by Magumba!

    Posted Apr 3, 2010
    I have some prototype copper coming in for a three channel TC K and and a three channel RTD module. This will allow the Arduino/Brewtroller platforms more options for temp probes. I'll make a post when I get them in and tested.
     
  4. #4
    diatonic

    Well-Known Member

    Posted Apr 3, 2010
    Please do. I'd love to be able to use my existing RTDs if I decide to move to the BrewTroller.
     
  5. #5
    CodeRage

    Death by Magumba!

    Posted Apr 3, 2010
    Yeah, I was in the same boat and thats why I designed the RTD modules. figured some folks with TCs would like to play too so I made one for that.
     
  6. #6
    drawks

    New Member

    Posted Apr 3, 2010
    Awesome! I've been amassing a ton of samples from several IC vendors looking for the right combination of signal conditioners, reference voltage controllers, and ADCs to build such a beast. If you come up with something simple and cheap I'd be excited to see/use it.
     
  7. #7
    kladue

    Senior Member  

    Posted Apr 3, 2010
    Anybody thought about building boards for the 1 wire analog I/O chips to interface with the Arduino board, possibly one with analog output capability.
     
  8. #8
    CodeRage

    Death by Magumba!

    Posted Apr 3, 2010
    That's what these are, No analog output though. You looking for something 0-5v/4-20ma?
     
  9. #9
    kladue

    Senior Member  

    Posted Apr 3, 2010
    I have nearly completed what I can do for the automated system remotely, and am looking for another project to take up the spare time while in Arizona. Looking ahead for simpler automation platform that could output 0-10volts for proportional control, and interface with other types of analog sensors. Seems to be a gap between the Arduino capabilities and the needs for an advanced control platform with analog control capabilities without going to PLC hardware.
     
  10. #10
    Zaphod

    Well-Known Member

    Posted Apr 5, 2010
  11. #11
    CodeRage

    Death by Magumba!

    Posted Apr 5, 2010
  12. #12
    Ethos

    Member

    Posted Apr 5, 2010
    I'm using the DS18B20 in my fermentation monitor and I am very happy with it. You can read a rundown on how I am using it here, although it is still a work in progress. I should have source code for both the Arduino and a C# application that logs/displays the results up there soon. I just need to clean it up a bit first.
     
  13. #13
    CodeRage

    Death by Magumba!

    Posted Apr 22, 2010
    PCBs should be here in a week and components are on their way.
     
  14. #14
    rca

    Well-Known Member

    Posted Apr 22, 2010
    Very cool, keep us posted. And we need pictures, lol.

    Ron
     
  15. #15
    CodeRage

    Death by Magumba!

    Posted May 6, 2010
    Here they are built up.
    The OneWire communications are reporting. Haven't tested to see if they actually measure anything yet.

    DSCF3272.jpg
     
  16. #16
    beerrepository

    Well-Known Member

    Posted Sep 9, 2010
    Is that one of the heat shielded thermowell's from Brewers Hardware? Do you just have one of the one wire therms tucked in? I have three of the DS18S20 on the way from Digikey and I am trying to figure out how I could incorporate it into a kettle and run it to my arduino.
     
  17. #17
    bblack7489

    Well-Known Member

    Posted Sep 10, 2010
    If you're willing to do a little work, there are a bagillion options out there for temperature probes that will interface to an ardrunio. A lot of the chip manufacturers will actually send you samples of them if you ask.

    In general I think it's a smart idea to have digital signals running between your arduino and whatever sensor you're using. They'll be less susceptible to noise than an analog value would be, which will make a lot of difference if you have a pump and / or an electric heating element.

    If you're specifically interested in interfacing with a thermocouple, I would suggest the MAX6674 (or MAX6675 - it has larger range but less accuracy). There's a good writeup of the arduino software here:
    http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1230859336

    You can also get samples of the chips from Maxim:
    http://www.maxim-ic.com/datasheet/index.mvp/id/3194
    http://www.maxim-ic.com/datasheet/index.mvp/id/3149

    The chips only require one external component (a 0.1uF capacitor to filter the supply voltage) and do all of the cold-junciton compensation, amplification, A to D conversion, etc. They output the temperature in C as a 10 or 12-bit number over a SPI connection.

    If you want to tinker a little, I would definitely suggest giving them a shot. It looks like one of the authors in that thread also has breakout boards available on his website for these chips.
     
  18. #18
    beerrepository

    Well-Known Member

    Posted Sep 11, 2010
    Got my DS18S20s in. Hooked them up, got the Arduino to find and read from two NICs on one data line, which is pretty sweet. I also wrote a script in Processing that could read the data streaming off the Arduino and output it to the sketch.

    I also tested having a LED turn on when the thermometer hit a certain temperature, worked like a charm. Now I need to find a relay that the Arduino's 5v supply can trigger and control 240V AC. Anyone have any suggestions?
     
  19. #19
    CodeRage

    Death by Magumba!

    Posted Sep 13, 2010
    No, those are type K thermocouples I was using for testing. The easy thing to do would be to drive a NPN transistor with the Arduino and then use the transistor to do low side switch on the SSR or a DC coil mechanical relay. If you do use a mechanical relay you will need to put a blocking diode across the coil to prevent the inductive kick from cooking the transistor and other components when the relay switches.
     
  20. #20
    CodeRage

    Death by Magumba!

    Posted Sep 13, 2010
    Back to the topic, I finally have had some time to sit down and work out the issues in my RTD circuit. I am happy to say that it is now pretty precise and tuned to work in the 0-100C range we need. I'll be ordering the final revision of copper tomorrow.
     
  21. #21
    bmorgan

    Member

    Posted Sep 13, 2010
  22. #22
    gromitdj

    Well-Known Member

    Posted Sep 13, 2010
    How about a build thread? I've seen you post it in a couple of threads, and would be interested to see how you put it together. I'd also like to compare the code to Mine.
     
  23. #23
    bmorgan

    Member

    Posted Sep 14, 2010
    Here is mine currently. I am just waiting for stand-offs to mount the LCD. Oh yeah, and the refrigerator. I ordered it from Home Everything nearly a month ago. I called about the delay and was told they, 'wait until they have a full truck so they can give free shipping.'

    I used an ESawdust Arduino crib case and cut a hole for the LCD.

    I chose the FreeTronics TwentyTen Arduino since I needed so few components I didn't want to add a shield. It has its own, small prototyping area.

    The only components on the Arduino are 4 connectors: LCD, temp sensor, SSR signal and 10k pot (for setting the desired temp) and a resistor for the DS18B20.

    I jammed a blue LED under the RJ11 connector in the AC box so it will glow when the fridge is on. Weee.

    Here is the schematic. I couldn't find an Eagle library that had a working DS18B20 so I subbed a transistor.

    Edit: When I followed your link it displayed hardware and I forgot you wanted to compare code
     
  24. #24
    bmorgan

    Member

    Posted Sep 25, 2010
    Image of final product, for posterity
    [​IMG]

    I used a 20x32 sheet of acrylic glass from Home Depot painted black on the back. It was about $12. Drilled a hole in the back at the very top, in the center for the temp probe wire.
     
  25. #25
    EFaden

    Well-Known Member

    Posted Oct 26, 2010
    Bumping... CodeRage... Did you ever finish this? Got a writeup? Thanks.

    -Eric
     
  26. #26
    fc36

    Well-Known Member

    Posted Jan 28, 2013
    Just bought an Uno with a couple Dallas sensors. I'm looking to replace 10 PIDs for work and eventually get it to work for my new brew rig too.
     
Draft saved Draft deleted

Share This Page

Group Builder