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 in designing the embedded c code for pic16f877a in mplab..

Status
Not open for further replies.

rangerskm

Full Member level 4
Full Member level 4
Joined
Jan 23, 2013
Messages
199
Helped
0
Reputation
2
Reaction score
0
Trophy points
1,296
Visit site
Activity points
2,663
actually i am do a mini project and i need some help in it as soon as possible.
mplab ide with hi tech c compiler
1) i need code for the given logic

component using

8 led array, a temperature sensor
pic16f877a
lcd and 4 switch.

i need to design embedded c code by using the above items.

my idea is to read temperature sensor and to display it in the lcd in a running manner ,along with some of the welcome messages in it.temperature has to sensed when the first switch has to be pressed.led has to be glowed brightly and dimly based on temperature .

can any one help me .it will be kind of you,
 

no one can create a project code for you and post the code. You have see similar example for each module and try out your self. If you have any problems then, many are here to help you out.
There are many examples over Engineers Garage regarding the examples you asked.
1) program sending data to LCD. For running manner you have to scroll LCD.
2) Commonly used temperature sensor is LM35, program to sense temperature.
3) To show variations of temperature you have to use LED with different resistors so that it shows variations in glow. Then program which LED should glow based on the temperature sensed.


For what you want to use 4 switches ?
 

sw 1 power on/off ??

sw 2 temp reading

sw 3 for mode ???

sw 4 for ....?

- - - Updated - - -

3) To show variations of temperature you have to use LED with different resistors so that it shows variations in glow.

or PWM
or directly control current
or vary voltage
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top