PDA

View Full Version : Temp Control and Data Logging



Pages : [1] 2

Kirk Keyes
01-08-2009, 03:23 PM
In another thread, the question of temp control and measurement came up.

I'm curious about approaches people have been using for controlling temperatures during emulsion making, and if anyone has tried to data log the temp readings so that one has a good record of the temperatures and times during the process.

I guess I should start - I've got a Corning PC-420 stirring hotplate and the temp controller probe that you can get for it. I find the temp controller to be a bit tricky to figure out what it's doing sometimes, it's not as smart as one could wish for. But then it's just a hotplate, not a computer... So I find that I have to set the temp on the controller lower than what I want, and let it heat up to below what I want, and then make smaller adjustments to get the temp where I want it, otherwise, it will overshoot the temp I'm trying to get to. Once I figured out that approach, it does a pretty good job of holding the temp where I want.

For data logging temps, I have not done anything fancy, just a pad of paper that I write what I do on it. I also record the time and temp if I think I need to or if it is changing. For time, I have a digital clock that I start at 12:00:00 when I begin the run and then all the times are easy to compare to each other and easy to record.

I know there are some pretty inexpensive digital thermometers with data loggers that are sold for use in high schools and other amatuer projects, and it seems like it would be cool to get something like that.

And for head control, is anyone using a heating mantle or heater tape to heat stuff up with?

Photo Engineer
01-08-2009, 03:33 PM
Well, to be a purist Kirk, the ramp rate in degrees / minute is critical as well as other factors, so data logging is indeed useful, but these emulsions, at these scales, work just fine and are repeatable.

The ISO 40 emulsion has a bit of a problem when scaled very large, as the temperature changes involved change the ramp rate due to volume and this changes the digestion rate. I get a more polydisperse emulsion and less Iodide is churned to the top.

PE

Kirk Keyes
01-08-2009, 03:44 PM
That was a quick reply - certainly, data logging is not necessarily something needed, but it seems like it would be a useful think, when one gets more advanced in this field. But I'm just wondering if...

Lee L
01-08-2009, 03:44 PM
I don't know if you're looking for an off the shelf solution to temp data logging, or if you want to DIY to some degree. I just got one of these for Christmas http://www.adafruit.com/index.php?main_page=product_info&products_id=68 and it would be a good starting point for rolling your own. It's very flexible and not too steep a learning curve, and it will take single wire probes, control X-10 systems, and interface with Python, Processing, and many other languages for logging data over a serial or serial-USB port. You can get a card reader interface to log to a file on an on-board flash card. I've already made a lightning trigger for an electronic cable release. Search in google for arduino for other ideas and tutorials. The board and all associated software are open source, runs on Mac, Windows, Linux/Unix. Basic unit is about $30.

Lee

rmazzullo
01-08-2009, 04:05 PM
Lee,

Thanks for the link...this is more in line with what I am planning.

Kirk,

I found heater tape that is fairly inexpensive, and is available indifferent widths and lengths. I was considering using a deep pan of fine sand to hold the containers of solutions, and submerge the heating tape and thermocouples at different points in the pan to adjust and monitor temps. The only advantage there is that the tape and probes are held in place by the sand. The idea might be good for doing temperature critical film processing, etc., but not for this. I have a different setup in mind.

Bob M.

optique
01-08-2009, 04:33 PM
Lee,

I about fell out of my chair when I say you write "Arduino".

I spent a lot of time on Arduino and other microcontrollers which I find a million uses for.

Data and temp logging is probably the most common application that people write, and the OP could quickly put this together.

For me, however, I finally made up my mind that I can not do both hobbies simultaneously, micro development and photography, so I chose photography.
Steve.



I don't know if you're looking for an off the shelf solution to temp data logging, or if you want to DIY to some degree. I just got one of these for Christmas http://www.adafruit.com/index.php?main_page=product_info&products_id=68 and it would be a good starting point for rolling your own. It's very flexible and not too steep a learning curve, and it will take single wire probes, control X-10 systems, and interface with Python, Processing, and many other languages for logging data over a serial or serial-USB port. You can get a card reader interface to log to a file on an on-board flash card. I've already made a lightning trigger for an electronic cable release. Search in google for arduino for other ideas and tutorials. The board and all associated software are open source, runs on Mac, Windows, Linux/Unix. Basic unit is about $30.

Lee

Lee L
01-08-2009, 04:53 PM
Lee,
I about fell out of my chair when I say you write "Arduino".
<snip>
For me, however, I finally made up my mind that I can not do both hobbies simultaneously, micro development and photography, so I chose photography.
Steve.
Steve,

Yeah, it's hard to fit in all my interests, so I try to tie them together when I can.

While you're out of your chair, I grew up in Baytown. :)

Lee

optique
01-08-2009, 05:25 PM
Lee,

Cool. We lived close by.
Small world.
Steve.

totalamateur
01-08-2009, 05:42 PM
Wouldn't a thermocouple and an ADC work? I'm not big into this sort of thing, but I know you can buy the little bi-metal sensors that attach to some volt meters pretty cheap, it seems like you could just plug it into an ADC and calibrate it w/ freezing or boiling water.

It's been a while since I've played with one of these but the last one I remember had a serial port hook - up with software included.

Anyhoo.

BTW im in houston too. Trippy.

Photo Engineer
01-08-2009, 06:37 PM
Kirk;

If you wish to see a datalog, I have included it in the files I sent you after the Workshop. It includes flow rates, vAg and temperature datalogs for a hypothetical emulsion. It will be in the book. This run time data is critical to documentation of all Kodak emulsions.

PE

Kirk Keyes
01-08-2009, 06:51 PM
I remember that graph, the infamous one that got a whole thread deleted last year or so...

But that's kind of the way that I think would be cool to go. Temp logging is much easier than getting a pAg electrode running though.

You Houston guys should get an emulsion get-together going this summer and see what happens.

Photo Engineer
01-08-2009, 07:29 PM
Yes, well, the graph was deleted but it will be in the book.

I guess there might be parts of that left hanging around.

PE

Kirk Keyes
01-09-2009, 01:20 AM
I'm glad that graph will be more exposure, I've got it in Bruce Kahn's hand-out. It is quite interesting.

Nicholas Lindan
01-09-2009, 08:39 AM
Wouldn't a thermocouple and an ADC work?


If you want to use a thermocouple you will also need a 'cold junction compensation' RTD (resistance temperature device or some other GDA). You will need an amplifier because a thermocouple will only put out a few tens of microvolts; the voltage developed is equal to the temperature difference at the two ends of the thermocouple wire, figure 40 - 60 uV/C depending on the thermocouple you choose.

One RTD can service multiple thermocouples if the terminal block where they are terminated is the same temperature all across.

Googling will bring up many examples. The processor used in the Adowhatsis board is an Atmel AVR ATMega chip. There is lots of information on the AVR available at 'AVR Freaks'.

rmazzullo
01-09-2009, 09:46 AM
Hello Nicholas,

Can you please tell me what GDA stands for?

Thanks,

Bob M.

Kirk Keyes
01-09-2009, 11:47 AM
Can you guys give more info on the Arduino and how it compares with other devices, like the BASIC Stamp? Easier, cheaper, more flexible?

Photo Engineer
01-09-2009, 12:09 PM
Burr Brown makes a card that fits a PC slot and is covered with A/D and D/A converters. Between that and a USB, a lot of lab work can be done.

PE

domaz
01-09-2009, 12:49 PM
Arduino is way cheaper than the BASIC stamp (last time I checked) and I find it much easier to program, coming from a C/C++/C# background. SparkFun Electronics (http://www.sparkfun.com) has about the best collection of Arduino boards (there are many) I've seen. They also have lots of other cool sensors and stuff for electronics projects, although no good temperature sensors unfortunately.

Lee L
01-09-2009, 01:30 PM
Kirk,

I haven't used a Basic Stamp, so can't comment on them knowledgeably, and I'm just getting started with the Arduino.

I only found Burr Brown cards on ebay with a quick search, both ISA cards, one with 8 bits resolution and one with 32 bits. The 8 bit version had 16 IO lines. These would both have to remain hardwired to the computer. On ebay they were $200 - $400 used with no cables or software. Someone else will know a lot more than I on that score, and possibly have a better source.

The latest Arduino board basics are here: http://arduino.cc/en/Main/ArduinoBoardDuemilanove

6 analog inputs with 10 bit resolution
16 digital IO pins, 6 of them with PWM output
power 7-12 volts autoswitched to highest voltage input from USB port or standard coaxial DC plug (batteries or AC adapter).

If it matters to you, the Arduino is cross platform (Microsoft, Mac, Linux, Unix), hardware and software open source and licensed to be free (as in no charge for the software, you can modify it, pass it along with mods, and it can't be put under restrictive licenses in the future, and the board layout can be modified and produced by anyone without restrictions). The Arduino IDE is the same interface compiled for the different platforms. There are lots of libraries included with and available for the Arduino to make it easy to program a number of devices.

AFAIK, Basic Stamp is Parallax and a couple of clones. Their software is mostly (all?) free of charge, but more restrictively licensed, and may only be for Microsoft OS. I think there are third party IDE's for Basic Stamp under Linux that Parallax doesn't do support for. You can check the Parallax site to find out for sure. http://www.parallax.com/tabid/121/default.aspx

There is a lot of online support for both Arduino and Basic Stamp. I've found a number of online tutorials for Arduino. (I'm sure the same must be true of Basic Stamp.) I've seen articles in Make and Linux Format magazines on the Arduino, and I believe Nuts and Volts has also had some Arduino articles.

And Arduino is Java like programming while the Basic Stamp is like BASIC. Parallax also has an SX setup that's Java.

Lee

Kirk Keyes
01-09-2009, 02:31 PM
OK - here's a simple temp sensor setup with the Arduino:
http://webzone.k3.mah.se/projects/arduino-workshop/projects/arduino_meets_processing/instructions/ntc.html