Feasibility of a temperature gauge

Hi, I relatively new to programming and am just wondering what the best way would be to make a real-time temperature gauge using a DS18B20 and a servo,

Thanks for taking the time to read this and any assistance would be much appreciated,

Cheers,

John

What was your investment in finding an answer to your question?

Here's mine:

http://playground.arduino.cc/

http://playground.arduino.cc/Learning/OneWire

http://playground.arduino.cc/ComponentLib/Servo

Yeah, I've looked through all the normal sources and spent hours searching around and trying but cannot find anything that uses it as a gauge, only a valve that opens at a certain temperature and I'm not skilled enough to complete the coding involved but thanks anyway

So you want the servo to move back and forth based on a temperature reading that is always changing?

Also curious as to what you want to do. I'm imagining a big thermometer with a servo driven hand.

What I would do is deal with each piece of hardware separately at first. I'd write a sketch to output the thermometer values to the serial monitor. Then I'd do a sketch to deal with the servo. Then I'd go back and combine them, using what I learned about them.

Why not use an LCD screen instead of a servo? I have a code that you can modify to work with a TFT screen.

Johndimo that's it basically yeah and I had attempted to code each and then piece it together but I couldn't quite get it working

I couldn’t quite get it working

Post ‘it’ here and describe what ‘it’ does or doesn’t do, then it will be easier to give advice

Hi, I relatively new to programming and am just wondering what the best way would be to make a real-time temperature gauge using a DS18B20 and a servo,

Start with the servo "knob" code example in the arduino IDE and then use the sensor output instead of the knob pot output.

Hi, I have made at one stage a humidy and temp display using a couple of servos as big meters, I only did it as an exercise but I may be able to find the sketch for you.
Otherwise try:

They may help, I’m sure I’ve seen one in instructables too.

Tom… :slight_smile: