Goal: To get temperature data from DS18b20 sensor
What we have: PIC16f628a, DS18b20, MAX232 level converter, devboard, proteus.
There is example of working with one DS18b20 at line, and you can find some useful functions for work with 1-wire protocol.