Is it possible to interface a DS18b20 to a PIC12F629-I/P?
What I want to do is possible is have 1 ds18B20 as an input and 4 outputs simple transistor switches that go high and or low depending on the temperature of the DS18B20
Is it possible to interface a DS18b20 to a PIC12F629-I/P?
What I want to do is possible is have 1 ds18B20 as an input and 4 outputs simple transistor switches that go high and or low depending on the temperature of the DS18B20
Hi, Karen
VCC, VDD + 4 Outputs + 1 input = 7 pins ...
One pin left for what you want !
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
I know the code for the DS18B20 thanks so hopefully wont need any help with that, and hopefully the pic will have enough space for it lol
What i wasn't sure was if the ds18b20 would "talk" to the pic, still new at all this and learning as I go sorry
One thing you could help me with if you dont mind me asking questions again
If I wanted to monitor a range of temp's and enable an output only between 2 temp's i.e. a pin go high only between 30șC and 50șC but as I'm not using an LCD display to display the temp, how would I do that?
i've done it before using an lcd but I'm not sure if the same works or not when you dont have an lcd connected or displaying the temp
Last edited by karenhornby; - 13th June 2008 at 20:17.
Last of my stupid questions for today, can I just tell the led to light when it gets to say 30șC and go off at 50șC?
Quite frankly, it depends on whether or not you can figure out how to code it that way or not.
Let me add on to that statement a bit...
It depends on whether or not you can write the correct code to read the temperature output from a DS18B20 and create a single or pair of IF/THEN statements to either set or reset the port pin that the LED is connected to.
Last edited by skimask; - 14th June 2008 at 04:59.
Bookmarks