Author Topic: Temp sensor to turn on a circuit  (Read 886 times)

0 Members and 1 Guest are viewing this topic.

Offline shaiss

  • Contributor
  • Posts: 12
  • Country: us
Temp sensor to turn on a circuit
« on: August 31, 2016, 07:24:25 pm »
I'm building a 3d printer with dual extruders and two separate fans.  Both are run to the same 12v pmw pins on the ramps Arduino board.  However, I'd like to wire a "thermal switch" inline with the 2nd fan.  This switch would turn on when the thermistor on the 2nd hotend exceeds ~100°c roughly. 

Could I use the thermistor that's used on the hotend as the temp sensor?
What logic ICS or something else would I need to buy to turn on above a certain temp?
How would the min temp be set? Resistors/capacitors?
Any rough sketch of a circuit would help and be greatly appreciated. 

I can attempt to mock something up in eaglecad or another ecad tool if that helps.

Offline alexanderbrevig

  • Frequent Contributor
  • **
  • Posts: 590
  • Country: no
  • Musician, programmer and EE hobbyist
Re: Temp sensor to turn on a circuit
« Reply #1 on: August 31, 2016, 07:42:47 pm »
You can use an opamp as a comparator. Use a voltage divider on both inputs. One is fixed a the threshold, the other varies with the thermistor. Should be plenty references on google :)

Offline Signal32

  • Regular Contributor
  • *
  • Posts: 234
  • Country: us
Re: Temp sensor to turn on a circuit
« Reply #2 on: August 31, 2016, 08:10:14 pm »
you could use an analog pin on the arduino to read the voltage across the thermister and figure out the temperature in code.
Then use another pin on the arduino to turn on/off the fan.
No extra logic IC's.

As alexanderbrevig suggested, you could also do something like this:
The following users thanked this post: alexanderbrevig

Offline Ice-Tea

  • Super Contributor
  • ***
  • Posts: 1789
  • Country: be
    • Freelance Hardware Engineer
Re: Temp sensor to turn on a circuit
« Reply #3 on: August 31, 2016, 08:20:08 pm »

Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo