BeanieBots
25-01-2006, 18:42
Has anyone ever tried to bit bang a DS18B20 temperture sensor?
The object of my excersise is to read 3 sensors in under 1 second. The readtemp12 command takes 750mS so that is out of the question. (short of 3 dedicated 08Ms and a lot of handshaking).
My thought is to send the "start conversion" command either to each sensor sequentially or possible all three together, wait 750mS (whilst processing the previous readings) and then read the scratchpad data.
It certainly looks within the grasp of a PICAXE but I wondered if anyone had tried it before I spend days trying to get the timing right.
The object of my excersise is to read 3 sensors in under 1 second. The readtemp12 command takes 750mS so that is out of the question. (short of 3 dedicated 08Ms and a lot of handshaking).
My thought is to send the "start conversion" command either to each sensor sequentially or possible all three together, wait 750mS (whilst processing the previous readings) and then read the scratchpad data.
It certainly looks within the grasp of a PICAXE but I wondered if anyone had tried it before I spend days trying to get the timing right.