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.

Can UART Module be enabled to transmit serial data while in sleep mode in PIC 18f66k2

Status
Not open for further replies.

pradhan.mcis

Newbie level 5
Joined
Jan 27, 2012
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,326
Hi,


i am using a IR transceiver module , as a proximity detector to wake up the circuit in case of any obstruction. I need to make use of the UART Module to transmit serial data to the Transceiver module to generate Pulsed IR to conserve power. I am using a PIC 18F66K22 controller. Can I transmit serial data when the controller is in sleep mode. Any Suggestion regarding the same would be helpful.


Thanks
 

In sleep mode you can't do UART transmission (PIC oscillator is in shut down mode). To preserve power, PIC MCU should be in sleep mode and to use watch dog timer to generate periodically wake-up events. When PIC MCU is active, transmit your sequence via UART and go back to sleep mode.
 

In sleep mode you can't do UART transmission (PIC oscillator is in shut down mode). To preserve power, PIC MCU should be in sleep mode and to use watch dog timer to generate periodically wake-up events. When PIC MCU is active, transmit your sequence via UART and go back to sleep mode.

Can u Suggest any other automated wake up Systems which will automatically wake up the controller if any obstacle is detected, as well as consuming very less amounts of power. The Range that i am looking to is about 30-50 cms.

Kindly suggest regarding the same.


thanks
 

A PIC MCU can have different wake-up sources, function by your design you can use one.
Please define "very less amount of power" for your design.
 

A PIC MCU can have different wake-up sources, function by your design you can use one.
Please define "very less amount of power" for your design.

Less amount of power mean to say less than 15 mAH/day.
 

15mAH/ day --> 0.6mA average. That should be enough, you can use a design that use about 6 mA for 10% of time or 12 mA for 5% of time...
Function by your design those limits are easy to be reached.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top