Incompatible browser

The Public Laboratory website will not render correctly in Internet Explorer 6 or earlier. To view it properly, please use an up-to-date browser, such as Firefox, Chrome, or another standards-compliant browser. It's a good idea to upgrade anyways -- olderversions of IE pose a security risk for your computer.

Thermal Torch with Adjustable Temperature Scale

This is an extension I have developed of the basic thermal torch / thermal photography project - http://publiclaboratory.org/tool/thermal-photography

What it does is measures the temperature (degrees Celsius) of an object using the infrared thermometer, map that temperature onto a sinebow colour wheel (300 degrees to -30 degree), then change the output to the RGB LED as appropriate. The maximum and minimum temperatures for the colour scale is adjustable using switches between two values that are set in the code. This means that the temperature scale can be set for four different temperature scales without having to recode / upload to the Arduino Uno board.

The circuit based on the one shown at - http://publiclaboratory.org/notes/warren/12-12-2011/circuit-diagram-simp... I have added three switches to this circuit and written some slightly different code. All temperatures in this code are in degrees Celsius.

This colour scale for the temperatures is based on the sinebow colour wheel, which is discussed here http://basecase.org/env/on-rainbows

The code requires you to specify the two minimum and two maximum temperatures for the temperature scale to work between. The selected temperature scale then maps the measured temperature onto the colour wheel from 300o to -30o, which equates to purple to pink.

Over the LED I place a Cree LED 45o collimator lens, which helps to disperse the distinct red, green and blue colours that you otherwise get. The 5mm RGB LED fits into the base of the lens, but has to be glued into place.

This is an extension / variation of the code I initially posted http://publiclaboratory.org/notes/drdbw/3-27-2012/thermal-torch-code which will work on the basic torch circuit.

Code:

Login or register to tag items

Comments

dr_dbw's picture

Going to have to wait a day or so before can do more, as I managed to short out the IR sensor while transferring things over to a small circuit board.

D'oh!!

And I have now found the diagram software you are using to make the nice circuit diagrams, so will shortly be able to do a bit better than the simple hack job of did of Jeff's original circuit.

Sara's picture

This is really fantastic! Could you post some pictures of what the board and dials look like?

dr_dbw's picture

Will do.

I have actually further modified it and the code to have two modes, the adjustable temperature scales as noted above, or dynamic temperature scales. The latter automatically changes the upper and lower limits on the temperature scale based on the maximum and minimum temperatures encountered since it was turned on. That way, you can get it to use the full colour scale in every situation. Of course, it does mean that the colour - temperature match up is always different, but that isn't an issue for the manner in which I use it.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • Link to content with [[some text]], where "some text" is the title of existing content or the title of a new piece of content to create. You can also link text to a different title by using [[link to this title|show this text]]. Link to outside URLs with [[http://www.example.com|some text]], or even [[http://www.example.com]].

More information about formatting options

To prevent automated spam submissions leave this field empty.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.