Introduction - If you have any usage issues, please Google them yourself
1, the program passed through the computer simulation software Proteus7.4sp3.
2, the program passed through the test board emulation chip.
3, the program programming STC89C51RC, run by a separate board in the experiment (crystal 11.0592MHZ)
4, the program is running kind produced by Pegboard success! And the DS1302 clock chip 8 feet with a 3.6V to
Ni-MH rechargeable battery, power off time, the calendar is normal to go.
5, the procedure used in the header file DS18B20_3.H, from the Internet, write very well, the temperature finally returned to the function of the decimal
ReadTemperature () in the main function when used with the flag = ReadTemperature () /
Header files can be run 18b2 function returns the result to the variable FLAG, used to display.
-----------------------------------------------------------------------------
Main components:
STC89C51 DS1302 clock chip DS18b20 temperature chip.