Hello everyone, laying in the bottom of my box of 'useful bits' i found a little sealed package with DS18B20 written on it, i found out that this was the digital temp sensor.
I decided to have a mess about but i can't get it to work, i think i may have fried it. I have it connected the right way for sure and i've got a 4k7 resistor between Vc and adc2 (picaxe 18a) .
Basically i have coded it basically to say turn output 6 on for so long when the temp gets above a certain point. The ouput is connected to a monostable, which has an LED on it's output. Problem is, that this output is always on. I tried changing the program so that op6 would only come on if b2 > 220, but it is still always on, this is impossible being as the thermometer is cool to the touch.
Even more strange is that when i connect my multimeter beteen ground and vcc pin i get 5.08 volts, when i connect my multimeter between ground and the ouput pin i get 5.05v. i suppose this would explain why the monostable hasn't turned off yet, but why is the chip always outputting 5.05v. Surely if i had broken the chip, it wouldn't show anything across the terminals.
Any ideas?
I decided to have a mess about but i can't get it to work, i think i may have fried it. I have it connected the right way for sure and i've got a 4k7 resistor between Vc and adc2 (picaxe 18a) .
Basically i have coded it basically to say turn output 6 on for so long when the temp gets above a certain point. The ouput is connected to a monostable, which has an LED on it's output. Problem is, that this output is always on. I tried changing the program so that op6 would only come on if b2 > 220, but it is still always on, this is impossible being as the thermometer is cool to the touch.
Even more strange is that when i connect my multimeter beteen ground and vcc pin i get 5.08 volts, when i connect my multimeter between ground and the ouput pin i get 5.05v. i suppose this would explain why the monostable hasn't turned off yet, but why is the chip always outputting 5.05v. Surely if i had broken the chip, it wouldn't show anything across the terminals.
Any ideas?