The tutorial is being prepared.
As a starter this code will read the raw temp data from any DS18B20, as it uses the 'skip rom' (ignore serial number) command $CC
Code:
[B][FONT=Courier][SIZE=1][COLOR=#004f8a][LEFT]; Read raw temperature value from DS18B20
; (this achieves a similar function to the readtemp12 command)
main:
owout 1,%1001,($CC,$44)
‘ send ‘reset’ then ‘skip ROM’
‘ then ‘convert’ then apply ‘pullup’
pause 750 ‘ wait 750ms with strong pullup
owout 1,%0001,($CC,$BE)
‘ send ‘reset’ then ‘skip ROM’
‘ then ‘read temp’ command
owin 1,%0000,(b0,b1) ‘ read in result
sertxd (#w0) ‘ transmit value[/LEFT]
goto main
[/B][/COLOR][/SIZE][/FONT]
To read from more than one device you need to replace 'skip rom' $CC with the 'match rom' $55 command + the actual unique serial number (8 bytes)).
ie the first owout line above becomes
owout 1,%1001,($55,$xx,$xx,$xx,$xx,$xx,$xx,$xx,$xx,$44)
The unique serial number for each device is actually easiest found by experimentation, by using the 'readowsn' command on each 1-wire device one by one.
If using the weather station you could also use one of the free bits of weather station software to read out these unique numbers.