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.

Sleep mode in PIC18F

Status
Not open for further replies.

Revestroke

Newbie level 4
Newbie level 4
Joined
Jan 9, 2013
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,356
Hello friends, Happy New Year and blessings :smile:.

I am working on PIC18F4580 controller.
Requirement: To put the controller in sleep mode and to minimize the power consumption.
1. LED is connected at Port B.7.
2. A switch SW is connected at Port B.0.
3. LCD is connected to Port D0-D7.

I need guidance on how I can take the PIC into sleep mode. I want, when SW will be pressed the LED starts glowing and LCD displays the acquisition or data and then after displaying, both LED and LCD will go to sleep mode. Again when SW is pressed PIC will come out from sleep.
I am using MPLAB IDE and want to learn this. Find time. Thank you.
 

Hi,

You need to say which compiler you are using C, Assembly ..?

Are you wanting help with just the sleep mode or the whole project ?

Have a look at the Gooligum tutorials which do both compliers.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top