Page 1 of 1
Arduino - Simulate linear resistor...
Posted: Sun Nov 14, 2010 1:11 pm
by agorts
I want to simulate a linear resistor (temperature sensor)... I want to use instead of the sensor, something else (arduino?) and be able to set my own values...
How can I do this?
With Arduino?
Re: Arduino - Simulate linear resistor...
Posted: Mon Nov 15, 2010 3:37 pm
by oz
agorts,
I'm not quite sure what you are trying to do, so maybe try again, to tell me the big picture with more details.
Paul
Re: Arduino - Simulate linear resistor...
Posted: Tue Nov 16, 2010 1:09 am
by agorts
I want to simulate a linear resistor (temperature sensor)... I want to use instead of the sensor, something else (arduino?) and be able to set my own values...
The device is:
http://cgi.ebay.com/ws/eBayISAPI.dll?Vi ... 0433276940 and it has s sensor like this:
http://www.seeedstudio.com/depot/temper ... 78.html?cP... Both of them are similar to a NTC 10K sensor...
With the digital potentiometer is it possible to set values in the range of 133.500KOhm-0,339968KOhm? As you can see in the second link...
Re: Arduino - Simulate linear resistor...
Posted: Tue Nov 16, 2010 8:55 am
by oz
OK - so I'm still not sure what you want to do. Hack the ebay temperature gauge or make one of your own? It's a fairly easy task to hook a thermistor up to an Arduino and make a lookup table to read the temperature.
Thermistors are not linear so a lookup table is probably a better idea than an algorithm, but there are curves that have been worked out.
Paul
Re: Arduino - Simulate linear resistor...
Posted: Tue Nov 16, 2010 10:39 am
by agorts
I want to use the display in order to show different readings... So I want to cut the sensor and some-how connect something and be able (through Arduino) to change the resistor value (and so the displayed temperature) to what value I need....
Re: Arduino - Simulate linear resistor...
Posted: Tue Nov 16, 2010 11:27 am
by oz
This is not going to work "through the arduino" since the input is a resistor (hence current).
You can try different thermistors, and you will definitely change the reading, and you may be able to get one temperature close to what you want, but unless you wish to do a lot of experimenting, and playing with math, it's going to take a while to make the display work as you wish.
The Murata thermistor datasheet might be helpful - it contains curves for all their thermistors
Paul
Re: Arduino - Simulate linear resistor...
Posted: Tue Nov 16, 2010 4:25 pm
by agorts
If there is something like a digital resistor with the ability to set the precise value, then I could control it through the arduino and set the desired value (resistance) and do the trick...
Re: Arduino - Simulate linear resistor...
Posted: Wed Nov 17, 2010 9:31 am
by grgtrpp
Re: Arduino - Simulate linear resistor...
Posted: Wed Nov 17, 2010 12:01 pm
by oz
True - a digital pot could work - at a certain point though it's probably not worth the bother with the display - unless there's something in that display that is really attractive. How about a graphic display?
Paul
Re: Arduino - Simulate linear resistor...
Posted: Wed Nov 17, 2010 2:06 pm
by agorts
Yes I know it does not mean any sense to try to use the display, but I want to try it...
What digital pot do you suggest me? The one in the example is 6 channel and I need only one...
I find a lot of sample staff and examples about DS1803 but I cannot find it to buy...
Any suggestions?
Re: Arduino - Simulate linear resistor...
Posted: Wed Nov 17, 2010 2:47 pm
by oz
Here's one place
http://search.digikey.com/scripts/DkSea ... -010%2B-ND
it costs almost as much as your display though. Also I think Digikey charges a $5 fee until you get to $20. You could try Mouser.com
Paul
Re: Arduino - Simulate linear resistor...
Posted: Wed Nov 17, 2010 3:26 pm
by agorts
Yes I know this is the only place I find it... all 3 types of them... mouser has only one of them....
Any other suggestions for digital pots?
What is better, SPI or I2C?