Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: Temperature Sensor Ideas

2003-12-03 by phisatho

Without a display, UP/DN buttons are out of the picture.
DIPSwitch is a good idea.
Just see that your MCU have sufficient free port pins - 7pins must be 
sufficient (depending on the range).
If you have all of them, simply go for DS18S20.
Timing is critical for 1-wire bus of DS18S20.
So dont try to write your own code in the begining.
Sample code is available for most compilers.


--- In AVR-Chat@yahoogroups.com, Adi Linden <adiy@a...> wrote:
> > Instead of pot, you can use three buttons - UP, DOWN & ENTER if 
you 
> > have a means to display the setting - like LCD, 7 seg LED or 
Terminal.
> > If you are going for a blind controller then Pot is the solution.
> 
> There is no display attached. So I need some means of setting the 
> temperature. A pot would require bringing the temperature probe 
> to the desired threshold temperature and then making the setting.
> Another thought was to user DIP switches. Example  7 dip switches 
> could cover set a temperature between 0 and 128 Celsius in 1 degree
> steps.
> 
> I have all of the various temperature sensors I mentioned on hand. 
To
> me it's a matter of pursuing the solution that's easiest to deal 
with
> in software. I also have ATtiny26 on hand. So the ADC is there, but 
I 
> don't have to use it.
> 
> Adi

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.