An application note (PDF!) from Microchip on 1-Wire communication with PIC microcontroller:
This application note introduces the user to the 1-Wire® communication protocol and describes how a 1-Wire device can be interfaced to the PIC® microcontrollers.
1-Wire protocol is a registered trade mark of Maxim/Dallas Semiconductor.
A software stack for the basic, standard speed, 1-Wire master communication is provided with this application note along with an example application