 16F690... How to wake from sleep?
 16F690... How to wake from sleep?
		
		
				
				
		
			
				
					Hey group,
 
I am trying to impliment some power savings on a battery powered project.
I would like to put the 16F690 to SLEEP or (@ sleep). I know there is a difference between these two, but I'm not clear on WHAT that difference is.
 
I would then like to wake the PIC up using an interrupt from PortA.3 or PortA.4
I believe I have been successful doing this using the @ sleep command.
 
Here is the problem...
 
I would also like the PIC to wake up, say every 60 seconds, performe some small task and then go back to sleep again for 60 seconds. I have looked at the timers and it appears that they can not interrupt (wake up) the PIC unless I have an external osc. to feed the timer. I do not have available an external osc.  
 
How about using the WDT?? 
 
What is the difference between PBP SLEEP and @ sleep??
 
Thanks for any ideas
				
			 
			
		 
			
                        	
		        
			
			Dwight
These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities. 
			
			
		 
	
Bookmarks