linear1 forums
[part of the linear1 network]
+ [linear1 case mods]
+ [LED Center]
+ [privacy policy]
Welcome, Guest. Please login or register.
March 20, 2010, 05:59:22 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Login Register

linear1 forums  |  LED discussion  |  Electronics discussion  |  Topic: Temperature Comparator/Display « previous next »
Pages: [1] Print
Author Topic: Temperature Comparator/Display  (Read 1163 times)
WayneVT
Strong like bull
*
Offline Offline

Posts: 2


« on: August 31, 2006, 07:56:09 PM »

I'm a little new here, but read your post on Yoshi (from last year) about a temperature display that would sequentially light up as temperatures rose. I am working on a similar problem. I am looking to build a simple comparator to display one LED if the temperature is over X degrees, and also light it up if it falls below Y degrees. I want to have a second light that lights whenever the first is off. I figure I need two comparators (I'll be using an LM339), but I can't figure out how to connect the outputs to get the LED logic I want. Any help?

Thanks.
Wayne
Logged
Rob
LED guy
Administrator
Smart like tractor
*****
Offline Offline

Posts: 1970


The constant-current gardener


WWW
« Reply #1 on: August 31, 2006, 10:34:39 PM »

Welcome to the boards Wayne.

Check out this thread: http://forums.linear1.org/index.php/topic,828.0.html

and if you still have questions, holler up. There's even a diagram in there by JustDIY.
Logged

WayneVT
Strong like bull
*
Offline Offline

Posts: 2


« Reply #2 on: September 01, 2006, 03:29:11 AM »

Thanks, that link was very helpful. I'm sorry, though, that I don't understand how you "swap the setpoints". Does that mean to reverse the two LED's? I know it must be pretty trivial, but I would appreciate that last bit of clarification.

Thanks,
Wayne
Logged
cpemma
Global Moderator
Smart like tractor
*****
Offline Offline

Posts: 122



WWW
« Reply #3 on: September 01, 2006, 08:00:41 AM »

I'm a little new here, but read your post on Yoshi (from last year) about a temperature display that would sequentially light up as temperatures rose. I am working on a similar problem. I am looking to build a simple comparator to display one LED if the temperature is over X degrees, and also light it up if it falls below Y degrees. I want to have a second light that lights whenever the first is off. I figure I need two comparators (I'll be using an LM339), but I can't figure out how to connect the outputs to get the LED logic I want.

Rather than use a true comparator, use an op-amp as a comparator. LM358 is a cheap common dual. If the voltage on the + (non-inverting) input is greater than that on the - (inverting) input the output goes high, otherwise it's low. (A true comparator's output  is low or floating) Then you can put LED A - Resistor A -junction - Resistor B - LED B in series across the supply, with the junction to the opamp output.

On bargraph thermometers, I came across this 20-LED thermometer recently using cascaded LM3914 bargraph chips.
Logged
justDIY
Microcontroller Madman
Administrator
Smart like tractor
*****
Offline Offline

Posts: 1652


UFOric


WWW
« Reply #4 on: September 01, 2006, 08:38:06 AM »

Thanks, that link was very helpful. I'm sorry, though, that I don't understand how you "swap the setpoints". Does that mean to reverse the two LED's? I know it must be pretty trivial, but I would appreciate that last bit of clarification.

what Rob meant by swap the setpoints was instead of having one led turn on after a certain point, have the other led turn off .... this allows a range where both leds are on, instead of one or the other.   That bit was specific to my application as a "volt meter", however, your temperature display will essetially be the same thing... throw is thermister in series with VR3 and you'll have yourself a thermometer.

Build it up on a breadboard and experiment, I think you'll be able to adapt that circuit fairly easy.
Logged

Want to contact me directly? gmail gordonthree
My Project Blog - http://projects.dimension-x.net

Favorite numbers:
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Rob
LED guy
Administrator
Smart like tractor
*****
Offline Offline

Posts: 1970


The constant-current gardener


WWW
« Reply #5 on: September 01, 2006, 12:14:42 PM »

Thanks, that link was very helpful. I'm sorry, though, that I don't understand how you "swap the setpoints".

Yeah, that was just directed at how to get the yellow light to come on in that specific case, nothing for you to worry over.

I agree, get the breadboard out!
Logged

Pages: [1] Print 
linear1 forums  |  LED discussion  |  Electronics discussion  |  Topic: Temperature Comparator/Display « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.153 seconds with 20 queries.