Arduino - Simulate linear resistor...
Arduino - Simulate linear resistor...
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?
How can I do this?
With Arduino?
Re: Arduino - Simulate linear resistor...
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
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...
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...
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...
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
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...
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...
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
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...
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...
It sounds like you may want something like this: http://www.analog.com/en/digital-to-ana ... oduct.html
There is example code for Arduino at http://www.arduino.cc/en/Tutorial/SPIDigitalPot
There is example code for Arduino at http://www.arduino.cc/en/Tutorial/SPIDigitalPot
Re: Arduino - Simulate linear resistor...
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
Paul
Re: Arduino - Simulate linear resistor...
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?
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...
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
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...
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?
Any other suggestions for digital pots?
What is better, SPI or I2C?