imcool
Newbie level 1
- Joined
- Aug 3, 2013
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 15
Hello friends, I need a code to be run in PIC16F819 and the code is for 16f877a in CCS C PIC C compiler, I need that code to work with MikroC , please help me in porting that code to MIkroc,
I am still learning C so I am unable to do it , if anyone can do it please I will be heartly thankful and grateful to him.
I want PIC16F819 to sense temperature from LM35 sensor and then the PIC will switch ON realy when temperature is 24Celcius and SWITCH OFF when temperature reaches to 31celcius,
I can not buy PID temperature because they are costly including local sellers and from internet they adding lots of shipping to my country, so best option is PIC with relay.
I have found working source code -
Link for CCS http://blog.ghatasheh.com/2012/01/pic16f877a-and-lm35-based-temperature.html CCS COMPILER BASED SOURCE CODE
LINK for source code PRINTING TEMPERATURE TO LCD only http://forum.allaboutcircuits.com/blog.php?b=513 NO RELAY ON/OFF IN MIKROC
LINK for one more source code PRINTING TEMPERATURE TO LCD http://mheee09.wordpress.com/2012/1...r-circuit-using-lm35-and-pic-microcontroller/
now I am asking for mIkroc because I tried compiling CCS code from link it does get compiler BUT when I run it in ISIS simulation then it is not working and giving error in simulator.
Please please help me
thanks
I am still learning C so I am unable to do it , if anyone can do it please I will be heartly thankful and grateful to him.
I want PIC16F819 to sense temperature from LM35 sensor and then the PIC will switch ON realy when temperature is 24Celcius and SWITCH OFF when temperature reaches to 31celcius,
I can not buy PID temperature because they are costly including local sellers and from internet they adding lots of shipping to my country, so best option is PIC with relay.
I have found working source code -
Link for CCS http://blog.ghatasheh.com/2012/01/pic16f877a-and-lm35-based-temperature.html CCS COMPILER BASED SOURCE CODE
LINK for source code PRINTING TEMPERATURE TO LCD only http://forum.allaboutcircuits.com/blog.php?b=513 NO RELAY ON/OFF IN MIKROC
LINK for one more source code PRINTING TEMPERATURE TO LCD http://mheee09.wordpress.com/2012/1...r-circuit-using-lm35-and-pic-microcontroller/
now I am asking for mIkroc because I tried compiling CCS code from link it does get compiler BUT when I run it in ISIS simulation then it is not working and giving error in simulator.
Please please help me
thanks