Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

help needed with pic programming coding

Status
Not open for further replies.

imcool

Newbie level 1
Newbie level 1
Joined
Aug 3, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
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 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.

Many solid-state components have a temperature co-efficient which you can use to detect temperature - even a diode!

I do not understand when you say "best option is PIC with [a] relay.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top