• Please visit and share your knowledge at our sister communities:
  • If you have not, please join our official Homebrewing Facebook Group!

    Homebrewing Facebook Group

Simple Digital Brew Thermometer with Control Out

Homebrew Talk

Help Support Homebrew Talk:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

rosienej

Well-Known Member
Joined
May 18, 2011
Messages
177
Reaction score
2
Location
Colchester
This thread is to document the build of a Digital Brew Thermometer.

Abstract:

I want a digital thermometer which can stand up to the demands of brewing.

Features:
1) Stainless steel construction
2) Battery powered and self contained.
3) Should be able to output 5 Volt control signals to turn on/off Solid State Relays
4) Alarm output

Current Design.

Mechanical:
1/4 Stainless Steel Cap. (McMaster Carr)
1/4 24 inch stainless steel pipe threaded both ends

Sensor
1) Analog Devices TMP03 MEMS based sensor (150 degree C max temp)

Processor+ display
ATXMEGAA3BU-XPLD evaluation board (Mouser has these).

We will provide all of the code open source for non-profit use.

Please suggest features. I figure we need to be able to
1) set some target temps and dwell times,
2) 10 steps....
3) Identify the Action when a target temp is reached (Turn on output 1, set alarm etc...)

I have the parts coming in, and I have built two of the sensors, I will post pictures...

What do you think?

Joel
 
Here is the vision

BrewMeter.jpg
 
so you want a stand alone stainless steel PID?

I love the idea of a ready made thermometer capable of controlling SSRs but wouldn't the battery have to be substantial in order to do so over a long period of time, unless it was something you recharged after every brew?

I suppose you could integrate a rechargeable within the housing that gets trickle charged from the USB during usage.

Are the ebay temp controllers able to be powered via USB? perhaps a housing around one of those might work - can't remember if the can do SSRs or not.

I am interested in seeing how this develops.
 
so you want a stand alone stainless steel PID?

I love the idea of a ready made thermometer capable of controlling SSRs but wouldn't the battery have to be substantial in order to do so over a long period of time, unless it was something you recharged after every brew?

I suppose you could integrate a rechargeable within the housing that gets trickle charged from the USB during usage.

Are the ebay temp controllers able to be powered via USB? perhaps a housing around one of those might work - can't remember if the can do SSRs or not.

I am interested in seeing how this develops.


I pulled a datasheet from opto22 and I get 3 volt operation draws 2 ma's, if I use 750ma/hr AA batteries (eneloops are 1.9Ahr) The TMP03 draws 1ma, and the processor is the biggest load.

I should be able to control multiple 3 hour mash cycles.
 
USB provides 5V, which would definitely be advantageous...

Yes, I could put in a charge circuit for the batteries if it is plugged in to USB.

I was thinking USB for the data-logging, but I could throw in a WiFi module, bluetooth or zigbee. The advantage would be no wires!!
 
Here is a diagram of the basic system components. I am thinking of adding a XBee Wi-Fi Module so I can monitor the temps on any WiFi Enabled device (iPod, Android etc)...

Thoughts?

Joel

BrewMeter2.jpg
 
A4J said:
I would pay for this!

You can. You either know how to do it, or wait and see how he does it, and then buy the parts.

He also said he'd make his code freely available for personal use, so relax ;)
 
You can. You either know how to do it, or wait and see how he does it, and then buy the parts.

He also said he'd make his code freely available for personal use, so relax ;)

I am making sure all of the parts are off the shelf. Only basic tools will be required.

The hardest part will be finding a good looking water-proof case.

The electronics are on order, should be here soon.

Joel
 
For those who would like wireless temp. Monitoring with little or no custom software/hardware development. I will also show the following build.

1) MSP430 eZ430-RF2500 (Complete RF link to USB with temp demonstration software

2) Analog Devices Low Voltage Temp Sensor.

Parts on Order, when I get the parts I will do this build as well.

Pros: No case design at all.... should be all in one of the Home Debit stores
Cons: No Display on the sensor end, Need a USB port on the other end.

Rational: Have all the parts, and we can.
 
Here is the "Headless" version based on the TI MSP430 eZ430-RF2500 and a Analog Devices TMP35 [Not shown is the standoff on the bottom of the probe (I will strap a piece of wood to the probe with a hose clamp). For direct fired setups we need to keep the probe off the bottom, since the TMP35 (and TMP03) have a max temp of 150 degrees C.]

It will be a quick build while I am waiting on the parts for the LCD display version.

Joel

Headless1.jpg


Headless2.jpg
 
The XMEGA-A3BU Xplained is in....

Considering slight redesign, if I go with a ADC TMP35/TMP36 instead of the TMP03 (requires 5 Volts), I can get ride of a separate regulator if we can tolerate 3.3V switching of the Solid State Relays.

Also, I think I can power the XBEE WiFi Module without a separate regulator.

The NCP1117LPST33T3G regulator on the demo board is rated at 1Amp, and the XBEE needs 260mA transmitting.


Weekend looks like it will be busy...

Joel
 
I put the ez430-RF2500 remote sensor in the PVC enclosure and I get approximately 20 feet range to the PC with no change to the PVC enclosure

I can always cut holes by the "chip" antenna and use some RF transparent tape... good enough for initial testing.

-Joel

FirstTest.jpg
 
The first image is the internals for the Headless, eZ430-RF2500 unit.

1) I am planning on using 4 AAA Batteries
2) Switch Power on switch is mounted on the top of the unit
3) Since I am using eneloop batteries, will have 4.8 volts nominal, so I am throwing in a 3.3 Regulator + cap (sorry), but it will make things more reliable.

The second image is the full-up WiFi unit with a simple step controller.

Things to do
1) Flip around the headers to the back, so I can close mount the unit to some clear plastic...
2) Pick up the XBee and mount the mess by the 4 AA batteries on the back.
3) Still debating if I need 3.3V Reg for the XBee and sensor.... hope not, might add later.

InternalsHeadless.jpg


InternalsSansWifi.jpg
 
Alternately... I have been thinking about a similar control option for a Fermentation vessel. Something that would plug thru a Carboy Cap with the 2 ports, or could be stabbed thru a drilled stopper. Whatever could be sealed. just a small narrow probe, with 2 wires. That could be wired to electronics such as you mention. I envisioned a cane shaped averaging probe that could measure the fermenting liquid. Or in the case of a mash bucket, hung on the sides (the reason for the cane).
 
Alternately... I have been thinking about a similar control option for a Fermentation vessel. Something that would plug thru a Carboy Cap with the 2 ports, or could be stabbed thru a drilled stopper. Whatever could be sealed. just a small narrow probe, with 2 wires. That could be wired to electronics such as you mention. I envisioned a cane shaped averaging probe that could measure the fermenting liquid. Or in the case of a mash bucket, hung on the sides (the reason for the cane).

Good idea.
 
The image shows the internals of the "Headless" brewmeter.

I used two AAA battery holders, wired in series with a piece of plastic in the middle which extends above the holders on which the ez430-RF2500 is mounted using some Velcro or sticky tape.

I forgot to grab some 3.3Volt regulators so this part of the build will finish up on Monday.

I downloaded all of the tools from TI and the example project. Looks like we need to change two lines of code to finish the project.

I love it when I don't have to think !!

:)

Guts.jpg
 
1) ez430-RF2500, $50.00 + shipping from digikey
2) Pipes + Enclosure (Copper + PVC $20.00, Stainless +pvc $35.00
3) Sensor+Supporting electronics, $20.00

So I am in it for $105.00. Not cheap, but for a one-off....


Joel
 
Step 1: Put on the 0.1uF bypass cap on the wires, and the series resistor as in the datasheet. I find using 0.100 square post fit the TO-93 leads well.

Step 2: Put on the heat shrink

Step 3: Put on the sensor Check the datasheet, but when viewed from the bottom with the flat side up, +V, Sensor Out, Gnd

Step 4: Put on heat shrink to secure the sensor and the wires

Step 5: Put in Pipe

Step1 Componets.jpg


Step2 Shrink.jpg


Step3 Sensor.jpg


Step4 Shrink.jpg


Step5 Put In Pipe.jpg
 
Step 6: Fill the cap with Silicone
Step 6a: Example of another sensor I pulled out of a pipe with the silicone (dried) on the sensor

Step 7: Put on the cap.

Step6 Fill Cap With Silicone.jpg


Step6a Different Sensor Ex.jpg


Step7 Capit.jpg
 
This is the documentation

http://www.ti.com/lit/ug/slau144i/slau144i.pdf

Here are the CORRECT changes.

OLD Line 223: ADC10CTL1 = INCH_10 + ADC10DIV_4;
Change to
OLD Line 223: ADC10CTL1 = ADC10DIV_4;

LINE 255 Change to:
ADC10CTL0 = SREF_1 + ADC10SHT_3 + REFON + ADC10ON + ADC10IE + ADC10SR + REF2_5V;

Add after Line 225 a new line to select the external pin
ADC10AE0 |= 0x01

And change the formula to (Line 255) from
OLD LINE 255: degC = ((temp - 673) * 4230) / 1024;
to
NEW LINE 255: degC = (temp*2500)/1024;

Had to change 3 Lines and add one :)
 
You should use one of the Chronos kits for your user interface to the headless version. I have one sitting on my desk in the "to be tinkered with" stack, and it gives you a lot of options.

I was originally headed down this path for controlling my brewery. I even had some pic-based boards made up for temp control (16x2 LCD, heating and cooling circuits, knobs for setpoint control, etc), but at the last minutes I was able to scrounge up some hardware from work to be able to put a legitimate off-the-shelf industrial controller in it. Regardless, it would be really cool to be able to use your watch to get updates from the brewery and control things.

As a bit of a side note though, I really like the TI microcontrollers. They did a great job of putting together simple examples that you can use to get 90% of the way on the first steps of your projects. The development software is free, the starter programming kit is between $5 and $50 depending on what bells and whistles you want, and it makes a really good starting point for embedded projects.

http://processors.wiki.ti.com/index.php/MSP430_LaunchPad_(MSP-EXP430G2)
 
You should use one of the Chronos kits for your user interface to the headless version. I have one sitting on my desk in the "to be tinkered with" stack, and it gives you a lot of options.

I was originally headed down this path for controlling my brewery. I even had some pic-based boards made up for temp control (16x2 LCD, heating and cooling circuits, knobs for setpoint control, etc), but at the last minutes I was able to scrounge up some hardware from work to be able to put a legitimate off-the-shelf industrial controller in it. Regardless, it would be really cool to be able to use your watch to get updates from the brewery and control things.

As a bit of a side note though, I really like the TI microcontrollers. They did a great job of putting together simple examples that you can use to get 90% of the way on the first steps of your projects. The development software is free, the starter programming kit is between $5 and $50 depending on what bells and whistles you want, and it makes a really good starting point for embedded projects.

http://processors.wiki.ti.com/index.php/MSP430_LaunchPad_(MSP-EXP430G2)

Good idea on the watch... I will check into it.
 
Back
Top