hi,
I'm trying to implement the following code in proteus using the same PIC16F877A. I don't have the cytron SK40C with me right now so I decided to first implement the code in Proteus.
http://tutorial.cytron.com.my/2012/11/0 ... re-sensor/
however, when i tried using the hex file in the download link on the page below, i had some weird problem with the temperature value. please see the attached proteus snapshot (ds18b20_pic.jpg).I was wondering if there is anyting wrong with the circuit schematic since the original code has been tested on SK40C. and I am trying to simulate it on Proteus.
I also tried adding a reset button on the RB0 line (which is also connected to the circuit). but when i tried to reset it, it gave a wrong temperature value on the LCD. see thew second proteus snapshot(ds18b20_reset.jpg
I would be grateful if someone can help me with the schematic since the hex file is the same as in the cytron tutorial.
thank you.